Posts in category “Programming”:

Use Unicode Emoji as Icons in Native iOS Apps

Posted on April 29, 2012
Filed under Featured, iOS, Programming | 1 Comment

A while back, I wrote about using unicode emoji characters as icons in web apps. The big caveat with that was that these characters were only available on iOS devices, which made the trick much less useful in a web app, which of course are generally meant to be more or less cross-platform. If you’re [...]

jEdit Syntax Highlighting Mode for the Peg/Leg Parser Generator ‘Leg’ Syntax

Posted on April 4, 2011
Filed under jEdit, Programming | Leave a Comment

I’ve been working on a fast and embeddable Markdown parser that can be used for syntax highlighting in editors, based on the PEG grammar from John MacFarlane’s peg-markdown compiler project. The grammar is written in leg, a syntax for the peg/leg parser generator by Ian Piumarta, and to make my work with this new syntax [...]

jEdit Macro for Opening the File Browser at Current Buffer’s “Project Root” Directory

Posted on October 13, 2010
Filed under jEdit, Programming, Scripts | Leave a Comment

When I’m working with code in jEdit, my editor of choice, I like to keep the file browser open and docked to the left side of my editor window. When I’m switching between files — often belonging to different projects — I find myself reaching for the mouse in order to manually navigate the file [...]

Getting Events/Tasks From the OS X Calendar Store in a Custom Format like XML, CSV or LaTeX

Posted on October 13, 2010
Filed under Mac, Programming, Scripts | Leave a Comment

Over the past couple of years I’ve gotten a few emails from users of icalBuddy who would like to somehow automate the task of generating CSV, XML/HTML or LaTeX output from the items in their calendar. Unfortunately icalBuddy isn’t set up to provide any kind of arbitrary output format (and I didn’t want to re-architect [...]

Use Unicode Emoji as Image-Free Icons in iOS Web Apps

Posted on July 20, 2010
Filed under iOS, Programming, Scripts | 7 Comments

In version 2.2 of iOS — Apple’s “mobile” operating system used in the iPhone, iPod Touch and iPad — support for Emoji was added. These small 12×12 pixel icons are meant to be used in text messaging in Japan but because they’re implemented simply as unicode symbols in the device they can be used as [...]

Getting a List of Installed Fonts with Flash and Javascript

Posted on July 13, 2010
Filed under ActionScript 3, Flex, Miscallaneous, Programming | 10 Comments

When implementing the feature in the icalBuddy examples page where the font used for the output examples could be changed interactively I needed to get a list of all the fonts installed on the current user’s computer. This blog post from 2006 explains how to do it, but it refers to the deprecated ActionScript 2 [...]

Trash files from the OS X command line

Posted on March 9, 2010
Filed under Featured, Mac, Programming | 6 Comments

I spend a lot of time in the Terminal on my computer — a lot of things are just better done with a command-line interface than in the GUI. When removing files via the command-line people usually just, well, remove them (with the rm command), but this means that they’ll be eschewing the Trash, one [...]

Print AppleScript files with color-coding in the Terminal

Posted on March 3, 2010
Filed under Mac, Programming, Scripts | 4 Comments

Even though I curse and hate its syntax, I have to admit that AppleScript certainly provides one of the nicest things OS X has to offer in comparison to other operating systems: almost-ubiquitous scripting of GUI applications (one could argue that this is not due to the AppleScript language itself, but the Open Scripting Architecture [...]

Quick Look Plugin/Generator for Image Folders

Posted on March 27, 2009
Filed under Mac, Programming | Leave a Comment

One of the things that I’ve always thought Windows XP did better than OS X is how it displays the thumbnails of contained images on the icons of folders that have image files inside them. I always felt this to be quite useful, but couldn’t think of any reasonable way to implement it on the [...]

fcshctl: the Flex Compiler Shell Controller

Posted on November 3, 2008
Filed under ActionScript 3, Flex, jEdit, Programming, Scripts | 21 Comments

Introduction Like I’ve mentioned before in this blog, I develop Flex applications using the Flex SDK and jEdit instead of Adobe’s Flex Builder IDE. This setup has worked very well for me but one annoying issue I’ve had to deal with because of this is the slow compilation speed: every time I make a small [...]


Earlier Posts »