Update 2023-04-26 08:32 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2023-04-26 08:32:14 +02:00
parent f7cbf36c18
commit be5fb0ac65
12 changed files with 49 additions and 41 deletions

5
.kshrc
View File

@@ -126,6 +126,7 @@ alias vimrc="vim ~/.vimrc"
alias exrc="vim ~/.exrc"
alias ebay="chrome https://www.ebay-kleinanzeigen.de/m-nachrichten.html &"
alias sbl="chrome https://scottsbasslessons.com &"
alias remake="make clean=all; make"
# remind
@@ -193,7 +194,7 @@ pkg_reset() { pkg_delete -cIX $(</home/sdk/.pkglist); }
# servers
x() { ssh -t home.codevoid.de 'tmux -u attach || tmux -u'; }
t() { ssh -t tweety.home.codevoid.de 'tmux -u attach || tmux -u'; }
t() { ssh -t tweety.dhcp.codevoid.de 'tmux -u attach || tmux -u'; }
o() { ssh -t openbsd.codevoid.de 'tmux -u attach || tmux -u'; }
scr() { [ -z "$1" ] && doas wsconsctl -n display.brightness \
@@ -499,7 +500,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 --abort-on-unavailable-fragment --buffer-size 16K --fragment-retries 100 --http-chunk-size 10M"
YTDL_OPTS="-i --no-part --cookies-from-browser chromium --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" "$@";