Leonard Ehrenfried's notebook
Hire me Archives GitHub
  • How to "inject" the current mercurial revision into your JS load requests

    Mar 29, 2009 • bash, grep, mercurial, Mixed, regex

    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:

    Read on →

  • 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.

    Read on →

  • 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.

    Read on →

  • 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.

    Read on →

  • Communication & Networks coursework made easier

    Jan 26, 2009 • Mixed, python, ucl, uni

    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.

    Read on →

« Older Newer »

© Leonard Ehrenfried · 2008 - 2020 · Subscribe via RSS