Hacker News new | ask | show | jobs
by arbeitandy 4989 days ago
the proxy/pac file version of self-control:

  https://gist.github.com/3907633
[pac file in this gist is merely a demo, please clone it and add your sites-to-blackhole-during-work]

the advantages of using a pac file over /etc/hosts are

* you can safely version control it

* you dont need to install extra software (at least on mac/windows)

* you can gist your determination

for more details of pac file, please dig into the reference link of pacfile:

  http://findproxyforurl.com/pac-functions/
there could be fun to use weekdayRange/timeRange to specify exact hours you want to be away from any self-distraction.