Skip to content

Instantly share code, notes, and snippets.

View gist:e3ef1518b1a6f84c525ee126029543c9
echo 200 fritz >> /etc/iproute2/rt_tables
ip route add default via table fritz
ip rule add from table fritz
ip rule add from table fritz
duketwo / gist:63cd9fdae6dcc93e49b2a707e5d1233b
Created Aug 5, 2020
Git git ignore removed included files
View gist:63cd9fdae6dcc93e49b2a707e5d1233b
#Add/change gitignore
#Delete all
git rm -r --cached .
#Add all
git add .
View gist:6bd21a90d9527b5fe9e923d7fd24d244
iptables -L FORWARD -v | grep -v "docker" | grep -v "br-"
duketwo /
Created Nov 22, 2017
Dante-Server (danted) install script (Debian 8 - Jessie)
# Dante-Server install script (Debian 8 - Jessie)
# Start with 'chmod +x &&'
# duketwo - 12.11.2017
random_pw=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
network_adapter=$(ip route | grep default | sed -e "s/^.*dev.//" -e "s/.proto.*//")
public_ip=$(dig +short
echo "Random password: $random_pw"
echo "deb-src sid main non-free contrib" >> /etc/apt/sources.list
duketwo /
Last active May 20, 2017
Steam link automatically close big picture mode - Linux / Gnome
# wmctrl is required! for debian based distributions: apt-get install wmctrl
# copy to /bin/
# chmod +x /bin/
# autostart: launch "gnome-session-properties" and add " &"
while true
wmctrl -c steam
duketwo /
Created Apr 17, 2017 — forked from Bekbolatov/
Clean tmux cheat-sheet

Clean tmux cheat-sheet

By resources


list-sessions        ls         -- List sessions managed by server
new-session          new        -- Create a new session