Skip to content

Instantly share code, notes, and snippets.

Created March 13, 2013 10:43
What would you like to do?
My /etc/hosts and the accompanying crontab.
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
## localhost broadcasthost
::1 localhost
fe80::1%lo0 localhost *
Copy link

Be sure to pair with this crontab:

*/5 17 * * * cp /etc/hosts.unfocus /etc/hosts
*/5 0-16,18-23 * * * cp /etc/hosts.focus /etc/hosts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment