Skip to content

Instantly share code, notes, and snippets.

@xholicka
xholicka / gist:6c3c95f701437b87a5af43666eda3563
Created May 19, 2022 22:41
YT - 2 - Static IP & SSH keys & Firewall
# ip address
hostname -I
# you can use "nano" or your other favorite texteditor, my favourite is "vim"
sudo vim /etc/dhcpcd.conf
sudo apt install vim
sudo vim /etc/dhcpcd.conf
@xholicka
xholicka / wavtomp3
Created November 11, 2021 19:28
Oneliner to recursively convert all "wav"s to "mp3"s using lame
find . -iname '*.wav' -exec sh -c 'lame -b 160 -h "$0" "${0%.wav}.mp3"' {} \;