I find healthy people have more energy and are more focused. This always leads to more motivation. Do you eat well? Exercise daily? Sleep properly? I still think those are the three fundamental aspects of productivity/happiness. Of course this is a generalization - we all know fat programmers who are hugely (hahaha) successful. This shouldn't be controversial, the relationship between poor health and poor productivity is well established. Of course, you need to be honest with yourself, I've known some stupidly unhealthy people who thought they were really healthy.
More specifically to programming, we all learn differently. Some like books, some like videos, some are more hands on. Ultimately, you need to find what works for you, and spend the time and do it. There's no quick fix/easy solution. You need to spend time and get it done. I'd suggest small quick projects so that you get the benefit of iterating and learning quickly. If you aren't creative, contribute to something that interets you. Otherwise, pick something that'll solve a real problem you have and go for it. Even something as simple as documenting, you know, through a blog, your process can help.
More specifically to programming, we all learn differently. Some like books, some like videos, some are more hands on. Ultimately, you need to find what works for you, and spend the time and do it. There's no quick fix/easy solution. You need to spend time and get it done. I'd suggest small quick projects so that you get the benefit of iterating and learning quickly. If you aren't creative, contribute to something that interets you. Otherwise, pick something that'll solve a real problem you have and go for it. Even something as simple as documenting, you know, through a blog, your process can help.