Work on the things you want even when you are in office. :) Compress regular work in smaller chunks and keep promise to you that I would write atleast 50 lines of good code everyday. Am sure you do this for 7 days and you know what to do next to reach there.
Getting started is the important thing. Get away from HN/programming.redddit; work on small snippet; be happy and then search anybody has done similar thing. Discovering similar/better/quicker approach to your code i.e. whatever would boost your confidance especially when you can write code without google search.
So that helps to get back to books/api documentation. And suddenly you become a programmer you want to be.
I know this sounds pretty simple but that is the key.
google appengine + small JQuery/Prototype project can help anyone to get started