I noticed a lot of my procrastination came from habit. Opening Reddit, or Hacker News was the path to a surge of dopamine. Where as getting down to work didn't have the same surge. So I tried to just block "bad sites". That helped, but I still found myself occasionally opening a new tab, than out of habbit going to one of the sites. What I needed to do was remove the root cause. So I wrote this script (https://gist.github.com/steven-p-walsh/9b7c0ffd2fe4817d67459...) it's like a shock-collar for social media.