Skip to content

Instantly share code, notes, and snippets.


Kittywhiskers Van Gogh kittywhiskers

View GitHub Profile
kittywhiskers / entitlements.xml
Created Feb 4, 2021
Entitlements needed for the GNU Debugger on macOS
View entitlements.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
<plist version="1.0">
kittywhiskers /
Last active Oct 14, 2020
Convert tarballs from to Git Repositories
export TARGET_URL=""
export TARGET_REPO=""
export TARGET_EXTENSION=".tar.gz"
export WORKING_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export COMMIT_AUTHOR="repogen"
export USE_THREADS=8
# why are we doing this?
kittywhiskers /
Created Jun 14, 2020
Tested on Catalina 10.15.4
#!/usr/bin/env bash
cpuname=$(sysctl -n machdep.cpu.brand_string)
# Patch Lightroom Classic first
sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x3A\x00|\x90\x90\x90\x90\x56\xE8\x1A\x00|sg' /Applications/Adobe\ Lightroom\ Classic/Adobe\ Lightroom\
sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x5A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' /Applications/Adobe\ Lightroom\ Classic/Adobe\ Lightroom\
# Patch MMXCore and FastCore instances in all other applications
find /Applications/Adobe* -type f -name "MMXCore" -print0 | sudo xargs -0 -I "{}" perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x5A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' "{}"