Skip to content

Instantly share code, notes, and snippets.

@ItsDrike
Last active June 20, 2025 18:02
Show Gist options
  • Save ItsDrike/dda98d0ba5e6d50ef980a1603b9437ad to your computer and use it in GitHub Desktop.
Save ItsDrike/dda98d0ba5e6d50ef980a1603b9437ad to your computer and use it in GitHub Desktop.
LICENSES

Licenses GIST

This is my personal gist to keep some software licenses that I commonly use for my software, just to have a place to copy them from.

Note that this only includes licenses that aren't officially available in easily pullable plaintext form from official sources, or ones that have a copyright header embedded that needs filling out.

I like to use aliases to quickly get the licesnse I want:

alias license-lgpl3="curl https://www.gnu.org/licenses/lgpl-3.0.txt > LICENSE.txt"
alias license-gpl3="curl https://www.gnu.org/licenses/gpl-3.0.txt > LICENSE.txt"
alias license-agpl3="curl https://www.gnu.org/licenses/agpl-3.0.txt > LICENSE.txt"
alias license-gpl2="curl https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt > LICENSE.txt"
alias license-lgpl2="curl https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt > LICENSE.txt"
alias license-apache="curl https://www.apache.org/licenses/LICENSE-2.0.txt > LICENSE.txt"
alias license-mit="curl https://gist.githubusercontent.com/ItsDrike/dda98d0ba5e6d50ef980a1603b9437ad/raw/LICENSE-MIT.txt > LICENSE.txt"
Copyright 2025 ItsDrike <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment