Get Shit Done is a command-line utility that blocks popular, known-to-be-distracting web sites so you can get your work done. Even if you're not a command line pro, it's pretty simple to use and blocks time-sucking sites without fail.

The script works by blocking time-wasting files via your computer's hosts file—which we've addressed in the past—only this solution makes turning your blocker on and off much easier.

To get it to work, you'll need the Python scripting language installed on your computer. (Mac and Linux users, it ships on most of your computers; Windows users, you can download it here.) Then all you need to do is download the source from GitHub, open your command line app of choice (again, Windows users, we'd recommend Cygwin), cd to the directory containing the script, and execute the following command:

Introduction to who? If that's what you thought when you saw the title of this article, then…
Read more Read more

sudo get-shit-done work

When you're done, use this command:

sudo get-shit-done play

You'll need to edit the get-shit-done.py script in a plain text editor if you want to add specific sites not already in the list (just add them to the siteList variable), and if your hosts file isn't in the default /etc/hosts location, you may want need to edit that as well.