LESSWRONG
LW

2229
freefaler
1010
Message
Dialogue
Subscribe

Posts

Sorted by New

Wikitag Contributions

Comments

Sorted by
Newest
Tools for keeping focused
freefaler5y20

I use a simpler system with /etc/hosts files on my Linux and Mac machines.

I have a hosts_work file, with all distracting sites pointing to 127.0.0.1.

For example:

127.0.0.1 youtube.com
127.0.0.1 www.youtube.com

A cron job runs every morning and replaces my /etc/hosts file with hosts_work file. After 22:00 another cron job returns the original one. In that way I don't need any 3rd party software.

Reply
No posts to display.
No wikitag contributions to display.