I've got a PhD in chemistry. It seems like I'm stuck in a career dead end. My specialisation isn't in demand and I don't like it anymore. I have always been interested in computers and almost studied computer science instead of chemistry, but didn't because i thought my math skills weren't good enough.
Now I realize that that was stupid. I still enjoy my arch Linux machine, writing little Python scripts, using LaTex and reading hacker news. I have a good superficial knowledge of computers, but not sure what exactly I'd like to do or study. Nowadays there are so many options to study online. How do I figure out which course to take? I also want to have good prospects in terms of income and job flexibility, and not be bound too much to certain regions.