==========================
== blog.tinfoil-hat.net ==
==========================
A save home for every tinfoil-hat!

Shell Aliases

Technology Linux

Here are my Shell Aliases, that I use mostly on a regular basis, enjoy

# Aliases

## RSS Feeds
alias rss="newsboat"

## Change OpenBSDs Soundlevel
alias audio-ext="sysctl hw.snd.default_unit=4"
alias audio-int="sysctl hw.snd.default_unit=0"

## List files and Folders
alias ll="ls -lah"

## Mount with SSH
alias nasm="sudo sshfs -o uid=1000 -o gid=1000 -o allow_other root@192.168.178.200:/hdds/ /media/anon/nas "

## Torrent via CLI - no seed
alias torrent="aria2c --follow-torrent=mem --seed-time=0 -j 10"

## Neofetch with Picture
alias fetch="neofetch --backend w3m --source ~/Bilder/tiger.png"

## Listen German Radio
alias radio-berliner-rundfunk-91-4="mpv http://stream.berliner-rundfunk.de/brf/mp3-128/internetradio"

## Listen German techno Radio
alias technobase="mpv http://listen.technobase.fm/tunein-mp3"

## Listen anonradio
alias anonradio="mpv http://anonradio.net:8000/anonradio"

## Backup Home Folder
alias backup="~/Software/git/rsync-time-backup/rsync_tmbackup.sh ~/ /media/anon/8TB/backup/"

## Spinnig ASCII Globe
alias download-world="curl -s http://artscene.textfiles\.com/vt100/globe.vt | pv -L9600 -q"

## Open Darknet Bookmarks
alias darknet="torsocks w3m -o  auto_image=FALSE .w3m/bookmark.html"

## Open Weechat that runs on Server
alias reechat="ssh weechat@vps -t screen -rd weechat"

## Openvpn
alias cast-tay="sudo openvpn ~/Seafile/Crypt/tay.ovpn"
alias cast-vps="openvpn ~/Seafile/Crypt/vps.ovpn"

## webserver statistics
alias goaccess="ssh tay -t goaccess -c /var/log/nginx/access.log"

## Dotfiles in Git
alias config="git --git-dir=$HOME/.cfg/ --work-tree=$HOME"

## Tempary Upload from cli
alias drop="~/Software/bin/plik"

## Displays when Filesystem was created
alias installation-age="stat -c %w /"

## launch Stable Diffusion
alias stable-diffusion="bash ~/Software/scripts/stable-diffusion.sh"

## Launch Youtube-dl with Brave Cookies and twitter fix
alias youtube-dl="yt-dlp --cookies-from-browser Brave -o '%(title).100B [%(id)s].%(ext)s'"

## Run a simple webserver in current dir
alias webserver="python3 -m http.server"

## Spotify cli
alias ncspot="flatpak run io.github.hrkfdn.ncspot"

## Launch Matrix Client
alias matrix="gomuks"

## Mound NAS
alias nasm="sudo mount -t nfs4 192.168.178.254:/media/user/raid /media/anon/raid"

## Show Hardware Infos
alias hardware="inxi -Fnxxz"