├── img ├── puffy.png ├── beastie.png ├── watson.jpg └── tux-with-pipe.jpg ├── LICENSE ├── README.md ├── quiz.css ├── index.html ├── quiz.js ├── LICENSE.AL2 └── LICENSE.CC-BY-3 /img/puffy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/html-quiz/HEAD/img/puffy.png -------------------------------------------------------------------------------- /img/beastie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/html-quiz/HEAD/img/beastie.png -------------------------------------------------------------------------------- /img/watson.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/html-quiz/HEAD/img/watson.jpg -------------------------------------------------------------------------------- /img/tux-with-pipe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/html-quiz/HEAD/img/tux-with-pipe.jpg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Quiz script 3 | 4 | Copyright 2013 Google Inc. 5 | 6 | Written by 7 | Michal Nazarewicz 8 | 9 | 10 | This is not a Google product. 11 | 12 | The JavaScript file (quiz.js) is licensed under the terms of the Apache 13 | License version 2.0 included in the LICENSE.AL2 file and available at 14 | 15 | 16 | The CSS (quiz.css) and HTML (index.html) files are licensed under the 17 | terms of Creative Commons Attribution 3.0 Unported License included in 18 | the LICENSE.CC-BY-3 file and available at 19 | . 20 | 21 | All images included in the img/ directory are copyrighted by their 22 | respective copyright holders. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | Quiz script 3 | ============ 4 | 5 | Copyright 2013 Google Inc. 6 | Written by [Michał Nazarewicz](mailto:mina86@mina86.com). 7 | This is not a Google product. 8 | 9 | Overview 10 | -------- 11 | 12 | This is a simple quiz game which supports two players (or teams). 13 | 14 | The idea is that teams get questions alternately and if the first one 15 | does not give correct answer, the other gets a chance. If neither 16 | answers correctly, that’s a tie. Another way to play is to have teams 17 | use buzzers of some kind to determine which gets the first try at the 18 | question. The way I’ve used the script is by having two asymmetric 19 | teams and the smaller one always getting the first chance. 20 | 21 | Configuration 22 | ------------- 23 | 24 | Configuration is done mostly by modifying the `index.html` by changing 25 | content of the `TITLE` element which determines the title text shown 26 | at the top of the page, and the `#questions DIV` which determines 27 | categories and list of questions. 28 | 29 | Categories are defined by `H2` elements and each question and answer 30 | is specified as two `DIV` or `P` elements. If question or answer is 31 | a single paragraph a lone `P` element suffices, otherwise a `DIV` is 32 | necessary. 33 | 34 | Because of script’s limitations, at least two categories must be 35 | present. There is no limit on number of questions per category, but 36 | if some categories have fewer questions, a greyed out box will be 37 | displayed. 38 | 39 | You can put almost any kind of HTML in either a question or an answer 40 | including images, embedded audio or video etc. Beware that you may 41 | need to add some styling for the elements to show up properly on the 42 | question board and when printing. 43 | 44 | Secondly, there is a `teams` variable in the `quiz.js` file. It 45 | contains the names of the two teams that participate (and yes, there 46 | must be two teams). Finally, if you want to localise the script to 47 | a different language, you may change the value of `strTie` and 48 | `strClose` variables. 49 | 50 | Usage 51 | ----- 52 | 53 | First of all, you should check print preview and print the web page as 54 | it will give you list of questions and answers for each category. If 55 | your questions are not too long you should get one-page per category 56 | printout. This may be helpful when hosting the game. 57 | 58 | Controls of the game itself should be straightforward. As you open 59 | the site, a grid shows up with category names at the top and boxes 60 | indexed from 100 to 500 for each question in the category. Clicking 61 | on a box brings up a question board with the question, an “x” link in 62 | top right corner and three links at the bottom: “Team 1”, “Tie” and 63 | “Team 2” (the text depends on values of configuration variables in 64 | `quiz.js` file). 65 | 66 | Pressing “x” hides the question board in case you’ve clicked it by 67 | mistake. “Team 1” and “Team 2” links will hide the question board, 68 | add grant appropriate amount of points to given team. The “Tie” 69 | button shows the answer to the question and replaces bottom links with 70 | a single “Close” link, which disables the question without adding 71 | points to either team. Disabling the questions greys corresponding 72 | box out and makes it impossible to display the question board again. 73 | 74 | Lastly, team scores are displayed on the bottom. If there was any 75 | kind of mix-up and scores need to be altered it’s enough to click on 76 | the number and a prompt will show up where one can enter new score for 77 | given team. 78 | 79 | And that’s about it, when it comes to usage – not very complicated. 80 | -------------------------------------------------------------------------------- /quiz.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Style file for the quiz script. 3 | * Copyright 2013 Google Inc. 4 | * Written by Michal Nazarewicz 5 | * 6 | * This is not a Google product. 7 | * 8 | * Licensed under the terms of of Creative Commons Attribution 3.0 9 | * Unported License which can be found at 10 | * 11 | * http://creativecommons.org/licenses/by/3.0/deed.en 12 | * 13 | * or in LICENSE.CC-BY-3 file. 14 | */ 15 | 16 | * { 17 | padding: 0; 18 | margin: 0; 19 | } 20 | 21 | body { 22 | font-family: Helvetica, sans; 23 | font-size: 14pt; 24 | background: #999; 25 | } 26 | 27 | table { 28 | position: absolute; 29 | top: 0; bottom: 0; 30 | left: 0; right: 0; 31 | width: 100%; 32 | height: 100%; 33 | table-layout: fixed; 34 | padding: 1em; 35 | } 36 | 37 | table, tr, td, th { 38 | vertical-align: middle; 39 | text-align: center; 40 | font-size: 1em; 41 | border-collapse: separate; 42 | cursor: default; 43 | border-spacing: 0.2em; 44 | } 45 | 46 | thead tr.title { 47 | height: 3em; 48 | } 49 | thead tr.categories { 50 | height: 5em; 51 | } 52 | 53 | h1 { 54 | margin-top: 0; 55 | } 56 | 57 | .categories th { 58 | border: 0.2em solid #000; 59 | background: #3F51B5; 60 | color: #FF0; 61 | font-weight: bold; 62 | } 63 | 64 | .btn_select { 65 | background: #3498db; 66 | background-image: linear-gradient(to bottom, #3498db, #2980b9); 67 | border-radius: 4px; 68 | text-shadow: 1px 1px 3px #666666; 69 | box-shadow: 2px 2px 2px #666666; 70 | color: #ffffff; 71 | font-size: 14px; 72 | padding: 10px 20px 10px 20px; 73 | text-decoration: none; 74 | } 75 | 76 | .btn_select:hover { 77 | background: #3cb0fd; 78 | background-image: linear-gradient(to bottom, #3cb0fd, #3498db); 79 | text-decoration: none; 80 | } 81 | 82 | .btn_blue_light { 83 | background: #4da6ff; 84 | background-image: linear-gradient(to bottom, #4da6ff, #3c95ef); 85 | } 86 | 87 | .btn_blue_light:hover { 88 | background: #66b3ff; 89 | background-image: linear-gradient(to bottom, #66b3ff, #56a3ef); 90 | } 91 | 92 | tbody td { 93 | border: 0.2em solid #888; 94 | background: #889; 95 | color: #999; 96 | font-weight: bold; 97 | } 98 | tbody td.active { 99 | border-color: #000; 100 | background: #69F; 101 | color: #FF0; 102 | cursor: pointer; 103 | } 104 | tbody td.active:hover { 105 | color: #000; 106 | background: #4dd2ff; 107 | } 108 | 109 | div.q > p { 110 | text-align: center; 111 | } 112 | div.a > p { 113 | text-align: center; 114 | } 115 | 116 | tfoot { 117 | height: 2em; 118 | } 119 | tfoot div + div { 120 | font-weight: bold; 121 | } 122 | 123 | 124 | #m { 125 | display: none; 126 | } 127 | #m.show { 128 | display: table; 129 | position: absolute; 130 | top: 0; bottom: 0; 131 | left: 0; right: 0; 132 | width: 100%; 133 | height: 100%; 134 | background: rgba(128, 128, 128, 0.75); 135 | vertical-align: middle; 136 | } 137 | #m > div { 138 | display: table-cell; 139 | vertical-align: middle; 140 | padding: 2em; 141 | } 142 | #m > div > div { 143 | background: #FFF; 144 | border: 0.1em solid #000; 145 | } 146 | 147 | #m ul { 148 | display: block; 149 | list-style: none; 150 | text-align: center; 151 | } 152 | #m ul + ul { 153 | display: none; 154 | } 155 | 156 | #m li { 157 | display: inline-block; 158 | margin: 1em 2em; 159 | } 160 | #m a, #m a:visited { 161 | text-align: center; 162 | text-decoration: none; 163 | color: #009; 164 | cursor: default; 165 | } 166 | #m a:active, #m a:focus, #m a:hover { 167 | color: #00F; 168 | } 169 | 170 | #x { 171 | float: right; 172 | font-size: 0.5em; 173 | font-weight: bold; 174 | padding: 0.1em 0.5em; 175 | border-bottom: 0.1em solid #000; 176 | border-left: 0.1em solid #000; 177 | } 178 | #x:hover, #x:focus { 179 | background: #F00; 180 | } 181 | 182 | #m div { 183 | overflow: auto; 184 | } 185 | #m p { 186 | margin: 1em 2em; 187 | line-height: 1.5em; 188 | } 189 | .q div { 190 | text-align: center; 191 | } 192 | .q img { 193 | height: 5em 194 | } 195 | p { 196 | text-align: justify; 197 | } 198 | 199 | #m .a { visibility: hidden; } 200 | #m.showAnswer .a { visibility: visible; } 201 | #m.showAnswer ul { display: none; } 202 | #m.showAnswer ul + ul { display: block; } 203 | #m.showAnswer #x { visibility: hidden; } 204 | 205 | 206 | @media print { 207 | body { 208 | color: #000; 209 | background: #FFF; 210 | font-size: 18pt; 211 | } 212 | #questions { 213 | display: block !important; 214 | } 215 | 216 | h2 { 217 | page-break-before: always; 218 | } 219 | .q { 220 | margin-bottom: 0.5em; 221 | border-top: 1px dotted #000; 222 | padding-top: 0.5em; 223 | margin-top: 2em; 224 | } 225 | h2 + .q { 226 | margin-top: 1em; 227 | } 228 | .a { 229 | padding-left: 2em; 230 | padding-bottom: 0.5em; 231 | border-bottom: 1px dotted #000; 232 | margin-bottom: 2em; 233 | font-style: italic; 234 | } 235 | 236 | table, #m, h1, img { 237 | display: none; 238 | } 239 | } 240 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 17 | 18 | FOSS Quiz! 19 | 20 | 21 | 22 | 29 | 30 | 31 |
32 |

FOSS Quiz!

33 | 34 |

People

35 | 36 |

What is Linus Torvalds' native language?

37 |

Even thought Linus Torvalds is Finnish, his native language is 38 | Swedish.

39 | 40 |

Who according to Linus Torvalds, “really is about a thousand 41 | gnomes working in [an] under-ground caves in Swansea”?

42 |

It's Alan Cox.

43 | 44 |

What does M in RMS stand for?

45 |

RMS refers to Richard Stallman, and M stands for his middle 46 | name which is Matthew.

47 | 48 |

UFS' magic number is based on the date 1954-01-19. Who was 49 | born on that day to justify the use as a magic number for that 50 | file system?

51 |

Marshall Kirk McKusick was born that day.

52 | 53 |

Who is FSF Associate Member number 1?

54 |

Bradley M. Kuhn is the first FSF Associate Member.

55 | 56 | 57 |

Names, logos and mascots

58 | 59 |

What was the original name Linus wanted to use for his 60 | kernel?

61 |

Freax, but mirror maintainer where it has been first 62 | distributed decided that Linux is better.

63 | 64 |
65 |

Which operating system's mascot is a pufferfish named 66 | Puffy.

67 |
Puffy
68 |
69 |

Puffy is OpenBSD's mascot.

70 | 71 |
72 |

