diff --git a/accelerator/docs/backup b/accelerator/docs/backup new file mode 100644 index 0000000..09dd3b8 --- /dev/null +++ b/accelerator/docs/backup @@ -0,0 +1,114 @@ +---- ---- +name: Creating an FPGA accelerator in 15 min + +---- #Title ---- +background-image: /images/parallella_front_slant.png +---- + +## Creating an FPGA accelerator in 15 min! +Andreas Olofsson, 1/21/2016 +(Presented at ANL FPGA Workshop) + +---- #parallella-introduction ---- +background-image: /images/parallella_front_slant.png + +## Kickstarting Parallel Computing +* Parallella: "Supercomputing for everyone" +* 18 CPU cores on a credit card and @ 5W +* Democratizes access to parallel computing +* $898K raised on Kickstarter in Oct 2012 +* Open source and open access +* Starting at $99 +* Now generally available at Amazon & Digi-Key + +---- #parallella-specs ---- + +## Parallella Specs (http://parallella.org) + +| | | +|---------------------- |:----------------------:| +| Performance | ~30 GFLOPS | +| Architecture | ARM + FPGA + MANYCORE | +| Memory | 1GB DDR3 | +| IO | ~25 Gb/s (48 GPIO) | +| Size | credit-card | +| Power | <5W | +| Cost | $99 -> $249 | + +---- #Software ---- + +## "Hello World" in Software + +1. **CODE:** main() { printf("Hello World\n");} +2. **COMPILE:** gcc hello.c +3. **TEST** ./a.out +3. **DEBUG** printf, gdb + +---- #Hardware ---- + +## "Hello World" in Hardware + +1. **CODE:** Verilog/VHDL source +2. **CODE MORE:** Verilog/SystemC testbench +3. **TEST:** VCS/NC/Icarus/Verilator +4. **DEBUG:** Waveform debugging +5. **SYNTHESIZE:** HDL-->NETLIST-->POLYGONS +6. **BURN:** FPGA/ASIC +7. **TEST MORE:** Pray that it works... + +---- #Comparison ---- + +## Hardwave vs Software +| | SW | HW | +|---------------- |:----------:|:---------------:| +| Compile Time | seconds | minutes/months | +| Libraries | lots | little | +| Debugging | "easy" | an art | +| Cost of mistake | low | VERY HIGH!!!! | + +---- #Resources ---- + +## Resources + +* Tutorial: http://github.com/parallella/oh/accelerator +* OH! Library: http://github.com/parallella/oh) +* Forum: http://forums.parallella.org + +---- #start ---- + +## Let's create "hello world" for FPGAs + +```verilog +assign result[31:0]=input0[31:0]*input1[31:0]; +``` + +## Now what???? + +---- #Steps ---- + +## What's missing +1. Control code +2. Interfaces +3. Test environment +4. Synthesis scripts (non trivial) +5. Drivers (software) + +---- #Files ---- + +## Files to Review + +1. **Code:** hdl/{accelerator.v,axi_accelerator.v} +2. **Testbench:** dv/{dut_axi_accelerator.v,build.sh,run.sh} +3. **Synthesis:** fpga/{package.tcl, run.tcl} +4. **Drivers:** sw/accelerator_demo.c + + +---- #Conclusions ---- + +## Conclusions + +1. You can build an FPGA accelerator in 15 minutes! +2. Library based design key to hardware productivity +3. Stay away from vendor proprietary tools +4. Keep it simple**Drivers:** sw/accelerator_demo.c + diff --git a/accelerator/docs/fpga_tutorial.md b/accelerator/docs/fpga_tutorial.md new file mode 100644 index 0000000..a84c96c --- /dev/null +++ b/accelerator/docs/fpga_tutorial.md @@ -0,0 +1,133 @@ +---- ---- +name: Creating an FPGA accelerator in 15 min + +---- #Title ---- +background-image: /images/parallella_front_slant.png +---- + +## Creating an FPGA accelerator in 15 min! +Andreas Olofsson, 1/21/2016 +(Presented at ANL FPGA Workshop) + +---- #parallella-introduction ---- +background-image: /images/parallella_front_slant.png + +## Kickstarting Parallel Computing +* Parallella: "Supercomputing for everyone" +* 18 CPU cores on a credit card and @ 5W +* Democratizes access to parallel computing +* $898K raised on Kickstarter in Oct 2012 +* Open source and open access +* Starting at $99 +* Now generally available at Amazon & Digi-Key + +---- #parallella-specs ---- + +## Parallella Specs (http://parallella.org) + +| | | +|---------------------- |:----------------------:| +| Performance | ~30 GFLOPS | +| Architecture | ARM + FPGA + MANYCORE | +| Memory | 1GB DDR3 | +| IO | ~25 Gb/s (48 GPIO) | +| Size | credit-card | +| Power | <5W | +| Cost | $99 -> $249 | + +---- #Software ---- + +## "Hello World" in Software + +1. **CODE:** main() { printf("Hello World\n");} +2. **COMPILE:** gcc hello.c +3. **TEST** ./a.out +3. **DEBUG** printf, gdb + +---- #Hardware ---- + +## "Hello World" in Hardware + +1. **CODE:** Verilog/VHDL source +2. **CODE MORE:** Verilog/SystemC testbench +3. **TEST:** VCS/NC/Icarus/Verilator +4. **DEBUG:** Waveform debugging +5. **SYNTHESIZE:** HDL-->NETLIST-->POLYGONS +6. **BURN:** FPGA/ASIC +7. **TEST MORE:** Pray that it works... + +---- #Comparison ---- + +## Hardwave vs Software +| | SW | HW | +|---------------- |:----------:|:---------------:| +| Compile Time | seconds | minutes/months | +| Libraries | lots | little | +| Debugging | "easy" | an art | +| Cost of mistake | low | VERY HIGH!!!! | + +---- #Resources ---- + +## Resources + +* Tutorial: http://github.com/parallella/oh/accelerator + + +* OH! Library: http://github.com/parallella/oh + + +* Forum: http://forums.parallella.org + +---- #start ---- + +## Let's start..."hello world" + +```verilog +assign result[31:0]=input0[31:0]*input1[31:0]; +``` + +---- + +## Now what???? + +---- #Steps ---- + +## What's missing +1. Control code +2. Interfaces +3. Test environment +4. Synthesis scripts (non trivial) +5. Drivers (software) + +---- #Files ---- + +## Files Used + +1. **Code:** hdl/{accelerator.v,axi_accelerator.v} +2. **Testbench:** dv/{dut_axi_accelerator.v,build.sh,run.sh} +3. **Synthesis:** fpga/{package.tcl, run.tcl} +4. **Drivers:** sw/{driver.c,test.c} + +---- #Conclusions ---- + +## Conclusions + +1. Yes, you can build an FPGA accelerator in 15 minutes +2. HW is still 100x more exepnsive to develop than SW +3. This tutorial was prepared in less than 24hrs thanks to leverage +4. Much more investment needed in open sorce HW. + +http://github.com/parallella/oh + + + + + + + + + + + + + diff --git a/accelerator/docs/fpga_tutorial.pdf b/accelerator/docs/fpga_tutorial.pdf new file mode 100644 index 0000000..90335f3 Binary files /dev/null and b/accelerator/docs/fpga_tutorial.pdf differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/.npmignore b/accelerator/docs/node_modules/pub-theme-shower-ribbon/.npmignore new file mode 100644 index 0000000..5a350fe --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/.npmignore @@ -0,0 +1,22 @@ +env +out +*.html +*.png +*.rdb +*.seed +*.log +*.csv +*.dat +*.out +*.pid +*.swp +*.swo +*.sock +support +test +examples +example +dist +coverage +.DS_Store +Thumbs.db diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/LICENSE b/accelerator/docs/node_modules/pub-theme-shower-ribbon/LICENSE new file mode 100644 index 0000000..bd71551 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2015 Jürgen Leschner -- github.com/jldec + +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. \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/README.md b/accelerator/docs/node_modules/pub-theme-shower-ribbon/README.md new file mode 100644 index 0000000..461e2e3 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/README.md @@ -0,0 +1,131 @@ +# pub-theme-shower-ribbon +The [shower](https://github.com/shower/shower) theme for +[pub-server](https://github.com/jldec/pub-server) makes it easy to create +HTML presentations using markdown. + +Edit the markdown in any text editor and use the watch feature of pub-server to auto-update a browser preview the file is saved. + +When you are ready to publish, run `pub -O` to generate a set of html output and other static files. + +The screenshot below shows the built-in pub-server editor (which still has a few quirks). +![](images/shower-screen.png) + +### tl;dr +The quickest way to start writing your own presentations using this theme is to clone the [pub-sample-deck](https://github.com/jldec/pub-server) repo from github. + +This will also install pub-server in the same directory. + +```sh +git clone https://github.com/jldec/pub-sample-deck.git +cd pub-sample-deck +npm install +``` + + +#### If you have installed pub-server globally first + +```sh +npm install -g pub-server +``` +Create your `presentation.md` in a new directory, then: + +```sh +npm install pub-theme-shower-ribbon +pub -m -t pub-theme-shower-ribbon +``` + +- `-m`: interprets markdown headings as fragments +- `-t shower-ribbon` loads pub-theme-shower-ribbon if you have npm installed it. + + +Now open your browser on http://localhost:3001/ + + +### markdown +- a sample presentation is included in the [example](example) folder. +- The heading at the very top the file becomes the name of the presentation +- The second heading is interpreted as a cover slide if it is followed by `![](image)` +- A slide with no text (slide 2 below) will be rendered with *shout* style (large centered text) + + +```markdown +# Example Presentation +Byline + +## Title +![](/images/ice.jpg) +Use the nav menu to switch between presentations + +## Slide 1: quote + +> The overwhelming majority of theories are rejected +because they contain bad explanations, not because they +fail experimental tests. + +david deutsch + +## Slide 2: No text + +## Slide 3: Lists + +1. with with with with with with with + - words words + - words words + - words words + - words words +- nice nice nice nice nice nice + +## Slide 4: Table + +| col1 | col2 | col3 header | +| ------ | ------ | --------------: | +| abc | def | right aligned | +| abc | def | right aligned | +| abc | def | right aligned | +``` + + +### sample `pub-config.js` configuration + +Instead of command line parameters, you can use pub-config.js to configure +the theme, and say a source of images e.g. for the cover + +By providing a value for `injectCss` you can inject an additional stylesheet. + +```js +var opts = module.exports = { + + pkgs: ['pub-theme-shower-ribbon', 'pub-pkg-seo'], + + sources: [ + { + path:'./markdown', + glob:'**/*.md', + fragmentDelim:'md-headings', // pub -m, required for this theme + writable:true + } + ], + + staticPaths: [ './static' ], + + // link for github badge + github: 'https://github.com/jldec/pub-theme-shower-ribbon', + + // path to extra stylesheet + injectCss: '/css/extra.css', + + // don't forget photo credit + photoCredit: 'Cover Photo by Jurgen Leschner, github.com/jldec', + + // copyright comment + copyright: 'Copyright © 2015 Hard Working Person', + + // ask search engines not to crawl this site (depends on pub-pkg-seo) + noRobots:true +} +``` + + +### credits +- [Vadim Makeev](https://github.com/pepelsbey): + [Shower HTML presentation engine ](https://github.com/shower/shower) diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/css/pub-theme-shower-ribbon.css b/accelerator/docs/node_modules/pub-theme-shower-ribbon/css/pub-theme-shower-ribbon.css new file mode 100644 index 0000000..6a9e49e --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/css/pub-theme-shower-ribbon.css @@ -0,0 +1,104 @@ +/* shower customizations */ + + +/* make bold text bolder */ +.slide strong {font-weight:800;} + +/* don't go crazy with whitespace after a p */ +.slide p { margin: 0 0 25px; } + + +/* headings */ + +.slide h1, +.slide h2, +.slide h3, +.slide h4, +.slide h5 { + color: #666; + font-weight: 700; + font-family: 'PT Sans Narrow', sans-serif; +} + +.slide h1 { + font-size: 65px; + margin: 0 0 40px; +} + +.slide h2 { + font-size: 50px; + margin: 0 0 35px; +} + +.slide h3 { + font-size: 45px; + margin: 0 0 20px; +} + +.slide h4 { + font-size: 40px; + margin: 0; +} + +.slide h5 { + font-size: 35px; + margin: 0; +} + + +/* background images */ + +.slide img[full] { + position: absolute; + top: 0; + left: 0; + z-index: -1; + width:1024px; +} + +.slide.background-image, +.slide.background-image h1, +.slide.background-image h2, +.slide.background-image h3, +.slide.background-image h4, +.slide.background-image h5 +{ + color: #fff; +} + +.slide.background-image > div > div { + background-color: rgba(0, 0, 0, 0.3); + margin: 0 -5em; + padding: 0 5em; +} + +.slide { + z-index: 1; +} + + +/* inline images */ +.slide img[align=right] { margin-left:1em; } +.slide img[align=left] { margin-right:2em; } + +/* nav button */ +#nav > ul { position:fixed; left:15px; top:15px; z-index:100; } +#nav > ul > li { height:34px; text-align:center; line-height:0.9; padding:4px 12px; color:#444; font-size:1.4em; background-color:#999; cursor:pointer; } +#nav > ul > li:hover { color:#fff; opacity:1; } +#nav > ul > li > ul { position:absolute; top:40px; left:-1000px; background-color:#ddd; text-align:left; padding-bottom:20px; z-index:200; } +#nav > ul:hover > li > ul { left:0px; } +#nav a { display:block; line-height:1.6; padding:0 20px 0 8px; font-size:20px; text-decoration:none; background:none; white-space:nowrap; } +#nav a:hover { color:#eee; background-color:#777; } +.full #nav > ul > li { opacity:0.2; } +.full #nav > ul > li:hover { opacity:1; } + +/* fixes a problem with clipped edit button when there are not many slides */ +@media screen { +.list { clip:auto; } +} + +/* don't print the buttons */ +@media print { + #nav { display:none; } + .pub-button { display:none; } +} diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/License.md b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/License.md new file mode 100644 index 0000000..0b07174 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/License.md @@ -0,0 +1,21 @@ +# The MIT License + +Copyright © 2010–2014 Vadim Makeev, http://pepelsbey.net/ + +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. + +--- + +# Лицензия MIT + +Copyright © 2010–2014 Вадим Макеев, http://pepelsbey.net/ + +Данная лицензия разрешает лицам, получившим копию данного программного обеспечения и сопутствующей документации (в дальнейшем именуемыми «Программное Обеспечение»), безвозмездно использовать Программное Обеспечение без ограничений, включая неограниченное право на использование, копирование, изменение, добавление, публикацию, распространение, сублицензирование и/или продажу копий Программного Обеспечения, также как и лицам, которым предоставляется данное Программное Обеспечение, при соблюдении следующих условий: + +Указанное выше уведомление об авторском праве и данные условия должны быть включены во все копии или значимые части данного Программного Обеспечения. + +ДАННОЕ ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ ПРЕДОСТАВЛЯЕТСЯ «КАК ЕСТЬ», БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ, ЯВНО ВЫРАЖЕННЫХ ИЛИ ПОДРАЗУМЕВАЕМЫХ, ВКЛЮЧАЯ, НО НЕ ОГРАНИЧИВАЯСЬ ГАРАНТИЯМИ ТОВАРНОЙ ПРИГОДНОСТИ, СООТВЕТСТВИЯ ПО ЕГО КОНКРЕТНОМУ НАЗНАЧЕНИЮ И ОТСУТСТВИЯ НАРУШЕНИЙ ПРАВ. НИ В КАКОМ СЛУЧАЕ АВТОРЫ ИЛИ ПРАВООБЛАДАТЕЛИ НЕ НЕСУТ ОТВЕТСТВЕННОСТИ ПО ИСКАМ О ВОЗМЕЩЕНИИ УЩЕРБА, УБЫТКОВ ИЛИ ДРУГИХ ТРЕБОВАНИЙ ПО ДЕЙСТВУЮЩИМ КОНТРАКТАМ, ДЕЛИКТАМ ИЛИ ИНОМУ, ВОЗНИКШИМ ИЗ, ИМЕЮЩИМ ПРИЧИНОЙ ИЛИ СВЯЗАННЫМ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ ИЛИ ИНЫМИ ДЕЙСТВИЯМИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ. \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/Readme.md b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/Readme.md new file mode 100644 index 0000000..858a008 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/Readme.md @@ -0,0 +1,15 @@ +# Core for Shower [![Build Status](https://travis-ci.org/shower/core.svg?branch=master)](https://travis-ci.org/shower/core) + +Follow [@shower_me](https://twitter.com/shower_me) for support and updates + +To see Shower in action: + +- Open [shwr.me](http://shwr.me/) +- Click any slide to enter presentation mode +- Use arrow keys or presenter remote to navigate +- Press `Esc` to exit presentation mode + +Part of [Shower presentation template](https://github.com/shower/shower/). See [Wiki](https://github.com/shower/shower/wiki) for more information how to use Shower. + +--- +Licensed under [MIT License](http://en.wikipedia.org/wiki/MIT_License), see [license page](https://github.com/shower/shower/wiki/MIT-License) for details. diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/package.json b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/package.json new file mode 100644 index 0000000..2ad11f5 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/package.json @@ -0,0 +1,63 @@ +{ + "name": "shower-core", + "description": "Core for Shower HTML presentation engine", + "version": "1.0.7", + "author": { + "name": "Vadim Makeev", + "url": "http://pepelsbey.com/" + }, + "homepage": "https://github.com/shower/core", + "repository": { + "type": "git", + "url": "git://github.com/shower/core.git" + }, + "bugs": { + "url": "http://github.com/shower/shower/issues" + }, + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/shower/shower/wiki/MIT-License" + } + ], + "keywords": [ + "shower", + "presentation", + "core" + ], + "devDependencies": { + "grunt": "^0.4.5", + "grunt-bump": "^0.0.15", + "grunt-casperjs": "2.0.1", + "grunt-contrib-connect": "^0.8.0", + "grunt-contrib-uglify": "^0.5.1", + "grunt-contrib-watch": "^0.6.1", + "grunt-jscs": "^0.7.1", + "load-grunt-tasks": "^0.6.0" + }, + "scripts": { + "test": "node -e \"require('grunt').tasks(['test'])\"" + }, + "gitHead": "aa8a6bfc36d8808a47e9b44f915bda13200426ff", + "_id": "shower-core@1.0.7", + "_shasum": "f488c7685cc657cb87420bd5e9064beccc75c0f9", + "_from": "shower-core@>=1.0.7 <2.0.0", + "_npmVersion": "1.4.27", + "_npmUser": { + "name": "pepelsbey", + "email": "pepelsbey@gmail.com" + }, + "maintainers": [ + { + "name": "pepelsbey", + "email": "pepelsbey@gmail.com" + } + ], + "dist": { + "shasum": "f488c7685cc657cb87420bd5e9064beccc75c0f9", + "tarball": "http://registry.npmjs.org/shower-core/-/shower-core-1.0.7.tgz" + }, + "directories": {}, + "_resolved": "https://registry.npmjs.org/shower-core/-/shower-core-1.0.7.tgz", + "readme": "ERROR: No README data found!" +} diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/shower.min.js b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/shower.min.js new file mode 100644 index 0000000..cdb4082 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-core/shower.min.js @@ -0,0 +1,7 @@ +/** + * Core for Shower HTML presentation engine + * shower-core v1.0.6, https://github.com/shower/core + * @copyright 2010–2014 Vadim Makeev, http://pepelsbey.net + * @license MIT license: github.com/shower/shower/wiki/MIT-License + */ +window.shower&&window.shower.init||(window.shower=function(a,b){function c(a){for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b])}var d,e={},f=a.location,g=a.console,h=b.title,i=[],j=[],k=!(!a.history||!a.history.pushState);e.debugMode=!1,c.prototype={getSlideNumber:function(){return this.number},isLast:function(){return e.slideList.length===this.number+1},isFinished:function(){return this.innerComplete>=this.innerLength},process:function(a){return this.timing?(this.initTimer(a),this):(this.next(a),this)},initTimer:function(a){var b=this;return b.timing?(b.stopTimer(),d=b.isFinished()?setInterval(function(){b.stopTimer(),a.next()},b.timing*(b.innerLength||1)):setInterval(function(){b.isFinished()?(b.stopTimer(),a.next()):b.next(a)},b.timing),this):!1},stopTimer:function(){return d&&(clearInterval(d),d=!1),this},prev:function(a){var c,d=this;return!d.hasInnerNavigation||d.isFinished()||0===d.innerComplete?(a.prev(),!1):(c=b.getElementById(d.id).querySelectorAll(".next.active"),!c||c.length<1?!1:(d.innerComplete>0?(d.innerComplete--,c[c.length-1].classList.remove("active")):a.prev(),this))},next:function(a){var c,d=this;return!d.hasInnerNavigation||d.isFinished()?(a.next(),!1):(d.isFinished()||(c=b.getElementById(d.id).querySelectorAll(".next:not(.active)"),c[0].classList.add("active"),d.innerComplete++),this)}},e._getData=function(a,b){return a.dataset?a.dataset[b]:a.getAttribute("data-"+b)},e.slideList=[],e.init=function(a,d){var f;e.debugMode&&(b.body.classList.add("debug"),g.log("Debug mode on")),a=a||".slide",d=d||"div.progress div";var h=b.createElement("section");h.className="live-region",h.setAttribute("role","region"),h.setAttribute("aria-live","assertive"),h.setAttribute("aria-relevant","additions"),h.setAttribute("aria-label","Slide Content: Auto-updating"),b.body.appendChild(h),i=b.querySelectorAll(a),j=b.querySelector(d);for(var k=0;k=0&&e.go(a),c&&e.enterSlideMode()},e._getTransform=function(){var c=Math.max(b.body.clientWidth/a.innerWidth,b.body.clientHeight/a.innerHeight);return"scale("+1/c+")"},e._applyTransform=function(a){return["WebkitTransform","MozTransform","msTransform","OTransform","transform"].forEach(function(c){b.body.style[c]=a}),!0},e._isNumber=function(a){return!isNaN(parseFloat(a))&&isFinite(a)},e._normalizeSlideNumber=function(a){if(!e._isNumber(a))throw new Error("Gimme slide number as Number, baby!");return 0>a&&(a=0),a>=e.slideList.length&&(a=e.slideList.length-1),a},e._getSlideIdByEl=function(a){for(;"BODY"!==a.nodeName&&"HTML"!==a.nodeName;){if(a.classList.contains("slide"))return a.id;a=a.parentNode}return""},e._checkInteractiveElement=function(a){return"A"===a.target.nodeName},e.getSlideNumber=function(a){var b,c=e.slideList.length-1;for(""===a&&(b=0);c>=0;--c)if(a===e.slideList[c].id){b=c;break}return b},e.go=function(a,b){var c;if(!e._isNumber(a))throw new Error("Gimme slide number as Number, baby!");return e.slideList[a]?(f.hash=e.getSlideHash(a),e.updateProgress(a),e.updateActiveAndVisitedSlides(a),e.isSlideMode()&&(e.showPresenterNotes(a),c=e.slideList[a],c.timing&&c.initTimer(e)),"function"==typeof b&&b(),a):!1},e.next=function(a){var b=e.getCurrentSlideNumber(),c=e.slideList[b+1];return c?(e.go(b+1),"function"==typeof a&&a(),this):!1},e._turnNextSlide=function(a){var b=e.getCurrentSlideNumber(),c=e.slideList[b];e.isSlideMode()?(c.stopTimer(),c.next(e)):e.go(b+1),"function"==typeof a&&a()},e.prev=e.previous=function(a){var b=e.getCurrentSlideNumber();return 1>b?!1:(e.go(b-1),"function"==typeof a&&a(),!0)},e._turnPreviousSlide=function(a){var b=e.getCurrentSlideNumber(),c=e.slideList[b];return c.stopTimer(),e.isSlideMode()?c.prev(e):e.go(b-1),"function"==typeof a&&a(),!0},e.first=function(a){var b=e.slideList[e.getCurrentSlideNumber()];b&&b.timing&&b.stopTimer(),e.go(0),"function"==typeof a&&a()},e.last=function(a){var b=e.slideList[e.getCurrentSlideNumber()];b&&b.timing&&b.stopTimer(),e.go(e.slideList.length-1),"function"==typeof a&&a()},e.enterSlideMode=function(a){var c=e.getCurrentSlideNumber();return b.body.classList.remove("list"),b.body.classList.add("full"),e.isListMode()&&k&&history.pushState(null,null,f.pathname+"?full"+e.getSlideHash(c)),e._applyTransform(e._getTransform()),"function"==typeof a&&a(),!0},e.enterListMode=function(a){var c;return b.body.classList.remove("full"),b.body.classList.add("list"),e.clearPresenterNotes(),e._applyTransform("none"),e.isListMode()?!1:(c=e.getCurrentSlideNumber(),e.slideList[c].stopTimer(),e.isSlideMode()&&k&&history.pushState(null,null,f.pathname+e.getSlideHash(c)),e.scrollToSlide(c),"function"==typeof a&&a(),!0)},e.toggleMode=function(a){return e.isListMode()?e.enterSlideMode():e.enterListMode(),"function"==typeof a&&a(),!0},e.getCurrentSlideNumber=function(){var a=e.slideList.length-1,b=f.hash.substr(1);if(""===b)return-1;for(;a>=0;--a)if(b===e.slideList[a].id)return a;return-1},e.scrollToSlide=function(c){var d,f=!1;if(!e._isNumber(c))throw new Error("Gimme slide number as Number, baby!");if(e.isSlideMode())throw new Error("You can't scroll to because you in slide mode. Please, switch to list mode.");if(-1===c)return f;if(!e.slideList[c])throw new Error("There is no slide with number "+c);return d=b.getElementById(e.slideList[c].id),a.scrollTo(0,d.offsetTop),f=!0,f},e.isListMode=function(){return k?!/^full.*/.test(f.search.substr(1)):b.body.classList.contains("list")},e.isSlideMode=function(){return k?/^full.*/.test(f.search.substr(1)):b.body.classList.contains("full")},e.updateProgress=function(a){if(null===j)return!1;if(!e._isNumber(a))throw new Error("Gimme slide number as Number, baby!");return progressVal=(100/(e.slideList.length-1)*e._normalizeSlideNumber(a)).toFixed(2)+"%",j.style.width=progressVal,j.setAttribute("role","progressbar"),j.setAttribute("aria-valuenow",progressVal),j.setAttribute("aria-valuemin","0"),j.setAttribute("aria-valuemax","100"),j.setAttribute("aria-valuetext","Slideshow Progress: "+progressVal),!0},e.updateActiveAndVisitedSlides=function(a){var c,d,f=e.slideList.length;if(a=e._normalizeSlideNumber(a),!e._isNumber(a))throw new Error("Gimme slide number as Number, baby!");for(c=0;f>c;++c)d=b.getElementById(e.slideList[c].id),a>c?(d.classList.remove("active"),d.classList.add("visited")):c>a?(d.classList.remove("visited"),d.classList.remove("active")):(d.classList.remove("visited"),d.classList.add("active"),b.querySelector(".live-region").innerHTML=d.innerHTML);return!0},e.clearPresenterNotes=function(){e.isSlideMode()&&g&&g.clear&&!e.debugMode&&g.clear()},e.showPresenterNotes=function(a){if(e.clearPresenterNotes(),g){a=e._normalizeSlideNumber(a);var c=e.slideList[a].id,d=b.getElementById(c).querySelector("footer");d&&d.innerHTML&&g.info(d.innerHTML.replace(/\n\s+/g,"\n"));var f=e._getSlideTitle(a+1);f&&g.info("NEXT: "+f)}},e._getSlideTitle=function(a){if(!e.slideList[a])return"";var c=e.slideList[a].id,d=b.getElementById(c).querySelector("h2");return d?d.textContent.replace(/\s+/g," ").replace(/^\s+|\s+$/g,""):void 0},e.getSlideHash=function(a){if(!e._isNumber(a))throw new Error("Gimme slide number as Number, baby!");return a=e._normalizeSlideNumber(a),"#"+e.slideList[a].id};for(var l in a.shower)e[l]=a.shower[l];return a.addEventListener("DOMContentLoaded",function(){e.init().run()},!1),a.addEventListener("popstate",function(){var a=e.getCurrentSlideNumber(),c=b.body.classList.contains("full")||e.isSlideMode();b.title=e._getSlideTitle(a)?e._getSlideTitle(a)+" — "+h:h,c&&-1===a?e.go(0):-1===a&&""!==f.hash&&e.go(0),e.isListMode()?e.enterListMode():e.enterSlideMode()},!1),a.addEventListener("resize",function(){e.isSlideMode()&&e._applyTransform(e._getTransform())},!1),b.addEventListener("keydown",function(a){var b,c=e.getCurrentSlideNumber(),d=e.slideList[-1!==c?c:0];switch(a.which){case 80:e.isListMode()&&a.altKey&&a.metaKey&&(a.preventDefault(),b=d.number,e.go(b),e.enterSlideMode(),e.showPresenterNotes(b),d.timing&&d.initTimer(e));break;case 116:a.preventDefault(),e.isListMode()?(b=a.shiftKey?d.number:0,e.go(b),e.enterSlideMode(),e.showPresenterNotes(b),d.timing&&d.initTimer(e)):e.enterListMode();break;case 13:e.isListMode()&&-1!==c&&(a.preventDefault(),e.enterSlideMode(),e.showPresenterNotes(c),d.timing&&d.initTimer(e));break;case 27:e.isSlideMode()&&(a.preventDefault(),e.enterListMode());break;case 33:case 38:case 37:case 72:case 75:if(a.altKey||a.ctrlKey||a.metaKey)return;a.preventDefault(),e._turnPreviousSlide();break;case 34:case 40:case 39:case 76:case 74:if(a.altKey||a.ctrlKey||a.metaKey)return;a.preventDefault(),e._turnNextSlide();break;case 36:a.preventDefault(),e.first();break;case 35:a.preventDefault(),e.last();break;case 9:case 32:if(a.altKey||a.ctrlKey||a.metaKey)return;a.preventDefault(),e[a.shiftKey?"_turnPreviousSlide":"_turnNextSlide"]()}},!1),b.addEventListener("click",function(a){var b,c,d=e._getSlideIdByEl(a.target);d&&e.isListMode()&&(b=e.getSlideNumber(d),e.go(b),e.enterSlideMode(),e.showPresenterNotes(b),c=e.slideList[b],c.timing&&c.initTimer(e))},!1),b.addEventListener("touchstart",function(b){var c,d,f,g=e._getSlideIdByEl(b.target);g&&(e.isSlideMode()&&!e._checkInteractiveElement(b)&&(f=b.touches[0].pageX,f>a.innerWidth/2?e._turnNextSlide():e._turnPreviousSlide()),e.isListMode()&&(c=e.getSlideNumber(g),e.go(c),e.enterSlideMode(),e.showPresenterNotes(c),d=e.slideList[c],d.timing&&d.initTimer(e)))},!1),b.addEventListener("touchmove",function(a){e.isSlideMode()&&a.preventDefault()},!1),e}(this,this.document)); \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/License.md b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/License.md new file mode 100644 index 0000000..0b07174 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/License.md @@ -0,0 +1,21 @@ +# The MIT License + +Copyright © 2010–2014 Vadim Makeev, http://pepelsbey.net/ + +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. + +--- + +# Лицензия MIT + +Copyright © 2010–2014 Вадим Макеев, http://pepelsbey.net/ + +Данная лицензия разрешает лицам, получившим копию данного программного обеспечения и сопутствующей документации (в дальнейшем именуемыми «Программное Обеспечение»), безвозмездно использовать Программное Обеспечение без ограничений, включая неограниченное право на использование, копирование, изменение, добавление, публикацию, распространение, сублицензирование и/или продажу копий Программного Обеспечения, также как и лицам, которым предоставляется данное Программное Обеспечение, при соблюдении следующих условий: + +Указанное выше уведомление об авторском праве и данные условия должны быть включены во все копии или значимые части данного Программного Обеспечения. + +ДАННОЕ ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ ПРЕДОСТАВЛЯЕТСЯ «КАК ЕСТЬ», БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ, ЯВНО ВЫРАЖЕННЫХ ИЛИ ПОДРАЗУМЕВАЕМЫХ, ВКЛЮЧАЯ, НО НЕ ОГРАНИЧИВАЯСЬ ГАРАНТИЯМИ ТОВАРНОЙ ПРИГОДНОСТИ, СООТВЕТСТВИЯ ПО ЕГО КОНКРЕТНОМУ НАЗНАЧЕНИЮ И ОТСУТСТВИЯ НАРУШЕНИЙ ПРАВ. НИ В КАКОМ СЛУЧАЕ АВТОРЫ ИЛИ ПРАВООБЛАДАТЕЛИ НЕ НЕСУТ ОТВЕТСТВЕННОСТИ ПО ИСКАМ О ВОЗМЕЩЕНИИ УЩЕРБА, УБЫТКОВ ИЛИ ДРУГИХ ТРЕБОВАНИЙ ПО ДЕЙСТВУЮЩИМ КОНТРАКТАМ, ДЕЛИКТАМ ИЛИ ИНОМУ, ВОЗНИКШИМ ИЗ, ИМЕЮЩИМ ПРИЧИНОЙ ИЛИ СВЯЗАННЫМ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ ИЛИ ИНЫМИ ДЕЙСТВИЯМИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ. \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/Readme.md b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/Readme.md new file mode 100644 index 0000000..233d9c3 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/Readme.md @@ -0,0 +1,15 @@ +# Ribbon theme for Shower + +Follow [@shower_me](https://twitter.com/shower_me) for support and updates + +To see Ribbon theme for Shower in action: + +- Open [shwr.me/shower/themes/ribbon](http://shwr.me/shower/themes/ribbon/) +- Click any slide to enter presentation mode +- Use arrow keys or presenter remote to navigate +- Press `Esc` to exit presentation mode + +Part of [Shower presentation template](https://github.com/shower/shower/). See [Wiki](https://github.com/shower/shower/wiki) for more information how to use Shower. + +--- +Licensed under [MIT License](http://en.wikipedia.org/wiki/MIT_License), see [license page](https://github.com/shower/shower/wiki/MIT-License) for details. \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTMono.woff b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTMono.woff new file mode 100644 index 0000000..ade058c Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTMono.woff differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Bold.Italic.woff b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Bold.Italic.woff new file mode 100644 index 0000000..5390075 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Bold.Italic.woff differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Bold.woff b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Bold.woff new file mode 100644 index 0000000..1546b17 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Bold.woff differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Italic.woff b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Italic.woff new file mode 100644 index 0000000..7c015d8 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Italic.woff differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Narrow.Bold.woff b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Narrow.Bold.woff new file mode 100644 index 0000000..33fb3c6 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.Narrow.Bold.woff differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.woff b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.woff new file mode 100644 index 0000000..9d00ff5 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/fonts/PTSans.woff differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/grid-16x10.svg b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/grid-16x10.svg new file mode 100644 index 0000000..483f69d --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/grid-16x10.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/grid-4x3.svg b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/grid-4x3.svg new file mode 100644 index 0000000..756215c --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/grid-4x3.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/linen.png b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/linen.png new file mode 100644 index 0000000..46474bf Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/linen.png differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/linen@2x.png b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/linen@2x.png new file mode 100644 index 0000000..3ace416 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/linen@2x.png differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/ribbon.svg b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/ribbon.svg new file mode 100644 index 0000000..1770caf --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/images/ribbon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/index.html b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/index.html new file mode 100644 index 0000000..e9e6e79 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/index.html @@ -0,0 +1,217 @@ + + + + Ribbon theme for Shower + + + + + + + +
+

Presentation Title

+

Yours Truly, Famous Inc.

+
+
+

Header

+

Typewriter etsy messenger bag fingerstache, aesthetic vinyl semiotics twee DIY forage chillwave. Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress. DIY beard locavore occupy salvia, whatever single-origin <coffee> fanny pack 3 wolf moon typewriter gastropub1 kale H20 chips. Ennui keffiyeh thundercats jean shorts biodiesel. Terry richardson, swag blog locavore umami vegan helvetica. Fingerstache kale chips.

+
+

Typewriter etsy messenger bag fingerstache, aesthetic vinyl semiotics twee DIY forage chillwave. Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress. DIY beard locavore occupy salvia, whatever single-origin <coffee> fanny pack 3 wolf moon typewriter gastropub1 kale H20 chips. Ennui keffiyeh thundercats jean shorts biodiesel. Terry richardson, swag blog locavore umami vegan helvetica. Fingerstache kale chips.

+
+
+
+

Header

+

Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress. DIY beard locavore occupy salvia, whatever single-origin coffee fanny pack 3 wolf moon typewriter gastropub kale chips. Ennui keffiyeh thundercats jean shorts biodiesel. Terry richardson, swag blog locavore umami vegan helvetica. Fingerstache kale chips.

+

Typewriter etsy messenger bag fingerstache.

+
+

Typewriter etsy messenger bag fingerstache, aesthetic vinyl semiotics twee DIY forage chillwave. Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress.

+

DIY beard locavore occupy salvia, whatever single-origin coffee fanny pack 3 wolf moon typewriter gastropub kale chips. Ennui keffiyeh thundercats jean shorts biodiesel.

+
+
+
+

Lists in English typography

+
    +
  • Ennui keffiyeh thundercats
  • +
  • Jean shorts biodiesel
  • +
  • Terry richardson, swag blog +
      +
    1. Locavore umami vegan helvetica
    2. +
    3. Fingerstache kale chips
    4. +
    5. Keytar sriracha gluten-free
    6. +
    +
  • +
  • Before they sold out master
  • +
+
+
+

Lists in Russian typography

+
    +
  • Ennui keffiyeh thundercats
  • +
  • Jean shorts biodiesel
  • +
  • Terry richardson, swag blog +
      +
    1. Locavore umami vegan helvetica
    2. +
    3. Fingerstache kale chips
    4. +
    5. Keytar sriracha gluten-free
    6. +
    +
  • +
  • Before they sold out master
  • +
+
+
+

Lists in English typography

+
    +
  1. Locavore umami vegan helvetica
  2. +
  3. Fingerstache kale chips
  4. +
  5. Keytar sriracha gluten-free
  6. +
