Hacker News new | ask | show | jobs
by axelav 4989 days ago
if you're on a mac, Gas Mask is a really good tool to switch between different /etc/hosts files

http://www.clockwise.ee/gasmask/

here's my 'focus mode'

https://gist.github.com/2564478

2 comments

Also, try Self Control app: http://selfcontrolapp.com It has a black/white list (depending on what you need) of hosts, and lets you set up a timer.
On Windows, there's Focal Filter which changes the hosts file for a given period of time.

http://www.focalfilter.com/