Updated
This commit is contained in:
parent
6cb9f9e466
commit
9df7dd3041
2 changed files with 22 additions and 2 deletions
22
.zshrc
22
.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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue