Ask HN: How to Deal with Internet Addiction?
2 comments
Have a blocklist in your HOSTS file. That way, even if you go to those sites from your browser, you are not able to access them.
sudo vim /etc/hosts
include the lines:
127.0.0.1 news.ycombinator.com
127.0.0.1 www.nytimes.com
127.0.0.1 www.reddit.com
127.0.0.1 www.facebook.com
127.0.0.1 www.cnn.com
include the lines:
127.0.0.1 news.ycombinator.com
127.0.0.1 www.nytimes.com
127.0.0.1 www.reddit.com
127.0.0.1 www.facebook.com
127.0.0.1 www.cnn.com
It's become second nature to Ctrl+T and 'fa' for facebook, 'news' for HackerNews, 'red' for reddit, etc. that I barely notice I'm doing it.
I also regularly stay up another hour instead of going to sleep, "to catch up" on things that really don't matter or I can view tomorrow.