Split Files Into Smaller Files
As fast as internet connections have gotten over the years, it seems the size of files we want to share has grown faster. Whether it's archive (ZIP), video, or any other host of potentially large file types, it's still tricky to put these large files somewhere to download since many storage providers have file size limits.
Splitting archive and other files into small pieces is actually quite easy with the
split utility. By using
split to chunk files apart, and
cat to put them back together, we can skirt maximum file size limitations and fears of connection problems messing up large file downloads:
split -b 1m Turok.zip TUR
The example above splits a ZIP file into 1MB chunks with a file name prefix of
TUR. To put them back together we'll use
cat TUR* > TurokRebuilt.zip
The chunked files are properly rebuilt!
I've seen this practice used for years -- ever since my bad boy days of pirating applications and games. Splitting and reassembling files seemed like magic back then -- little did I know how easy it was!
David asked me if I'd be up for a guest post picking out some of my favorite Pens from CodePen. A daunting task! There are so many! I managed to pick a few though that have blown me away over the past few months. If you...
The jQuery homepage has a pretty suave tooltip-like effect as seen below:
Here's how to accomplish this same effect using Dojo.
The above HTML was taken directly from the jQuery homepage -- no changes.
The above CSS has been slightly modified to match the CSS rules already...
Every UI framework has the same set of widgets which have become almost essential to modern sites: modals, tooltips, button varieties, and notifications. One problem I find is each site having their own widget colors, styles, and more -- users don't get a consistent experience. Apparently the...