Category: osx

Search and replace on a large file on OSX using Sed

My code editor of choice, Sublime text 2, crashes when you try to do a search and replace on a large file. This makes it difficult to do a search and replace on a large sql file, as I sometimes need to do when moving a wordpress site from one domain to another The command-line… Read more »

Managing Google App Engine SDK versions on OSX with virtualenv

When I first started developing Django apps on Google App Engine (GAE), I downloaded the google app engine launcher. Installing this will install the latest version of the SDK, and will (if you let it) update your path to point to it. This is fine if you are always using the latest version and don’t… Read more »

Setting up apache on osx lion

For general website/ PHP development, I like to have multiple local sites running from my Sites folder using virtualhosts. Up until now i’ve usually done this with Xampp, but after hearing that the version of apache shipped with OSX 10.7 is fairly useable out of the box I thought i’d run with it. First of… Read more »

Running Google App Engine SDK on OSX lion

OSX Lion comes with python 2.7 as default. Although App Engine will run on 2.7, it is safer to develop on the version of python that your live app engine instances are running on, which in my case is python 2.5 currently. From a fresh install of Lion, I did the following:- Installed xcode via… Read more »

Stop msn messenger spam in Adium

Annoyingly the default setting when you add an msn account to Adium is to “allow anyone to contact you”. And boy they do! Even more annoyingly, the setting to switch this off is not on the Edit account -> privacy tab, but rather on the main menu: Adium-> Privacy Settings. You will need to be… Read more »

windows stuck in insert mode – vmware/apple keyboard

I’ve done this before – running windows XP in vmware fusion on a mac(book), using the an apple super thin usb keyboard, somehow accidentally get myself into insert mode. Following the keyboard mapping advice on the apple site got me nowhere, but eventually found the solution as a post in the vmware forum:- http://communities.vmware.com/thread/73504 “On… Read more »