Sahar July 2012

Sahar July 2012

My niece Sahar is applying for a role with Emirates Airlines. She asked me to take some photos for her profile.

ttytter 2.0.0beta

ttytter 2.0.0beta

I downloaded the latest ttytter today. It’s now hit 2.0.0beta. The big news is, it now has streaming. So that’s real time updating for tweets, DMs and @ messages

Fraser December 2011

Fraser December 2011

Tim Thumb Shortcodes

Tim Thumb Shortcodes

I spent a while recently, playing around with the Tim Thumb image cropping and resizing script. I wanted a way of using Tim Thumb in WordPress where I could enter a simple shortcode into the WordPress editor and have Tim Thumb work its magic on an image.

Hope and Social Garden Party Video

Fantastic video of the #hsgardenparty by @shotbysodium httpv://youtu.be/hzn-M225A_c

Advanced Category Excluder

I use the WordPress plugin Advanced Category Excluder to hide a few categories from the front page. When I upgraded my (this) server to PHP 5.3 yesterday, the plugin broke any WordPress site where I had it running. This fixes it: for php 5.3 change the lines function ace_where(&$where,$filter=”") function ace_join(&$join,$filter=”") to function ace_where($where,$filter=”") function [...]

Escaping Apostrophes in Sed

I’ve had a need to escape a literal apostrophe in an email and couldn’t figure out how to do it. Until I found this post on the Sed Yahoo Group: sed has supported apostrophe substitution for many years. Use the xHH notation to indicate any hex character. Since the apostrophe is 0×27, you can do [...]

Post Reporting II

Post Reporting II

As promised in my first post reporting entry, this is a follow up article. I’m going to describe how to easily edit your theme template to insert PHP code rather than using shortcodes, well, mostly. I’m also going to show how to achieve the same effect for single posts by using a sidebar widget. If [...]