1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-16 16:09:50 +02:00

Merge pull request #5 from github/new-design

Initial work on new design
This commit is contained in:
Phil Haack 2012-09-17 16:11:36 -07:00
commit 4653f49198
19 changed files with 1110 additions and 0 deletions

22
.gitattributes vendored Normal file
View File

@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

163
.gitignore vendored Normal file
View File

@ -0,0 +1,163 @@
#################
## Eclipse
#################
*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# PDT-specific
.buildpath
#################
## Visual Studio
#################
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover
## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
# Visual Studio profiler
*.psess
*.vsp
# ReSharper is a .NET coding add-in
_ReSharper*
# Installshield output folder
[Ee]xpress
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish
# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
############
## Windows
############
# Windows image file caches
Thumbs.db
# Folder config file
Desktop.ini
#############
## Python
#############
*.py[co]
# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
#Translations
*.mo
#Mr Developer
.mr.developer.cfg
# Mac crap
.DS_Store

287
css/application.css Normal file
View File

@ -0,0 +1,287 @@
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
}
html {
line-height: 1;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
q, blockquote {
quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
a img {
border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
display: block;
}
body {
background: #f5f1ec url(/images/bg.jpg);
color: #7e7974;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.4;
}
a {
color: #149ad4;
font-weight: bold;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a.button {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-color: #ceccc9 #b6b4b1 #a6a4a2 #b6b4b1;
border-style: solid;
border-width: 1px;
color: #443b34;
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
-moz-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7e5e0), color-stop(100%, #d5d3cf));
background-image: -webkit-linear-gradient(#e7e5e0, #d5d3cf);
background-image: -moz-linear-gradient(#e7e5e0, #d5d3cf);
background-image: -o-linear-gradient(#e7e5e0, #d5d3cf);
background-image: linear-gradient(#e7e5e0, #d5d3cf);
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
zoom: 1;
*display: inline;
font-size: 12px;
font-weight: normal;
padding: 5px 10px;
text-align: center;
}
a.button:hover {
text-decoration: none;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7e5e0), color-stop(100%, #d0ceca));
background-image: -webkit-linear-gradient(#e7e5e0, #d0ceca);
background-image: -moz-linear-gradient(#e7e5e0, #d0ceca);
background-image: -o-linear-gradient(#e7e5e0, #d0ceca);
background-image: linear-gradient(#e7e5e0, #d0ceca);
}
h1 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 40px;
font-weight: 900;
line-height: 1.1;
margin-bottom: 25px;
}
h5 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 14px;
font-weight: 900;
line-height: 1.1;
margin-bottom: 15px;
}
p {
margin-bottom: 1em;
}
strong {
color: #443b34;
font-weight: bold;
}
#container {
margin: 40px auto;
width: 780px;
}
#home {
padding-top: 20px;
text-align: center;
}
#home h1 {
font-size: 63px;
line-height: 1.1;
margin-bottom: 25px;
}
#home h2 {
color: #149ad4;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 27px;
font-weight: 900;
line-height: 70px;
margin-bottom: 45px;
vertical-align: middle;
}
#home h2 span {
color: #e9e6e2;
font-size: 70px;
padding: 0 5px;
position: relative;
top: 10px;
}
ul#situations li {
width: 240px;
float: left;
margin-left: 27px;
text-align: center;
}
ul#situations li.whatever {
margin-left: 0;
margin-top: 16px;
}
ul#situations li.reciprocity {
margin-top: 3px;
}
ul#situations li h3 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 22px;
font-weight: 900;
line-height: 1.1;
margin: 0 auto 20px auto;
width: 200px;
}
ul#situations li a.button {
margin-top: 20px;
}
table.license {
font-size: 13px;
line-height: 1.3;
margin-bottom: 40px;
}
table.license th {
border-bottom: solid 1px #d9d7d2;
padding: 5px 10px;
}
table.license th.name {
border-right: solid 1px #d9d7d2;
width: 150px;
}
table.license th.name a {
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 28px;
font-weight: 900;
}
table.license th.summary {
color: #7e7974;
}
table.license td {
border-bottom: solid 1px #e9e6e2;
padding: 4px 10px;
}
table.license td.label {
border-right: solid 1px #d9d7d2;
font-weight: bold;
}
table.license td ul li {
background-position: 0 1px;
background-repeat: no-repeat;
background-size: 12px 12px;
float: left;
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
zoom: 1;
*display: inline;
margin-right: 15px;
padding-left: 16px;
}
table.license td ul.required li {
background-image: url(/images/blue-dot@2x.png);
}
table.license td ul.permitted li {
background-image: url(/images/green-dot@2x.png);
}
table.license td ul.forbidden li {
background-image: url(/images/red-dot@2x.png);
}
table.license tr:nth-child(2n) td {
background-color: rgba(0, 0, 0, 0.02);
}
div.license {
font-size: 16px;
float: left;
width: 540px;
}
div.sidebar {
float: right;
width: 220px;
}
div.sidebar a.button {
margin-top: -110px;
width: 100%;
}
div.sidebar .how-to-apply {
background-color: rgba(255, 255, 255, 0.33);
border: solid 1px #e9e6e1;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
color: #7e7974;
font-size: 12px;
margin-top: -15px;
padding: 16px;
}
div.sidebar .how-to-apply p {
line-height: 1.5;
}
div.sidebar .how-to-apply p:last-child {
margin-bottom: 0;
}

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
images/bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/blue-dot@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/circular@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
images/green-dot@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/lightbulb@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
images/red-dot@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/three-arrows@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

68
index.html Normal file
View File

@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>ChooseALicense.com</title>
<meta charset='utf-8' />
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
<link href='/favicon.ico' rel='shortcut icon' type='image/x-icon' />
<link href='http://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css' />
<link type="text/css" href="/css/application.css" media="screen" rel="stylesheet" />
<script type="text/javascript" src="/javascripts/modernizr.js"></script>
<!--[if (gte IE 6)&(lte IE 8)]>
<script src='/javascripts/selectivizr-min.js' type='text/javascript'></script>
<![endif]-->
</head>
<body id='home'>
<div id='container'>
<div id='home'>
<h1>Choosing an OSS license doesn't need to be scary.</h1>
<h2>
<span>{</span>
Which of the following best describes your situation?
<span>}</span>
</h2>
<ul id='situations'>
<li class='whatever'>
<img height='57' src='/images/three-arrows@2x.png' width='72' />
<h3>Do what you like with my code.</h3>
<p>
The <a href="license.html">MIT License</a> is a permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.
</p>
<p>
<strong>jQuery</strong> and <strong>Rails</strong> use the MIT License.
</p>
<p>
<a href="license-types.html" class="button">See all permissive licenses »</a>
</p>
</li>
<li class='patents'>
<img height='72' src='/images/lightbulb@2x.png' width='43' />
<h3>I'm concerned about patents.</h3>
<p>
The <a href="license.html">Apache License</a> is a permissive license similar to the MIT License, but it provides a patent license for any code that infringes on a contributors patents.
</p>
<p>
<strong>Apache</strong>, <strong>SVN</strong>, and <strong>NuGet</strong> use the Apache License.
</p>
<p>
<a href="license-types.html" class="button">See all foundation-backed licenses »</a>
</p>
</li>
<li class='reciprocity'>
<img height='69' src='/images/circular@2x.png' width='72' />
<h3>I care about reciprocity.</h3>
<p>
The GPL (<a href="license.html">V2</a> or <a href="license.html">V3</a>) requires that folks who modify your code also license their changes under the GPL. V3 is similar to V2, but adds a restriction restricting use in hardware that forbids software alterations.
</p>
<p>
<strong>Linux</strong> and <strong>Git</strong> use the GPL.
</p>
<p>
<a href="license-types.html" class="button">See all reciprocal licenses »</a>
</p>
</li>
</ul>
</div>
</div>
</body>
</html>

5
javascripts/jquery-1.7.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

5
javascripts/modernizr.js Normal file

File diff suppressed because one or more lines are too long

6
javascripts/selectivizr-min.js vendored Normal file
View File

