Skip to content

Instantly share code, notes, and snippets.

View Geczy's full-sized avatar
🐢
Reading

Matt Geczy

🐢
Reading
View GitHub Profile
#!/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
@Geczy
Geczy / patch.sh
Last active May 29, 2023 04:22 — forked from jakeajames/patch.sh
Make h3lix work when installed not-via-Impactor. To be used with the latest h3lix.
#!/bin/bash
if [ $# != 2 ]; then
echo "Usage: $0 /path/to/input_ipa /path/to/output_ipa"
exit 1
fi
if ! [ -f "$1" ]; then
echo "'$1' does not exist"
exit 1
@Geczy
Geczy / findbrew.sh
Created May 4, 2023 01:15
find a list of apps you installed that were not using brew
#!/bin/bash
# Use brew install --cask --force x y z to reinstall the apps found with brew
# Get list of all installed applications on Mac
IFS=$'\n' app_list=($(mdfind "kMDItemContentTypeTree == 'com.apple.application' && kMDItemCFBundleIdentifier != 'com.apple.Installer' && kMDItemCFBundleIdentifier != 'com.apple.systempreferences'"))
# Get the response of the Brew Cask JSON API
brew_cask_api_response=$(curl -s https://formulae.brew.sh/api/cask.json)
; Define a global variable to keep track of the next window index
global NextWindow := 1
; Hotkey: Alt + `
!`::
; Get the process name and ID of the active window
WinGet, ActiveProcessName, ProcessName, A
WinGet, ActiveWindowID, ID, A
; Get a list of all windows associated with the active process
def has_passed_spe(unit_validation_df):
spe_tested = unit_validation_df['spe_ucn']
last_spe_accepted = unit_validation_df['last_spe_accepted_by_algo']
last_spe_days = unit_validation_df['days_since_last_spe']
last_spe_recent = last_spe_days <= 120
validation_conditions = {
'spe_passed': spe_tested & unit_validation_df['SPE_accepted_by_algo'],
'second_spe_passed': spe_tested & ~unit_validation_df['SPE_accepted_by_algo'] & unit_validation_df['second_spe_passed'],
'not_past_due': ~unit_validation_df['last_spe_is_past_due'],
class TwitchCommandHandler {
// Constructor for initializing the command handler
constructor() {
this.commands = new Map(); // Map for storing command information
this.cooldowns = new Map(); // Map for storing command cooldowns
this.bypassCooldownUsers = []; // List of users that are allowed to bypass the cooldown
}
// Function for adding a user to the list of users that are allowed to bypass the cooldown
addUserToBypassList(username) {
@Geczy
Geczy / dota2.json
Last active May 3, 2023 20:01
dota 2 keychron q1 keymaps with karabiner
{
"title": "Swap Left Option/Command only in Dota2",
"rules": [
{
"description": "Left Control to Option",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_control"