+
    +
  • Ennui keffiyeh thundercats
  • +
  • Jean shorts biodiesel
  • +
  • Terry richardson, swag blog
  • +
+
+
+

Quote

+
+
+

Typewriter etsy messenger bag fingerstache, aesthetic vinyl semiotics twee DIY forage chillwave. Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress.

+
+
Author Name
+
+

DIY beard locavore occupy salvia, whatever single-origin coffee fanny pack 3 wolf moon typewriter gastropub kale chips.

+
+
+

Table

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LocavoreUmamiHelveticaVegan
FingerstacheKaleChipsKeytar
SrirachaGluten-freeEnnuiKeffiyeh
ThundercatsJeanShortsBiodiesel
TerryRichardsonSwagBlog
+

Typewriter etsy messenger bag fingerstache.

+
+
+

Numbered code listing

+
+			<html lang="en">
+			<head> <!--Comment-->
+				<title>Shower</title>
+				<meta charset="UTF-8">
+				<link rel="stylesheet" href="s/screen.css">
+				<script src="j/jquery.js"></script>
+			</head>
+		
+
+
+

Plain code listing

+
<html lang="en">
+<head> <!--Comment-->
+	<title>Shower</title>
+	<meta charset="UTF-8">
+	<link rel="stylesheet" href="s/screen.css">
+	<script src="j/jquery.js"></script>
+</head>
+
+
+

+ You Can
+ Shout This Way +

+
+

Typewriter etsy messenger bag fingerstache.

+
+
+
+

Linked Shout

+
+
+

Growing Shout

+
+
+

Shrinking Shout

+
+
+ +
+
+ +
+
+ +
+

Typewriter etsy messenger bag fingerstache.

+
+
+
+ +
+
+ +
+
+ + + + + + + + + +
+
+

Timer

+

Three seconds to go.

+
+
+

List navigation

+
    +
  1. Ennui keffiyeh thundercats
  2. + + + + +
+

Before they sold out master

+
+

Fork me on Github

+ +
+ + + + diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/package.json b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/package.json new file mode 100644 index 0000000..d1a89c2 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/package.json @@ -0,0 +1,61 @@ +{ + "name": "shower-ribbon", + "description": "Ribbon theme for Shower HTML presentation engine", + "version": "1.0.11", + "author": { + "name": "Vadim Makeev", + "url": "http://pepelsbey.com/" + }, + "homepage": "https://github.com/shower/ribbon", + "repository": { + "type": "git", + "url": "git://github.com/shower/ribbon.git" + }, + "bugs": { + "url": "http://github.com/shower/shower/issues" + }, + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/shower/shower/wiki/MIT-License" + } + ], + "keywords": [ + "shower", + "presentation", + "ribbon", + "theme" + ], + "devDependencies": { + "grunt": "^0.4.5", + "grunt-autoprefixer": "^0.7.5", + "grunt-bump": "0.0.14", + "grunt-contrib-watch": "^0.6.1", + "grunt-csso": "^0.6.2", + "grunt-sass": "^0.13.1", + "load-grunt-tasks": "^0.4.0" + }, + "gitHead": "d59af0239f0f61990f36f37f321407dde2b2a3a8", + "_id": "shower-ribbon@1.0.11", + "scripts": {}, + "_shasum": "401d8da86c351c8c3a643c16d9cce3716127635e", + "_from": "shower-ribbon@>=1.0.11 <2.0.0", + "_npmVersion": "1.4.27", + "_npmUser": { + "name": "pepelsbey", + "email": "pepelsbey@gmail.com" + }, + "maintainers": [ + { + "name": "pepelsbey", + "email": "pepelsbey@gmail.com" + } + ], + "dist": { + "shasum": "401d8da86c351c8c3a643c16d9cce3716127635e", + "tarball": "http://registry.npmjs.org/shower-ribbon/-/shower-ribbon-1.0.11.tgz" + }, + "directories": {}, + "_resolved": "https://registry.npmjs.org/shower-ribbon/-/shower-ribbon-1.0.11.tgz", + "readme": "ERROR: No README data found!" +} diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/exact.png b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/exact.png new file mode 100644 index 0000000..39b2d00 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/exact.png differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/square.png b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/square.png new file mode 100644 index 0000000..ba69f5d Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/square.png differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/tall.png b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/tall.png new file mode 100644 index 0000000..9725c42 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/tall.png differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/wide.png b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/wide.png new file mode 100644 index 0000000..d0d5ee3 Binary files /dev/null and b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/pictures/wide.png differ diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/styles/screen.css b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/styles/screen.css new file mode 100644 index 0000000..b4ce269 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/node_modules/shower-ribbon/styles/screen.css @@ -0,0 +1,7 @@ +/** + * Ribbon theme for Shower HTML presentation engine + * shower-ribbon v1.0.10, https://github.com/shower/ribbon + * Copyright © 2010–2014 Vadim Makeev, http://pepelsbey.net + * Licensed under MIT license: github.com/shower/shower/wiki/MIT-License + */ +@font-face{font-family:'PT Sans';src:url(../fonts/PTSans.woff) format('woff')}@font-face{font-weight:700;font-family:'PT Sans';src:url(../fonts/PTSans.Bold.woff) format('woff')}@font-face{font-style:italic;font-family:'PT Sans';src:url(../fonts/PTSans.Italic.woff) format('woff')}@font-face{font-style:italic;font-weight:700;font-family:'PT Sans';src:url(../fonts/PTSans.Bold.Italic.woff) format('woff')}@font-face{font-family:'PT Sans Narrow';font-weight:700;src:url(../fonts/PTSans.Narrow.Bold.woff) format('woff')}@font-face{font-family:'PT Mono';src:url(../fonts/PTMono.woff) format('woff')}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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}body{counter-reset:slide;font:25px/2 'PT Sans',sans-serif}@media print{body{text-rendering:geometricPrecision}}a{color:#4B86C2;background:-webkit-linear-gradient(bottom,currentColor,currentColor .09em,transparent .09em,transparent)repeat-x;background:linear-gradient(to top,currentColor,currentColor .09em,transparent .09em,transparent)repeat-x;text-decoration:none}.caption{display:none;margin:0 0 50px;color:#3C3D40;text-shadow:0 1px 1px #8D8E90}.caption h1{font:700 50px/1 'PT Sans Narrow',sans-serif}.caption a{text-shadow:0 -1px 1px #1F3F60;background:0 0}.caption a:hover{color:#5e93c8}.badge{position:absolute;top:0;right:0;display:none;overflow:hidden;visibility:hidden;width:11em;height:11em;line-height:2.5;font-size:15px}.badge a{position:absolute;bottom:50%;right:-50%;left:-50%;visibility:visible;background:#4B86C2;box-shadow:0 0 1em rgba(0,0,0,.3);color:#FFF;text-decoration:none;text-align:center;-webkit-transform-origin:50% 100%;-ms-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transform:rotate(45deg)translateY(-1em);-ms-transform:rotate(45deg)translateY(-1em);transform:rotate(45deg)translateY(-1em)}.badge a:hover{background:#568ec6}.live-region{display:none}.slide{position:relative;width:1024px;height:640px;background:#FFF;color:#000;-webkit-print-color-adjust:exact;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none}@media print{.slide{page-break-before:always}}.slide:after{position:absolute;top:0;right:119px;padding:20px 0 0;width:50px;height:80px;background:url(../images/ribbon.svg) no-repeat;color:#FFF;counter-increment:slide;content:counter(slide);text-align:center;font-size:20px}.slide>div{position:absolute;top:0;left:0;overflow:hidden;padding:105px 120px 0;width:784px;height:535px}.slide h2{margin:0 0 37px;color:#666;font:700 50px/1 'PT Sans Narrow',sans-serif}.slide p{margin:0 0 50px}.slide p.note{color:#999}.slide b,.slide strong{font-weight:700}.slide i,.slide em{font-style:italic}.slide code,.slide kbd,.slide mark,.slide samp{padding:3px 8px;border-radius:8px;color:#000}.slide kbd,.slide code,.slide samp{background:rgba(0,0,0,.07);color:#000;line-height:1;font-family:'PT Mono',monospace}.slide mark{background:#FAFAA2}.slide sub,.slide sup{position:relative;line-height:0;font-size:75%}.slide sub{bottom:-.25em}.slide sup{top:-.5em}.slide blockquote{font-style:italic}.slide blockquote:before{position:absolute;margin:-16px 0 0 -80px;color:#CCC;font:200px/1 'PT Sans',sans-serif;content:'\201C'}.slide blockquote+figcaption{margin:-50px 0 50px;font-style:italic;font-weight:700}.slide ol,.slide ul{margin:0 0 50px;counter-reset:list}.slide ol li,.slide ul li{text-indent:-2em}.slide ol li:before,.slide ul li:before{display:inline-block;width:2em;color:#BBB;text-align:right}.slide ol ol,.slide ol ul,.slide ul ol,.slide ul ul{margin:0 0 0 2em}.slide ul>li:before{content:'\2022\00A0\00A0'}.slide ul>li:lang(ru):before{content:'\2014\00A0\00A0'}.slide ol>li:before{counter-increment:list;content:counter(list)'.\00A0'}.slide pre{margin:0 0 49px;padding:1px 0 0;counter-reset:code;white-space:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.slide pre code{display:block;padding:0;background:0 0;white-space:pre;line-height:2}.slide pre code:before{position:absolute;margin-left:-50px;color:#BBB;counter-increment:code;content:counter(code,decimal-leading-zero)'.'}.slide pre code:only-child:before{content:''}.slide pre mark.important{background:#C00;color:#FFF}.slide pre mark.comment{padding:0;background:0 0;color:#999}.slide table{margin:0 0 50px;width:100%;border-collapse:collapse;border-spacing:0}.slide table th,.slide table td{background:-webkit-linear-gradient(bottom,#BBB,#BBB .055em,transparent .055em,transparent)repeat-x;background:linear-gradient(to top,#BBB,#BBB .055em,transparent .055em,transparent)repeat-x}.slide table th{text-align:left;font-weight:700}.slide table.striped tr:nth-child(even){background:#EEE}.slide.cover,.slide.shout{z-index:1}.slide.cover:after,.slide.shout:after{visibility:hidden}.slide.cover{background:#000}.slide.cover img,.slide.cover svg,.slide.cover video,.slide.cover object,.slide.cover canvas,.slide.cover iframe{position:absolute;top:0;left:0;z-index:-1}.slide.cover.w img,.slide.cover.w svg,.slide.cover.w video,.slide.cover.w object,.slide.cover.w canvas,.slide.cover.w iframe{top:50%;width:100%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.slide.cover.h img,.slide.cover.h svg,.slide.cover.h video,.slide.cover.h object,.slide.cover.h canvas,.slide.cover.h iframe{left:50%;height:100%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.slide.cover.w.h img,.slide.cover.w.h svg,.slide.cover.w.h video,.slide.cover.w.h object,.slide.cover.w.h canvas,.slide.cover.w.h iframe{top:0;left:0;-webkit-transform:none;-ms-transform:none;transform:none}.slide.shout h2{position:absolute;top:50%;left:0;width:100%;text-align:center;line-height:1;font-size:150px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.slide.shout h2 a{background:-webkit-linear-gradient(bottom,currentColor,currentColor .11em,transparent .11em,transparent)repeat-x;background:linear-gradient(to top,currentColor,currentColor .11em,transparent .11em,transparent)repeat-x}.slide .place{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.slide .place.t.l,.slide .place.t.r,.slide .place.b.r,.slide .place.b.l{-webkit-transform:none;-ms-transform:none;transform:none}.slide .place.t,.slide .place.b{-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}.slide .place.l,.slide .place.r{-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%)}.slide .place.t,.slide .place.t.l,.slide .place.t.r{top:0}.slide .place.r{right:0;left:auto}.slide .place.b,.slide .place.b.r,.slide .place.b.l{top:auto;bottom:0}.slide .place.l{left:0}.slide footer{position:absolute;left:0;right:0;bottom:-640px;z-index:1;display:none;padding:20px 120px 4px;background:#FAFAA2;box-shadow:0 0 0 2px #f0efac inset;-webkit-transition:bottom .3s;transition:bottom .3s}.slide footer p{margin:0 0 16px}.slide footer mark{background:rgba(255,255,255,.7)}.slide:hover footer{bottom:0}@media screen{.list{position:absolute;clip:rect(0,auto,auto,0);padding:80px 0 40px 100px;background:#585A5E url(../images/linen.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.list{background-image:url(../images/linen@2x.png);background-size:256px}}.list .caption,.list .badge{display:block}.list .slide{float:left;margin:0 -412px -220px 0;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}@media (max-width:1324px){.list .slide{margin:0 -688px -400px 0;-webkit-transform:scale(.25);-ms-transform:scale(.25);transform:scale(.25)}}.list .slide:before{position:absolute;top:0;left:0;z-index:-1;width:512px;height:320px;box-shadow:0 0 30px rgba(0,0,0,.005),0 20px 50px rgba(42,43,45,.6);border-radius:2px;content:'';-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(2);-ms-transform:scale(2);transform:scale(2)}@media (max-width:1324px){.list .slide:before{width:256px;height:160px;-webkit-transform:scale(4);-ms-transform:scale(4);transform:scale(4)}}.list .slide:after{top:auto;right:auto;bottom:-80px;left:120px;padding:0;width:auto;height:auto;background:0 0;color:#3C3D40;text-shadow:0 1px 1px #8D8E90;font-weight:700;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(2);-ms-transform:scale(2);transform:scale(2)}@media (max-width:1324px){.list .slide:after{bottom:-104px;-webkit-transform:scale(4);-ms-transform:scale(4);transform:scale(4)}}.list .slide:hover:before{box-shadow:0 0 0 10px rgba(42,43,45,.3),0 20px 50px rgba(42,43,45,.6)}.list .slide:target:before{box-shadow:0 0 0 1px #376da3,0 0 0 10px #4B86C2,0 20px 50px rgba(42,43,45,.6)}@media (max-width:1324px){.list .slide:target:before{box-shadow:0 0 0 1px #376da3,0 0 0 10px #4B86C2,0 20px 50px rgba(42,43,45,.6)}}.list .slide:target:after{text-shadow:0 1px 1px rgba(42,43,45,.6);color:#4B86C2}.list .slide>div:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;content:''}.list .slide.cover:after,.list .slide.shout:after{visibility:visible}.list .slide footer{display:block}.full{position:absolute;top:50%;left:50%;overflow:hidden;margin:-320px 0 0 -512px;width:1024px;height:640px;background:#000}.full.debug:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;background:url(../images/grid-16x10.svg) no-repeat;content:''}.full .live-region{position:absolute;clip:rect(0 0 0 0);overflow:hidden;margin:-1px;padding:0;width:1px;height:1px;border:none;display:block}.full .slide{position:absolute;top:0;left:0;margin-left:150%}.full .slide .next{visibility:hidden}.full .slide .next.active{visibility:visible}.full .slide:target{margin:0}.full .slide.shout.grow h2,.full .slide.shout.shrink h2{opacity:0;-webkit-transition:all .4s ease-out;transition:all .4s ease-out}.full .slide.shout.grow:target h2,.full .slide.shout.shrink:target h2{opacity:1;-webkit-transform:scale(1)translateY(-50%);-ms-transform:scale(1)translateY(-50%);transform:scale(1)translateY(-50%)}.full .slide.shout.grow h2{-webkit-transform:scale(.1)translateY(-50%);-ms-transform:scale(.1)translateY(-50%);transform:scale(.1)translateY(-50%)}.full .slide.shout.shrink h2{-webkit-transform:scale(10)translateY(-50%);-ms-transform:scale(10)translateY(-50%);transform:scale(10)translateY(-50%)}.full .progress{position:absolute;right:0;bottom:0;left:0;overflow:hidden;height:10px;z-index:1}.full .progress div{position:absolute;left:-20px;top:-10px;width:0;height:0;border:10px solid transparent;border-bottom-color:#4B86C2;-webkit-transition:width .2s linear;transition:width .2s linear}.full .progress div[style*='100%']{left:0}}@page{margin:0;size:1024px 640px} \ No newline at end of file diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/package.json b/accelerator/docs/node_modules/pub-theme-shower-ribbon/package.json new file mode 100644 index 0000000..818b3da --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/package.json @@ -0,0 +1,45 @@ +{ + "name": "pub-theme-shower-ribbon", + "version": "1.5.3", + "description": "shower presentation theme for pub-server", + "main": "pub-config.js", + "dependencies": { + "shower-core": "^1.0.7", + "shower-ribbon": "^1.0.11" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/jldec/pub-theme-shower-ribbon.git" + }, + "author": { + "name": "jurgen leschner" + }, + "license": "MIT", + "gitHead": "83e33dd76b4b141fd72dcf92492b86148fdccd69", + "bugs": { + "url": "https://github.com/jldec/pub-theme-shower-ribbon/issues" + }, + "homepage": "https://github.com/jldec/pub-theme-shower-ribbon#readme", + "_id": "pub-theme-shower-ribbon@1.5.3", + "scripts": {}, + "_shasum": "46dc846998e4d7e20ce6e8d23abb341c5927a578", + "_from": "pub-theme-shower-ribbon@>=1.5.3 <2.0.0", + "_npmVersion": "2.12.1", + "_nodeVersion": "2.3.4", + "_npmUser": { + "name": "jldec", + "email": "jldec@ciaosoft.com" + }, + "maintainers": [ + { + "name": "jldec", + "email": "jldec@ciaosoft.com" + } + ], + "dist": { + "shasum": "46dc846998e4d7e20ce6e8d23abb341c5927a578", + "tarball": "http://registry.npmjs.org/pub-theme-shower-ribbon/-/pub-theme-shower-ribbon-1.5.3.tgz" + }, + "directories": {}, + "_resolved": "https://registry.npmjs.org/pub-theme-shower-ribbon/-/pub-theme-shower-ribbon-1.5.3.tgz" +} diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/plugins/generator-plugin.js b/accelerator/docs/node_modules/pub-theme-shower-ribbon/plugins/generator-plugin.js new file mode 100644 index 0000000..4102eb7 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/plugins/generator-plugin.js @@ -0,0 +1,112 @@ +module.exports = function(generator) { + + var u = generator.util; + var opts = generator.opts; + var sources = opts.sources; + var hb = generator.handlebars; + + // apply page-mutations to pages from non-package sources + generator.on('pages-ready', function() { + + u.each(sources, function(source) { + if (source._pkg) return; + + u.each(generator.sourcePage$[source.name], function(page) { + + // if no text below markdown heading use 'shout' class + u.each(page._fragments, function(fragment) { + if (fragment['background-image']) { + fragment.class = (fragment.class || '') + ' background-image'; + } + if (0 === u.trim(fragment._txt.replace(/^.*$/m,'')).length) { + fragment.class = (fragment.class || '') + ' shout'; + } + }); + + // if first slide contains an image, use 'cover' class + var first = page._fragments && page._fragments[0]; + if (first && /^\!\[/m.test(first._txt)) { + page._fragments[0].class = (page._fragments[0].class || '') + ' cover'; + } + + }); + }); + }); + + hb.registerHelper('background-image', function(frame) { + var bgImg = this['background-image']; + if (bgImg) { + return ''; + } + }); + + function relPath(frame) { + return hb.renderOpts(frame).relPath || ''; + } + + // prevent single-page navigation in editor - main-layout is page-sensitive + generator.on('update-view', function(path, query, hash, nav) { + if (nav) { window.location = path; } + }); + + hb.registerHelper('menu', function(frame) { + return this.menu || '='; + }); + + function lang(page) { + return page.lang || u.slugify(page._href.slice(1)) || 'en'; + } + + function rtl(page) { + var code = lang(page).replace(/-.*/,''); + var rtlcodes = ['ar','arc','dv','ha','he','khw','ks','ku','ps','ur','yi']; + return page.rtl || u.contains(rtlcodes, code); + } + + hb.registerHelper('lang', function(frame) { + return 'lang="' + lang(this) + '"'; + }); + + + hb.registerHelper('rtl', function(frame) { + return 'dir="' + (rtl(this) ? 'rtl' : 'auto') + '"'; + }); + + hb.registerHelper('body-class', function(frame) { + return 'class="' + + (this['body-class'] || 'list') + + ' ' + lang(this) + '"'; + }); + + function githubText(page) { + switch (lang(page)) { + case 'fr': return 'Forkez-moi sur GitHub'; + case 'he': return 'צור פיצול בGitHub'; + case 'id': return 'Fork saya di Github'; + case 'ko': return 'Github에서 포크하기'; + case 'pt-br': return 'Faça um fork no Github'; + case 'pt-pt': return 'Faz fork no Github'; + case 'tr': return 'Github üstünde Fork edin'; + case 'uk': return 'скопіювати на Github'; + default: return 'Fork me on Github'; + } + } + + hb.registerHelper('github', function(frame) { + if (opts.github) { + return u.format( + '

%s

', + opts.github, + this['github-text'] || githubText(this) + ); + } + }); + + hb.registerHelper('photoCredit', function(frame) { + if (this['photo-credit'] || opts.photoCredit) { + return ''; + } + }); + + +} diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/pub-config.js b/accelerator/docs/node_modules/pub-theme-shower-ribbon/pub-config.js new file mode 100644 index 0000000..6ad1836 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/pub-config.js @@ -0,0 +1,21 @@ +// pub-theme-shower-ribbon pub-config + +module.exports = { + + 'pub-pkg': 'pub-theme-shower-ribbon', + + sources: './templates', + + generatorPlugins: './plugins/generator-plugin.js', + + staticPaths: [ + { path:'./node_modules/shower-core/shower.min.js', route:'/shower', inject:true }, + { path:'./node_modules/shower-ribbon/styles/screen.css', route:'/shower/ribbon/styles', inject:true }, + { path:'./css/pub-theme-shower-ribbon.css', route:'/css', inject:true }, + { path:'./node_modules/shower-ribbon/images', route:'/shower/ribbon/images' }, + { path:'./node_modules/shower-ribbon/fonts', route:'/shower/ribbon/fonts' }, + { path:'./node_modules/shower-core/License.md', route:'/shower' }, + { path:'./node_modules/shower-ribbon/License.md', route:'/shower/ribbon' } + ], + +}; diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/default.hbs b/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/default.hbs new file mode 100644 index 0000000..5251d48 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/default.hbs @@ -0,0 +1,13 @@ +
+{{{html}}} +
+ +{{#each _fragments}} +
+{{{html}}} +{{{background-image}}} +
+ +{{/each}} + +
diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/main-layout.hbs b/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/main-layout.hbs new file mode 100644 index 0000000..00f98ed --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/main-layout.hbs @@ -0,0 +1,30 @@ + + + + + + + +{{{metaSeo}}} + + + +{{title}} +{{{injectCss}}} + + + +{{{partial 'nav'}}} + +{{{renderPage}}} + +{{{github}}} + +{{{injectJs}}} + + +{{{photoCredit}}} +{{{copyrightComment}}} + + + diff --git a/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/nav.hbs b/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/nav.hbs new file mode 100644 index 0000000..b938379 --- /dev/null +++ b/accelerator/docs/node_modules/pub-theme-shower-ribbon/templates/nav.hbs @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/accelerator/docs/outline b/accelerator/docs/outline new file mode 100644 index 0000000..e69de29 diff --git a/accelerator/docs/outline.txt b/accelerator/docs/outline.txt new file mode 100644 index 0000000..e69de29 diff --git a/accelerator/docs/package.json b/accelerator/docs/package.json new file mode 100644 index 0000000..55db6f8 --- /dev/null +++ b/accelerator/docs/package.json @@ -0,0 +1,21 @@ +{ + "name": "documentation", + "version": "1.0.0", + "description": "Epiphany presentations", + "main": "pub-config.js", + "dependencies": { + "pub-theme-shower-ribbon": "^1.6.0" + }, + "devDependencies": {}, + "repository": { + "type": "git", + "url": "git://github.com/adapteva/documentation" + }, + "scripts": { + "develop": "pub", + "generate": "pub -O", + "static": "pub -S out" + }, + "author": "jurgen leschner", + "license": "MIT" +} diff --git a/accelerator/docs/pub-config.js b/accelerator/docs/pub-config.js new file mode 100644 index 0000000..cb536cf --- /dev/null +++ b/accelerator/docs/pub-config.js @@ -0,0 +1,35 @@ +var opts = module.exports = { + + pkgs: ['pub-theme-shower-ribbon', 'pub-pkg-highlight'], + + sources: [ + { + path:'.', + glob:'**/*.md', + watch: {usePolling:true}, + writable:true + } + ], + + outputs: [ + { + path:'./out', + relPaths: true, + } + ], + + //scans everything beneath path + staticPaths: [ '../static' , './static' , '.nojekyll' , '../.gitignore'], + + // path to extra stylesheet + injectCss: [ '/css/extra.css' ], + + // don't forget photo credit + //photoCredit: 'Cover Photo by Jurgen Leschner, github.com/jldec', + + // copyright comment + //copyright: 'Copyright © 2015 Hard Working Person', + + // ask search engines not to crawl this site + //noRobots: true +} diff --git a/accelerator/docs/static/css/extra.css b/accelerator/docs/static/css/extra.css new file mode 100644 index 0000000..401fc70 --- /dev/null +++ b/accelerator/docs/static/css/extra.css @@ -0,0 +1,53 @@ +/*header from top*/ +/* less space at the top */ +.slide>div { + padding-top: 60px; + height: 580px; +} + +/* more room next to images aligned right */ +.slide img[align=right] { + margin-right: -80px; +} + +/* force 2nd image aligned right to fall below 1st one +increase this value if the images are smaller */ +.slide img[align=right] ~ img[align=right] { + margin-left: 1em; +} + + +/*transparency of text bar*/ +.slide.background-image > div > div { + background-color: rgba(0, 0, 0, 0.6); +} + +/*font size*/ +.slide { + font-size: 1.0em; +} + +/*cover title*/ +.slide.cover h2 { + margin: -20px 0 0 -70px; + color: #fff; + font-size: 70px; +} +/*cover paragraph (markdown-->html) +slide.cover from shower theme +p from jurgens generator +*/ +.slide.cover p { + color: #fff; + font-style: italic; + font-size: 40px; + margin-left: -70px; +} + +@media print { + #nav { display:none; } + .pub-button { display:none; } +} + +/*padding for images*/ +.slide img {margin-bottom:1em;} diff --git a/accelerator/docs/static/images/CREDITS b/accelerator/docs/static/images/CREDITS new file mode 100644 index 0000000..7a384b6 --- /dev/null +++ b/accelerator/docs/static/images/CREDITS @@ -0,0 +1,18 @@ +All images created by Adapteva unless otherwise specified: +fcomms2.jpg : www.analog.com +satnog.jpg : www.satnogs.org +vivado.jpg : www.xilinx.com + +## ADI (www.analog.com) +* fcomms2.jpg +* ad9361.png +* ad9361_rx.png +* ad9361_tx.png + +## SATNOGS (www.satnogs.org) +* satnogs.jpg + +## XILINX (www.xilinx.com) +* vivado.png +* sdsoc.jpg + diff --git a/accelerator/docs/static/images/epiphanyIV.jpg b/accelerator/docs/static/images/epiphanyIV.jpg new file mode 100644 index 0000000..0cc5ce5 Binary files /dev/null and b/accelerator/docs/static/images/epiphanyIV.jpg differ diff --git a/accelerator/docs/static/images/matrix_meme.jpg b/accelerator/docs/static/images/matrix_meme.jpg new file mode 100644 index 0000000..ddadd16 Binary files /dev/null and b/accelerator/docs/static/images/matrix_meme.jpg differ diff --git a/accelerator/docs/static/images/parallella_back.jpg b/accelerator/docs/static/images/parallella_back.jpg new file mode 100644 index 0000000..d3363dd Binary files /dev/null and b/accelerator/docs/static/images/parallella_back.jpg differ diff --git a/accelerator/docs/static/images/parallella_epiphany.png b/accelerator/docs/static/images/parallella_epiphany.png new file mode 100644 index 0000000..6d1e77f Binary files /dev/null and b/accelerator/docs/static/images/parallella_epiphany.png differ diff --git a/accelerator/docs/static/images/parallella_front.jpg b/accelerator/docs/static/images/parallella_front.jpg new file mode 100644 index 0000000..a3f7742 Binary files /dev/null and b/accelerator/docs/static/images/parallella_front.jpg differ diff --git a/accelerator/docs/static/images/parallella_front_back.png b/accelerator/docs/static/images/parallella_front_back.png new file mode 100644 index 0000000..d8060eb Binary files /dev/null and b/accelerator/docs/static/images/parallella_front_back.png differ diff --git a/accelerator/docs/static/images/parallella_front_new.jpg b/accelerator/docs/static/images/parallella_front_new.jpg new file mode 100644 index 0000000..ec4bbe6 Binary files /dev/null and b/accelerator/docs/static/images/parallella_front_new.jpg differ diff --git a/accelerator/docs/static/images/parallella_front_slant.png b/accelerator/docs/static/images/parallella_front_slant.png new file mode 100644 index 0000000..bba2ebc Binary files /dev/null and b/accelerator/docs/static/images/parallella_front_slant.png differ diff --git a/accelerator/docs/static/images/parallella_slant.jpg b/accelerator/docs/static/images/parallella_slant.jpg new file mode 100644 index 0000000..b5e745b Binary files /dev/null and b/accelerator/docs/static/images/parallella_slant.jpg differ diff --git a/accelerator/docs/static/images/parallella_stack.jpg b/accelerator/docs/static/images/parallella_stack.jpg new file mode 100644 index 0000000..7590820 Binary files /dev/null and b/accelerator/docs/static/images/parallella_stack.jpg differ diff --git a/accelerator/docs/static/images/parallella_zynq.png b/accelerator/docs/static/images/parallella_zynq.png new file mode 100644 index 0000000..9899f2f Binary files /dev/null and b/accelerator/docs/static/images/parallella_zynq.png differ diff --git a/accelerator/docs/static/images/zynq.jpg b/accelerator/docs/static/images/zynq.jpg new file mode 100644 index 0000000..c06c5e4 Binary files /dev/null and b/accelerator/docs/static/images/zynq.jpg differ