All the code snippets I post on Stack Overflow are licensed under CC0, unless otherwise specified.† In short: Free as in free love. Reuse to your heart's content! :-D
(This does not in any way contradict the site policy of licensing everything under CC-Wiki; it simply gives users even more freedom. In particular, you are not obliged to link back to SO when you use my code snippets.)
† This additional CC0 licence applies to my code snippets on Stack Overflow only. It does not apply to other Stack Exchange sites that my profile might happen to get copied to. In particular, I do not grant this licence to my posts on Code Golf Stack Exchange.