I needed to compile the latest PHP5 from source so I could enable FPM support. The following packages needed installing to successfully complete compilation. 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; }
I recently attended PHP UK 2011, this was the second PHP UK conference I’ve attended.
Key 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:
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 »
This was just too painful not to blog about. I hope this saves someone else some pain of reading sed documentation to put together a pattern to match C style header comments.
In my case I’m putting together a build script, part of it is to minify Javascript before deployment.
Read the rest of this entry »
I’m putting together a new look for this blog, it’s a much needed 2010 refresh. An element of the new design uses a semi-transparent opacity (mouseover the items on the wooden floor above).
Read the rest of this entry »