Continue Download with cURL
One of the most useful but least talked about utilities a developer has at their disposal is cURL. The cURL command line utility has been so amazing that Chrome lets you copy requests as cURL from the developer tools Requests panel. cURL lets you post form data, follow redirects, get response headers, determine redirect URL, check gzip encoding, and much more.
One more awesome feature that cURL has baked in is allowing the developer to continue interrupted downloads. You can use cURL to download via the -O
option:
curl -O https://davidwalsh.name
If that download gets interrupted, you can use the -C -
addition to continue the download:
curl -C - -O https://davidwalsh.name
If you remember the 14k modem days, there was nothing worse than starting a download from scratch. The internet speed is much faster these days but the average download has increased as well, so if you're using cURL, be sure to use this option to avoid fresh downloads!
Your early CSS books were instrumental in pushing my love for front end technologies. What was it about CSS that you fell in love with and drove you to write about it?
At first blush, it was the simplicity of it as compared to the table-and-spacer...
I get asked loads of questions every day but I'm always surprised that they're rarely questions about code or even tech -- many of the questions I get are more about non-dev stuff like what my office is like, what software I use, and oftentimes...
I was recently working on a project which featured tables that were keyboard navigable so obviously using cell outlining via traditional tabIndex=0
and element outlines was a big part of allowing the user navigate quickly and intelligently. Unfortunately I ran into a Firefox 3.6 bug...
One of the famous MooTools plugins is Harald Kirschner's AutoCompleter plugin. AutoCompleter takes a term input by the user and searches for matches -- an obviously help to the user. Here's how to make the most of Harald's great plugin.
The XHTML
All we...
If you are using wget you can resume a broken download with
-c
or--continue
option.