-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.tape
68 lines (56 loc) · 1.07 KB
/
demo.tape
1
2
3
4
5
6
7
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Require echo
Require ccsum
Require asciinema
Set Shell "bash"
Set FontSize 16
Set Width 1200
Set Height 600
Type@0s "DEMO=true asciinema rec demo_raw.cast --overwrite"
Enter
Sleep 3s
Type@0s "bleopt complete_auto_history="
Enter
Sleep 1s
Ctrl+L
Sleep 1s
Type "# Introducing ccsum, a command line utility for checksumming files"
Sleep 1s
Enter
Sleep 500ms
Type "# Let's compare with sha256sum, a classic checksum utility"
Sleep 1s
Enter
Sleep 500ms
Type "sha256sum ./demo/{foo,bar}/*.txt"
Sleep 1s
Enter
Sleep 500ms
Type "# Now let's use ccsum to checksum the same files"
Sleep 1s
Enter
Sleep 500ms
Type "ccsum ./demo/{foo,bar}/*.txt"
Sleep 1s
Enter
Sleep 500ms
Type "# The output is colored and easy to find the differences"
Sleep 1s
Enter
Sleep 500ms
Type "# There is also a --group option to group the output by the basename of the files"
Sleep 1s
Enter
Sleep 500ms
Up@100ms 3
Sleep 300ms
Type " --group # or -g"
Sleep 1s
Enter
Sleep 500ms
Type "# Now the output is grouped and easier to read"
Sleep 1s
Enter
Sleep 500ms
Type "# Download ccsum now and give it a try!"
Sleep 2s
Ctrl+D