Noprocrast

Noprocrast

I wrote a characterize line script referred to as noprocrast. This script updates /etc/hosts to create distracting net sites unreachable from my machine:

sudo cp /etc/noprocrast_hosts /etc/hosts

The corresponding /etc/noprocrast_hosts:

127.0.0.1 localhost db001 db002 db003 db004 net030 net048
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost

127.0.0.1 news.ycombinator.com
127.0.0.1 reddit.com www.reddit.com
127.0.0.1 twitter.com
127.0.0.1 nytimes.com www.nytimes.com

In case I definitely must be in contact over with one of those sites, I exhaust the next procrast script:

sudo cp /etc/procrast_hosts /etc/hosts
echo `date` >> ~/.procrasts

Then if I must gape how I definitely were doing with procrastination, I tail ~/.procrasts.

The /etc/procrast_hosts file is simply correct:

127.0.0.1 localhost db001 db002 db003 db004 net030 net048
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost

Whereas you happen to haven’t tried an /etc/hosts hack devour this, I counsel giving it a are trying. You can well be tremendously surprised by how mighty time you establish.

Additionally look for



Learn More

Share your love