All original source snippets I post on stackoverflow are dedicated to the public domain. Do with them as you see fit. Alternatively (at your option), use them under the terms of the CC0 License, or (as already granted by SO) the CC-BY-SA License.