March 2012
1 post
February 2012
1 post
3 tags
Pigs
cinemagram:
Aww! My new favorite.
December 2011
2 posts
September 2011
2 posts
5 tags
drupal_add_js + hook_form_alter
Interesting little gotcha I came across when working with the drupal form_api
When you want to add a js or css to a page, drupal_add_js and drupal_add_css is usually the best way to do it rather than outputting <script> tags. I needed to do as we use some js to manipulate the node edit forms.
But I found that if you use these functions are used in hook_form_alter the js/css files...
March 2011
1 post
February 2011
1 post
5 tags
Web experience on ipad
I spent some time fixing some bugs on a web site I was building that needed to work on an iPad. It was my first time doing this and learnt some interesting things in the past few days. Mouseover events Mouseover/hover events won’t work properly or as expected on an ipad as that concept doesn’t exist on the device. When you tap on the screen on the appropriate element, it will become highlighted...
December 2010
4 posts
4 tags
3 tags
List of Stadiums by Capacity →
Inspired by watching some of The Ashes highlights and quite surprised by the size of The Gabba. A lot of the biggest stadiums seem to be American College football which was a bit unexpected.
Was also surprised by the capacity of the ‘smaller’ football team stadiums in the list of British Stadiums.
November 2010
3 posts
October 2010
6 posts
3 tags
Spooky Chicken! →
This made me laugh!
via LDN
3 tags
3 tags
3 tags
2 tags
4 tags
September 2010
2 posts
4 tags
August 2010
3 posts
5 tags
How to associate file extension with syntax...
Using a windows machine at the latest contract work and have been using notepad++ as a lightweight text editor as well as eclipse for my main coding work.
I wanted to open up .module and .inc files with php syntax colouring in notepad++ rather than having to change the language setting each time.
To do this, edit the langs.model.xml and add ‘module inc’ to the php language node ext...
3 tags
July 2010
2 posts
I came here, to drink milk, and kick ass……and I’ve just...
– Moss - Series 4 episode 2 “The Final Countdown”
June 2010
4 posts
4 tags
If the keeper was standing where he should have been, any reasonable person...
– Dog Man Star
Comment on “World Cup 2010: Did Maicon really mean to score Brazil’s spectacular goal?”
4 tags
May 2010
5 posts
3 tags
3 tags
2 tags
3 tags
April 2010
6 posts
2 tags
4 tags
March 2010
6 posts
3 tags
4 tags
1 tag
3 tags
3 tags
3 tags
Four Lions →
Can I have 12 bottles of bleach as please?
So why has she got her hands on her face Fez?
……cos she’s got a beard……
This makes me laugh. Can’t wait for it to come out.
February 2010
6 posts
4 tags