Skip to content

Commit

Permalink
installation even faster now
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Mar 23, 2024
1 parent 22685c0 commit ad9f8b7
Show file tree
Hide file tree
Showing 6 changed files with 145 additions and 564 deletions.
8 changes: 3 additions & 5 deletions img/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ brew install asciinema agg

asciinema rec hind.cast

# manually chopped out a lot of delay lines in `hind.cast`, then:
# manually chopped out some delay and ending lines in `hind.cast`, then:

cat hind.cast |perl -ne 'chop; print unless m/^\[([\d\.]+)(.*)$/; $x=$1; $x-=8 if ($x>132); $x-=6 if ($x>120); $x-=30 if ($x>75); $x-=45 if ($x>69); $x-=21.5 if ($x>20); print "[$x$2\n";' >| short.cast
cat hind.cast |perl -ne 'chop; print unless m/^\[([\d\.]+)(.*)$/; $x=$1; $x-=5 if ($x>17); $x-=10.5 if ($x>10.5); 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
# manually, for top line remove trailing `[` -- and I updated the "width" and "height".

agg --theme asciinema --speed 1.1 short.cast hind.gif
```
Loading

0 comments on commit ad9f8b7

Please sign in to comment.