Skip to content

Instantly share code, notes, and snippets.

View GussRw's full-sized avatar
🚜
Working from office

Guss Rw GussRw

🚜
Working from office
View GitHub Profile
[boot]
systemd=true
[user]
default=guss
[interop]
appendWindowsPath = false
[wsl2]
localhostForwarding=true
@GussRw
GussRw / project-permissions.sh
Last active April 17, 2024 17:39
Project Permissions
if [ -z "$1" ]
then
echo "No group argument supplied"
exit
fi
if [ -z "$2" ]
then
echo "No project folder argument supplied"
exit
fi
@GussRw
GussRw / update-firewall.sh
Last active October 17, 2023 20:57
Update Firewall With Log
# shellcheck disable=SC2006
# shellcheck disable=SC2013
warning=`tput setaf 1`
success=`tput setaf 2`
default=`tput sgr0`
grep -o -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' /var/log/auth.log | sort -u > /tmp/failed-unique-ips.log
current_ips=$(ufw status);
@GussRw
GussRw / MyDebianSetup.md
Last active May 25, 2024 00:54
My Debian Setup

My Debian Setup

Google Chrome

sudo apt install fonts-liberation libappindicator3-1
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt install -f