Check out my latest project: JSBin - live JavaScript pastebin

Archive for the 'Code' Category

jQuery API Update: offline and anywhere

I've been beavering away at the API behind the scenes for a little while, and if you follow me on Twitter you've probably already seen the API browser has already been upgraded. The key change I've made is to de-couple the API search engine from the front end. What this has resulted in, is a [...]

maxlength plugin

It's a fairly common design pattern to want to limit the number of characters the user can input in a field whilst giving feedback to the user on how much they have left. So I've built a little jQuery plugin to do the work for me.

Query String to Object via regex

Just sharing a nice little code snippet that makes use of regular expressions instead of loops for converting.

Twitter script upgrades & JSONP hacking

Given that recently Twitter has been going up and down like a yo-yo (and I'm sure they're working on it), I've upgraded the twitter script to support timeouts. Twitter have also messed with the API...

window.onresize hangs IE6 and IE7

Another bug that I've not seen before that caused some confusion. Actually, the bug almost makes sense, except that it leaves IE6 and IE7 completely hanging.

Code Dumper

Code Dumper is a personal project of mine that I've used to practise some new skills on. It's a code dumping repository with a couple of features that I think makes it unique from the other code bins. Where possible, I'll blog about how particular aspects of the project so that they can be re-used [...]

Pronounceablely Random

If you work in a secure(ish) environment then you'll be changing passwords on a regular basis. An old colleague and I came up with a script that would generate a password based on fictional words from a dictionary lookup. Then we/he realised that this could actually be generated on the fly, be completely random and still [...]