This file contains hidden or 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
| #!/bin/sh | |
| # pass2tsv.sh | |
| # ZX2C4's password manager TSV exporter. | |
| pass grep --color=none . | sed -z -e 's/\x1b\[[0-9;]*m//g' -e 's/:\n/\t/g' | sort |
This file contains hidden or 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
| #!/usr/bin/sh | |
| # minecraft_server_backup.sh | |
| # Minecraft server backup script. | |
| # Before using this script, make sure that you install | |
| # Minecraft server according to this guide: | |
| # https://www.lessavin.ru/blog/minecraft-server.html | |
| # Configuration. | |
| # Minecraft server directory. |
This file contains hidden or 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
| #!/usr/bin/sh | |
| unzip -p server.jar version.json | jq -r ".name" |
This file contains hidden or 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
| #!/usr/bin/sh | |
| curl -s https://mcutils.com/api/server-jars/vanilla | jq -r '.[0].version' |
This file contains hidden or 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
| #!/usr/bin/expect -f | |
| # interface-restart.exp | |
| # Expect script for restarting interface connection on Keenetic Start router. | |
| set host $env(KEENETIC_HOST) | |
| set port $env(KEENETIC_PORT) | |
| set login $env(KEENETIC_LOGIN) | |
| set password $env(KEENETIC_PASSWORD) | |
| set interface $env(KEENETIC_INTERFACE) | |
| set connection $env(KEENETIC_CONNECTION) |
OlderNewer