https://old.reddit.com/r/gamedev/wiki/index https://www.gamefromscratch.com/ https://www.pygame.org/
I: The Internet
. https://en.wikipedia.org/wiki/Internet History https://en.wikipedia.org/wiki/History_of_the_Internet
II: The Internet Protocol Suite
.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
env 1>&1 | | |
grep '^PATH=' 1> >(cat) | | |
cut -c 6- | | |
awk ' | |
{ | |
old = ":" | |
new = "\n" | |
while ($0 ~ /:/) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:deluge-team/ppa | |
sudo apt-get update | |
sudo apt-get install deluged deluge-console | |
sudo adduser --system --gecos 'Deluge Service' --disabled-password --group --home /var/lib/deluge deluge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install ufw -y | |
sudo ufw allow OpenSSH #application name | |
sudo ufw allow 26656 | |
sudo ufw enable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
read -s -p 'user:' user | |
adduser --gecos '' --ingroup sudo "$user" | |
install -o "$user" -g sudo -m 700 -d "/home/$user/.ssh" | |
install -o "$user" -g sudo -m 644 /dev/null "/home/$user/.ssh/authorized_keys2" | |
cat </root/.ssh/authorized_keys2 >>"/home/$user/.ssh/authorized_keys2" | |
rm /root/.ssh/authorized_keys2 |
NewerOlder