updated proxy aliases

This commit is contained in:
Brad Ganley 2024-07-03 15:42:28 -05:00
parent 8c9b91199d
commit 821e8fbb4d
2 changed files with 3 additions and 3 deletions

View File

@ -119,5 +119,5 @@ alias gitgraph='git log --graph --oneline --decorate'
alias ports='netstat -tuln '
# gping
alias gping='docker run --rm -ti --network host ghcr.io/orf/gping'
alias proxon='export http_proxy=socks5://socks5.distantserver.org:666; export https_proxy=socks5://socks5.distantserver.org:666; echo $https_proxy'
alias proxoff='unset http_proxy;unset https_proxy'
alias proxon='export ALL_PROXY=socks5://brad:963852pop@distantserver.org:666; echo $ALL_PROXY'
alias proxoff='unset ALL_PROXY; echo $ALL_PROXY'

View File

@ -18,4 +18,4 @@ alias dps="docker ps --format 'CONTAINER ID: {{.ID}}\nIMAGE: {{.Image}}\nCOMMAND
alias lzd='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v ~/lzd:/.config/jesseduffield/lazydocker lazyteam/lazydocker'
alias doctime="docker ps --format 'CONTAINER NAME: {{.Names}}\nUPTIME: {{.Status}}'|cat"
alias glance='docker run --rm -e TZ="${TZ}" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host --network host -it nicolargo/glances:latest-full'
alias ytdlp='docker run --rm -v "$(pwd):/media" -it jauderho/yt-dlp:latest -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4"'
alias ytdlp='docker run --rm -v /home/brad:/media -it --user 1000:1000 jauderho/yt-dlp:latest -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4"'