VerySimple Developer Blog
Technical Tips, Tricks and Rants.

Archive for September, 2006

 
Sep
28
Filed Under (Digital Life) by Jason on 28-09-2006

Ok, first off that 43% stat is totally made up by me. However being a lover of technology and apparently having no self-discipline I have found myself spending entirely too much time on digg.com lately.

I decided to do something about it - I created a simple batch script that blocks access to the digg.com domain name, as well as a few other sites. I created a windows scheduled tasks to block/unblock the domains during the times that I want to get some work done. Of course I can always just unblock it. But, I’ve noticed that many times I just “wind up” there somehow out of unconcious habit. The goal of this script is to jog me out of this habit and get back to work.

You probably may ask why I would want to do such a thing? Who cares if you can surf on digg all day, why not? Well, when running your own company you have to get the work done on time and if you surf the web for 2 hours, then it just means you have to work that much longer before you’re done.

If you want to get really crazy, you can set up the block/unblock schedule to let you access the sites every other hour, or whatever schedule you want. I am chosing for now to block during my workday and then unblock in the evening. I’ll try that for a while, but I imagine I’ll probably add a “lunch break” in there for myself eventually!
I’ve attached the batch scripts mentioned here for your downloading pleasure. Please feel free to give it a try.

Oh, and get back to work!

Download Domain Blocker Batch Scripts…

 

Close
  • Social Web

NOTE: Email is disabled

E-mail It