Hacker News new | ask | show | jobs
by beachy 2040 days ago
I edit /etc/hosts to block access to all my common time wasters, wapo, hn, etc.

Sometimes I weaken and uncomment then all and binge for a bit. But for some reason it works better for me than just trying not to go to those websites.

2 comments

I used to do this and then firefox bundled its own DNS aka DOH. Still haven't decided on the best course of action.
I also do this, I actually maintain two versions of the file. Swapping them out is a simple one-liner, but I find it works quite well because getting the page not found errors act as a reminder of intention before slipping back into mindless browsing.