by datawalke · 16y ago · 0 comments
I edit my hosts file (Windows: /Windows/System32/drivers/etc/hosts, Mac: /etc/hosts) to look something similar to:
127.0.0.1 news.ycombinator.com
127.0.0.1 techcrunch.com www.techcrunch.com
127.0.0.1 reddit.com www.reddit.com
etc.
Alternatively you can use other tools to block traffic. RescueTime (http://www.rescuetime.com/)is an awesome tool as well.
Typically once I flip it on, I forget about it, until I actually try to check a site that's been blocked. I find that being unable to load a site or loading a local webserver hosted file injects just enough time to realize I should be doing something else.
Previously I wasn't in the "trick yourself" camp, but having used this for a while, I definitely am. Used in conjunction with the Pomodoro Technique, it's a really solid way to keep oneself on track.