I probably spent 3 - 5 hours per day, 6 days per week. I kept myself motivated mostly by choosing the easiest resources to learn from I could find, which made it much easier to make measurable progress. I didn't have anyone else helping me in real life, so I just relied on the Udacity forums, Stack Overflow, and IRC. But again, because I was using really easy materials to learn from, fortunately I never got stuck that badly. Usually it was just a matter of putting down the book and doing a couple YouTube/Google searches.