This commit is contained in:
Patrick Alvin Alcala 2026-02-16 11:55:28 +08:00
parent 883e0baf14
commit 5f84031243
3 changed files with 12 additions and 8 deletions

View file

@ -199,7 +199,7 @@ disk_free_priv = false
show_io_stat = true show_io_stat = true
#* Toggles io mode for disks, showing big graphs for disk read/write speeds. #* Toggles io mode for disks, showing big graphs for disk read/write speeds.
io_mode = true io_mode = false
#* Set to True to show combined read/write io graphs in io mode. #* Set to True to show combined read/write io graphs in io mode.
io_graph_combined = false io_graph_combined = false

View file

@ -1 +1 @@
return {recents={}, window={[1]=930,[2]=491,[3]=0,[4]=0,["n"]=4}, window_mode="maximized", previous_find={[3]="sleep",[1]="windowrulev2",[2]="windowsrulev2"}, previous_replace={}} return {recents={}, window={[1]=930,[2]=1009,[3]=0,[4]=0,["n"]=4}, window_mode="maximized", previous_find={[3]="sleep",[1]="windowrulev2",[2]="windowsrulev2"}, previous_replace={}}

16
.zshrc
View file

@ -172,23 +172,23 @@ alias sshpi="ssh patrick@65.108.82.60 -p 919"
alias sshi="ssh iipsadmin@192.168.7.163" alias sshi="ssh iipsadmin@192.168.7.163"
ytf() { ytf() {
yt-dlp --list-formats $1 --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node yt-dlp --list-formats 'https://youtube.com/'$1 --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
} }
ytd() { ytd() {
yt-dlp -f 'bv*[height=1080]+ba' $1 -o '~/Downloads/Youtube/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node yt-dlp -f 'bv*[height=1080]+ba' 'https://youtube.com/'$1 -o '~/Downloads/Youtube/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
} }
ytdh() { ytdh() {
yt-dlp -f 'bv*[height<='$1']+ba' $2 -o '~/Downloads/Youtube/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node yt-dlp -f 'bv*[height<='$1']+ba' 'https://youtube.com/'$2 -o '~/Downloads/Youtube/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
} }
ytd4() { ytd4() {
yt-dlp -f 'bv[height=1080][ext=mp4]+ba[ext=m4a]' --merge-output-format $1 -o '~/Downloads/Youtube/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node yt-dlp -f 'bv[height=1080][ext=mp4]+ba[ext=m4a]' --merge-output-format 'https://youtube.com/'$1 -o '~/Downloads/Youtube/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
} }
ytd4h() { ytd4h() {
yt-dlp -f 'bv[height='$1'][ext=mp4]+ba[ext=m4a]' --merge-output-format $2 -o '~/Downloads/Youtube/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node yt-dlp -f 'bv[height='$1'][ext=mp4]+ba[ext=m4a]' --merge-output-format 'https://youtube.com/'$2 -o '~/Downloads/Youtube/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
} }
ytda() { ytda() {
@ -246,7 +246,11 @@ fwtbbg() {
} }
dasig() { dasig() {
git clone --depth 1 https://git.patalcala.com/patalcala9/dasig-solid /home/patrick/Documents/WebApps/$1 && cd /home/patrick/Documents/WebApps/$1 && rm -rf .git README.md && git init && git branch -m master main && touch README.md && echo '#' $1 > README.md && cd frontend && make && make dev git clone --depth 1 https://git.patalcala.com/patalcala9/dasig /home/patrick/Documents/WebApps/$1 && cd /home/patrick/Documents/WebApps/$1 && rm -rf .git README.md && git init && git branch -m master main && touch README.md && echo '#' $1 > README.md && cd frontend && pnpm install && cd ../backend && go mod tidy && cd ../frontend && pnpm dev
}
dasig-astro() {
git clone --depth 1 https://git.patalcala.com/patalcala9/dasig-astro /home/patrick/Documents/WebApps/$1 && cd /home/patrick/Documents/WebApps/$1 && rm -rf .git README.md && git init && git branch -m master main && touch README.md && echo '#' $1 > README.md && make && make dev
} }