Common open source license option are summarized very nicely at http://choosealicense.com/licenses/
For Harvard Library created open source projects, we would like the license for reuse of the software to be as simple and permissive as possible - we wish to placed virtually no restrictions on the reuse of our open source code, for both commercial and non-commercial uses. We also wish to explicitly grant the right to use any patentable concepts. For that reason, we recommend that wherever possible, code developed as open source by Harvard Library or Harvard Library Technology Services be released with the Apache 2.0 license (with the "year" filled with the year of first release.
In choosing the Apache 2.0 license, we follow the lead of Project Hydra and others.
Copyright [yyyy] [President and Fellows of Harvard College] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
How to apply this license
Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [yyyy] with the current year.