Download A File and wget
Using the cURL package isn't the only way to download a file. You can also use the wget command to download any URL.
The Bash Script
wget http://davidwalsh.name/ -O davidwalsh.name.txt
I'm guessing that wget and cURL aren't the only ways to download a file, but these are two easy ways to do so.
Also, look forward to more posts featuring wget -- it has a plethora of uses!
San Francisco, CA · January 20-22
Get 20% off with
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
One of the hidden gems within the HTML5 spec is context menus. The HTML5 context menu spec allows developers to create custom context menus for given blocks within simple menu and menuitem elements. The menu information lives right within the page so...