I am Hack Sparrow
Captain of the Internets.

How to merge a specific commit in git

You were working on a certain branch of a git repository, and you committed some changes to it. Then you realize, this particular commit should also go to another branch of the repository BUT you are not ready for a complete merge. Maybe this commit was meant for the other branch? You want to merge this particular commit from the current branch to the other branch of your requirement. Merging a specific commit from one branch to ...

Express.js Tutorial

Looking for a good tutorial on Express.js to help you get quickly productive in it? You have come to the right place. [notice] This tutorial is for Express 3, the current version is Express 4. Unless you want to use Express 3, consider the tutorial outdated. [/notice] In this tutorial I will run you through the process setting up an Express.js app and making it do what a basic website might do. You will learn the basics of routes, views, Jade templates, Stylus CSS engine, handling POST a ...

Create NPM Package – Node.js Module

Want to publish your Node.js module to the public NPM registry? I'll show you how to do so using an example. Yesterday I created a module called flv2mp3 for converting FLV files to MP3 files. Let's put it up on the NPM registry for the world to be blinded by its technical splendor. Publishing a Node module involves working with two networks - a remote repository and the ...

Install Node.js and NPM on Windows

[notice] UPDATE Feb 1, 2012: This article is fairly outdated now. Node.js installs right into the Windows system now, no need for moving files, setting path etc. If Node path is not detected, do a restart. [/notice] [notice] UPDATE: NPM now comes bundled with Node.js which can be installed using an MSI - get it here. No more headache of installing NPM separately on Windows. [/notice] Well, Nod ...