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!
Chances are that any Web designers using our Ghostlab browser testing app, which allows seamless testing across all devices simultaneously, will have worked with responsive design in some shape or form. And as today's websites and devices become ever more varied, a plethora of responsive images...
CSS filter support recently landed within WebKit nightlies. CSS filters provide a method for modifying the rendering of a basic DOM element, image, or video. CSS filters allow for blurring, warping, and modifying the color intensity of elements. Let's have...
One of the quickest and easiest website performance optimizations is decreasing image loading. That means a variety of things, including minifying images with tools like ImageOptim and TinyPNG, using data URIs and sprites, and lazy loading images. It's a bit jarring when you're lazy loading images and they just...