SelfControl
SelfControl is a free Mac app that helps you avoid distracting websites. Block your own access to websites or mail servers for a pre-set length of time.