A personal blog of Simon Yeldon
-
Dramatic YouTube comment reconstructions
-
Keeping guest additions up to date in Vagrant
At work we use Vagrant and Virtual Box to keep our development environments consistent across the team. I recently updated my Virtual Box environment and ended up getting the following message. [web] The guest additions on this VM do not match the installed version of VirtualBox! In most cases this is fine, but in rare…
-
Check SSL Certificates for expiry
Prevent those embarrassing support queries from your customers saying that your site in down due to SSL errors by monitoring the certificates you have installed. Use this script from Prefetch to check validity. Run it as a cron and get an email warning you expiry is close.
-
Adding classes to the Drupal image_formatter link
So you are using Drupal, and you are outputting an image field from a node to the screen. You have it set up so that the display is using an image_style to generate a thumbnail, and you are linking to the full size image. All great, except you want an additional class on the link….…
-
Christmas in Covent garden
-
Easily select Airplay speakers in Mavericks
One of my favourite new features of Mavericks is the ability to direct all audio output from your computer to Airplay enabled speakers. Meaning at last that I can “throw” Spotify onto my airplay speakers without having to use my iDevice. So you want to do this – well one way is to go into…
-
Writing Drupal Context conditions plugins
Fantastic guide at http://dtek.net/blog/extending-drupals-context-module-custom-condition-based-field-value on how to write a context condition for drupal.
-
Ordering WordPress taxonomies
I came across an issue the other day when I was working on The Band Company website that required me to order a taxonomy numerically. The issue was, that even though the items that I was ordering were numbers, they were being ordered alphabetically. This is what I did to solve the issue.
Got any book recommendations?