From 9df7dd30418436b57c3213ffd7f78f1881a9d2aa Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Tue, 12 Aug 2025 10:52:56 +0800 Subject: [PATCH] Updated --- .config/lite-xl/session.lua | 2 +- .zshrc | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.config/lite-xl/session.lua b/.config/lite-xl/session.lua index da07cc1..90db914 100644 --- a/.config/lite-xl/session.lua +++ b/.config/lite-xl/session.lua @@ -1 +1 @@ -return {recents={[1]="/home/patrick/Downloads",[2]="/run/media/patrick/PATRICK/Fonts/Montserrat/woff2",[3]="/run/media/patrick/PATRICK",[4]="/home/patrick",[5]="/home/patrick/Nextcloud"}, window={[1]=930,[2]=492,[3]=0,[4]=0,["n"]=4}, window_mode="maximized", previous_find={[7]="sass",[1]="JVB_COLIBRI_PORT",[2]="8080",[3]="host",[4]="tray",[5]="runCommand",[6]="encrypt",[8]="_ownername"}, previous_replace={}} +return {recents={[1]="/home/patrick/Downloads",[2]="/run/media/patrick/PATRICK/Fonts/Montserrat/woff2",[3]="/run/media/patrick/PATRICK",[4]="/home/patrick",[5]="/home/patrick/Nextcloud"}, window={[1]=930,[2]=1009,[3]=0,[4]=0,["n"]=4}, window_mode="maximized", previous_find={[1]="app.zen_browser.zen.desktop",[2]="brave-browser",[3]="browser",[4]="JVB_COLIBRI_PORT",[5]="8080",[6]="host",[7]="tray",[8]="runCommand",[9]="encrypt",[10]="sass",[11]="_ownername"}, previous_replace={[1]="zen.desktop"}} diff --git a/.zshrc b/.zshrc index 16e7d42..0597b05 100644 --- a/.zshrc +++ b/.zshrc @@ -150,7 +150,8 @@ alias portid="sudo lsof -t -i" alias gits="lazygit" alias gite="zed ." -alias gita="git add ." +alias gita="git add" +alias gitaa="git add ." alias gitc="git commit -m" alias gitp="git push" alias gitu="git config user.name" @@ -170,6 +171,25 @@ ytd() { yt-dlp -f 'bv*[height=1080]+ba' $1 -o '~/Videos/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt } +ytdh() { + yt-dlp -f 'bv*[height='$2']+ba' $1 -o '~/Videos/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt +} + +ytda() { + yt-dlp -f 'ba' -x --audio-format wav $1 -o '/home/patrick/Downloads/%(title)s.wav' --cookies-from-browser firefox +} + +ytdaf() { + yt-dlp -f 'ba' -x --audio-format $2 $1 -o "'/home/patrick/Downloads/%(title)s.'$2" --cookies-from-browser firefox +} + +nmaps() { + sudo nmap -Pn -sS -p 80,443,21,22,23,25,3389 $1 -T 4 -oX /home/patrick/Documents/nmapScanResult.xml +} + +fusb() { + sudo mkfs.exfat /dev/$1 -L $2 +} # Void # alias rb="sudo reboot"