News for hackers. Stuff that matters.
Re:The Top Idea in Your Mind by philwelch on Thursday July 22, 2010 @03:42AM (#1537618)
I wrote an ad-hoc adblocker out of /etc/hosts files and shell scripts for Mac OS X. (The shell scripts just block and unblock--unblocking is necessary sometimes for a chess site I use which detects adblockers.) Usually restarting is overkill for a new hosts file to take effect--on Mac OS X `dscacheutil -flushcache` will reinstate a hosts file. Ubuntu must have a similar command.
Re:The Top Idea in Your Mind by noahc on Friday July 23, 2010 @10:09AM (#1541175)
I use the self control app on Mac OSX.

http://visitsteve.com/work/selfcontrol/