Unless otherwise specified in a specific answer, any code included in my answers1 is released by me into the public domain or under CC0 at your option.
1 This includes only code in the text of answers, and doesn't extend to any linked code or anything in non-answers such as comments or questions. Furthermore, it evidently cannot apply to code which I've copied (generally with attribution) from another author.