From 2df86f9ee6fd9e18844fb165752f81ab7c3da688 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Wed, 23 Aug 2023 16:53:46 +0200 Subject: [PATCH] Update 2023-08-23 16:53 OpenBSD/amd64-dalek --- .bin/bbs-tunnel | 5 +++-- .bin/icb-tunnel | 6 ++++-- .kshrc | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.bin/bbs-tunnel b/.bin/bbs-tunnel index f2845e6..1849dbd 100755 --- a/.bin/bbs-tunnel +++ b/.bin/bbs-tunnel @@ -1,4 +1,5 @@ #!/bin/ksh -pkill -f "2323:localhost:2323 surfen@65.21.154.173" -sleep 1 +#pkill -f "2323:localhost:2323 surfen@65.21.154.173" +#sleep 1 ssh -fN -o ServerAliveInterval=15 -L 2323:localhost:2323 surfen@65.21.154.173 +#autossh -M 0 -f -T -N -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -L 2323:localhost:2323 surfen@65.21.154.173 diff --git a/.bin/icb-tunnel b/.bin/icb-tunnel index a655887..0a22c6b 100755 --- a/.bin/icb-tunnel +++ b/.bin/icb-tunnel @@ -1,4 +1,6 @@ #!/bin/ksh -pkill -f "7326:localhost:7326 anonicb@slackers.openbsd.org" -sleep 1 +#pkill -f "7326:localhost:7326 anonicb@slackers.openbsd.org" +#sleep 1 ssh -fN -o ServerAliveInterval=15 -L 7326:localhost:7326 anonicb@slackers.openbsd.org +#autossh -M 0 -f -T -N -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -L 7326:localhost:7326 anonicb@slackers.openbsd.org + diff --git a/.kshrc b/.kshrc index 588321c..60d3d8e 100644 --- a/.kshrc +++ b/.kshrc @@ -507,7 +507,7 @@ doupload-gopher() { ######################################################################## YTDL_AGENT="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4506.0 Safari/537.36" -YTDL_OPTS="-i --no-part --cookies-from-browser chromium --abort-on-unavailable-fragment --buffer-size 16K --fragment-retries 100 --http-chunk-size 10M" +YTDL_OPTS="-i --no-part --abort-on-unavailable-fragment --buffer-size 16K --fragment-retries 100 --http-chunk-size 10M" ytdl() { local FMT="bestvideo[ext=mp4][height<=1080]+bestaudio[ext=m4a]/best[ext=mp4]/best" yt-dlp $YTDL_OPTS --user-agent "$YTDL_AGENT" -f "$FMT" "$@";