letswork / letsfun
letswork / letsfun is a tool that will help you be more effective by giving you the ability to block all those sites that consumes all your time (facebook, 9gag, reddit, twitter..).
It's all done by adding/removing some magic lines to your hosts file.
Caution: I strongly suggest that you backup your hosts file
sudo cp -npRv "/etc/hosts" "/etc/hosts_letswork_backup_$(date +"%m_%d_%Y")"
Installation
sudo npm install -g letswork
*need root privileges since it's editing /etc/hosts
Usage
letswork --helpUsage: letswork -- block all letswork <whitelist> -- to allow certain homepages