Which distribution is the oldest Linux distribution still 73 | being maintained?

74 |
Tux smoking a pipe
75 |
76 |

The oldest still distribution still being maintained is 77 | Slackware.

78 | 79 |

What are the names of two followup BSD 4.3 released which 80 | were named after popular American holiday destinations?

81 |

Two followup BSD 4.3 releases are Tahoe and Reno.

82 | 83 |
84 |

Who drew in 1984 BSD 4.2 mascot called Beastie and is now 85 | a chief creative officer at Pixar?

86 |
Beastie
87 |
88 |

Even though McKussick holds the copyright it's John Alan 89 | Lasseter who drew it.

90 | 91 | 92 |

Licenses

93 | 94 |

Which licenses third version was released on 29 of June 2007?

95 |

GNU General Public License.

96 | 97 |

What is the license Android kernel is released under?

98 |

Even though a lot of Android uses more permissive license, 99 | the kernel is based on Linux and thus distributed under the 100 | terms of the GNU General Public License version 2.

101 | 102 |

Name license which has a politically incorrect name and is 103 | one of the shortest free software licenses whose legal text 104 | consists of only one sentence.

105 |

Do What The Fuck you want to Public License.

106 | 107 |

Which international organisation, whose primary focus is 108 | advance in physics, has released a license used by most projects 109 | in the Open Hardware Repository?

110 |

CERN.

111 | 112 |

What are the differences between plain GNU General Public 113 | License and Affero General Public License?

114 |

AGPL includes a clause requiring source code distribution of 115 | software run as a service (eg. web applications).

116 | 117 | 118 |

Misc

119 | 120 |

When did the initial release of Linux happen? Give month and 121 | year.

122 |

The initial Linux release happened on September 1991.

123 | 124 |

Which year Linus Torvalds was born.

125 |

Linus Torvalds was born on the year of Moon landing, 126 | 1969.

127 | 128 |

What is the name of a 16-bit microcomputer which was the 129 | first architecture BSD system run on.

130 |

PDP-11.

131 | 132 |
133 |

What's the Linux-based machine which competed in 2011 on 134 | Jeopardy against Brad Rutter and Ken Jennings winning the 135 | first prize of $1 million.

136 |
Watson's avatar
137 |
138 |

It's IBM's Watson.

139 | 140 |

Lack of access to the source code of the software controlling 141 | which printer convinced Richard Stallman of importance of 142 | people's freedom to study, modify and use software?

143 |

Xerox 9700.

