The Coding Horror does a good job of explaining why you should always post a license with your code. No matter how small it is. Even for cope snippits. He does a good job of comparing the most popular software licenses in his post "Pick a License, Any License".
Pick a License, Any License
BTW, This posting is licensed under the WTFPL License.
The license text:
Code:
DO WHAT THE FUCK YOU WANT TO PUBLIC
Version 2, December 2004
Copyright (C) 2007 Chaim Krause
Kansas City, Missour, 64154
Everyone is permitted to copy and distribute verbatim or modified
copies of this post, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.