diff --git a/doc/OFL.txt b/doc/OFL.txt new file mode 100644 index 0000000..f8ca7bc --- /dev/null +++ b/doc/OFL.txt @@ -0,0 +1,92 @@ +Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato" +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/mothd b/mothd new file mode 100755 index 0000000..ffad247 --- /dev/null +++ b/mothd @@ -0,0 +1,14 @@ +#! /bin/sh + +cd ${1:-$(dirname $0)} +KOTH_BASE=$(pwd) + +echo "Running koth instances in $KOTH_BASE" + +while true; do + for i in $KOTH_BASE/*/assigned.txt; do + dir=${i%/*} + $dir/bin/once + done + sleep 5 +done diff --git a/www/res/Lato-Black.ttf b/www/res/Lato-Black.ttf new file mode 100644 index 0000000..6848db0 Binary files /dev/null and b/www/res/Lato-Black.ttf differ diff --git a/www/res/Lato-BlackItalic.ttf b/www/res/Lato-BlackItalic.ttf new file mode 100644 index 0000000..5decf12 Binary files /dev/null and b/www/res/Lato-BlackItalic.ttf differ diff --git a/www/res/Lato-Bold.ttf b/www/res/Lato-Bold.ttf new file mode 100644 index 0000000..7434369 Binary files /dev/null and b/www/res/Lato-Bold.ttf differ diff --git a/www/res/Lato-BoldItalic.ttf b/www/res/Lato-BoldItalic.ttf new file mode 100644 index 0000000..684aacf Binary files /dev/null and b/www/res/Lato-BoldItalic.ttf differ diff --git a/www/res/Lato-Hairline.ttf b/www/res/Lato-Hairline.ttf new file mode 100644 index 0000000..288be29 Binary files /dev/null and b/www/res/Lato-Hairline.ttf differ diff --git a/www/res/Lato-HairlineItalic.ttf b/www/res/Lato-HairlineItalic.ttf new file mode 100644 index 0000000..c2bfd33 Binary files /dev/null and b/www/res/Lato-HairlineItalic.ttf differ diff --git a/www/res/Lato-Italic.ttf b/www/res/Lato-Italic.ttf new file mode 100644 index 0000000..3d3b7a2 Binary files /dev/null and b/www/res/Lato-Italic.ttf differ diff --git a/www/res/Lato-Light.ttf b/www/res/Lato-Light.ttf new file mode 100644 index 0000000..a958067 Binary files /dev/null and b/www/res/Lato-Light.ttf differ diff --git a/www/res/Lato-LightItalic.ttf b/www/res/Lato-LightItalic.ttf new file mode 100644 index 0000000..5e45ad9 Binary files /dev/null and b/www/res/Lato-LightItalic.ttf differ diff --git a/www/res/Lato-Regular.ttf b/www/res/Lato-Regular.ttf new file mode 100644 index 0000000..04ea8ef Binary files /dev/null and b/www/res/Lato-Regular.ttf differ diff --git a/www/res/Lato.css b/www/res/Lato.css new file mode 100644 index 0000000..da5b5db --- /dev/null +++ b/www/res/Lato.css @@ -0,0 +1,18 @@ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: local('Lato Regular'), local('Lato-Regular'), url(Lato-Regular.ttf) format('truetype'); +} +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 700; + src: local('Lato Bold'), local('Lato-Bold'), url(Lato-Bold.ttf) format('truetype'); +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 400; + src: local('Lato Italic'), local('Lato-Italic'), url(Lato-Italic.ttf) format('truetype'); +} diff --git a/www/res/MicroFLF-Bold.ttf b/www/res/MicroFLF-Bold.ttf deleted file mode 100644 index 6702790..0000000 Binary files a/www/res/MicroFLF-Bold.ttf and /dev/null differ diff --git a/www/res/MicroFLF-BoldItalic.ttf b/www/res/MicroFLF-BoldItalic.ttf deleted file mode 100644 index 0929959..0000000 Binary files a/www/res/MicroFLF-BoldItalic.ttf and /dev/null differ diff --git a/www/res/MicroFLF-Italic.ttf b/www/res/MicroFLF-Italic.ttf deleted file mode 100644 index ca219b9..0000000 Binary files a/www/res/MicroFLF-Italic.ttf and /dev/null differ diff --git a/www/res/MicroFLF.css b/www/res/MicroFLF.css deleted file mode 100644 index 103f9b8..0000000 --- a/www/res/MicroFLF.css +++ /dev/null @@ -1,14 +0,0 @@ -@font-face { - font-family: 'MicroFLF'; - src: url('MicroFLF.ttf'); - font-weight: 500; - font-style: normal; - -} - -@font-face { - font-family: 'MicroFLF'; - src: url('MicroFLF-Bold.ttf'); - font-weight: 700; - font-style: normal; -} diff --git a/www/res/MicroFLF.ttf b/www/res/MicroFLF.ttf deleted file mode 100644 index c6e3f92..0000000 Binary files a/www/res/MicroFLF.ttf and /dev/null differ diff --git a/www/res/common.js b/www/res/common.js new file mode 100644 index 0000000..1291760 --- /dev/null +++ b/www/res/common.js @@ -0,0 +1,40 @@ +function loadJSON(url, callback) { + function loaded(e) { + callback(e.target.response); + } + var xhr = new XMLHttpRequest() + xhr.onload = loaded; + xhr.open("GET", url, true); + xhr.responseType = "json"; + xhr.send(); +} + +function createElement(tagName) { + return document.createElement(tagName); +} + +// Make code readable by providing Function.prototype.bind in older JS environments +if (!Function.prototype.bind) { + Function.prototype.bind = function(oThis) { + if (typeof this !== 'function') { + // closest thing possible to the ECMAScript 5 + // internal IsCallable function + throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable'); + } + + var aArgs = Array.prototype.slice.call(arguments, 1), + fToBind = this, + fNOP = function() {}, + fBound = function() { + return fToBind.apply(this instanceof fNOP && oThis + ? this + : oThis, + aArgs.concat(Array.prototype.slice.call(arguments))); + }; + + fNOP.prototype = this.prototype; + fBound.prototype = new fNOP(); + + return fBound; + }; +} diff --git a/www/res/maven_pro.css b/www/res/maven_pro.css deleted file mode 100755 index 07fa78a..0000000 --- a/www/res/maven_pro.css +++ /dev/null @@ -1,50 +0,0 @@ -/* -@font-face { - font-family: 'Maven Pro'; - src: url('maven_pro_black-webfont.eot'); - src: url('maven_pro_black-webfont.eot?#iefix') format('eot'), - url('maven_pro_black-webfont.woff') format('woff'), - url('maven_pro_black-webfont.ttf') format('truetype'), - url('maven_pro_black-webfont.svg#webfontXhB2DgBK') format('svg'); - font-weight: 900; - font-style: normal; - -} -*/ - -@font-face { - font-family: 'Maven Pro'; - src: url('maven_pro_medium-webfont.eot'); - src: url('maven_pro_medium-webfont.eot?#iefix') format('eot'), - url('maven_pro_medium-webfont.woff') format('woff'), - url('maven_pro_medium-webfont.ttf') format('truetype'), - url('maven_pro_medium-webfont.svg#webfontNj5iy4Dl') format('svg'); - font-weight: 500; - font-style: normal; - -} - -@font-face { - font-family: 'Maven Pro'; - src: url('maven_pro_bold-webfont.eot'); - src: url('maven_pro_bold-webfont.eot?#iefix') format('eot'), - url('maven_pro_bold-webfont.woff') format('woff'), - url('maven_pro_bold-webfont.ttf') format('truetype'), - url('maven_pro_bold-webfont.svg#webfontNOU7iUTL') format('svg'); - font-weight: 700; - font-style: normal; - -} - -@font-face { - font-family: 'Maven Pro'; - src: url('maven_pro_regular-webfont.eot'); - src: url('maven_pro_regular-webfont.eot?#iefix') format('eot'), - url('maven_pro_regular-webfont.woff') format('woff'), - url('maven_pro_regular-webfont.ttf') format('truetype'), - url('maven_pro_regular-webfont.svg#webfontOM8fITNz') format('svg'); - font-weight: 400; - font-style: normal; - -} - diff --git a/www/res/maven_pro_black-webfont.eot b/www/res/maven_pro_black-webfont.eot deleted file mode 100755 index c7091c1..0000000 Binary files a/www/res/maven_pro_black-webfont.eot and /dev/null differ diff --git a/www/res/maven_pro_black-webfont.svg b/www/res/maven_pro_black-webfont.svg deleted file mode 100755 index 456f336..0000000 --- a/www/res/maven_pro_black-webfont.svg +++ /dev/null @@ -1,245 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2011 by Vissol Ltd All rights reserved -Designer : Joe Prince -Foundry : Joe Prince - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/www/res/maven_pro_black-webfont.ttf b/www/res/maven_pro_black-webfont.ttf deleted file mode 100755 index 22cebdf..0000000 Binary files a/www/res/maven_pro_black-webfont.ttf and /dev/null differ diff --git a/www/res/maven_pro_black-webfont.woff b/www/res/maven_pro_black-webfont.woff deleted file mode 100755 index ae8fba0..0000000 Binary files a/www/res/maven_pro_black-webfont.woff and /dev/null differ diff --git a/www/res/maven_pro_bold-webfont.eot b/www/res/maven_pro_bold-webfont.eot deleted file mode 100755 index 6f4a488..0000000 Binary files a/www/res/maven_pro_bold-webfont.eot and /dev/null differ diff --git a/www/res/maven_pro_bold-webfont.svg b/www/res/maven_pro_bold-webfont.svg deleted file mode 100755 index 7f24bdb..0000000 --- a/www/res/maven_pro_bold-webfont.svg +++ /dev/null @@ -1,245 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2011 by Vissol Ltd All rights reserved -Designer : Joe Prince -Foundry : Joe Prince - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/www/res/maven_pro_bold-webfont.ttf b/www/res/maven_pro_bold-webfont.ttf deleted file mode 100755 index 7682e5b..0000000 Binary files a/www/res/maven_pro_bold-webfont.ttf and /dev/null differ diff --git a/www/res/maven_pro_bold-webfont.woff b/www/res/maven_pro_bold-webfont.woff deleted file mode 100755 index 3eea8ae..0000000 Binary files a/www/res/maven_pro_bold-webfont.woff and /dev/null differ diff --git a/www/res/maven_pro_medium-webfont.eot b/www/res/maven_pro_medium-webfont.eot deleted file mode 100755 index 0eb177c..0000000 Binary files a/www/res/maven_pro_medium-webfont.eot and /dev/null differ diff --git a/www/res/maven_pro_medium-webfont.svg b/www/res/maven_pro_medium-webfont.svg deleted file mode 100755 index 532bf53..0000000 --- a/www/res/maven_pro_medium-webfont.svg +++ /dev/null @@ -1,245 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2011 by Vissol Ltd All rights reserved -Designer : Joe Prince -Foundry : Joe Prince - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/www/res/maven_pro_medium-webfont.ttf b/www/res/maven_pro_medium-webfont.ttf deleted file mode 100755 index a930700..0000000 Binary files a/www/res/maven_pro_medium-webfont.ttf and /dev/null differ diff --git a/www/res/maven_pro_medium-webfont.woff b/www/res/maven_pro_medium-webfont.woff deleted file mode 100755 index a2737c3..0000000 Binary files a/www/res/maven_pro_medium-webfont.woff and /dev/null differ diff --git a/www/res/maven_pro_regular-webfont.eot b/www/res/maven_pro_regular-webfont.eot deleted file mode 100755 index a9b38de..0000000 Binary files a/www/res/maven_pro_regular-webfont.eot and /dev/null differ diff --git a/www/res/maven_pro_regular-webfont.svg b/www/res/maven_pro_regular-webfont.svg deleted file mode 100755 index 6f5deb3..0000000 --- a/www/res/maven_pro_regular-webfont.svg +++ /dev/null @@ -1,245 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2011 by Vissol Ltd All rights reserved -Designer : Joe Prince -Foundry : Joe Prince - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/www/res/maven_pro_regular-webfont.ttf b/www/res/maven_pro_regular-webfont.ttf deleted file mode 100755 index fae9c6a..0000000 Binary files a/www/res/maven_pro_regular-webfont.ttf and /dev/null differ diff --git a/www/res/maven_pro_regular-webfont.woff b/www/res/maven_pro_regular-webfont.woff deleted file mode 100755 index 3c27f73..0000000 Binary files a/www/res/maven_pro_regular-webfont.woff and /dev/null differ diff --git a/www/res/style.css b/www/res/style.css index a2b523a..9c56119 100644 --- a/www/res/style.css +++ b/www/res/style.css @@ -1,13 +1,13 @@ -/* @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic); */ -/* @import "maven_pro.css"; */ -@import "lato.css"; +/* @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic); /* */ +/* @import "maven_pro.css"; /* */ +@import "Lato.css"; /* */ html { background: rgba(61, 50, 44, 0) url(brown-lines.jpg) no-repeat center center fixed; background-size: cover; color: #ccb; height: 100%; - font-family: Lato; + font-family: Lato, sans-serif; } body {