about me about me
photography photography
software projects software projects
contact me contact me
30
Apr

Thursday was my last day at Alexander Street Press. I was given a great leaving present by Paul Dixon and the UK development team, a signed A1 poster of the company logo generated with 30,000 lines of the 275,000 line PHP code base I’ve been contributing to over the past 4 years I’ve worked there. Read the rest of this entry »

I was surprised to find PDO sqlite support wasn’t included by default with PHP 5 on my Ubuntu (10.04) virtual machine. You can check which drivers are available with this small snippet of code (assuming you run this from the command line):

foreach (PDO::getAvailableDrivers() as $driver) {
    echo $driver . PHP_EOL;
}

Read the rest of this entry »

04
Mar

PHP UK Conference 2011

posted 2011 // conference, php // 0

I recently attended PHP UK 2011, this was the second PHP UK conference I’ve attended.

PHP UK Conference main auditoriumKey point from last year: this year was much better organised! Everything ran on time, last year we started late and talks over ran. Congrats to the PHP UK team for much improved organisation.

Several talks have been posted on vimeo.

The talks I attended this year:

Read the rest of this entry »

28
Feb

My Macbook had a hardware failure recently and I ended up working on a Windows XP machine briefly. While configuring my development environment, I set up my working directory outside my Windows user profile directory (C:\Documents and Settings\Greg). How did Microsoft ever think ‘Document and Settings’ was a good path for user profiles?! Read the rest of this entry »

If you work with git as your version control system and don’t use a GUI app in your workflow, this one liner in your ~/.profile (or ~/.bashrc on Linux) will display the active branch you’re working on when you cd to a git repo path. Read the rest of this entry »

My contract finished with O2 many months ago, I patiently waited for the release of the iPhone 4 … June 24th came and went, and to cut a long story short, I stuck with my iPhone 3G and (last week) switched to Three.

If you’re running iOS4 on your iPhone, save yourself some time and stop reading now – this only applies for iOS 3.x. Read the rest of this entry »