Jekyll or Ghost

Since you're reading this on a site using Ghost it's probably fair to say I've made a choice. I like the simple bare-bones approach of Jekyll but I really can't be arsed doing dev on my own site since I spend so much time coding other people's. Since this post…

WordPress NextGen Gallery Shortcode Fun

I had to put a gallery on a small site recently and I couldn't be bothered writing my own or messing with WordPress' built in gallery system, so I plucked for NextGEN Gallery plugin. It's nice enough and seems to do the trick quite well, including built-in lightbox functionality. It's…

Transparent Watermarks with GD and Ffmpeg

I've just needed to create a text overlay on a video using a transparent PNG file. This could be a watermark or similar but I'm using it for a different purpose. Here's some php code to create an image suitable for using as an overlay in ffmpeg. $image = imagecreatetruecolor(500,…

Not so smart quotes

I've had a bit of a headache just recently, converting an MS Access database to a MySQL one. I used a helpful little tool called dataloader on a virtual machine to get the mysql dump out but smart quotes and other characters outside of the standard ascii set didn't import…

Build PIL on Snow Leopard

I have had a right game trying to get the Python imaging library working on my machine. I kept getting Symbol not found: jpegresynctorestart when trying to import _imaging and in django I got the lovely error saying that the Imaging C library was not installed. It all pointed at…

Python is odd

I have a couple of jobs using the django framework on the go which is written in python; a language I haven't really used before. After a good bit of sifting through code and finding my feet I can't help but feel that it doesn't know what it really is.…

Subversion off-site

I have recently been doing a lot more work for my own clients rather than working for one company. I love subversion but I didn't really want to burden myself with the upkeep of a server at home so I had a hunt for alternatives. I ended up choosing Springloops,…

Site back up

Not sure what happened over Christmas but the site should now be up and running as it was before. Without it, I'm afraid that the folks on twitter have had to put up with my rants. On a work-wise note, I'm just having a look at Kohana the php framework…