Skip to content
Snippets Groups Projects
Commit e3bcc224 authored by balameb's avatar balameb
Browse files

First slide edition

parents
No related branches found
No related tags found
No related merge requests found
Showing
with 473 additions and 0 deletions
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
@font-face {
font-family: 'Source Sans Pro';
src: url('source-sans-pro-regular.eot');
src: url('source-sans-pro-regular.eot?#iefix') format('embedded-opentype'),
url('source-sans-pro-regular.woff') format('woff'),
url('source-sans-pro-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('source-sans-pro-italic.eot');
src: url('source-sans-pro-italic.eot?#iefix') format('embedded-opentype'),
url('source-sans-pro-italic.woff') format('woff'),
url('source-sans-pro-italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('source-sans-pro-semibold.eot');
src: url('source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'),
url('source-sans-pro-semibold.woff') format('woff'),
url('source-sans-pro-semibold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('source-sans-pro-semibolditalic.eot');
src: url('source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'),
url('source-sans-pro-semibolditalic.woff') format('woff'),
url('source-sans-pro-semibolditalic.ttf') format('truetype');
font-weight: 600;
font-style: italic;
}
\ No newline at end of file
/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/
if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(j){var a="classList",f="prototype",m=(j.HTMLElement||j.Element)[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;p<o;p++){if(p in this&&this[p]===q){return p}}return -1},n=function(o,p){this.name=o;this.code=DOMException[o];this.message=p},g=function(p,o){if(o===""){throw new n("SYNTAX_ERR","An invalid or illegal string was specified")}if(/\s/.test(o)){throw new n("INVALID_CHARACTER_ERR","String contains an invalid character")}return c.call(p,o)},d=function(s){var r=k.call(s.className),q=r?r.split(/\s+/):[],p=0,o=q.length;for(;p<o;p++){this.push(q[p])}this._updateClassName=function(){s.className=this.toString()}},e=d[f]=[],i=function(){return new d(this)};n[f]=Error[f];e.item=function(o){return this[o]||null};e.contains=function(o){o+="";return g(this,o)!==-1};e.add=function(o){o+="";if(g(this,o)===-1){this.push(o);this._updateClassName()}};e.remove=function(p){p+="";var o=g(this,p);if(o!==-1){this.splice(o,1);this._updateClassName()}};e.toggle=function(o){o+="";if(g(this,o)===-1){this.add(o)}else{this.remove(o)}};e.toString=function(){return this.join(" ")};if(b.defineProperty){var l={get:i,enumerable:true,configurable:true};try{b.defineProperty(m,a,l)}catch(h){if(h.number===-2146823252){l.enumerable=false;b.defineProperty(m,a,l)}}}else{if(b[f].__defineGetter__){m.__defineGetter__(a,i)}}}(self))};
\ No newline at end of file
/**
Head JS The only script in your <HEAD>
Copyright Tero Piirainen (tipiirai)
License MIT / http://bit.ly/mit-license
Version 0.96
http://headjs.com
*/(function(a){function z(){d||(d=!0,s(e,function(a){p(a)}))}function y(c,d){var e=a.createElement("script");e.type="text/"+(c.type||"javascript"),e.src=c.src||c,e.async=!1,e.onreadystatechange=e.onload=function(){var a=e.readyState;!d.done&&(!a||/loaded|complete/.test(a))&&(d.done=!0,d())},(a.body||b).appendChild(e)}function x(a,b){if(a.state==o)return b&&b();if(a.state==n)return k.ready(a.name,b);if(a.state==m)return a.onpreload.push(function(){x(a,b)});a.state=n,y(a.url,function(){a.state=o,b&&b(),s(g[a.name],function(a){p(a)}),u()&&d&&s(g.ALL,function(a){p(a)})})}function w(a,b){a.state===undefined&&(a.state=m,a.onpreload=[],y({src:a.url,type:"cache"},function(){v(a)}))}function v(a){a.state=l,s(a.onpreload,function(a){a.call()})}function u(a){a=a||h;var b;for(var c in a){if(a.hasOwnProperty(c)&&a[c].state!=o)return!1;b=!0}return b}function t(a){return Object.prototype.toString.call(a)=="[object Function]"}function s(a,b){if(!!a){typeof a=="object"&&(a=[].slice.call(a));for(var c=0;c<a.length;c++)b.call(a,a[c],c)}}function r(a){var b;if(typeof a=="object")for(var c in a)a[c]&&(b={name:c,url:a[c]});else b={name:q(a),url:a};var d=h[b.name];if(d&&d.url===b.url)return d;h[b.name]=b;return b}function q(a){var b=a.split("/"),c=b[b.length-1],d=c.indexOf("?");return d!=-1?c.substring(0,d):c}function p(a){a._done||(a(),a._done=1)}var b=a.documentElement,c,d,e=[],f=[],g={},h={},i=a.createElement("script").async===!0||"MozAppearance"in a.documentElement.style||window.opera,j=window.head_conf&&head_conf.head||"head",k=window[j]=window[j]||function(){k.ready.apply(null,arguments)},l=1,m=2,n=3,o=4;i?k.js=function(){var a=arguments,b=a[a.length-1],c={};t(b)||(b=null),s(a,function(d,e){d!=b&&(d=r(d),c[d.name]=d,x(d,b&&e==a.length-2?function(){u(c)&&p(b)}:null))});return k}:k.js=function(){var a=arguments,b=[].slice.call(a,1),d=b[0];if(!c){f.push(function(){k.js.apply(null,a)});return k}d?(s(b,function(a){t(a)||w(r(a))}),x(r(a[0]),t(d)?d:function(){k.js.apply(null,b)})):x(r(a[0]));return k},k.ready=function(b,c){if(b==a){d?p(c):e.push(c);return k}t(b)&&(c=b,b="ALL");if(typeof b!="string"||!t(c))return k;var f=h[b];if(f&&f.state==o||b=="ALL"&&u()&&d){p(c);return k}var i=g[b];i?i.push(c):i=g[b]=[c];return k},k.ready(a,function(){u()&&s(g.ALL,function(a){p(a)}),k.feature&&k.feature("domloaded",!0)});if(window.addEventListener)a.addEventListener("DOMContentLoaded",z,!1),window.addEventListener("load",z,!1);else if(window.attachEvent){a.attachEvent("onreadystatechange",function(){a.readyState==="complete"&&z()});var A=1;try{A=window.frameElement}catch(B){}!A&&b.doScroll&&function(){try{b.doScroll("left"),z()}catch(a){setTimeout(arguments.callee,1);return}}(),window.attachEvent("onload",z)}!a.readyState&&a.addEventListener&&(a.readyState="loading",a.addEventListener("DOMContentLoaded",handler=function(){a.removeEventListener("DOMContentLoaded",handler,!1),a.readyState="complete"},!1)),setTimeout(function(){c=!0,s(f,function(a){a()})},300)})(document)
\ No newline at end of file
document.createElement('header');
document.createElement('nav');
document.createElement('section');
document.createElement('article');
document.createElement('aside');
document.createElement('footer');
document.createElement('hgroup');
\ No newline at end of file
0 info it worked if it ends with ok
1 verbose cli [ '/Users/kali/.nvm/versions/node/v5.0.0/bin/node',
1 verbose cli '/Users/kali/.nvm/versions/node/v5.0.0/bin/npm',
1 verbose cli 'rebuild',
1 verbose cli 'node-sass' ]
2 info using npm@3.3.6
3 info using node@v5.0.0
4 info readInstalled object
5 verbose rebuild path, id [ '/Users/kali/Desktop/training/eh-session/node_modules/node-sass',
5 verbose rebuild 'node-sass@3.3.3' ]
6 verbose rebuild path, id [ '/Users/kali/Desktop/training/eh-session/node_modules/grunt-sass/node_modules/node-sass',
6 verbose rebuild 'node-sass@3.4.2' ]
7 silly rebuild set [ '/Users/kali/Desktop/training/eh-session/node_modules/node-sass',
7 silly rebuild set '/Users/kali/Desktop/training/eh-session/node_modules/grunt-sass/node_modules/node-sass' ]
8 info build /Users/kali/Desktop/training/eh-session/node_modules/node-sass
9 info lifecycle node-sass@3.3.3~preinstall: node-sass@3.3.3
10 silly lifecycle node-sass@3.3.3~preinstall: no script for preinstall, continuing
11 info linkStuff node-sass@3.3.3
12 silly linkStuff node-sass@3.3.3 has /Users/kali/Desktop/training/eh-session/node_modules as its parent node_modules
13 verbose linkBins node-sass@3.3.3
14 verbose link bins [ { 'node-sass': 'bin/node-sass' },
14 verbose link bins '/Users/kali/Desktop/training/eh-session/node_modules/.bin',
14 verbose link bins false ]
15 verbose linkMans node-sass@3.3.3
16 verbose rebuildBundles node-sass@3.3.3
17 verbose rebuildBundles [ '.bin',
17 verbose rebuildBundles 'async-foreach',
17 verbose rebuildBundles 'chalk',
17 verbose rebuildBundles 'cross-spawn',
17 verbose rebuildBundles 'gaze',
17 verbose rebuildBundles 'get-stdin',
17 verbose rebuildBundles 'glob',
17 verbose rebuildBundles 'meow',
17 verbose rebuildBundles 'mkdirp',
17 verbose rebuildBundles 'nan',
17 verbose rebuildBundles 'node-gyp',
17 verbose rebuildBundles 'npmconf',
17 verbose rebuildBundles 'request',
17 verbose rebuildBundles 'sass-graph' ]
18 info lifecycle node-sass@3.3.3~install: node-sass@3.3.3
19 verbose lifecycle node-sass@3.3.3~install: unsafe-perm in lifecycle true
20 verbose lifecycle node-sass@3.3.3~install: PATH: /Users/kali/.nvm/versions/node/v5.0.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/kali/Desktop/training/eh-session/node_modules/node-sass/node_modules/.bin:/Users/kali/Desktop/training/eh-session/node_modules/.bin:/Users/kali/.rvm/gems/ruby-2.2.4/bin:/Users/kali/.rvm/gems/ruby-2.2.4@global/bin:/Users/kali/.rvm/rubies/ruby-2.2.4/bin:/Users/kali/.nvm/versions/node/v5.0.0/bin://anaconda/bin:/usr/local/sbin:/usr/local/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Applications/Postgres.app/Contents/Versions/9.3/bin:/Users/kali/.rvm/bin
21 verbose lifecycle node-sass@3.3.3~install: CWD: /Users/kali/Desktop/training/eh-session/node_modules/node-sass
22 silly lifecycle node-sass@3.3.3~install: Args: [ '-c', 'node scripts/install.js' ]
23 silly lifecycle node-sass@3.3.3~install: Returned: code: 0 signal: null
24 info lifecycle node-sass@3.3.3~postinstall: node-sass@3.3.3
25 verbose lifecycle node-sass@3.3.3~postinstall: unsafe-perm in lifecycle true
26 verbose lifecycle node-sass@3.3.3~postinstall: PATH: /Users/kali/.nvm/versions/node/v5.0.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/kali/Desktop/training/eh-session/node_modules/node-sass/node_modules/.bin:/Users/kali/Desktop/training/eh-session/node_modules/.bin:/Users/kali/.rvm/gems/ruby-2.2.4/bin:/Users/kali/.rvm/gems/ruby-2.2.4@global/bin:/Users/kali/.rvm/rubies/ruby-2.2.4/bin:/Users/kali/.nvm/versions/node/v5.0.0/bin://anaconda/bin:/usr/local/sbin:/usr/local/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Applications/Postgres.app/Contents/Versions/9.3/bin:/Users/kali/.rvm/bin
27 verbose lifecycle node-sass@3.3.3~postinstall: CWD: /Users/kali/Desktop/training/eh-session/node_modules/node-sass
28 silly lifecycle node-sass@3.3.3~postinstall: Args: [ '-c', 'node scripts/build.js' ]
29 silly lifecycle node-sass@3.3.3~postinstall: Returned: code: 1 signal: null
30 info lifecycle node-sass@3.3.3~postinstall: Failed to exec postinstall script
31 verbose stack Error: node-sass@3.3.3 postinstall: `node scripts/build.js`
31 verbose stack Exit status 1
31 verbose stack at EventEmitter.<anonymous> (/Users/kali/.nvm/versions/node/v5.0.0/lib/node_modules/npm/lib/utils/lifecycle.js:233:16)
31 verbose stack at emitTwo (events.js:87:13)
31 verbose stack at EventEmitter.emit (events.js:172:7)
31 verbose stack at ChildProcess.<anonymous> (/Users/kali/.nvm/versions/node/v5.0.0/lib/node_modules/npm/lib/utils/spawn.js:24:14)
31 verbose stack at emitTwo (events.js:87:13)
31 verbose stack at ChildProcess.emit (events.js:172:7)
31 verbose stack at maybeClose (internal/child_process.js:818:16)
31 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
32 verbose pkgid node-sass@3.3.3
33 verbose cwd /Users/kali/Desktop/training/eh-session
34 error Darwin 15.5.0
35 error argv "/Users/kali/.nvm/versions/node/v5.0.0/bin/node" "/Users/kali/.nvm/versions/node/v5.0.0/bin/npm" "rebuild" "node-sass"
36 error node v5.0.0
37 error npm v3.3.6
38 error code ELIFECYCLE
39 error node-sass@3.3.3 postinstall: `node scripts/build.js`
39 error Exit status 1
40 error Failed at the node-sass@3.3.3 postinstall script 'node scripts/build.js'.
40 error This is most likely a problem with the node-sass package,
40 error not with npm itself.
40 error Tell the author that this fails on your system:
40 error node scripts/build.js
40 error You can get their info via:
40 error npm owner ls node-sass
40 error There is likely additional logging output above.
41 verbose exit [ 1, true ]
{
"name": "reveal.js",
"version": "3.2.0",
"description": "The HTML Presentation Framework",
"homepage": "http://lab.hakim.se/reveal-js",
"subdomain": "revealjs",
"main": "js/reveal.js",
"scripts": {
"test": "grunt test",
"start": "grunt serve"
},
"author": {
"name": "Hakim El Hattab",
"email": "hakim.elhattab@gmail.com",
"web": "http://hakim.se"
},
"repository": {
"type": "git",
"url": "git://github.com/hakimel/reveal.js.git"
},
"engines": {
"node": "~4.1.1"
},
"dependencies": {
"express": "~4.13.3",
"grunt-cli": "^0.1.13",
"mustache": "~2.2.1",
"socket.io": "~1.3.7",
"underscore": "~1.8.3"
},
"devDependencies": {
"grunt-contrib-qunit": "~0.7.0",
"grunt-contrib-jshint": "~0.11.3",
"grunt-contrib-cssmin": "~0.14.0",
"grunt-contrib-uglify": "~0.9.2",
"grunt-contrib-watch": "~0.6.1",
"grunt-sass": "~1.1.0-beta",
"grunt-contrib-connect": "~0.11.2",
"grunt-autoprefixer": "~3.0.3",
"grunt-zip": "~0.17.1",
"grunt": "~0.4.5",
"node-sass": "~3.3.3"
},
"license": "MIT"
}
pdf.css 0 → 100644
/**
* This stylesheet is used to print reveal.js
* presentations to PDF.
*
* https://github.com/hakimel/reveal.js#pdf-export
*/
* {
-webkit-print-color-adjust: exact;
}
body {
margin: 0 auto !important;
border: 0;
padding: 0;
float: none !important;
overflow: visible;
}
html {
width: 100%;
height: 100%;
overflow: visible;
}
/* Remove any elements not needed in print. */
.nestedarrow,
.reveal .controls,
.reveal .progress,
.reveal .playback,
.reveal.overview,
.fork-reveal,
.share-reveal,
.state-background {
display: none !important;
}
h1, h2, h3, h4, h5, h6 {
text-shadow: 0 0 0 #000 !important;
}
.reveal pre code {
overflow: hidden !important;
font-family: Courier, 'Courier New', monospace !important;
}
ul, ol, div, p {
visibility: visible;
position: static;
width: auto;
height: auto;
display: block;
overflow: visible;
margin: auto;
}
.reveal {
width: auto !important;
height: auto !important;
overflow: hidden !important;
}
.reveal .slides {
position: static;
width: 100%;
height: auto;
left: auto;
top: auto;
margin: 0 !important;
padding: 0 !important;
overflow: visible;
display: block;
-webkit-perspective: none;
-moz-perspective: none;
-ms-perspective: none;
perspective: none;
-webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
-moz-perspective-origin: 50% 50%;
-ms-perspective-origin: 50% 50%;
perspective-origin: 50% 50%;
}
.reveal .slides section {
page-break-after: always !important;
visibility: visible !important;
position: relative !important;
display: block !important;
position: relative !important;
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
min-height: 1px;
opacity: 1 !important;
-webkit-transform-style: flat !important;
-moz-transform-style: flat !important;
-ms-transform-style: flat !important;
transform-style: flat !important;
-webkit-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
transform: none !important;
}
.reveal section.stack {
margin: 0 !important;
padding: 0 !important;
page-break-after: avoid !important;
height: auto !important;
min-height: auto !important;
}
.reveal img {
box-shadow: none;
}
.reveal .roll {
overflow: visible;
line-height: 1em;
}
/* Slide backgrounds are placed inside of their slide when exporting to PDF */
.reveal section .slide-background {
display: block !important;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: -1;
}
/* All elements should be above the slide-background */
.reveal section>* {
position: relative;
z-index: 1;
}
/* Display slide speaker notes when 'showNotes' is enabled */
.reveal .speaker-notes-pdf {
display: block;
width: 100%;
max-height: none;
left: auto;
top: auto;
z-index: 100;
}
/* Display slide numbers when 'slideNumber' is enabled */
.reveal .slide-number-pdf {
display: block;
position: absolute;
font-size: 14px;
}
Source diff could not be displayed: it is too large. Options to address this: view the blob.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>reveal.js - Markdown Demo</title>
<link rel="stylesheet" href="../../css/reveal.css">
<link rel="stylesheet" href="../../css/theme/white.css" id="theme">
<link rel="stylesheet" href="../../lib/css/zenburn.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
<section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section>
<!-- Slides are separated by three dashes (quick 'n dirty regular expression) -->
<section data-markdown data-separator="---">
<script type="text/template">
## Demo 1
Slide 1
---
## Demo 1
Slide 2
---
## Demo 1
Slide 3
</script>
</section>
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
<script type="text/template">
## Demo 2
Slide 1.1
--
## Demo 2
Slide 1.2
---
## Demo 2
Slide 2
</script>
</section>
<!-- No "extra" slides, since there are no separators defined (so they'll become horizontal rulers) -->
<section data-markdown>
<script type="text/template">
A
---
B
---
C
</script>
</section>
<!-- Slide attributes -->
<section data-markdown>
<script type="text/template">
<!-- .slide: data-background="#000000" -->
## Slide attributes
</script>
</section>
<!-- Element attributes -->
<section data-markdown>
<script type="text/template">
## Element attributes
- Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
- Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
</script>
</section>
<!-- Code -->
<section data-markdown>
<script type="text/template">
```php
public function foo()
{
$foo = array(
'bar' => 'bar'
)
}
```
</script>
</section>
</div>
</div>
<script src="../../lib/js/head.min.js"></script>
<script src="../../js/reveal.js"></script>
<script>
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: '../../lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../notes/notes.js' }
]
});
</script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment