When it comes to write code you don't need to learn magic spells.
All you need is to take a look outside the window and solve your problem with patterns from the real world.
Nowadays it is easy to pick an Online IDE and start practicing with almost any programming languages. Here is a list with my favorurite resources.
Few tricks I've learned that makes collaboration easier.
Code sharing is a concept which is whispered in low tone around the office, is being shouted loud by tools producers and is simply misunderstood by the great part of us, IT folks.