By resources
sessions
list-sessions ls -- List sessions managed by server
new-session new -- Create a new session
#Add/change gitignore | |
#Delete all | |
git rm -r --cached . | |
#Add all | |
git add . | |
#commit |
iptables -L FORWARD -v | grep -v "docker" | grep -v "br-" |
# Dante-Server install script (Debian 8 - Jessie) | |
# Start with 'chmod +x danted_install_script.sh && danted_install_script.sh' | |
# 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.*//") | |
username="SallySample" | |
port="31337" | |
public_ip=$(dig +short myip.opendns.com @resolver1.opendns.com) | |
echo "Random password: $random_pw" | |
echo "deb-src http://ftp.de.debian.org/debian/ sid main non-free contrib" >> /etc/apt/sources.list |
#!/bin/bash | |
# wmctrl is required! for debian based distributions: apt-get install wmctrl | |
# copy to /bin/close_steam.sh | |
# chmod +x /bin/close_steam.sh | |
# autostart: launch "gnome-session-properties" and add "close_steam.sh &" | |
while true | |
do | |
wmctrl -c steam |