Category Archives: JavaScript

Understanding Javascript closures

An excellent description of closures and scope in javascript: Advertisements

Posted in JavaScript | Leave a comment

Installing coffeescript on Linux Mint 11

Coffeescript is a cool new flavor of javascript, with some ruby- and python-like syntaxes. To install it on Linux Mint 11, first follow the instructions for installing nodejs. Then, enter the following: npm install -g coffee-script

Posted in JavaScript | Leave a comment

Installing nodejs and npm on Linux Mint

This took me a while to figure out, so I thought I’d better post it: 1. sudo apt-get update 2. sudo apt-get install git-core curl build-essential openssl libssl-dev 3. Download source from to ~/Downloads/src 4. cd Downloads/src 5. tar … Continue reading

Posted in JavaScript | 4 Comments