Captured 2026-09-02. This is a redacted reconstruction reference: it records explicit local settings, storage paths, installed-model metadata, and profiles. It intentionally omits credentials and request statistics.
| Setting | Value |
|---|
| // Define our route param descriptors. | |
| // This allows us to type the route params. | |
| type ParamDescriptor<A> = { | |
| name: string; | |
| parse: (raw: string) => A; | |
| }; | |
| const int = (name: string): ParamDescriptor<number> => { | |
| return { | |
| name, |
| #!/usr/bin/env python3 | |
| # Detect when window focus changes | |
| # | |
| # Tested with MacOS Sequoia 15.7 | |
| # | |
| # Install requirements: | |
| # pip3 install pyobjc-core pyobjc-framework-Cocoa | |
| from AppKit import NSWorkspace |
| const arrayShuffle = (input: string[]): string[] => { | |
| let i = input.length; | |
| const arr: string[] = [...input]; | |
| while (i != 0) { | |
| const ri = Math.floor(Math.random() * i); | |
| i--; | |
| [arr[i], arr[ri]] = [arr[ri], arr[i]]; | |
| } |
| iptables -A INPUT -p tcp --destination-port 443 -j REJECT --reject-with tcp-reset | |
| iptables -A INPUT -p udp --destination-port 80 -j REJECT --reject-with icmp-port-unreachable | |
| iptables -A INPUT -p udp --destination-port 443 -j REJECT --reject-with icmp-port-unreachable | |
| ip6tables -A INPUT -p tcp --destination-port 443 -j REJECT --reject-with tcp-reset | |
| ip6tables -A INPUT -p udp --destination-port 80 -j REJECT --reject-with icmp6-port-unreachable | |
| ip6tables -A INPUT -p udp --destination-port 443 -j REJECT --reject-with icmp6-port-unreachable | |
| iptables-save > /etc/iptables/rules.v4 | |
| ip6tables-save > /etc/iptables/rules.v6 |
| /** | |
| * !! Requires a SendGrid account & API Key. | |
| * Sign up for the FREE account and create an API key. | |
| * If you're receiving more than 100 faxes a day you | |
| * shouldn't be entertaining the idea of a script like this... | |
| * | |
| * In the Function Instance view: | |
| * - Paste this entire script | |
| * - Set the url path for your Function to: /fax-to-email | |
| * |
| #!/usr/bin/env python3 | |
| from plistlib import * | |
| import mutagen as m | |
| import urllib.parse | |
| import pprint | |
| import sys | |
| import csv | |
| import os |
| #! /bin/bash | |
| set -e | |
| [ -z $1 ] && dir='/tmp/foo' || dir=$1 | |
| chromedev="/Applications/Google Chrome Dev.app" | |
| runChromeDev() { | |
| ( |
| #! /bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo 'This script must be run as root' | |
| exit 1 | |
| fi | |
| launchctl unload -w /System/Library/LaunchDaemons/org.postfix.master.plist | |
| mkdir -p /Library/Server/Mail/Data/spool/maildrop | |
| /usr/sbin/postfix set-permissions |
| <?php | |
| /** | |
| * Allow Shortcodes to be validated as normal phone numbers in OpenVBX | |
| * | |
| * Open the file `OpenVBX/libraries/PhoneNumber.php` and replace the function | |
| * `PhoneNumbers::normalizePhoneNumbertoE164` with the function definition below. | |
| * Then replace the `$shortcodes` array members with a list of numbers to | |
| * be considered valid shortcodes. | |
| */ |