Skip to content

Instantly share code, notes, and snippets.

View Geczy's full-sized avatar
🐢
Reading

Matt Geczy

🐢
Reading
View GitHub Profile
@Geczy
Geczy / auto-updater.sh
Last active April 20, 2024 18:47
supabase
#!/bin/bash
# This just provides you with a new docker-compose.yaml file.
# 1. You then have to edit your Supabase stack's docker compose and paste it in
# 2. Then you have to re-deploy to get the new versions installed
# TODO: Be able to run this script on your VPS and have it auto-update your compose yaml
# Local Docker Compose file
LOCAL_FILE="docker-compose.yaml"
@Geczy
Geczy / migrate.sh
Last active April 18, 2024 22:01
Migrate Coolify to a new server
#!/bin/bash
# This script will backup your Coolify instance and move everything to a new server. Docker volumes, Coolify database, and ssh keys
# 1. Script must run on the source server
# 2. Have all the containers running that you want to migrate
# Configuration - Modify as needed
sshKeyPath="$HOME/.ssh/your_private_key" # Key to destination server
destinationHost="server.example.com"
@Geczy
Geczy / survey.md
Last active February 12, 2024 23:07

Dota 2 Laning Phase Feedback Survey for Support

Player Name (Optional):

Match ID:

Communication and Strategy

  1. How effective was our communication during the laning phase?
  • Very effective
@Geczy
Geczy / dotabod.ps1
Created January 16, 2024 22:07
dotabod debugging
## .\debug.ps1 -Token c123123123123123 -Online $true -Name poecco -Steam32Id 33365540
## powershell -c "irm bun.sh/debug.ps1 | iex -Args 'param1Value', 'param2Value'"
param (
[parameter(mandatory=$true)] [ValidateNotNullOrEmpty()] [string]$Token,
[bool]$Online = $false,
[string]$Name,
[int]$Steam32Id
)
@Geczy
Geczy / 1 readme.md
Last active December 30, 2023 05:48
free american airlines wifi

This Bash script automates the process of changing the MAC address on a network interface (specifically en0 on macOS, typically used for Wi-Fi) and attempts to activate a 20-minute Wi-Fi session, probably on an American Airlines flight. Here's a detailed breakdown:

  1. Root Check:

    • Exits if not run as root to ensure necessary permissions.
  2. Dependency Check:

    • Checks for the jq command, used for parsing JSON data.
  3. MAC Address Manipulation:

  • Defines generate_valid_mac function for new MAC addresses.
@Geczy
Geczy / template.txt
Created June 17, 2023 00:53
template to install and decrypt
Load environment variables from .env file if it exists.
Set the appropriate ipatool based on the operating system.
Make a function get_app_info_by_id(appId) to retrieve app information.
Create 'downloads' and 'decrypted' directories.
Authenticate with itunes using ipatool and provided credentials.
#!/bin/bash
set -e
# check os compatibility
system=$(uname)
if [ "$system" = "Windows" ]; then
echo "Windows is not currently supported."
exit 1
fi
#!/bin/bash
# Airtable API URL
base_url="https://api.airtable.com/v0/appHLMobCaTLuVQQy/Data"
api_key="keyoFYTwLB0vomKLC"
# Output file name
output_file="airtable_records.json"
# Initialize variables
@Geczy
Geczy / readme.md
Created June 11, 2023 14:36
esign repo release script for ipa files

eSign Tools for App Management 📲

Welcome to eSign Tools, a collection of utilities for managing and enhancing your app releases. This repository includes two main components: Cleaner and Releaser. Follow the instructions below to utilize these tools effectively.

Cleaner

The Cleaner tool helps you prepare your app for distribution by performing various tasks and optimizations. It offers the following features:

  • Lists the injections in the IPA, like Bea for BeReal or iGameGod for Plants vs Zombies.
  • Utilizes plist for storing version, name, date, and size information.
@Geczy
Geczy / update.sh
Last active June 15, 2023 18:52
esign json update with type
#!/bin/bash
get_app_info() {
local bundle_id=$1
# Make the search request
local search_url="https://itunes.apple.com/lookup?bundleId=$bundle_id"
local response=$(curl -s "$search_url")
# Check for errors in the response