Skip to content

Commit

Permalink
update tapes
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop committed Mar 30, 2023
1 parent f1459fb commit 01800c4
Show file tree
Hide file tree
Showing 31 changed files with 390 additions and 0 deletions.
Binary file modified examples/basic/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/case-sensitive/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/case-sensitive/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/countview/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/countview/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/cursor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/cursor/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/hotreload/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/hotreload/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/keymap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/keymap/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/multiple/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/multiple/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/placeholder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/placeholder/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/prefix/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/prefix/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/prompt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/prompt/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/styles/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/styles/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions tapes/library/case-sensitive.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# configuration
Output ./examples/case-sensitive/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/case-sensitive/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 2s

Type@100ms "hello"
Sleep 750ms
Backspace 5
Sleep 750ms

Type@100ms "Hello"
Sleep 750ms
Backspace 5
Sleep 750ms

Type@100ms "HELLO"
Sleep 750ms
Backspace 5
Sleep 750ms

Enter

Sleep 3s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter
37 changes: 37 additions & 0 deletions tapes/library/countview.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# configuration
Output ./examples/countview/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/countview/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 2s

Tab
Sleep 750ms
Down 2
Sleep 750ms
Tab
Sleep 2s

Enter

Sleep 3s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter
36 changes: 36 additions & 0 deletions tapes/library/cursor.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# configuration
Output ./examples/cursor/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/cursor/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 2s

Down 2
Sleep 1s

Up 2
Sleep 2s

Enter

Sleep 3s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter
33 changes: 33 additions & 0 deletions tapes/library/hotreload.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# configuration
Output ./examples/hotreload/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 1000

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/hotreload/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 3s

Type "5"
Sleep 3s

Enter

Sleep 3s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter
38 changes: 38 additions & 0 deletions tapes/library/keymap.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# configuration
Output ./examples/keymap/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/keymap/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 2s

Ctrl+f
Ctrl+f
Sleep 1s

Ctrl+b
Ctrl+b
Sleep 1s

Enter

Sleep 3s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter
41 changes: 41 additions & 0 deletions tapes/library/multiple.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# configuration
Output ./examples/multiple/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/multiple/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 2s

Tab
Sleep 750ms
Down
Sleep 750ms
Tab
Sleep 750ms
Down
Sleep 750ms
Tab
Sleep 2s

Enter

Sleep 3s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter
33 changes: 33 additions & 0 deletions tapes/library/placeholder.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# configuration
Output ./examples/placeholder/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/placeholder/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 3s

Type "world"
Sleep 750ms

Enter

Sleep 2s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter
41 changes: 41 additions & 0 deletions tapes/library/prefix.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# configuration
Output ./examples/prefix/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/prefix/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 2s

Tab
Sleep 750ms
Down
Sleep 750ms
Tab
Sleep 750ms
Down
Sleep 750ms
Tab
Sleep 2s

Enter

Sleep 3s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter
33 changes: 33 additions & 0 deletions tapes/library/prompt.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# configuration
Output ./examples/prompt/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/prompt/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 3s

Type "world"
Sleep 750ms

Enter

Sleep 2s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter

0 comments on commit 01800c4

Please sign in to comment.