Skip to content

Tag Archives: osx

How to force changes to /etc/hosts to take effect in OSX

15-Jul-10

If you make changes to your /etc/hosts file and want the changes to take effect immediately without having to reboot issue the following command at in the Terminal dscacheutil -flushcache

SpiderMonkey in Xcode 3.2.3

28-Jun-10

I am working on a Desktop Application project that will need scripting support, specifically scripting support for people familiar with web development. Even though I have prior experience successfully embedding both Lua and Python in server side applications, I have picked Javascript for this project. Mainly for the low barrier to entry for web developers, [...]

Getting CouchDB to install from source on OSX 10.6.3 Snow Leopard in 64 bit

06-May-10

The problem with getting CouchDB to install and run correctly in 64 bit mode of OSX 10.6.x is that the ICU dependency has a broken configure script that just won’t compile in 64 bit mode, even with the correct arguments passed in. The solution is to patch up the configure script and force it to [...]

My Favorite PS1 Prompt Definition and Aliases

12-Oct-09

Here are a couple of aliases I create on a fresh OSX machine. alias dir=’ls -AlGh’ alias spot=’mdfind -onlyin . $1′ The dir alias is all the most useful ls options all at once. mdfind is the command line interface to the Spotlight service on OSX. You can use the option -name to restrict the [...]