I do love to code and hate bugs
You can use all my post's own-code (which do not reference source) under the "Apache 2.0" license
(beside the site's "CC BY-SA" license).
See also Is Stack-Exchange license compatible with Apache 2.0 licensed project? (no, it needs attribution).