Skip to content

Commit f70951b

Browse files
committed
First commit
0 parents  commit f70951b

File tree

150 files changed

+18400
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+18400
-0
lines changed

pyconindia-2018-talk/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Anand B Pillai
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

pyconindia-2018-talk/anand.jpg

23.2 KB
Loading

pyconindia-2018-talk/arch.png

62.7 KB
Loading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
venv
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Avalanche
2+
3+
A theme and directory organisation for [landslide](https://github.com/adamzap/landslide)
4+
5+
View an [example presentation](http://akrabat.github.com/avalanche/example.html)
6+
7+
### Improved JavaScript
8+
9+
The default theme's slides.js has been revamped as a jQuery plugin with a handful of fixes and improvements (many more to come!):
10+
11+
- Includes a clock in presenter view.
12+
- 'p' properly toggles presenter view on _and_ off.
13+
- 'b' (blank) in presenter mode blanks the main view but simply reduces the opacity of the active slide in the presenter view.
14+
- Closing the main window will automatically close presenter view.
15+
- Greatly improved previously buggy scaling support, allows for embedding of slides.
16+
- Added support for more presenter remotes via additional shortcuts.
17+
- Additional 'f' shortcut for JavaScript-induced full screen mode. This resolves an issue with OSX blanking out the other screen when using F11 for full screen.
18+
19+
## Creating a new presentation
20+
21+
* Create a new directory
22+
* Place required markup files and any custom css and image files here
23+
* Copy the `example_presentation/presentation.cfg` to here and change the filenames and paths as required
24+
25+
## Building the slides
26+
27+
* Install [landslide](https://github.com/adamzap/landslide).
28+
* cd into the directory of the presentation that you want to create and run `landslide presentation.cfg`.
29+
* Open up the newly created HTML file that is in the presentation directory.
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
<!DOCTYPE html>
2+
<!--
3+
Copyright 2010 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
17+
Original slides: Marcin Wichary (mwichary@google.com)
18+
Modifications: Ernest Delgado (ernestd@google.com)
19+
Alex Russell (slightlyoff@chromium.org)
20+
21+
landslide modifications: Adam Zapletal (adamzap@gmail.com)
22+
Nicolas Perriault (nperriault@gmail.com)
23+
-->
24+
<html>
25+
<head>
26+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
27+
<meta http-equiv="X-UA-Compatible" content="chrome=1">
28+
<title>{{ head_title }}</title>
29+
<!-- Styles -->
30+
{% if embed %}
31+
<style type="text/css" media="print">
32+
{{ css.print.contents }}
33+
</style>
34+
<style type="text/css" media="screen, projection">
35+
{{ css.screen.contents }}
36+
</style>
37+
{% else %}
38+
<link rel="stylesheet" media="print" href="{{ css.print.path_url }}">
39+
<link rel="stylesheet" media="screen, projection" href="{{ css.screen.path_url }}">
40+
{% endif %}
41+
{% for css in user_css %}
42+
{% if embed %}
43+
<style type="text/css" media="screen, projection">
44+
{{ css.contents }}
45+
</style>
46+
{% else %}
47+
<link rel="stylesheet" href="{{ css.path_url }}">
48+
{% endif %}
49+
{% endfor %}
50+
<!-- /Styles -->
51+
<!-- Javascripts -->
52+
{% if embed %}
53+
<script>
54+
{{ js.contents }}
55+
</script>
56+
{% else %}
57+
<script type="text/javascript" src="{{ js.path_url }}"></script>
58+
{% endif %}
59+
{% for js in user_js %}
60+
{% if embed %}
61+
<script>
62+
{{ js.contents }}
63+
</script>
64+
{% else %}
65+
<script type="text/javascript" src="{{ js.path_url }}"></script>
66+
{% endif %}
67+
{% endfor %}
68+
<!-- /Javascripts -->
69+
</head>
70+
<body>
71+
<div id="blank"></div>
72+
<div class="presentation highlight">
73+
<div id="time">
74+
<span id="hours">00</span>:<span id="minutes">00</span>:<span id="seconds">00</span>
75+
</div>
76+
<div id="current_presenter_notes">
77+
<div id="presenter_note"></div>
78+
</div>
79+
<div class="slides">
80+
{% for slide in slides %}
81+
<!-- slide source: {% if slide.source %}{{ slide.source.rel_path }}{% endif %} -->
82+
<div class="slide-wrapper">
83+
<div class="slide{% if slide.classes %}{% for class in slide.classes %} {{ class }}{% endfor %}{% endif %}">
84+
<div class="inner">
85+
{% if slide.header %}
86+
<header>{{ slide.header }}</header>
87+
{% endif %}
88+
{% if slide.content %}
89+
<section>{{ slide.content }}</section>
90+
{% endif %}
91+
</div>
92+
<div class="presenter_notes">
93+
<header><h1>Notes</h1></header>
94+
<section>
95+
{% if slide.presenter_notes %}
96+
{{ slide.presenter_notes }}
97+
{% endif %}
98+
</section>
99+
</div>
100+
<footer>
101+
{% if slide.source %}
102+
<aside class="source">
103+
Source: <a href="{{ slide.source.rel_path }}">{{ slide.source.rel_path }}</a>
104+
</aside>
105+
{% endif %}
106+
<aside class="page_number">
107+
{{ slide.number }}/{{ num_slides }}
108+
</aside>
109+
</footer>
110+
</div>
111+
</div>
112+
{% endfor %}
113+
</div>
114+
</div>
115+
116+
{% if toc %}
117+
<div id="toc" class="sidebar hidden">
118+
<h2>Table of Contents</h2>
119+
<table>
120+
<caption>Table of Contents</caption>
121+
{% for section in toc %}
122+
<tr id="toc-row-{{ section.number }}">
123+
<th><a href="#slide{{ section.number }}">{{ section.title }}</a></th>
124+
<td><a href="#slide{{ section.number }}">{{ section.number }}</a></td>
125+
</tr>
126+
{% if section.sub %}
127+
{% for subsection in section.sub %}
128+
<tr id="toc-row-{{ subsection.number }}" class="sub">
129+
<th><a href="#slide{{ subsection.number }}">{{ subsection.title }}</a></th>
130+
<td><a href="#slide{{ subsection.number }}">{{ subsection.number }}</a></td>
131+
</tr>
132+
{% endfor %}
133+
{% endif %}
134+
{% endfor %}
135+
</table>
136+
</div>
137+
{% endif %}
138+
<div id="help" class="sidebar hidden">
139+
<h2>Help</h2>
140+
<table>
141+
<caption>Help</caption>
142+
<tr>
143+
<th>Table of contents</th>
144+
<td>t</td>
145+
</tr>
146+
<tr>
147+
<th>Exposé</th>
148+
<td>ESC</td>
149+
</tr>
150+
<tr>
151+
<th>Autoscale</th>
152+
<td>e</td>
153+
</tr>
154+
<tr>
155+
<th>Full screen slides</th>
156+
<td>f</td>
157+
</tr>
158+
<tr>
159+
<th>Presenter view</th>
160+
<td>p</td>
161+
</tr>
162+
<tr>
163+
<th>Source files</th>
164+
<td>s</td>
165+
</tr>
166+
<tr>
167+
<th>Slide numbers</th>
168+
<td>n</td>
169+
</tr>
170+
<tr>
171+
<th>Blank screen</th>
172+
<td>b</td>
173+
</tr>
174+
<tr>
175+
<th>Notes</th>
176+
<td>2</td>
177+
</tr>
178+
<tr>
179+
<th>Help</th>
180+
<td>h</td>
181+
</tr>
182+
</table>
183+
</div>
184+
<script>main();</script>
185+
</body>
186+
</html>

0 commit comments

Comments
 (0)