any decent answer to an interesting question begins, “it depends…”
Printing using JavaScript
09 December, 2011Tags
I always thought it was very easy to add a JavaScript print page link to a page - all you had to do was add a simple line of code: All good…
How to create a themable, templated custom block
08 December, 2011Tags
On a drupal 6 site, I wanted to create a custom block, but I also wanted to make sure that it would be easily themable. For some reason I…
Debugging Drupal
31 October, 2011Tags
My least favourite part of developing is trying to fix other people’s bugs. Most of the time the code isn’t properly commented, isn’t nicely…
Remind me how to use chmod and chown to set unix file permissions again
05 September, 2011Tags
I don’t use Unix often enough to remember all the little shortcuts and codes that proper geeks know. I don’t speak the language well enough…
Rules for cycling in London
29 August, 2011Tags
Not in any particular order, and far from finished, but here is my advice to cyclists in big cities: don’t wear SPDs yes, in theory you’ll…
Theming views to create a mobile version
21 August, 2011Tags
I’ve started work on building a mobile version of The Gallery Guide, my pet Drupal project. The main site has been built to be very visual…
Making a set of timezone clocks using PHP, jQuery and CSS3
21 August, 2011Tags
Here is how to build a set of timezone clocks using PHP, jQuery and CSS3. It’s based heavily on Toby Pitman’s example, and even uses his…
Geeks and control freaks
09 August, 2011Tags
A while ago I started using Google Plus. I’m yet to be convinced of it’s value, but I’ll stick with it. As with Twitter, I started following…
Batch exporting Photoshop files to JPEG or PNG
04 August, 2011Tags
All I wanted to do was take a big folder full of PSD files and turn them into JPEGs, so that I could view them more easily without having to…
RTFM - keyboard shortcuts for NetBeans
03 August, 2011Tags
There are so many useful shortcuts in most pieces of software, and you can usually customise them as well. When developing, I use Netbeans…