Jim Cheung

Wednesday, December 05, 2012

starting my development with nodejs, using express framework.

$ npm install -g express coffee-script js2coffee mocha should
$ express myapp
$ cd myapp/
$ js2coffee app.js > app.coffee; rm -f app.js
$ js2coffee routes/index.js > routes/index.coffee; rm -f routes/index.js
$ mkdir test
$ /* write tests */
$ mocha --compilers coffee:coffee-script

and one more reason for nodejs: Amazon has sdk for nodejs, can access S3 using official api.

Thursday, December 06, 2012

a very interesting implementation of duck duck go - a terminal mode, like it. with vimium, super fun.

it uses jquery terminal, source code is not minimized, easy to read and learn.

Blog Archive