Skip to content

Instantly share code, notes, and snippets.

View Tekunogosu's full-sized avatar
🎯
Focusing

Theysa Tekunogosu

🎯
Focusing
View GitHub Profile
@Tekunogosu
Tekunogosu / tekqr
Last active December 10, 2024 12:58
Hackmud: Cleans QRCodes for T2 missions - May work on other things
function (context, args) {
let qrstates = [];
let corruptChars = #fs.scripts.lib().corruption_chars.split('')
function buildQRPattern() {
// Convert string to array of characters
const chars = "<qr missing>".split('');
// For each character, create a pattern that matches either the original
@Tekunogosu
Tekunogosu / server.sh
Created February 3, 2025 14:53
Vintage Story dedicated server script, using TMUX instead of Screen
#!/bin/bash
# /etc/init.d/vintagestory.sh
# version 0.4.2 2016-02-09 (YYYY-MM-DD)
# This shell script launches the game server on linux
#
### BEGIN INIT INFO
# Provides: vintagestory
# Required-Start: $local_fs $remote_fs tmux-cleanup
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
@Tekunogosu
Tekunogosu / wg-killswitch.sh
Last active March 8, 2025 01:39
Wireguard killswitch
#!/bin/bash
# Copy the file to /etc/wireguard/
# Make it executable: chmod +x /etc/wireguard/wg-killswitch.sh
# Add the following lines to your wireguard conf (/etc/wireguard/wg0.conf)
# PostUp = /etc/wireguard/wg-killswitch.sh up %i 123.45.78.99
# PostDown = /etc/wireguard/wg-killswitch.sh down %i 123.45.78.99
# Make sure you update the ip addresses in this file to match your wireguard config and your network
@Tekunogosu
Tekunogosu / rustique.desktop
Created April 30, 2026 19:38
Rustique silent 1-click-install with logging
# This file is located in ~/.local/share/applications/rustique.desktop
# These changes will make it so the terminal does not open and redirects all output to a
# log file so you can see what is happening.
# The /path/to/rustique should already be set, just modify it to wrap it in bash -c ' >> /tmp/rustique.log'
[Desktop Entry]
Type=Application
Name=Rustique Mod Manager
Exec=bash -c '/path/to/rustique install %u >> /tmp/rustique.log'
@Tekunogosu
Tekunogosu / README.md
Created May 14, 2026 00:45
SPTarkov Headless linux setup