-
How to "inject" the current mercurial revision into your JS load requests
When you do web development you will soon have to find a way to force users to download a new version of your JavaScript files before their browser cache actually requires it. The best way to do this is just add a made-up GET argument to the file name when you load the script and change this when you upload an new version of the script. It should look something like this:
-
Let Google host jQuery for you
Mar 15, 2009 • Mixed
If you want to make use of Google’s hosting platform for all sorts of JavaScript libraries and want to use jQuery in your site, just insert this snippet into the header of your HTML document.
-
TinyURL bookmarklet
Feb 28, 2009 • bookmarklet, Mixed
Do you love TinyURL but wished that there was an easier way of creating your shortened URLs? Here it is: I have written a little bookmarklet which is heavily influenced by the delicious one. -
How to install Mozilla Bespin
Feb 19, 2009 • bespin, editor, javascript, Mixed, mozilla
Mozilla Bespin a cool new project that lets you edit your code online Google Docs-style. The project has so much potential and I'm really excited what's going to happen with this. -
Communication & Networks coursework made easier
I have written a little script that converts the raw text file from the course website and gives you a file with comma separated values. CSV files can be opened by any old spreadsheet program. It has the added bonus of converting the RTT from scientific notation to normal decimal numbers.
-
How to "inject" the current mercurial revision into your JS load requests
When you do web development you will soon have to find a way to force users to download a new version of your JavaScript files before their browser cache actually requires it. The best way to do this is just add a made-up GET argument to the file name when you load the script and change this when you upload an new version of the script. It should look something like this:
-
Let Google host jQuery for you
If you want to make use of Google’s hosting platform for all sorts of JavaScript libraries and want to use jQuery in your site, just insert this snippet into the header of your HTML document.
-
TinyURL bookmarklet
Do you love TinyURL but wished that there was an easier way of creating your shortened URLs? Here it is: I have written a little bookmarklet which is heavily influenced by the delicious one. -
How to install Mozilla Bespin
Mozilla Bespin a cool new project that lets you edit your code online Google Docs-style. The project has so much potential and I'm really excited what's going to happen with this. -
Communication & Networks coursework made easier
I have written a little script that converts the raw text file from the course website and gives you a file with comma separated values. CSV files can be opened by any old spreadsheet program. It has the added bonus of converting the RTT from scientific notation to normal decimal numbers.