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!
Back in late 2012 it was not easy to find open source projects using requestAnimationFrame()
- this is the hook that allows Javascript code to synchronize with a web browser's native paint loop. Animations using this method can run at 60 fps and deliver fantastic...
The HTML5 revolution has provided us some awesome JavaScript and HTML APIs. Some are APIs we knew we've needed for years, others are cutting edge mobile and desktop helpers. Regardless of API strength or purpose, anything to help us better do our job is a...
There's yet another reason to master more than one JavaScript library: you can use some of them together! Since MooTools is prototype-based and jQuery is not, jQuery and MooTools may be used together on the same page.
The XHTML and JavaScript
jQuery is namespaced so the...
One of Dojo's major advantages over other JavaScript toolkits is its Dijit library. Dijit is a UI framework comprised of JavaScript widget classes, CSS files, and HTML templates. One very useful layout class is the TabContainer. TabContainer allows you to quickly create a tabbed content...
If you are using wget you can resume a broken download with
-c
or--continue
option.