The TataSky HD digicom auto updated today. The UI is hell lot sleeker, smooth and non-obstructive. And a hell lot more HD channels. I am loving it. 🙂
Month / April 2011
If you think Javascript and Html DOM are synonymous or the same thing, then you need to read this.
The DOM and JavaScript – MDC Doc Center.
If you think Javascript and Html DOM are synonymous or the same thing, then you are badly mistaken. So if nodejs has Javascript interpreter then that doesn’t mean it will have DOM too! Read the above link to understand this very basic concept.
Installing nodeJs in Windows (The easiest way)
The immensely exciting nodejs is not really made to run on Windows, but like me, if you want to develop on a Windows system then you will need to install it on Windows.
Installing nodeJs on Windows
- Get the Windows binary from http://node-js.prcn.co.cc/. Download the complete package. The current version is 0.4.4. You can download it from http://node-js.prcn.co.cc/bin/0.4.4/node-0.4.4-i686-pc-cygwin-complete.7z.
- Create a directory (preferably with no spaces in its full path) and extract the contents of above 7z file into that. (You will need free 7zip to extract it.) Let this directory be C:\node.
- Create folder etc in the above folder, i.e. inside C:\node. So etc folder will be in the same folder as bin, lib etc folders.
- Inside the above etc folder create a file resolv.conf.
- Inside the above file paste the following:-
nameserver 8.8.8.8
nameserver 8.8.4.4
Using npm
npm is the popular package manager for nodejs now. So, to be able to use this is absolutely necessary.
- Launch cmd (Windows Command).
- Type cd C:\node\bin (if node is folder where you extracted the node binaries).
- Type shell.
- Now run your npm as – node npm install <package name> (without the angle brackets of course).