February 2012

February 22, 2012

February 11, 2012

February 10, 2012

  • The Itch. A mesmerizing, horrific tale of an itch that wouldn’t stop.

February 9, 2012

Detecting language without IP geolocation

Detecting language preference with Javascript. One way, using using Javascript only:

var language = window.navigator.userLanguage || window.navigator.language;

The better way is to use Ajax to grab the HTTP Accept-Language header with a server side script. The Stackoverflow thread has implementations for Python ja Node.js.


Zipping files with AES-256 encryption in PHP

Use P7Zip from the command line or, more exotically, use DotNetZip with PHP.


February 2, 2012

  • Looking for trim in Javascript? Here’s plenty, with some very interesting performance analysis.
  • Securimage is a good-looking and accessible CAPTCHA built in PHP.

February 1, 2012