@ -0,0 +1,6 @@
/*!
* selectivizr v1.0.2 - (c) Keith Clark, freely distributable under the terms of the MIT license.
* selectivizr.com
*/
(function(j){function A(a){return a.replace(B,h).replace(C,function(a,d,b){for(var a=b.split(","),b=0,e=a.length;b<e;b++){var s=D(a[b].replace(E,h).replace(F,h))+o,l=[];a[b]=s.replace(G,function(a,b,c,d,e){if(b){if(l.length>0){var a=l,f,e=s.substring(0,e).replace(H,i);if(e==i||e.charAt(e.length-1)==o)e+="*";try{f=t(e)}catch(k){}if(f){e=0;for(c=f.length;e<c;e++){for(var d=f[e],h=d.className,j=0,m=a.length;j<m;j++){var g=a[j];if(!RegExp("(^|\\s)"+g.className+"(\\s|$)").test(d.className)&&g.b&&(g.b===!0||g.b(d)===!0))h=u(h,g.className,!0)}d.className=h}}l=[]}return b}else{if(b=c?I(c):!v||v.test(d)?{className:w(d),b:!0}:null)return l.push(b),"."+b.className;return a}})}return d+a.join(",")})}function I(a){var c=!0,d=w(a.slice(1)),b=a.substring(0,5)==":not(",e,f;b&&(a=a.slice(5,-1));var l=a.indexOf("(");l>-1&&(a=a.substring(0,l));if(a.charAt(0)==":")switch(a.slice(1)){case "root":c=function(a){return b?a!=p:a==p};break;case "target":if(m==8){c=function(a){function c(){var d=location.hash,e=d.slice(1);return b?d==i||a.id!=e:d!=i&&a.id==e}k(j,"hashchange",function(){g(a,d,c())});return c()};break}return!1;case "checked":c=function(a){J.test(a.type)&&k(a,"propertychange",function(){event.propertyName=="checked"&&g(a,d,a.checked!==b)});return a.checked!==b};break;case "disabled":b=!b;case "enabled":c=function(c){if(K.test(c.tagName))return k(c,"propertychange",function(){event.propertyName=="$disabled"&&g(c,d,c.a===b)}),q.push(c),c.a=c.disabled,c.disabled===b;return a==":enabled"?b:!b};break;case "focus":e="focus",f="blur";case "hover":e||(e="mouseenter",f="mouseleave");c=function(a){k(a,b?f:e,function(){g(a,d,!0)});k(a,b?e:f,function(){g(a,d,!1)});return b};break;default:if(!L.test(a))return!1}return{className:d,b:c}}function w(a){return M+"-"+(m==6&&N?O++:a.replace(P,function(a){return a.charCodeAt(0)}))}function D(a){return a.replace(x,h).replace(Q,o)}function g(a,c,d){var b=a.className,c=u(b,c,d);if(c!=b)a.className=c,a.parentNode.className+=i}function u(a,c,d){var b=RegExp("(^|\\s)"+c+"(\\s|$)"),e=b.test(a);return d?e?a:a+o+c:e?a.replace(b,h).replace(x,h):a}function k(a,c,d){a.attachEvent("on"+c,d)}function r(a,c){if(/^https?:\/\//i.test(a))return c.substring(0,c.indexOf("/",8))==a.substring(0,a.indexOf("/",8))?a:null;if(a.charAt(0)=="/")return c.substring(0,c.indexOf("/",8))+a;var d=c.split(/[?#]/)[0];a.charAt(0)!="?"&&d.charAt(d.length-1)!="/"&&(d=d.substring(0,d.lastIndexOf("/")+1));return d+a}function y(a){if(a)return n.open("GET",a,!1),n.send(),(n.status==200?n.responseText:i).replace(R,i).replace(S,function(c,d,b,e,f){return y(r(b||f,a))}).replace(T,function(c,d,b){d=d||i;return" url("+d+r(b,a)+d+") "});return i}function U(){var a,c;a=f.getElementsByTagName("BASE");for(var d=a.length>0?a[0].href:f.location.href,b=0;b<f.styleSheets.length;b++)if(c=f.styleSheets[b],c.href!=i&&(a=r(c.href,d)))c.cssText=A(y(a));q.length>0&&setInterval(function(){for(var a=0,c=q.length;a<c;a++){var b=q[a];if(b.disabled!==b.a)b.disabled?(b.disabled=!1,b.a=!0,b.disabled=!0):b.a=b.disabled}},250)}if(!/*@cc_on!@*/true){var f=document,p=f.documentElement,n=function(){if(j.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(a){return null}}(),m=/MSIE (\d+)/.exec(navigator.userAgent)[1];if(!(f.compatMode!="CSS1Compat"||m<6||m>8||!n)){var z={NW:"*.Dom.select",MooTools:"$$",DOMAssistant:"*.$",Prototype:"$$",YAHOO:"*.util.Selector.query",Sizzle:"*",jQuery:"*",dojo:"*.query"},t,q=[],O=0,N=!0,M="slvzr",R=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*/g,S=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))[^;]*;/g,T=/\burl\(\s*(["']?)(?!data:)([^"')]+)\1\s*\)/g,L=/^:(empty|(first|last|only|nth(-last)?)-(child|of-type))$/,B=/:(:first-(?:line|letter))/g,C=/(^|})\s*([^\{]*?[\[:][^{]+)/g,G=/([ +~>])|(:[a-z-]+(?:\(.*?\)+)?)|(\[.*?\])/g,H=/(:not\()?:(hover|enabled|disabled|focus|checked|target|active|visited|first-line|first-letter)\)?/g,P=/[^\w-]/g,K=/^(INPUT|SELECT|TEXTAREA|BUTTON)$/,J=/^(checkbox|radio)$/,v=m>6?/[\$\^*]=(['"])\1/:null,E=/([(\[+~])\s+/g,F=/\s+([)\]+~])/g,Q=/\s+/g,x=/^\s*((?:[\S\s]*\S)?)\s*$/,i="",o=" ",h="$1";(function(a,c){function d(){try{p.doScroll("left")}catch(a){setTimeout(d,50);return}b("poll")}function b(d){if(!(d.type=="readystatechange"&&f.readyState!="complete")&&((d.type=="load"?a:f).detachEvent("on"+d.type,b,!1),!e&&(e=!0)))c.call(a,d.type||d)}var e=!1,g=!0;if(f.readyState=="complete")c.call(a,i);else{if(f.createEventObject&&p.doScroll){try{g=!a.frameElement}catch(h){}g&&d()}k(f,"readystatechange",b);k(a,"load",b)}})(j,function(){for(var a in z){var c,d,b=j;if(j[a]){for(c=z[a].replace("*",a).split(".");(d=c.shift())&&(b=b[d]););if(typeof b=="function"){t=b;U();break}}}})}}})(this);

247
license-types.html Normal file
View File

@ -0,0 +1,247 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>ChooseALicense.com</title>
<meta charset='utf-8' />
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
<link href='/favicon.ico' rel='shortcut icon' type='image/x-icon' />
<link href='http://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css' />
<link type="text/css" href="/css/application.css" media="screen" rel="stylesheet" />
<script type="text/javascript" src="/javascripts/modernizr.js"></script>
<!--[if (gte IE 6)&(lte IE 8)]>
<script src='/javascripts/selectivizr-min.js' type='text/javascript'></script>
<![endif]-->
</head>
<body id='license-types'>
<div id='container'>
<ol id='breadcrumbs'>
<li>
<a href="/">Home</a>
</li>
</ol>
<h1>Permissive Licenses</h1>
<table class='license'>
<tr>
<th class='name'>
<a href="license.html">MIT</a>
</th>
<th class='summary'>
A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. <a href="license.html">View full license »</a>
</th>
</tr>
<tr>
<td class='label'>Required</td>
<td>
<ul class='required'>
<li>Copyright inclusion</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Permitted</td>
<td>
<ul class='permitted'>
<li>Commercial use</li>
<li>Modification</li>
<li>Distribution</li>
<li>Sublicensing</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Forbidden</td>
<td>
<ul class='forbidden'>
<li>Liability</li>
</ul>
</td>
</tr>
</table>
<table class='license'>
<tr>
<th class='name'>
<a href="license.html">MIT</a>
</th>
<th class='summary'>
A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. <a href="license.html">View full license »</a>
</th>
</tr>
<tr>
<td class='label'>Required</td>
<td>
<ul class='required'>
<li>Copyright inclusion</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Permitted</td>
<td>
<ul class='permitted'>
<li>Commercial use</li>
<li>Modification</li>
<li>Distribution</li>
<li>Sublicensing</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Forbidden</td>
<td>
<ul class='forbidden'>
<li>Liability</li>
</ul>
</td>
</tr>
</table>
<table class='license'>
<tr>
<th class='name'>
<a href="license.html">MIT</a>
</th>
<th class='summary'>
A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. <a href="license.html">View full license »</a>
</th>
</tr>
<tr>
<td class='label'>Required</td>
<td>
<ul class='required'>
<li>Copyright inclusion</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Permitted</td>
<td>
<ul class='permitted'>
<li>Commercial use</li>
<li>Modification</li>
<li>Distribution</li>
<li>Sublicensing</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Forbidden</td>
<td>
<ul class='forbidden'>
<li>Liability</li>
</ul>
</td>
</tr>
</table>
<table class='license'>
<tr>
<th class='name'>
<a href="license.html">MIT</a>
</th>
<th class='summary'>
A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. <a href="license.html">View full license »</a>
</th>
</tr>
<tr>
<td class='label'>Required</td>
<td>
<ul class='required'>
<li>Copyright inclusion</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Permitted</td>
<td>
<ul class='permitted'>
<li>Commercial use</li>
<li>Modification</li>
<li>Distribution</li>
<li>Sublicensing</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Forbidden</td>
<td>
<ul class='forbidden'>
<li>Liability</li>
</ul>
</td>
</tr>
</table>
<table class='license'>
<tr>
<th class='name'>
<a href="license.html">MIT</a>
</th>
<th class='summary'>
A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. <a href="license.html">View full license »</a>
</th>
</tr>
<tr>
<td class='label'>Required</td>
<td>
<ul class='required'>
<li>Copyright inclusion</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Permitted</td>
<td>
<ul class='permitted'>
<li>Commercial use</li>
<li>Modification</li>
<li>Distribution</li>
<li>Sublicensing</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Forbidden</td>
<td>
<ul class='forbidden'>
<li>Liability</li>
</ul>
</td>
</tr>
</table>
<table class='license'>
<tr>
<th class='name'>
<a href="license.html">MIT</a>
</th>
<th class='summary'>
A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. <a href="license.html">View full license »</a>
</th>
</tr>
<tr>
<td class='label'>Required</td>
<td>
<ul class='required'>
<li>Copyright inclusion</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Permitted</td>
<td>
<ul class='permitted'>
<li>Commercial use</li>
<li>Modification</li>
<li>Distribution</li>
<li>Sublicensing</li>
</ul>
</td>
</tr>
<tr>
<td class='label'>Forbidden</td>
<td>
<ul class='forbidden'>
<li>Liability</li>
</ul>
</td>
</tr>
</table>
</div>
</body>
</html>

48
license.html Normal file
View File

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>ChooseALicense.com</title>
<meta charset='utf-8' />
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
<link href='/favicon.ico' rel='shortcut icon' type='image/x-icon' />
<link href='http://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css' />
<link type="text/css" href="/css/application.css" media="screen" rel="stylesheet" />
<script type="text/javascript" src="/javascripts/modernizr.js"></script>
<!--[if (gte IE 6)&(lte IE 8)]>
<script src='/javascripts/selectivizr-min.js' type='text/javascript'></script>
<![endif]-->
</head>
<body id='license'>
<div id='container'>
<ol id='breadcrumbs'>
<li>
<a href="/">Home</a> / <a href="license-types.html">Permissive Licenses</a>
</li>
</ol>
<h1>MIT License</h1>
<div class='license'>
<p>
Copyright (c) &lt;year&gt; &lt;copyright holders&gt;
</p>
<p>
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:
</p>
<p>
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
</p>
<p>
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 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</p>
</div>
<div class='sidebar'>
<a href="#" class="button">Copy license text to clipboard</a>
<div class='how-to-apply'>
<h5>How to apply this license</h5>
<p>
Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the above text into the file. Replace <year> with the current year and <copyright holders> with the name of the copyright holders.
</p>
</div>
</div>
</div>
</body>
</html>

211
licenses/apache.html Normal file
View File

@ -0,0 +1,211 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>KING of Developers</title>
<link href="../css/style.css" rel="stylesheet">
<script type="text/javascript" src="https://use.typekit.com/weh4icd.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body class="cal">
<div class="get-started">
<h1>MIT License</h1>
<a href="#" onclick="alert('not yet implemented')">Copy to clipboard</a>
<pre class="license">
Apache License, Version 2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and
distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright
owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities
that control, are controlled by, or are under common control with that entity.
For the purposes of this definition, "control" means (i) the power, direct or
indirect, to cause the direction or management of such entity, whether by
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including
but not limited to software source code, documentation source, and configuration
files.
"Object" form shall mean any form resulting from mechanical transformation or
translation of a Source form, including but not limited to compiled object code,
generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made
available under the License, as indicated by a copyright notice that is included
in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that
is based on (or derived from) the Work and for which the editorial revisions,
annotations, elaborations, or other modifications represent, as a whole, an
original work of authorship. For the purposes of this License, Derivative Works
shall not include works that remain separable from, or merely link (or bind by
name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version
of the Work and any modifications or additions to that Work or Derivative Works
thereof, that is intentionally submitted to Licensor for inclusion in the Work
by the copyright owner or by an individual or Legal Entity authorized to submit
on behalf of the copyright owner. For the purposes of this definition,
"submitted" means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems, and
issue tracking systems that are managed by, or on behalf of, the Licensor for
the purpose of discussing and improving the Work, but excluding communication
that is conspicuously marked or otherwise designated in writing by the copyright
owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
of whom a Contribution has been received by Licensor and subsequently
incorporated within the Work.
2. Grant of Copyright License.
Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the Work and such
Derivative Works in Source or Object form.
3. Grant of Patent License.
Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable (except as stated in this section) patent license to make, have
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
such license applies only to those patent claims licensable by such Contributor
that are necessarily infringed by their Contribution(s) alone or by combination
of their Contribution(s) with the Work to which such Contribution(s) was
submitted. If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
Contribution incorporated within the Work constitutes direct or contributory
patent infringement, then any patent licenses granted to You under this License
for that Work shall terminate as of the date such litigation is filed.
4. Redistribution.
You may reproduce and distribute copies of the Work or Derivative Works thereof
in any medium, with or without modifications, and in Source or Object form,
provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of
this License; and You must cause any modified files to carry prominent notices
stating that You changed the files; and You must retain, in the Source form of
any Derivative Works that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work, excluding those notices
that do not pertain to any part of the Derivative Works; and If the Work
includes a "NOTICE" text file as part of its distribution, then any Derivative
Works that You distribute must include a readable copy of the attribution
notices contained within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one of the following
places: within a NOTICE text file distributed as part of the Derivative Works;
within the Source form or documentation, if provided along with the Derivative
Works; or, within a display generated by the Derivative Works, if and wherever
such third-party notices normally appear. The contents of the NOTICE file are
for informational purposes only and do not modify the License. You may add Your
own attribution notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided that such
additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide
additional or different license terms and conditions for use, reproduction, or
distribution of Your modifications, or for any such Derivative Works as a
whole, provided Your use, reproduction, and distribution of the Work otherwise
complies with the conditions stated in this License.
5. Submission of Contributions.
Unless You explicitly state otherwise, any Contribution intentionally submitted
for inclusion in the Work by You to the Licensor shall be under the terms and
conditions of this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify the terms of
any separate license agreement you may have executed with Licensor regarding such
Contributions.
6. Trademarks.
This License does not grant permission to use the trade names, trademarks,
service marks, or product names of the Licensor, except as required for
reasonable and customary use in describing the origin of the Work and
reproducing the content of the NOTICE file.
7. Disclaimer of Warranty.
Unless required by applicable law or agreed to in writing, Licensor provides the
Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
including, without limitation, any warranties or conditions of TITLE,
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
solely responsible for determining the appropriateness of using or
redistributing the Work and assume any risks associated with Your exercise of
permissions under this License.
8. Limitation of Liability.
In no event and under no legal theory, whether in tort (including negligence),
contract, or otherwise, unless required by applicable law (such as deliberate
and grossly negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special, incidental,
or consequential damages of any character arising as a result of this License or
out of the use or inability to use the Work (including but not limited to
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
any and all other commercial damages or losses), even if such Contributor has
been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability.
While redistributing the Work or Derivative Works thereof, You may choose to
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
other liability obligations and/or rights consistent with this License.
However, in accepting such obligations, You may act only on Your own behalf and
on Your sole responsibility, not on behalf of any other Contributor, and only if
You agree to indemnify, defend, and hold each Contributor harmless for any
liability incurred by, or claims asserted against, such Contributor by reason of
your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
</pre>
<h2 class="big-intro-link">How to apply this license</h2>
<p>
The Apache websites recommends the following approach to applying the Apache license to your work.
</p>
<p>
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
</p>
<pre>
Copyright [yyyy] [name of copyright owner]
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.
</pre>
</div>
</body>
</html>

48
licenses/mit.html Normal file
View File

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>KING of Developers</title>
<link href="../css/style.css" rel="stylesheet">
<script type="text/javascript" src="https://use.typekit.com/weh4icd.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body class="cal">
<div class="get-started">
<h1>MIT License</h1>
<a href="#" onclick="alert('not yet implemented')">Copy to clipboard</a>
<pre class="license">
Copyright (C) &lt;year> &lt;copyright holders>
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 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</pre>
<h2 class="big-intro-link">How to apply this license</h2>
<p>
Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the above text
into the file. Replace &lt;year> with the current year and &lt;copyright holders> with the name of the copyright holders.
</p>
</div>
</body>
</html>