From 0665c646705f29fb4a5274e4a1a0bfb3cc713366 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Mon, 30 Nov 2020 09:53:51 +0100 Subject: Add flow.html and demo.html as a reference --- reveal.js/demo.html | 476 ++++++++++++++++++++++++++++++++++++++++++++++++++ reveal.js/flow.html | 194 ++++++++++++++++++++ reveal.js/pybofh.html | 127 -------------- 3 files changed, 670 insertions(+), 127 deletions(-) create mode 100644 reveal.js/demo.html create mode 100755 reveal.js/flow.html delete mode 100644 reveal.js/pybofh.html (limited to 'reveal.js') diff --git a/reveal.js/demo.html b/reveal.js/demo.html new file mode 100644 index 0000000..71cac98 --- /dev/null +++ b/reveal.js/demo.html @@ -0,0 +1,476 @@ + + + +
+ + ++ Created by Hakim El Hattab and contributors +
++ reveal.js enables you to create beautiful interactive slide decks using HTML. This presentation will show you examples of what it can do. +
+Slides can be nested inside of each other.
+Use the Space key to navigate through all slides.
+Nested slides are useful for adding additional detail underneath a high level horizontal slide.
+That's it, time to go back up.
++ Not a coder? Not a problem. There's a fully-featured visual editor for authoring these, try it out at https://slides.com. +
++ This slide is visible in the source, but hidden when the presentation is viewed. You can show all hidden slides by setting the `showHiddenSlides` config option to `true`. +
+
+ import React, { useState } from 'react';
+
+ function Example() {
+ const [count, setCount] = useState(0);
+
+ return (
+ ...
+ );
+ }
+
+ Code syntax highlighting courtesy of highlight.js.
+
+ + Press ESC to enter the slide overview. +
++ Hold down the alt key (ctrl in Linux) and click on any element to zoom towards it using zoom.js. Click again to zoom back out. +
++ (NOTE: Use ctrl + click in Linux.) +
+Automatically animate matching elements across slides with Auto-Animate.
++ Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides. +
+Add the r-fit-text class to auto-size text
Hit the next arrow...
+... to step through ...
+... a fragmented slide.
+ + +There's different types of fragments, like:
+grow
+shrink
+fade-out
++ fade-right, + up, + down, + left +
+fade-in-then-out
+fade-in-then-semi-out
+Highlight red blue green
+
+ You can select from different transitions, like:
+ None -
+ Fade -
+ Slide -
+ Convex -
+ Concave -
+ Zoom
+
+ reveal.js comes with a few themes built in:
+
+ Black (default) -
+ White -
+ League -
+ Sky -
+ Beige -
+ Simple
+ Serif -
+ Blood -
+ Night -
+ Moon -
+ Solarized
+
+ Set data-background="#dddddd" on a slide to change the background color. All CSS color formats are supported.
+
<section data-background="image.png">
+ <section data-background="image.png" data-background-repeat="repeat" data-background-size="100px">
+ <section data-background-video="video.mp4,video.webm">
+ + Different background transitions are available via the backgroundTransition option. This one's called "zoom". +
+Reveal.configure({ backgroundTransition: 'zoom' })
+ + You can override background transitions per-slide. +
+<section data-background-transition="zoom">
+ Since reveal.js runs on the web, you can easily embed other web content. Try interacting with the page in the background.
+| Item | +Value | +Quantity | +
|---|---|---|
| Apples | +$1 | +7 | +
| Lemonade | +$2 | +18 | +
| Bread | +$3 | +2 | +
+ These guys come in two forms, inline: The nice thing about standards is that there are so many to choose from
and block:
+
+ “For years there has been a theory that millions of monkeys typing at random on millions of typewriters would + reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.” ++
+ You can link between slides internally, + like this. +
+There's a speaker view. It includes a timer, preview of the upcoming slide as well as your speaker notes.
+Press the S key to try it out.
+ + +Presentations can be exported to PDF, here's an example:
+ +
+ Set data-state="something" on a slide and "something"
+ will be added as a class to the document element when the slide is open. This lets you
+ apply broader style changes, like switching the page background.
+
+ Additionally custom events can be triggered on a per slide basis by binding to the data-state name.
+
+Reveal.on( 'customevent', function() {
+ console.log( '"customevent" has fired' );
+} );
+
+ + Press B or . on your keyboard to pause the presentation. This is helpful when you're on stage and want to take distracting slides off the screen. +
++ Simeon Simeonov +
+“Technical debt is a concept in software development that reflects the implied cost of additional rework caused by choosing an easy (limited) solution now instead of using a better approach that would take longer.” - Wikipedia
+ +“Accumulation of technical debt is not always a choice.” - Simeon Simeonov, 21st century developer
+Typical challenges
+What do others do?
+Google, Microsoft...
+Linux...
+Design phase
+May be feasible when developing new systems and micro-services
+Simeon Simeonov (sgs @ UiO)
-Cerebrum developer since February 2015
pybofh vs. jbofh
Installation and setup
Examples (scripting)
Q & A
Still developed
Written in Python ☺ .... 2 ☹
Continuously updated documentation
Easier to debug and extend
Can be used as a module / library for scripting
Not bundled
Not a standard
pip install pybofh may be a better alternative...
-IPython - interactive shell for grownups is highly recommended
“Judge a man by his questions rather than by his answers.” - Voltaire
-