August 2009
2 posts
A Month of me stuffing my face at lunch!
July 2009
3 posts
June 2009
2 posts
very good :)
see more Lol Celebs
http://choosefollowfriday.com →
Made this on Friday. Found that i couldn’t choose who i wanted to put on my #followfriday, so made this simple thing.
April 2009
4 posts
3 tags
PHP: Shuffle Associative Array
Here is some quick code that i put together (read rough) that allows you to shuffle an associative array, whilst preserving the key values.
please let me know your views on the code.
Automated Frontend Testing
Presentation by my friend Neil Crosby. Well worth a watch (listen & read)
Automated Frontend Testing
View more presentations from Neil Crosby.
F1 Tweets
Just a quick post to premote my new site.
while watching the F1 racing, I like to watch the F1 twitter posts go by and see peoples views on the race in hand.
With all the people that i follow, this can get quite slow and busy within minutes.
So i’ve put together a simple site that allows me to follow any posts that contain the hashtag #F1 or even twitter posts containing drivers name or...
March 2009
1 post
Rubber Duck Debugging
Found via this link (here) and via (@elliottkember)
We called it the Rubber Duck method of debugging. It goes like this:
1) Beg, borrow, steal, buy, fabricate or otherwise obtain a rubber duck (bathtub variety).
2) Place rubber duck on desk and inform it you are just going to go over some code with it, if that’s all right.
3) Explain to the duck what you code is supposed to do, and...
February 2009
1 post
November 2008
1 post
3 tags
Quick Code Snippet
If you are using Javascript to get the current date, you may need to add the ordinal on the date. (the bit that goes st, nd, rd, th).
So here is a quick functio to handle that
function getDateOrdinal(date_numeric)
{
var s='th';
if(date_numeric===1 || date_numeric==21 || date_numeric==31) s='st';
if(date_numeric===2 || date_numeric==22) s='nd';
if(date_numeric===3 || date_numeric==23)...
October 2008
2 posts
3 tags
JSON & JQuery
This week i’ve been experimenting with some complex AJAX code for a client.
Rather than use innerHTML to replace the data in a named div. I thought that I should use the DOM creation stuff properly.
The data that I wanted to return from the database, was basically an associative array of buildings, this included a name and an id of the building in the database.
This lead me towards the...
3 tags
Blog + Tumblr
I now have my blog running through tumblr.
I thought that this would be easier in the long run.
The UI is great, and it was fairly painless using a skin to match the rest of the layout of my site.
So now that I have got my site up and running, it means I can devote more time to getting SVN working and cracking on my first project that I can release to the wild.
can’t wait to start...
September 2008
1 post
Test Post
This is the obligatory test post, want to see if it works, they try to integrate into my site.