From Rosetta Code

All my contributions are dual licensed under GPLv2+ and GFDL 1.2+ with no invariant sections, no front-cover texts, and no back-cover texts. See Rosetta_Code:Copyrights and below for further explaination. You are encouraged to do the same to make it easier for others to incorporate your code into their GPL-ed projects.

GNU General Public License

All my contributions if copyrightable are also available under GPLv2+.
Copyright (C) Alex Vong

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 0211

GNU Free Documentation License

Copyright (c) Alex Vong.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the section entitled
"GNU Free Documentation License".