This file contains 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 | |
mkdir -p ~/.steam/steam | |
export STEAM_LIBRARY="$(realpath ~/.steam/steam/)" | |
app_id=2430930 | |
proton_id=2348590 | |
#lgsm vars | |
serverfiles="$(realpath ./serverfiles)" | |
systemdir="${serverfiles}/ShooterGame" |
This file contains 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
# installing discord from shell | |
cd ~/Downloads | |
wget -O discord.deb 'https://discord.com/api/download?platform=linux&format=deb' | |
sudo apt update | |
sudo apt install ./discord.deb | |
# check if discord is running | |
pgrep -af discord | |
# killing discord and restarting it |
This file contains 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
#!/usr/bin/env python3 | |
import random | |
from ctypes import c_char | |
from multiprocessing import Process, Array | |
from sys import argv, stdout | |
from time import sleep | |
arg_end = 10 | |
arg_rest = 1.0 |
This file contains 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 | |
reprintLines() { | |
let -i end=$1 | |
for (( ii=0; ii < end; ii++));do | |
echo -ne "\033[2K" #clear line | |
echo -ne "\033[1A" # go up 1 | |
done | |
echo -ne "\033[G" #move to begin of line | |
} |
This file contains 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
#!/usr/bin/env python3 | |
from sys import argv, stdout | |
from time import sleep | |
import random | |
random.seed() | |
end = 10 | |
rest = 1.0 |
This file contains 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
<config> | |
<!-- Client Control --> | |
<fold-anon v='true'/> | |
<!-- Folding Slot Configuration --> | |
<gpu v='true'/> | |
<!-- HTTP Server --> | |
<!-- allow all local network access --> | |
<allow v='127.0.0.1 192.168.0.0/16'/> |