Freedom (for Mac users)
I wish I had a Mac now.
Freedom is an applicationÂ that disables networking on an Apple computer for up to eight hours at a time. Freedom will free you from the distractions of the internet, allowing you time to code, write, or create. At the end of your selected offline period, Freedom re-enables your network, restoring everything as normal.
Damn, it should win a Nobel prize.