Category → Apple RSS
PHP not working on fresh OS X install
Twice recently I have formatted and started with a fresh install of leopard (10.5.6), and twice Apache has not loaded PHP correctly after enabling PHP in the config. It fails to add the .php file type, causing php files to download rather then display. This is due to execute permissions not being set on the /etc/apache2/other directory. Read more →
The New MacBook "Felt" (running Hyperspaces)
Apple are secretly working on a new line of laptops to replace the "Airs". As awesome developers, Apple sent us some preview hardware to see how Hyperspaces performed on the new systems. I know Apple like to keep their products secret, but I say "NDA... ND-Shmay" - here is the new line, the Macbook "Felt". Read more →
How to setup virtual hosts on Mac OS X 10.5 (Leopard)
Whilst developing a new project it can be convenient to setup a virtual host on your local machine. For example, if I wanted to have a local development/demonstration version of a website I'm developing (e.g. http://learnhowtojuggle.info), I could setup the following virtual host: http://learnhowtojuggle.dev. Read more →
Things to know before going to WWDC
As most of you know I spent last week in San Francisco attending WWDC ‘08. I had a great time thanks to the AUC, and highly encourage others to attend this conference next year if they have the opportunity. It is worth it. Read more →
Intelleject: An experiment in Cocoa
Earlier this year I was lucky enough to attend a workshop on cocoa (which was kindly sponsored by the AUC). It was a great 3 days of programming and introduction into the world of cocoa. Since then I have been playing around with ideas for mac applications. Read more →
Updating the locate database in Mac OS X
One of my favorite commands in Unix is "locate". It's useful to help find files through terminal - fast! After freshly installing Leopard, I realised that the database for the command had not been built. Read more →
Dynamically set network location in Mac OS X
I love macs, but sometimes things could have been implemented better. In particular, I hate having to set the network location on my laptop when I go between work and home every day. I have put together a small shell script which can do this. I run this script on startup and it just checks what day and time it is so it can switch between two profiles (work or home). Read more →
How to install Tomcat on Mac OS X
A while back I wrote a post on the ubuntu forums on how to install Tomcat on ubuntu. It was very popular (if I do say myself) so I thought I would post the instructions on how to setup tomcat on Apple's OS X. These instructions work for 10.4 (Tiger) and 10.5 (Leopard). Read more →
Sockets problem with MySQL/PHP and Mac OS X
After installing MySQL 5 on OS X 10.4, you may have noticed that the install package has placed 'mysql.sock' in '/tmp/mysql.sock' instead of '/var/mysql/mysql.sock'. This will cause the following error when you attempt to access MySQL through PHP: Read more →
Commenting is still enabled on these entries, so feel free to leave me a message.