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
#!/bin/bash | |
# download youtube playlist in multithreaded fashion | |
YOUTUBE_DL=yt-dlp | |
YOUTUBE_DL_ARGS="-x --audio-format mp3 --add-metadata" | |
JOBS=10 | |
tempfile=$(mktemp) |
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
#!/bin/sh | |
######################################################## | |
# | |
# Check certificates inside a java keystore | |
# | |
# modifications: better whitespace handling in alias, | |
# extracts the valid certificates to the disk | |
######################################################## | |
TIMEOUT="timeout -k 10s 5s " |
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
#!/bin/sh | |
die() { | |
echo $@ | |
exit 1 | |
} | |
which bc || die "no bc found" | |
if [ $# -lt 2 ] ; then |
OlderNewer