Skip to content

Instantly share code, notes, and snippets.

View phantomic12's full-sized avatar

Yoav phantomic12

  • New York City
  • 07:09 (UTC -05:00)
View GitHub Profile

The Great Pigeon Odyssey

Chapter 1: The Skyward Spire

In the heart of the sprawling metropolis known as Ironhaven, where skyscrapers pierced the clouds like jagged teeth, there lived a pigeon named Percival. Percival was no ordinary pigeon. While his flockmates spent their days scavenging crumbs from the bustling sidewalks and dodging the frantic feet of commuters, Percival dreamed of greater things. He perched atop the Skyward Spire, the tallest building in the city, its glass facade reflecting the endless blue sky that taunted him with promises of freedom.

Percival's feathers were a mottled gray, speckled with iridescent blues that caught the sunlight just so. His beak, sharp and precise, was perfect for cracking the toughest nuts—or so he boasted to his few friends. But beneath his bravado lay a restless spirit. "Why settle for street scraps when the world is vast?" he'd coo to the wind. His flock, the Spire Squabbers, dismissed him as a dreamer. Led by the stout, no-nonsense Gertrude, they valued

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# GENERAL OPTIONS
#
@phantomic12
phantomic12 / vpn.sh
Last active September 19, 2022 21:19
use ubuntu 20.04 or else libssl breaks, run as root
apt update
apt install cockpit firewalld wget ca-certificates net-tools gnupg -y
systemctl start cockpit
ufw allow 943/tcp
firewall-cmd --permanent --zone=public --add-port=943/tcp
wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add -
echo "deb http://as-repository.openvpn.net/as/debian focal main">/etc/apt/sources.list.d/openvpn-as-repo.list
apt update
apt install openvpn-as -y
passwd openvpn
@phantomic12
phantomic12 / arch.sh
Created June 3, 2022 18:38
Code setup for arch
yay
yay -S heroku-cli visual-studio-code-bin
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
@phantomic12
phantomic12 / osubot.sh
Last active May 27, 2022 19:16
flowabot setup (repl)
git clone https://github.com/ppy/osu-tools.git
cd osu-tools
cd PerformanceCalculator
dotnet build
cd ..
cd ..
npm i
@phantomic12
phantomic12 / cpit.sh
Last active June 30, 2022 22:18
Cockpit install and config
sudo apt update
sudo apt install cockpit firewalld -y
sudo systemctl start cockpit
sudo ufw allow 9090/tcp
sudo firewall-cmd --permanent --zone=public --add-port=25565/tcp
sudo firewall-cmd --permanent --zone=public --add-port=9090/tcp
@phantomic12
phantomic12 / mcinstall.sh
Last active November 16, 2022 04:25
server install file for forge and modpack
wget https://maven.minecraftforge.net/net/minecraftforge/forge/1.16.5-36.2.39/forge-1.16.5-36.2.39-installer.jar
sudo apt-get -y install openjdk-11-jre-headless
java -jar forge-*-installer.jar --installServer
rm forge-*-installer.jar
wget https://gist.githubusercontent.com/phantomic12/6fc05f5051f8d06eff1d25a6960f8c3d/raw/0fcefc17fbf6798527096d10f401be64add17a4d/start.sh
sh start.sh
echo "eula=true" > eula.txt
mkdir mods && cd mods
wget https://mediafilez.forgecdn.net/files/4013/468/Medieval+MC+Server+Pack+FORGE+1.16.5+v57.zip
sudo apt-get -y install unzip
@phantomic12
phantomic12 / uninstall.sh
Created April 9, 2022 18:32
ptero uninstall script
sudo systemctl stop wings
sudo rm -rf /var/lib/pterodactyl
sudo rm -rf /etc/pterodactyl
sudo rm /usr/local/bin/wings
sudo rm /etc/systemd/system/wings.service
sudo systemctl stop nginx
sudo apt purge nginx nginx-common
sudo apt autoremove
sudo systemctl stop apache2
sudo apt purge apache2
sudo apt update && sudo apt-get -y upgrade
sudo apt install firewalld aria2 openjdk-17-jre-headless tmux
sudo firewall-cmd --permanent --zone=public --add-port=25565/tcp
sudo firewall-cmd --permanent --zone=public --add-port=25565/udp
sudo firewall-cmd --reload
mkdir server && cd server
aria2c https://papermc.io/api/v2/projects/paper/versions/1.18.2/builds/277/downloads/paper-1.18.2-27
tmux
@phantomic12
phantomic12 / dnf.conf
Last active September 1, 2022 16:39
dnf config file for fast updating
[main]
gpgcheck=1
installonly_limit=2
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
max_parallel_downloads=10
defaultyes=true
fastestmirror=true