Articles

A collection of articles and snippets I've collected over the years.


June 9, 2015

On 8th June 1995, Rasmus Lerdorf announced the release of Personal Home Page Tools Version 1.0. To celebrate the 20th anniversary, Ben Ramsey has asked the PHP community to share their PHP...

May 3, 2015

Oh-My-Zsh describes itself as a 'community driven framework for managing your zsh configuration' and comes with lots of zsh plugins (189 currently) but none are enabled by default. Some zsh plugins...

April 22, 2015

A simple guide on how to install Beanstalkd on Ubuntu 12.04.

April 16, 2015

Whilst working on a project recently I've found the need to install the HTTP2 package from the pear repository. I couldn't find any useful notes on how to install HTTP2 via pear so here's my notes on...

February 21, 2015

On Thursday night I attended the Staffs Web Meetup, a monthly event aimed at providing an informal environment for people involved in all aspects of the web industry to meet up.

February 19, 2015

After updating an Ubuntu server I occasionally see the message `you may need to re-run your boot loader[grub]` after updating the kernel. Here's how to actually update Grub.

February 13, 2015

I've had this Exim command cheat sheet in Evernote for a while and thought it would prove useful to others.

February 4, 2015

By default Apple's OSX (Mavericks) comes with PHP 5.4 installed but if you want to work on a different version you're pretty stuck. My solution to this is to use homebrew to install PHP5.3, 5.4, 5.5...

January 28, 2015

I use Xdebug when working on PHP websites and often have to manually install it before starting and debugging. I usually find myself searching the internet for a sample xdebug.ini file to use after...

January 27, 2015

I do a lot of my development work using Virtual Machines and Vagrant. This provides an easy way for me to get a working environment up and running locally on the many projects I work on daily....

January 19, 2015

Its been a week since my post last week, "Using a standing desk for work: Day 1" so I thought I'd write a update.

January 13, 2015

We've been toying with the idea of using a standing desk for work quite a while after we had read about them on the internet. The benefits of using them are still unproven but after experiencing...

December 6, 2014

Recently, whilst working on an old website at work, I found a need to add additional parameters to a Script.aculo.us Ajax.autocomplete call The documentation show that this is possible via the...

November 30, 2014

Password Authentication AuthUserFile /usr/local/you/safedir/.htpasswd AuthGroupFile /dev/null AuthName EnterPassword AuthType Basic require user iweb or require valid-user Allow from specified IP...

September 16, 2014

I have a script polling a Beanstalkd queue and needed to put it into the background, and bring it to the front whilst debugging it.

August 13, 2014

If you're trying to update or drop a table in MySQL and you're getting the error 'Error Code: 1217. Cannot delete or update a parent row: a foreign key constraint fails' you need to toggle the...