Adding a Prefixr command to TextMate 2

I was recently looking into how to add a Prefixr command to TextMate 2. For those of you not familiar, Prefixr is a way (created by Jeffrey Way of NetTuts) to take a new-ish CSS property like box-shadow or transform and add all the vendor-specific prefixes automatically. So: transform: rotate(-7deg); becomes: -webkit-transform: rotate(-7deg); -moz-transform: rotate(-7deg);…

Removing duplicate “Open with” applications on the Macintosh

Starting with Mountain Lion, I have noticed that I will often see the same program listed multiple times when right-clicking on a document to use the “Open With” functionality. For example, I just updated TextMate (which seems to be updated very regularly lately) and my Open With menu looked like this: To fix this problem,…

Simple AppleScript to do lookup in CodeIgniter documentation

Recently, in Coda, I wanted to create a simple way to look up a word directly in the CodeIgniter documentation. While the reference books are nice, there are multiple PHP documentation sources one might want to look up while working. For example, one might want to look up a native PHP function or, if working…

Installing Composer on Mac OS X Mountain Lion

I recently read about a package management system for PHP on NetTuts called Composer. It looked interesting but I hadn’t had time to play around with it. At work, though, a new project came up that called for using a package from Composer so I needed to figure out how to get it installed and…

Saving new contacts to iCloud (instead of “On My Mac”) by default

One thing that had been bugging me on the Mac is that when I would create a new contact from Apple Mail, that contact would go into the group, “On My Mac.” I had been trying to move exclusively to iCloud to sync my address book across my Mac, iPhone and iPad. The solution is…