Please consider donating: a local project in memory of my daughter

Archive for the "Code" Tag

A Public MIT License Resource

Pretty much every personal project I work on I try to make it publicly available - usually under an MIT license - but I pretty much always forget to include an MIT license file. There's an Open Source Initiative with the license, but it doesn't have the date, nor the license holder. So I've released [...]

Google Assistive Technology Detection

We all know Google engineers are working away a stuff that's so amazing they have to wait a couple of years before releasing it otherwise it'll blow our minds up (Gmail, maps, etc). That said, they've released functionality tucked away inside the search results page that I never knew existed. Full accessibility support.

JS Bin for Collaborative JavaScript Debugging

The weekend before last I blitzed through an idea I had on the shelf for about 6 months and put it live under the name JS Bin.

Query String to Object via regex

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

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 [...]

Code Highlighting

Since I'm always posting code snippets, it made sense to apply some syntax highlighting. There's a few different ways to achieve this depending on your preference.

del.icio.us-like Text Grow jQuery Plugin

If you're familiar with the del.icio.us tag search box, then you'll know it will grow with the length of the content you enter. This is particularly useful for search boxes or tagging entry boxes, though the only downfall (I think) of del.icio.us's entry box is that it can grow to become wider than the entire page [...]