I find setting personal short term goals with self made-up deadlines (ex. I want to complete this section within the next 2 hours) really helps. Bear in mind if you can't measure what you do this won't work. (ex. if you don't know how long something will take or what exactly you are trying to accomplish).
It's also important to switch off between changing focus (ex. from one project to the next, take at least an hour break).
I reckon your biggest problem at the moment is context switching. I'd suggest you allocate your time explicitly (first learn and then do - instead of trying to build something useful while still learning).
It's also important to switch off between changing focus (ex. from one project to the next, take at least an hour break).
I reckon your biggest problem at the moment is context switching. I'd suggest you allocate your time explicitly (first learn and then do - instead of trying to build something useful while still learning).