All code that I post on Stack Exchange is hereby released into the public domain via the Creative Commons CC0 1.0 Public Domain Dedication or any subsequent version thereof: https://creativecommons.org/publicdomain/zero/1.0/legalcode . Of course, one may still use it under the terms of the default Stack Exchange license at the time of its posting, as required by Stack Exchange, but I'm not sure why one would go to the extra trouble.