Setting up a simple Ubuntu apt repository

For a recent project I needed to deploy a custom build of PHP 5.2 to multiple Lucid servers. It had to be deployed in such a way as to make it easy to update all the servers with newer versions of the build in future. We decided to set up a Ubuntu...

Ubuntu 10.04 Lucid 64-bit + PHP 5.2 FastCGI + APC + nginx

This post outlines the steps needed to get PHP 5.2 running on Ubuntu 10.04 (“Lucid Lynx”) 64-bit under nginx and FastCGI with APC enabled. The current Lucid apt repositories contain PHP 5.3 so I needed compile 5.2 from source in order to get this ...

RequireJS with progress indicator

I’ve just started using the excellent RequireJS library with a new Javascript-heavy project I’m working on. This post considers an easy way in which to add a progress indicator to all require() calls such that the user is always aware of what’s go...

Getting Vagrant working on Ubuntu 10.10

I’ve recently started using Vagrant to create and deploy virtualized development environments and thought I’d post the steps required to get it working on Ubuntu 10.10 (“Maverick Meerkat”).

Simple online calculator using HTML and Javascript

Last Friday I was looking for a simple online calculator which I could use via a web browser and which was mobile friendly. The best ones I could find were all done in Flash which I though kinda sucked since it was perfectly possible to build one ...