All source snippets I post on Stack Overflow are under the CC0 licence ("No Rights Reserved" - public domain).