OSX, RubyGems and cross-thread violations in rb_gc

I recently decided to migrate away from OSX’s default ruby install yesterday and noticed a few quirky hangups. Firstly, for some reason, and I’m not sure if it is just me or not, OSX’s default $PATH variable is putting /usr/local/bin AFTER /bin making your local installs not enabled by default. (Editing the /etc/paths didn’t do [...]

More



OSX Terminal Niceties for Remote Servers

I have absolutely no idea what to title this as — and frankly, its more for me than anyone else. I need a place to store this before I forget and go racking my brain 2 years from now on how to do this.
If you think you’re interested — this post is about the following:

How [...]

More



Prepend files in OS X using the Command Line

This is a neat little “trick” to prepend something simple to the beginning of a file. Linux is funny in the way that you can easily append to a file by using echo “append me to the file” >> FILE but theres no real simple way to prepend. Most snippets I’ve seen use a tmp [...]

More



PHP5 With GD Support on OS X

Because I’ll Forget #15901:
Firstly, let me just say that compiling PHP has never been this difficult before. It shouldn’t be difficult at all actually. So heres the basic run down: I need SOAP, GD, SimpleXML and a few other miscellaneous extensions to make all my dev apps work properly — this went smoothly on the [...]

More



How to create icon sets in OS X

Because I’ll Forget #1023:
Problem
I know how to _USE_ icon sets and set my icons*. My issue is that I want to take a folder of, say, *.PNG files and make the icon reflect the contents. I did some digging, and the solution is pretty simple — AND elegant.
Solution
There is a relatively unknown program, at least [...]

More



One Click Image Resizing on OS X With Preview and Automator

Problem
Well. As you can see I’ve been making screenshots lately, and, as always, putting a large picture in a blog is a bad idea. My normal process was to drag it into photoshop, resize it to around 30% and save a copy. Thats a major waste of time considering the Photoshop startup isn’t exactly lightning [...]

More