144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /quiz.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Quiz script. 3 | * Copyright 2013 Google Inc. 4 | * Author: Michal Nazarewicz 5 | * 6 | * This is not a Google product. 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | */ 20 | 21 | document.addEventListener('DOMContentLoaded', function() { 22 | /* Must be two. */ 23 | var teams = ['Team 1', 'Team 2']; 24 | 25 | var strTie = 'Tie'; 26 | var strClose = 'Close'; 27 | 28 | /***********************************************/ 29 | /* No need to configure anything further down. */ 30 | /***********************************************/ 31 | 32 | var NS = 'http://www.w3.org/1999/xhtml'; 33 | var D = document; 34 | 35 | /* Get categories and questions from DOM. */ 36 | var categories = (function() { 37 | var ret = [], questions = null, question = null; 38 | var el = D.getElementById('questions').firstChild; 39 | for (; el !== null; el = el.nextSibling) { 40 | if (el.nodeType !== 1) { 41 | continue; 42 | } 43 | 44 | if (el.nodeName.toLowerCase() === 'h2') { 45 | questions = []; 46 | question = null; 47 | ret.push({ 48 | title: el.textContent, 49 | questions: questions, 50 | }); 51 | continue; 52 | } 53 | 54 | if (questions === null) { 55 | continue; 56 | } 57 | 58 | if (el.nodeName.toLowerCase() === 'p') { 59 | var e = D.createElementNS(NS, 'div'); 60 | el.parentNode.replaceChild(e, el); 61 | e.appendChild(el); 62 | el = e; 63 | } else if (el.nodeName.toLowerCase() !== 'div') { 64 | continue; 65 | } 66 | 67 | if (question === null) { 68 | el.className = 'q'; 69 | question = el; 70 | } else { 71 | el.className = 'a'; 72 | questions.push([question, el]); 73 | question = null; 74 | } 75 | } 76 | return ret; 77 | })(); 78 | 79 | /* Scores will be saved here. */ 80 | var scores = []; 81 | 82 | 83 | /* Helper functions */ 84 | 85 | var nukeChildren = function(el) { 86 | while (el.firstChild) { 87 | el.removeChild(el.firstChild); 88 | } 89 | }; 90 | 91 | var addText = function(el, text) { 92 | el.appendChild(D.createTextNode(text)); 93 | }; 94 | 95 | var addNewElement = function(parent, el, opt_text) { 96 | var el = D.createElementNS(NS, el); 97 | parent.appendChild(el); 98 | if (opt_text) { 99 | addText(el, opt_text); 100 | } 101 | return el; 102 | }; 103 | 104 | var addNewClass = function(el, class_name){ 105 | el.className += " " + class_name; 106 | } 107 | 108 | /* Create the question board. */ 109 | 110 | var mDiv, linksList, xLink, tieLink, team0Link, team1link, closeLink; 111 | 112 | (function() { 113 | mDiv = addNewElement(D.getElementsByTagName('body')[0], 'div'); 114 | mDiv.id = 'm'; 115 | 116 | var div = addNewElement(addNewElement(mDiv, 'div'), 'div'); 117 | 118 | xLink = addNewElement(div, 'a', 'x'); 119 | xLink.id = 'x'; 120 | 121 | linksList = addNewElement(div, 'ul'); 122 | linksList.id = 'links'; 123 | team0Link = addNewElement(addNewElement(linksList, 'li'), 'button', teams[0]); 124 | tieLink = addNewElement(addNewElement(linksList, 'li'), 'button', strTie); 125 | team1Link = addNewElement(addNewElement(linksList, 'li'), 'button', teams[1]); 126 | addNewClass(team0Link, 'btn_select'); 127 | addNewClass(tieLink, 'btn_select btn_blue_light'); 128 | addNewClass(team1Link, 'btn_select'); 129 | 130 | var el = addNewElement(div, 'ul'); 131 | closeLink = addNewElement(addNewElement(el, 'li'), 'button', strClose); 132 | addNewClass(closeLink, 'btn_select btn_blue_light'); 133 | })(); 134 | 135 | 136 | /* Build table with quesitons. */ 137 | 138 | var makeClickHandler = (function() { 139 | var questionShown = false; 140 | var question, points, td; 141 | 142 | var close = function() { 143 | mDiv.className = ''; 144 | questionShown = false; 145 | question[0].parentNode.removeChild(question[0]); 146 | question[1].parentNode.removeChild(question[1]); 147 | return false; 148 | }; 149 | 150 | xLink.onclick = close; 151 | tieLink.onclick = function() { 152 | m.className += ' showAnswer'; 153 | return false; 154 | }; 155 | 156 | (function() { 157 | var makeTeamClickHandler = function(team) { 158 | return function() { 159 | if (team !== -1) { 160 | scores[team][0] += points; 161 | nukeChildren(scores[team][1]); 162 | addText(scores[team][1], '' + scores[team][0]); 163 | } 164 | td.className = ''; 165 | td.onclick = null; 166 | close(); 167 | return false; 168 | }; 169 | }; 170 | 171 | team0Link.onclick = makeTeamClickHandler(0); 172 | team1Link.onclick = makeTeamClickHandler(1); 173 | closeLink.onclick = makeTeamClickHandler(-1); 174 | })(); 175 | 176 | return function(_question, _points) { 177 | return function() { 178 | if (!questionShown) { 179 | question = _question; 180 | points = _points; 181 | td = this; 182 | 183 | question[0] = question[0].cloneNode(true); 184 | question[1] = question[1].cloneNode(true); 185 | linksList.parentNode.insertBefore(question[0], linksList); 186 | linksList.parentNode.insertBefore(question[1], linksList); 187 | m.className = 'show'; 188 | } 189 | return false; 190 | }; 191 | }; 192 | })(); 193 | 194 | var makeScoreHandler = function(team) { 195 | return function() { 196 | var score = window.prompt('Enter new score:', scores[team][0]); 197 | if (score) { 198 | score = parseInt(score); 199 | scores[team][0] = score 200 | nukeChildren(scores[team][1]); 201 | addText(scores[team][1], '' + score); 202 | return false; 203 | } 204 | } 205 | }; 206 | 207 | (function() { 208 | var table, rowset, row, cell; 209 | 210 | table = D.createElementNS(NS, 'table'); 211 | mDiv.parentNode.insertBefore(table, mDiv); 212 | rowset = addNewElement(table, 'thead'); 213 | row = addNewElement(rowset, 'tr'); 214 | row.className = 'title'; 215 | 216 | cell = addNewElement(row, 'th'); 217 | cell.setAttribute('colspan', '' + categories.length); 218 | 219 | var title = D.getElementsByTagNameNS(NS, 'title')[0]; 220 | addNewElement(cell, 'h1', title.textContent); 221 | 222 | row = addNewElement(rowset, 'tr'); 223 | row.className = 'categories'; 224 | 225 | categories.forEach(function(cat) { 226 | cell = addNewElement(row, 'th', cat.title); 227 | }); 228 | 229 | rowset = addNewElement(table, 'tbody'); 230 | 231 | var max = 0; 232 | categories.forEach(function(cat) { 233 | if (cat.questions.length > max) { 234 | max = cat.questions.length; 235 | } 236 | }); 237 | 238 | for (var i = 1; i <= max; ++i) { 239 | row = addNewElement(rowset, 'tr'); 240 | 241 | categories.forEach(function(cat) { 242 | cell = addNewElement(row, 'td'); 243 | if (i <= cat.questions.length) { 244 | addText(cell, '' + (i * 100)); 245 | cell.className = 'active'; 246 | cell.onclick = makeClickHandler(cat.questions[i - 1], i * 100); 247 | } else { 248 | addText(cell, '\u00A0'); 249 | } 250 | }); 251 | } 252 | 253 | rowset = addNewElement(table, 'tfoot'); 254 | row = addNewElement(rowset, 'tr'); 255 | 256 | var addScoreCell = function(team) { 257 | cell = addNewElement(row, 'td'); 258 | 259 | var div = D.createElementNS(NS, 'div'); 260 | cell.appendChild(div); 261 | div.appendChild(D.createTextNode(teams[team])); 262 | 263 | div = D.createElementNS(NS, 'div'); 264 | cell.appendChild(div); 265 | div.appendChild(D.createTextNode('0')); 266 | div.onclick = makeScoreHandler(team); 267 | return div; 268 | }; 269 | 270 | scores.push([0, addScoreCell(0)]); 271 | if (categories.length > 2) { 272 | cell = D.createElementNS(NS, 'td'); 273 | cell.setAttribute('colspan', '' + categories.length - 2); 274 | row.appendChild(cell); 275 | } 276 | scores.push([0, addScoreCell(1)]); 277 | })(); 278 | }); 279 | -------------------------------------------------------------------------------- /LICENSE.AL2: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [yyyy] [name of copyright owner] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. 203 | -------------------------------------------------------------------------------- /LICENSE.CC-BY-3: -------------------------------------------------------------------------------- 1 | 2 | Creative Commons 3 | 4 | Attribution 3.0 Unported 5 | 6 | Commons Deed Page 7 | 8 | 9 | THIS IS ONLY A HUMAN-READABLE SUMMARY OF THE LEGAL CODE OF THE 10 | LICENSE. FOR FULL LEGAL CODE READ FURTHER DOWN THIS DOCUMENT. 11 | 12 | The Commons Deed is not a license. It is simply a handy 13 | reference for understanding the Legal Code (the full license) 14 | — it is a human-readable expression of some of its key terms. 15 | Think of it as the user-friendly interface to the Legal Code 16 | beneath. This Deed itself has no legal value, and its contents 17 | do not appear in the actual license. 18 | 19 | 20 | You are free: 21 | * to Share — to copy, distribute and transmit the work 22 | * to Remix — to adapt the work 23 | * to make commercial use of the work 24 | 25 | Under the following conditions: 26 | * Attribution — You must attribute the work in the manner specified by 27 | the author or licensor (but not in any way that suggests that they 28 | endorse you or your use of the work). 29 | 30 | With the understanding that: 31 | * Waiver — Any of the above conditions can be waived if you get 32 | permission from the copyright holder. 33 | * Public Domain — Where the work or any of its elements is in the 34 | public domain under applicable law, that status is in no way 35 | affected by the license. 36 | * Other Rights — In no way are any of the following rights affected by 37 | the license: 38 | - Your fair dealing or fair use rights, or other applicable 39 | copyright exceptions and limitations; 40 | - The author's moral rights; 41 | - Rights other persons may have either in the work itself or in how 42 | the work is used, such as publicity or privacy rights. 43 | 44 | Notice — For any reuse or distribution, you must make clear to others 45 | the license terms of this work. By including this file with the work 46 | and/or a link to 47 | webpage. 48 | 49 | ============================================================================== 50 | 51 | Creative Commons 52 | 53 | Attribution 3.0 Unported 54 | 55 | License Legal Code 56 | 57 | 58 | CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT 59 | PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT 60 | CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS 61 | PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE 62 | COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION 63 | PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM 64 | ITS USE. 65 | 66 | 67 | License 68 | ======= 69 | 70 | THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS 71 | CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS 72 | PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE 73 | WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS 74 | PROHIBITED. 75 | 76 | BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND 77 | AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS 78 | LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU 79 | THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH 80 | TERMS AND CONDITIONS. 81 | 82 | 1. Definitions 83 | 84 | a. "Adaptation" means a work based upon the Work, or upon the Work 85 | and other pre-existing works, such as a translation, adaptation, 86 | derivative work, arrangement of music or other alterations of 87 | a literary or artistic work, or phonogram or performance and 88 | includes cinematographic adaptations or any other form in which 89 | the Work may be recast, transformed, or adapted including in any 90 | form recognizably derived from the original, except that a work 91 | that constitutes a Collection will not be considered an 92 | Adaptation for the purpose of this License. For the avoidance of 93 | doubt, where the Work is a musical work, performance or 94 | phonogram, the synchronization of the Work in timed-relation 95 | with a moving image ("synching") will be considered an 96 | Adaptation for the purpose of this License. 97 | 98 | b. "Collection" means a collection of literary or artistic works, 99 | such as encyclopedias and anthologies, or performances, 100 | phonograms or broadcasts, or other works or subject matter other 101 | than works listed in Section 1(f) below, which, by reason of the 102 | selection and arrangement of their contents, constitute 103 | intellectual creations, in which the Work is included in its 104 | entirety in unmodified form along with one or more other 105 | contributions, each constituting separate and independent works 106 | in themselves, which together are assembled into a collective 107 | whole. A work that constitutes a Collection will not be 108 | considered an Adaptation (as defined above) for the purposes of 109 | this License. 110 | 111 | c. "Distribute" means to make available to the public the original 112 | and copies of the Work or Adaptation, as appropriate, through 113 | sale or other transfer of ownership. 114 | 115 | d. "Licensor" means the individual, individuals, entity or entities 116 | that offer(s) the Work under the terms of this License. 117 | 118 | e. "Original Author" means, in the case of a literary or artistic 119 | work, the individual, individuals, entity or entities who 120 | created the Work or if no individual or entity can be 121 | identified, the publisher; and in addition (i) in the case of 122 | a performance the actors, singers, musicians, dancers, and other 123 | persons who act, sing, deliver, declaim, play in, interpret or 124 | otherwise perform literary or artistic works or expressions of 125 | folklore; (ii) in the case of a phonogram the producer being the 126 | person or legal entity who first fixes the sounds of 127 | a performance or other sounds; and, (iii) in the case of 128 | broadcasts, the organization that transmits the broadcast. 129 | 130 | f. "Work" means the literary and/or artistic work offered under the 131 | terms of this License including without limitation any 132 | production in the literary, scientific and artistic domain, 133 | whatever may be the mode or form of its expression including 134 | digital form, such as a book, pamphlet and other writing; 135 | a lecture, address, sermon or other work of the same nature; 136 | a dramatic or dramatico-musical work; a choreographic work or 137 | entertainment in dumb show; a musical composition with or 138 | without words; a cinematographic work to which are assimilated 139 | works expressed by a process analogous to cinematography; a work 140 | of drawing, painting, architecture, sculpture, engraving or 141 | lithography; a photographic work to which are assimilated works 142 | expressed by a process analogous to photography; a work of 143 | applied art; an illustration, map, plan, sketch or 144 | three-dimensional work relative to geography, topography, 145 | architecture or science; a performance; a broadcast; 146 | a phonogram; a compilation of data to the extent it is protected 147 | as a copyrightable work; or a work performed by a variety or 148 | circus performer to the extent it is not otherwise considered 149 | a literary or artistic work. 150 | 151 | g. "You" means an individual or entity exercising rights under this 152 | License who has not previously violated the terms of this 153 | License with respect to the Work, or who has received express 154 | permission from the Licensor to exercise rights under this 155 | License despite a previous violation. 156 | 157 | h. "Publicly Perform" means to perform public recitations of the 158 | Work and to communicate to the public those public recitations, 159 | by any means or process, including by wire or wireless means or 160 | public digital performances; to make available to the public 161 | Works in such a way that members of the public may access these 162 | Works from a place and at a place individually chosen by them; 163 | to perform the Work to the public by any means or process and 164 | the communication to the public of the performances of the Work, 165 | including by public digital performance; to broadcast and 166 | rebroadcast the Work by any means including signs, sounds or 167 | images. 168 | 169 | i. "Reproduce" means to make copies of the Work by any means 170 | including without limitation by sound or visual recordings and 171 | the right of fixation and reproducing fixations of the Work, 172 | including storage of a protected performance or phonogram in 173 | digital form or other electronic medium. 174 | 175 | 2. Fair Dealing Rights. Nothing in this License is intended to reduce, 176 | limit, or restrict any uses free from copyright or rights arising 177 | from limitations or exceptions that are provided for in connection 178 | with the copyright protection under copyright law or other 179 | applicable laws. 180 | 181 | 3. License Grant. Subject to the terms and conditions of this License, 182 | Licensor hereby grants You a worldwide, royalty-free, 183 | non-exclusive, perpetual (for the duration of the applicable 184 | copyright) license to exercise the rights in the Work as stated 185 | below: 186 | 187 | a. to Reproduce the Work, to incorporate the Work into one or more 188 | Collections, and to Reproduce the Work as incorporated in the 189 | Collections; 190 | 191 | b. to create and Reproduce Adaptations provided that any such 192 | Adaptation, including any translation in any medium, takes 193 | reasonable steps to clearly label, demarcate or otherwise 194 | identify that changes were made to the original Work. For 195 | example, a translation could be marked "The original work was 196 | translated from English to Spanish," or a modification could 197 | indicate "The original work has been modified."; 198 | 199 | c. to Distribute and Publicly Perform the Work including as 200 | incorporated in Collections; and, 201 | 202 | d. to Distribute and Publicly Perform Adaptations. 203 | 204 | e. For the avoidance of doubt: 205 | 206 | i. Non-waivable Compulsory License Schemes. In those 207 | jurisdictions in which the right to collect royalties 208 | through any statutory or compulsory licensing scheme cannot 209 | be waived, the Licensor reserves the exclusive right to 210 | collect such royalties for any exercise by You of the 211 | rights granted under this License; 212 | 213 | ii. Waivable Compulsory License Schemes. In those jurisdictions 214 | in which the right to collect royalties through any 215 | statutory or compulsory licensing scheme can be waived, the 216 | Licensor waives the exclusive right to collect such 217 | royalties for any exercise by You of the rights granted 218 | under this License; and, 219 | 220 | iii. Voluntary License Schemes. The Licensor waives the right to 221 | collect royalties, whether individually or, in the event 222 | that the Licensor is a member of a collecting society that 223 | administers voluntary licensing schemes, via that society, 224 | from any exercise by You of the rights granted under this 225 | License. 226 | 227 | The above rights may be exercised in all media and formats whether 228 | now known or hereafter devised. The above rights include the right 229 | to make such modifications as are technically necessary to exercise 230 | the rights in other media and formats. Subject to Section 8(f), all 231 | rights not expressly granted by Licensor are hereby reserved. 232 | 233 | 4. Restrictions. The license granted in Section 3 above is expressly 234 | made subject to and limited by the following restrictions: 235 | 236 | a. You may Distribute or Publicly Perform the Work only under the 237 | terms of this License. You must include a copy of, or the 238 | Uniform Resource Identifier (URI) for, this License with every 239 | copy of the Work You Distribute or Publicly Perform. You may not 240 | offer or impose any terms on the Work that restrict the terms of 241 | this License or the ability of the recipient of the Work to 242 | exercise the rights granted to that recipient under the terms of 243 | the License. You may not sublicense the Work. You must keep 244 | intact all notices that refer to this License and to the 245 | disclaimer of warranties with every copy of the Work You 246 | Distribute or Publicly Perform. When You Distribute or Publicly 247 | Perform the Work, You may not impose any effective technological 248 | measures on the Work that restrict the ability of a recipient of 249 | the Work from You to exercise the rights granted to that 250 | recipient under the terms of the License. This Section 4(a) 251 | applies to the Work as incorporated in a Collection, but this 252 | does not require the Collection apart from the Work itself to be 253 | made subject to the terms of this License. If You create 254 | a Collection, upon notice from any Licensor You must, to the 255 | extent practicable, remove from the Collection any credit as 256 | required by Section 4(b), as requested. If You create an 257 | Adaptation, upon notice from any Licensor You must, to the 258 | extent practicable, remove from the Adaptation any credit as 259 | required by Section 4(b), as requested. 260 | 261 | b. If You Distribute, or Publicly Perform the Work or any 262 | Adaptations or Collections, You must, unless a request has been 263 | made pursuant to Section 4(a), keep intact all copyright notices 264 | for the Work and provide, reasonable to the medium or means You 265 | are utilizing: (i) the name of the Original Author (or 266 | pseudonym, if applicable) if supplied, and/or if the Original 267 | Author and/or Licensor designate another party or parties (e.g., 268 | a sponsor institute, publishing entity, journal) for attribution 269 | ("Attribution Parties") in Licensor's copyright notice, terms of 270 | service or by other reasonable means, the name of such party or 271 | parties; (ii) the title of the Work if supplied; (iii) to the 272 | extent reasonably practicable, the URI, if any, that Licensor 273 | specifies to be associated with the Work, unless such URI does 274 | not refer to the copyright notice or licensing information for 275 | the Work; and (iv) , consistent with Section 3(b), in the case 276 | of an Adaptation, a credit identifying the use of the Work in 277 | the Adaptation (e.g., "French translation of the Work by 278 | Original Author," or "Screenplay based on original Work by 279 | Original Author"). The credit required by this Section 4 (b) may 280 | be implemented in any reasonable manner; provided, however, that 281 | in the case of a Adaptation or Collection, at a minimum such 282 | credit will appear, if a credit for all contributing authors of 283 | the Adaptation or Collection appears, then as part of these 284 | credits and in a manner at least as prominent as the credits for 285 | the other contributing authors. For the avoidance of doubt, You 286 | may only use the credit required by this Section for the purpose 287 | of attribution in the manner set out above and, by exercising 288 | Your rights under this License, You may not implicitly or 289 | explicitly assert or imply any connection with, sponsorship or 290 | endorsement by the Original Author, Licensor and/or Attribution 291 | Parties, as appropriate, of You or Your use of the Work, without 292 | the separate, express prior written permission of the Original 293 | Author, Licensor and/or Attribution Parties. 294 | 295 | c. Except as otherwise agreed in writing by the Licensor or as may 296 | be otherwise permitted by applicable law, if You Reproduce, 297 | Distribute or Publicly Perform the Work either by itself or as 298 | part of any Adaptations or Collections, You must not distort, 299 | mutilate, modify or take other derogatory action in relation to 300 | the Work which would be prejudicial to the Original Author's 301 | honor or reputation. Licensor agrees that in those jurisdictions 302 | (e.g. Japan), in which any exercise of the right granted in 303 | Section 3(b) of this License (the right to make Adaptations) 304 | would be deemed to be a distortion, mutilation, modification or 305 | other derogatory action prejudicial to the Original Author's 306 | honor and reputation, the Licensor will waive or not assert, as 307 | appropriate, this Section, to the fullest extent permitted by 308 | the applicable national law, to enable You to reasonably 309 | exercise Your right under Section 3(b) of this License (right to 310 | make Adaptations) but not otherwise. 311 | 312 | 5. Representations, Warranties and Disclaimer 313 | 314 | UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, 315 | LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR 316 | WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, 317 | STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES 318 | OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, 319 | NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, 320 | ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT 321 | DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF 322 | IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. 323 | 324 | 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY 325 | APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY 326 | LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE 327 | OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE 328 | WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 329 | DAMAGES. 330 | 331 | 7. Termination 332 | 333 | a. This License and the rights granted hereunder will terminate 334 | automatically upon any breach by You of the terms of this 335 | License. Individuals or entities who have received Adaptations 336 | or Collections from You under this License, however, will not 337 | have their licenses terminated provided such individuals or 338 | entities remain in full compliance with those licenses. Sections 339 | 1, 2, 5, 6, 7, and 8 will survive any termination of this 340 | License. 341 | 342 | b. Subject to the above terms and conditions, the license granted 343 | here is perpetual (for the duration of the applicable copyright 344 | in the Work). Notwithstanding the above, Licensor reserves the 345 | right to release the Work under different license terms or to 346 | stop distributing the Work at any time; provided, however that 347 | any such election will not serve to withdraw this License (or 348 | any other license that has been, or is required to be, granted 349 | under the terms of this License), and this License will continue 350 | in full force and effect unless terminated as stated above. 351 | 352 | 8. Miscellaneous 353 | 354 | a. Each time You Distribute or Publicly Perform the Work or 355 | a Collection, the Licensor offers to the recipient a license to 356 | the Work on the same terms and conditions as the license granted 357 | to You under this License. 358 | 359 | b. Each time You Distribute or Publicly Perform an Adaptation, 360 | Licensor offers to the recipient a license to the original Work 361 | on the same terms and conditions as the license granted to You 362 | under this License. 363 | 364 | c. If any provision of this License is invalid or unenforceable 365 | under applicable law, it shall not affect the validity or 366 | enforceability of the remainder of the terms of this License, 367 | and without further action by the parties to this agreement, 368 | such provision shall be reformed to the minimum extent necessary 369 | to make such provision valid and enforceable. 370 | 371 | d. No term or provision of this License shall be deemed waived and 372 | no breach consented to unless such waiver or consent shall be in 373 | writing and signed by the party to be charged with such waiver 374 | or consent. 375 | 376 | e. This License constitutes the entire agreement between the 377 | parties with respect to the Work licensed here. There are no 378 | understandings, agreements or representations with respect to 379 | the Work not specified here. Licensor shall not be bound by any 380 | additional provisions that may appear in any communication from 381 | You. This License may not be modified without the mutual written 382 | agreement of the Licensor and You. 383 | 384 | f. The rights granted under, and the subject matter referenced, in 385 | this License were drafted utilizing the terminology of the Berne 386 | Convention for the Protection of Literary and Artistic Works (as 387 | amended on September 28, 1979), the Rome Convention of 1961, the 388 | WIPO Copyright Treaty of 1996, the WIPO Performances and 389 | Phonograms Treaty of 1996 and the Universal Copyright Convention 390 | (as revised on July 24, 1971). These rights and subject matter 391 | take effect in the relevant jurisdiction in which the License 392 | terms are sought to be enforced according to the corresponding 393 | provisions of the implementation of those treaty provisions in 394 | the applicable national law. If the standard suite of rights 395 | granted under applicable copyright law includes additional 396 | rights not granted under this License, such additional rights 397 | are deemed to be included in the License; this License is not 398 | intended to restrict the license of any rights under applicable 399 | law. 400 | 401 | Creative Commons Notice 402 | ----------------------- 403 | 404 | Creative Commons is not a party to this License, and makes no warranty 405 | whatsoever in connection with the Work. Creative Commons will not be 406 | liable to You or any party on any legal theory for any damages 407 | whatsoever, including without limitation any general, special, 408 | incidental or consequential damages arising in connection to this 409 | license. Notwithstanding the foregoing two (2) sentences, if Creative 410 | Commons has expressly identified itself as the Licensor hereunder, it 411 | shall have all rights and obligations of Licensor. 412 | 413 | Except for the limited purpose of indicating to the public that the 414 | Work is licensed under the CCPL, Creative Commons does not authorize 415 | the use by either party of the trademark "Creative Commons" or any 416 | related trademark or logo of Creative Commons without the prior 417 | written consent of Creative Commons. Any permitted use will be in 418 | compliance with Creative Commons' then-current trademark usage 419 | guidelines, as may be published on its website or otherwise made 420 | available upon request from time to time. For the avoidance of doubt, 421 | this trademark restriction does not form part of this License. 422 | 423 | Creative Commons may be contacted at . 424 | --------------------------------------------------------------------------------