License your code!
I am, of course, for free software licenses, but after all it is your choice, so here are a few links:
- My favourite: GPL V3. GNU Public license pure et dure, toute redistribution doit etre sous les mêmes termes. 'Viral License'
- Second favourite: CC licenses Really cool permissive licenses, as well as some explanations on licensing.
- Also free software, but not restrictive for poeple re-using your code: BSD. More or less as long as they put your name on it they can do whatever they want (which I dislike because then people can use your work to do non-free software.
- Also check out the different Mozilla licenses.
In non-free software, I don't really know much, so check out these different open-source (NOT necessarily free!) licenses: https://opensource.org/licenses/category.