All original source snippets I post on StackOverflow are licensed automatically under CC0, WTFPL and The MIT License. Choose whichever license you want to use and just use it.