File tree 10 files changed +58
-15
lines changed
themes/workshop/layouts/shortcodes
10 files changed +58
-15
lines changed Original file line number Diff line number Diff line change 1
- baseURL : " http ://example.org /"
1
+ baseURL : " https ://workshop.bpf.sh /"
2
2
languageCode : " en-us"
3
3
title : " BPF Workshop"
4
4
theme : " workshop"
8
8
main :
9
9
- identifier : introduction
10
10
weight : 100
11
+ title : " Introduction"
11
12
- identifier : program-types
12
13
weight : 200
14
+ title : " eBPF Program types"
13
15
- identifier : bpf-vm
14
16
weight : 300
17
+ title : " The BPF in Kernel Virtual Machine"
15
18
- identifier : bcc
16
19
weight : 400
20
+ title : " BCC"
17
21
- identifier : bpftrace
18
22
weight : 500
23
+ title : " bpftrace"
19
24
- identifier : gobpf
20
25
weight : 600
26
+ title : " gobpf"
21
27
- identifier : kubernetes
22
28
weight : 700
29
+ title : " eBPF and Kubernetes"
23
30
- identifier : clang
24
31
weight : 800
32
+ title : " Clang BPF backend"
25
33
- identifier : tools
26
34
weight : 900
35
+ title : " Any other tools?"
27
36
- identifier : networking
28
37
weight : 1000
38
+ title : " eBPF and Linux Networking"
29
39
- identifier : security
30
40
weight : 1100
41
+ title : " Linux Kernel security and eBPF"
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " environment-tmux-cheat"
3
+ weight : 33
4
+ ---
5
+
6
+ # Tmux cheatsheet
7
+
8
+ [ Tmux] ( https://en.wikipedia.org/wiki/Tmux ) is a terminal multiplexer like ` screen ` .
9
+
10
+ * You don't have to use it or even know about it to follow along.
11
+ <br />
12
+ But some of us like to use it to switch between terminals.
13
+ <br />
14
+ It comes preinstalled in the Vagrant machine we provided*
15
+
16
+ - Ctrl-b c → creates a new window
17
+ - Ctrl-b n → go to next window
18
+ - Ctrl-b p → go to previous window
19
+ - Ctrl-b " → split window top/bottom
20
+ - Ctrl-b % → split window left/right
21
+ - Ctrl-b Alt-1 → rearrange windows in columns
22
+ - Ctrl-b Alt-2 → rearrange windows in rows
23
+ - Ctrl-b arrows → navigate to other windows
24
+ - Ctrl-b d → detach session
25
+ - tmux attach → reattach to session
26
+
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ title: "toc"
3
3
weight : 43
4
4
---
5
5
6
- ## TOC
6
+ # Table of content
7
7
8
- TODO
8
+ {{< toc >}}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class: extra-details
8
8
9
9
- Thanks to all the eBPF authors and tools makers for their awesome work on it;
10
10
- Many thanks to [ Jérôme Petazzoni] ( https://github.com/jpetazzo ) , we adapted Jérôme's template
11
- from [ container.training] ( https://container.training ) to Hugo;
11
+ from [ container.training] ( https://container.training ) to Hugo, we also used the terminals setup instructions and the tmux cheatsheet from that deck!
12
12
- Thanks to the [ remark] ( https://github.com/gnab/remark ) authors for their work on it, it's the tool
13
13
we use to generate the slides;
14
14
- Thanks to the [ hugo] ( https://gohugo.io/ ) authors, for the awesome static site generator;
Original file line number Diff line number Diff line change 1
1
---
2
- title : " introduction"
2
+ title : " introduction-content "
3
3
weight : 101
4
4
---
5
5
# Introduction
Original file line number Diff line number Diff line change 2
2
title : " introduction"
3
3
weight : 100
4
4
class : title
5
- navTitle : " Introduction"
6
5
---
7
6
{{< nav >}}
8
7
Original file line number Diff line number Diff line change 2
2
title : " program-types"
3
3
weight : 200
4
4
class : title
5
- navTitle : " eBPF Program types"
6
5
---
7
6
{{< nav >}}
8
7
Original file line number Diff line number Diff line change 2
2
title : " security"
3
3
weight : 1100
4
4
class : title
5
- navTitle : " Linux Kernel security and eBPF"
6
5
---
7
6
{{< nav >}}
8
7
Original file line number Diff line number Diff line change 1
- {{ if .Page.Params.navTitle }}
2
- {{ .Page.Params.navTitle }}
3
- {{ else }}
4
- .red[No title provided, use `navTitle` in your page]
5
- {{ end }}
6
1
{{ if not .Page.Title }}
7
2
.red[error rendering the nav menu], add
8
3
9
4
```
10
5
title: "your-id"
11
6
```
12
7
To the page.
13
- It should match what you did put in the menu in the config file!
8
+ It should match what the identifier you did put in the menu in the config file!
14
9
15
10
{{ end }}
16
11
17
-
18
12
{{ $currentPage := .Page.Title }}
13
+
14
+ {{ $navTitle := "Title not provided" }}
15
+ {{ range .Site.Menus.main.ByWeight }}
16
+ {{ if eq .Identifier $currentPage}}
17
+ {{ if .Title }}
18
+ {{ $navTitle = .Title }}
19
+ {{ end }}
20
+ {{ end }}
21
+ {{ end }}
22
+
23
+ {{ $navTitle }}
19
24
{{ $previous := "" }}
20
25
{{ $next := "" }}
21
26
Original file line number Diff line number Diff line change
1
+ {{ range .Site.Menus.main.ByWeight }}- [{{ .Identifier }}](#{{.Identifier}})
2
+ {{ end }}
3
+
4
+
You can’t perform that action at this time.
0 commit comments