title | author |
---|---|
New Reveal Testing / Demo |
Dan Goldsmith |
Automatic Animation
Slide 1 {.data-auto-animate}
Slide 2 {.data-auto-animate}
What about Code?
This Is Proper Cool {.data-auto-animate}
- There is also Auto Animation for code
This is Proper Cool {.data-auto-animate}
- There is also Auto Animation for code
- We can now expand our code out with animations
- And Step through lines
This is Proper Cool {.data-auto-animate}
- There is also Auto Animation for code
- BUT!! We need to use plain reveal syntax
- We can now expand our code out with animations
- And Step through lines
Code Example 1 {.data-auto-animate}
let planets = [
{ name: 'mars', diameter: 6779 },
]
Code Example 2 {.data-auto-animate}
let planets = [
{ name: 'mars', diameter: 6779 },
{ name: 'earth', diameter: 12742 },
{ name: 'jupiter', diameter: 139820 }
]
Stepping through Lines
Apples
$1
7
Oranges
$2
18
Kiwi
$3
1
Traditional Markdown code
Markdown Still works
Does this work
def foo(bar):
baz
Explaining SQL Injection
SQL Injection
- The user injects new SQL into the query
- Can trick the SQL engine into executing the statement
Our Example Query {.data-auto-animate}
SELECT * FROM users WHERE name = "dan";
What about in PHP {.data-auto-animate}
$qry = 'SELECT * FROM users WHERE name = "$input";'
What about in PHP {.data-auto-animate}
$input = 'dan';
$qry = 'SELECT * FROM users WHERE name = "$input";'