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
## wait for input | |
read -n 1 -s INPUT | |
# Valid input: | |
# | |
# m: next line / slide | |
# n: previous slide | |
# q: quit presenter | |
while [ "$INPUT" != "q" ]; do |
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
current_line=$(awk "NR==$current_row" "$FILE") |
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
pngquant --quality=70-99 input.png -o output.png |
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
pngquant --ext .png --force *.png |
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
version: "3.1" | |
services: | |
wordpress: | |
image: wordpress | |
ports: | |
- 8080:80 | |
environment: | |
WORDPRESS_DB_PASSWORD: password |
OlderNewer