I am Hack Sparrow
Captain of the Internets.

Using Node.js to download files

There are three approaches to writing a file downloader app using Node - i. HTTP.get, ii. curl, iii. wget. I have created functions for all of them. To get the examples working makes sure you have the dependencies and app variables intact. Read the comments thoroughly, you will not only learn how to download files, but will also learn more about Node's child_process, File System, Buffers, and Streams. Let's start with HTTP.get. ...

How to install wget on your Mac

Ok, so Mac is cool and stuff, but it doesn't come with wget by default, which in my opinion sucks. wget is a very useful tool and is used for downloading installation files among other stuff; it ought to be there on your Mac. Getting wget on Mac OS X is pretty easy, so worry not. Just follow my instructions. Before that make sure you have a C/C++ compiler on your system, if you have XCode, you ...