This article describes the licenses I usually use for my work. This is a guide to those licenses and their terms, and where I generally use them; however, you must refer to the specific work to determine the license that it is available under.
Code samples
Code samples and snippets are placed in the public domain using the Creative Commons CC0 license:
To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work.
Open Source software
Open source software is currently released under the zlib license. I am considering switching to the CC BY-SA license in the future.
This software, including all programs, computer files, and associated documentation, are Copyright (c) 2008, 2009, 2010 David C A Croft. All rights reserved.
DISCLAIMER
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
LICENSE
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any distribution.
For certain works, where I believe an incompatible derivative version may result in confusion for the end-user, an additional term is applied to protect the name:
Closed Source software
Free software that I release without accompanying source code uses the Creative Commons BY-NC-ND license:
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Contributions
I require contributors to my projects to assign copyright of their contributions to me so that I can continue to license them under other terms.