Regain Disk Space from Homebrew
One of my favorite utilities is Homebrew, the shell utility for installing and upgrading other utilities -- it's a lazy developer's dream. Dreams can easily turn to nightmares, however, and I recently learned that Homebrew caches older versions of installed packages, leading to loads of disk space being used up by old files.
Want all of that disk space back? Run brew cleanup -s
:
I understand why Homebrew keeps the previous versions around but when utilities are stable, it's really time to take back the bytes. My first run of brew cleanup -s
recovered 640MB of disk space, which is peanuts relative to the size of modern hard drives, but it's space that I want back!
Introduction
For quite a long time now websites with the so called "parallax" effect have been really popular.
In case you have not heard of this effect, it basically includes different layers of images that are moving in different directions or with different speed. This leads to a...
It's no secret that Facebook has become a major traffic driver for all types of websites. Nowadays even large corporations steer consumers toward their Facebook pages instead of the corporate websites directly. And of course there are Facebook "Like" and "Recommend" widgets on every website. One...
Overlays have become a big part of modern websites; we can probably attribute that to the numerous lightboxes that use them. I've found a ton of overlay code snippets out there but none of them satisfy my taste in code. Many of them are...
I've said it over and over but I'll say it again: JavaScript's main role in web applications is to enhance otherwise boring, static functionality provided by the browser. One perfect example of this is the Javascript/AJAX-powered star rating systems that have become popular over the...
Just dropping a huge thank you for sharing this!
another thank you.. just saved ~2gb.
==> This operation has freed approximately 1.9GB of disk space.
df -==> This operation has freed approximately 562.3MB of disk space.
I got about 32.2GB back on my laptop, which out of a 250GB drive is a chunk of space worth having. That also might explain why my Time Machine backups were always much bigger than I was expecting. Thanks for the tip. One question: I didn’t include the “-s” parameter – what does that do?
mauvedeity : scrub the cache, I guess