Mac OS X
I’ve been interested in Macs for a long time, but only decided to buy one when I saw the first creating a blog in 15 minutes screencast that was put together to demonstrate Ruby on Rails. The screencast showcased the TextMate editor (which only runs on Mac OS), and I just had to try it out…
-
TextMate
TextMate is ideally suited to the agile web developer, and is very easy to extend with your scripting language of choice. It’s especially popular in the Ruby community, and is (credit where it’s due) the only reason that I switched from Linux to Macs several years ago.
Articles on Mac OS X
-
Firefox buttons for Mac
05 July 2010When developing Firefox extensions that add buttons to the Firefox toolbar, you’d be forgiven for thinking that Firefox would provide a default button image for you to build upon, allowing you to layer your button’s icon over the top.
Well you’d be wrong. But worry not – I’ve made some blank Mac toolbar buttons that you can download and use.
-
Making gitk look sexy on Mac OS X
26 June 2010Does your version of
gitklook like Windows 95’s ugly step sister? Would you rather it used native buttons and widgets, and a half decent font? -
Fixing the Xcode Project Templates
02 January 2010I recently upgraded my copy of Xcode and installed the iPhone SDK. A short while later, while following an example in the Pragmatic Programmer’s Cocoa Programming book, I found that my copy of Xcode wasn’t creating some key files.
-
Installing Nokogiri on Leopard
07 October 2009Nokogiri complains that the version of libxml2 installed on Mac OS X Leopard is over 4 years out of date. Well we can’t have that now can we!
-
Installing the pg PostgreSQL gem on Mac
10 June 2009You can connect to a PostgreSQL database from Ruby using the
pggem, but if thepg_configprogram isn’t in your path you’ll run into problems during installation.This article is mainly here to provide some Google juice for those who hit the same problem…
-
Building do_mysql on a 64-bit Mac
02 October 2008Whilst installing merb with edgy I’ve had run into some trouble building the
do_mysqlgem on my Macbook Pro. It’s a 64-bit machine, so I installed the 64-bit version of MySQL, and that was my first mistake⦠-
Debugging JavaScript in WebKit
02 October 2008If you do much web development you’re probably a big fan of the Firebug plugin for Firefox. It really is a rare gem in the web developer’s arsenal. When I’m not developing I prefer to use Safari – it seems faster and leaner, so I often find that I’ve got both browsers open at once.
A couple of days ago something rather fantastic happened – Safari got a makeover…
-
Removing an entry from /etc/hosts on a Mac
09 June 2008I was testing a freshly deployed web site for a client the other day before they’d setup their DNS entry, and added the server to my Mac’s
/etc/hostsfile. It looked something like this:208.75.85.73 www.clientsite.comWhen I’d finished my testing I removed the entry from
/etc/hosts. On most Unix systems that’s enough to eradicate all traces of your meddling, but not on the Mac. Any IP address that you add to/etc/hostsgets cached by the operating system.After a bit of poking around I discovered
lookupd. On Tiger you can flush the cache by entering this in the terminal:lookupd -flushcacheOn Leopard the
lookupdcommand has been replaced withdscacheutil:dscacheutil -flushcacheUpdate: The HostsWidget Dashboard widget appears to solve the same problem rather well.