###pomodoro.sh
This script will notify the user when to work and when to rest in intervals as specified at http://en.wikipedia.org/wiki/Pomodoro_Technique. It also alters your hosts file to blacklist any distracting sites during work intervals.
notifications are sent out via terminal-notifier http://rubygems.org/gems/terminal-notifier on OS X or pynotify2 on Linux
On Linux you'll need to install this library, on Ubuntu try:
sudo apt-get install python-notify2
make
Start it up in the background....
sudo pomodoro start &
Stop it gracefully....
sudo pomodoro stop
Or, just run ./pomodoro.sh (stop|start)
Create/edit a file called .pomodoro.urls.blacklist in your home folder. Each of the domains in the file will be blacklisted during each work session.
> cat ~/.pomodoro.urls.blacklist
facebook.com
news.ycombinator.com
reddit.com