Menu Home

I Am NGINX! (And So Can You!)

A few months ago I switched my Apache2 installation for this blog from mod_php to php5-fpm. Using Ubuntu LTS this was as simple as running apt-get remove libapache2-mod-php5 ; apt-get install php5-fpm and adding /etc/apache2/conf-available/php5-fpm.conf with just a few lines. I activated that config and it worked! Mostly. There was some more […]

Constantine is a fun show

I’m watching NBC’s Constantine via FIOS on demand. It’s a fun show but I wonder how faithful it’s going to be to the original comic. I’ve not look at that comic for ages. Unlike the Keanu Reeves version, this one has someone playing as a brit. It’s s fun show […]

October 24th

Tomorrow is the 2nd anniversary of when my Dad passed away. It’s also the day I fly to attend WordCamp San Francisco and in all the excitement I’d completely forgotten the significance of the day. That’s alright and it’s good. In my immediate family we’ve never been concerned about such […]

Remove shortlink URLs from comments

Or remove them from anywhere, though I’m not sure why you’d remove shortlinks from your own author’s posts. I’ve written a small plugin that will filter your comments using preprocess_comment which is a useful filter comment data before it’s committed to your database. The other toys I used are wp_extract_urls […]

sed to the rescue again

Some days you just want to quickly edit a bunch of config files in one go. One of the reasons I use Ubuntu LTS is that it’s got long term support (<light sarcasm>is that why it’s got LTS in the name?</light sarcasm>) and I make configuration templates that I just […]

No more @import for me

Well, at least not for current WordPress child themes. I like child themes and always recommend that people use them instead of modifying any WordPress theme directly. Using a child theme makes your changes belong to you and they won’t get erased when the original theme gets updated. I’ve told […]

OK, no more Xmarks for me

I like the idea behind Xmarks but there seems to be something I am doing that’s just not working. Here’s what I’ve done. Installed Xmarks on all of my browsers. For Internet Explorer this meant a small system tray app. Made one set of bookmarks the Master To Rule all […]