The vi editor in OSX by default runs in “compatibility” mode, however a secret is that vi on OSX is actually an alias to vim (vi iMproved). vim is a more modern version of vi that includes a variety of optional features. As you can see in the screenshot, colored syntax highlighting is one of [...]
Installing LAMP stack on OSX 10.6 Snow Leopard
Updated instructions are available for installing LAMP on OSX 10.7 Lion. I’m setting up a new machine and found a great tutorial written by Josh Lockhart on getting a PHP web development environment up and running on Snow Leopard. This goes through almost everything to be up and running for a typical LAMP stack with [...]
iChat Auto-Accept Text Invitation
I really like using iChat for IM but one thing that is a minor annoyance is having to click the “Accept” button when you receive a text invitation from an AIM account. My preferred solution is to use Chax which offers a lot of other functions including chat logging. However if you don’t want any [...]
PHP on OSX: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'
When installing PHP and MySQL on OSX you may get the error Can’t connect to local MySQL server through socket ‘/var/mysql/mysql.sock’. Or you may also get “No such file or directory” when calling mysql_connect from a PHP page. This occurs because PHP is looking for the file mysql.sock in it’s typical installation location of /var/mysql/mysql.sock. [...]
TortoiseSVN for Apple OSX
TortoiseSVN is my personal favorite SVN client, unfortunately it’s only fully supported on Windows. With a little bit of hacking, though, TortoiseSVN is usable on OSX. You can checkout, commit, update view the repo, etc. At this point there are no overlays or Finder contextual menus. These instructions are not for the novice user, but [...]