I agree with the guy who said buy a plane ticket somewhere. That is the best life advice when you have 6 free months as long as you have enough money to travel somewhere.
But if you are gonna stay where you are, learning to code is definitely a good hobby that could eventually make you money down the road.
My advice for programming would be websites and mobile programming if it is something you would like to do as a hobby but try to make some money off of it down the road.
For websites learn HTML (pretty easy, will only take a week to grasp the basics), CSS which is for styling what is displayed on the website. Neither of those are real programming languages but they are how websites are made. Once you have those down learn Javascript (a real programming language) as that is what makes web pages dynamic. Those three make up what's called Front End Web Development. You can definitely learn those well pretty well within 6 months. You should then have some time to get into Back End Web Development using PHP and SQL and learning how databases work (SQL is the language for using databases). A lot of other languages can be substituted for PHP if you want like Java, Python, Ruby, etc, but those are all general purpose languages that can be used for web programming, while PHP is made for web programming.
If you wanna learn programming outside of web development I'd recommend C, C++, Java, Python, Ruby. Those last 3 are easier to learn than C/C++. C# is also big but as someone said it is Microsoft's language so it is only used by people who work entirely with Microsoft's tools.
For learning how to make apps on apple stuff you need to learn C and then Objective-C (and you have to have a Mac). To make Android apps you need to learn Java and then you learn how to do stuff in Android (using Java) by downloading some free software that will set you up with the framework you need to build Android apps.
My advice is learning web design by learning HTML5, then CSS3, then Javascript, then learn about databases and learn PHP and SQL. You can get a pretty good understanding of all those things in 6 months of solid studying and coding, enough to build decent websites.