Live data from Hacker News

Get-shit-done - Easy way to stop distractions

github.com

1–10 of 79 posts

Re: Get-shit-done - Easy way to stop distractions

#9

I do this, although only by saying sudo cp hosts.play /etc/hosts or sudo cp hosts.work /etc/hosts It's simple, and surprisingly efficient.

I did this in the past too. The amazing thing is that it actually cures the addiction, not just the symptoms. On the first day you find yourself clicking on the reddit bookmark like an idiot every 20 mins, only to be redirected to localhost. After a few days the impulse is gone and you can actually go back to a non censured /etc/hosts: your self control is back. YMMV.

Re: Get-shit-done - Easy way to stop distractions

#10
post #3

I do this, although only by saying sudo cp hosts.play /etc/hosts or sudo cp hosts.work /etc/hosts It's simple, and surprisingly efficient.

The only problem with this method is that if you modify your hosts file, you have to modify both.

sudo cp /etc/hosts /etc/hosts.bak && cat hosts.work >> /etc/hosts

sudo cp /etc/hosts.bak /etc/hosts

Note: I just wrote this now with no testing whatsoever.

Post reply on HN