-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
514830a
commit 60d4eb0
Showing
5 changed files
with
561 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
+ · | ||
``` | ||
|
||
![install](img/install.gif) | ||
![install](img/hind.gif) | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# nice way to make small gifs :) | ||
|
||
```sh | ||
brew install asciinema agg | ||
|
||
asciinema rec hind.cast | ||
|
||
# manually chopped out a lot of delay lines in `hind.cast`, then: | ||
|
||
cat hind.cast |perl -ne 'chop; print unless m/^\[([\d\.]+)(.*)$/; $x=$1; $x-=20 if ($x>86); $x-=7 if ($x>62); $x-=36.5 if ($x>50); $x-=3 if ($x>7.3); print "[$x$2\n";' >| short.cast | ||
|
||
# then remove trailing `[` on top line | ||
# I also did just a bit of manual finesse ;-) | ||
# updated the "width" topline | ||
|
||
agg --theme asciinema --speed 1.1 short.cast hind.gif | ||
``` |
Oops, something went wrong.