Skip to content

Instantly share code, notes, and snippets.

View o-az's full-sized avatar
πŸ§‡

Omar Aziz o-az

πŸ§‡
View GitHub Profile
@o-az
o-az / utm-jit-iphone.md
Created November 15, 2026 21:02
UTM with JIT on iPhone via LiveContainer + SideStore

UTM with JIT on iPhone via LiveContainer + SideStore

Nov 15, 2026 Β· @Omar Aziz

What this sets up

UTM runs with JIT inside LiveContainer (LC), with StikDebug enabling JIT from a second LiveContainer. After the first install, nothing needs a computer. Confirmed working on an iPhone 17 Pro, iOS 27.3, StikDebug 3.2.2, on 15 Nov 2026.

Parts 2 to 5 are the steps we actually ran. Part 1 (first install on a fresh phone) comes from the LiveContainer docs and was not run in this session, because LC was already installed.

@o-az
o-az / aaguid.json
Created November 10, 2026 14:30
Snapshot of passkey-authenticator-aaguids (deprecated), taken 2026-11-10. https://github.com/passkeydeveloper/passkey-authenticator-aaguids
{
"7c30bcef-f035-4e21-9175-5c985b4b239c": {
"name": "TeamPass",
"icon_dark": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIHN0cm9rZT0iIzAyNzdCRCIgc3Ryb2tlLXdpZHRoPSI0IiBkPSJNMCAwIEMyIC0wIDQgLTAgNSAtMCBDNyAtMCA5IC0wIDExIC0wIEMxMyAtMCAxNSAtMCAxOCAtMCBDMjIgLTAgMjYgLTAgMzAgLTAgQzM3IDAgNDMgLTAgNTAgLTAgQzU0IC0wIDU4IC0wIDYyIC0wIEM2NCAtMCA2NiAtMCA2OCAtMCBDNjkgLTAgNjkgLTAgNzQgMCBDNzQgMCA3NCAwIDc4IDAgQzgyIDAgODIgMCA4NSAyIEM4OCAzIDkxIDMgOTMgMyBDOTkgNCAxMDQgNSAxMDkgNiBDMTE1IDcgMTIwIDcgMTI1IDggQzEyOCA4IDEzMSA4IDEzNSA4IEMxNDEgOSAxNDcgOSAxNTIgMTAgQzE3MyAxMSAxOTMgMTUgMjEzIDE4IEMyMTcgMTkgMjIyIDIwIDIyNyAyMSBDMjM1IDIyIDI0MyAyNCAyNTEgMjYgQzI2MCAyOCAyNjggMzAgMjc3IDMxIEMyODQgMzMgMjkyIDM1IDI5OSAzNyBDMzA0IDM4IDMwOSA0MCAzMTQgNDEgQzMyMyA0MyAzMzEgNDUgMzM5IDQ4IEMzNDMgNDkgMzQ3IDUwIDM1MCA1MSBDMzU2IDUzIDM2MyA1NSAzNjkgNTggQzM3MyA1OSAzNzcgNjAgMzgxIDYyIEMzODkgNjQgMzk2IDY3IDQwMyA3MCBDNDEwIDczIDQxNyA3NiA0MjQgNzggQzQzMCA4MCA0MzYgODMgNDQxIDg1IEM0NDMgODYg
name webauthn-passkey
description Signs up/in to web apps using passkeys via a CDP virtual WebAuthn authenticator. Use when asked to sign up, sign in, or authenticate with a passkey on a website.

WebAuthn Passkey Authentication via CDP

Sign up or sign in to web apps that use passkeys (WebAuthn) by emulating a virtual authenticator over the Chrome DevTools Protocol.

Quick Start

# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
function __fish_anvil_global_optspecs
string join \n v/verbosity q/quiet json md color= j/threads= p/port= a/accounts= balance= timestamp= number= m/mnemonic= mnemonic-random= mnemonic-seed-unsafe= derivation-path= hardfork= b/block-time= slots-in-an-epoch= config-out= no-mining mixed-mining host= order= init= state= s/state-interval= dump-state= preserve-historical-states load-state= ipc= prune-history= max-persisted-states= transaction-block-keeper= f/fork-url= fork-header= timeout= retries= fork-block-number= fork-transaction-hash= fork-retry-backoff= fork-chain-id= compute-units-per-second= no-rate-limit no-storage-caching gas-limit= disable-block-gas-limit enable-tx-gas-limit code-size-limit= disable-code-size-limit gas-price= block-base-fee-per-gas= disable-min-priority-fee chain-id= steps-tracing disable-console-log print-traces auto-impersonate disable-default-create2-deployer disable-pool-balance-checks m
# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
function __fish_forge_global_optspecs
string join \n v/verbosity q/quiet json md color= j/threads= h/help V/version
end
function __fish_forge_needs_command
# Figure out if the current invocation already has a command.
set -l cmd (commandline -opc)
set -e cmd[1]
argparse -s (__fish_forge_global_optspecs) -- $cmd 2>/dev/null
This file has been truncated, but you can view the full file.
# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
function __fish_cast_global_optspecs
string join \n v/verbosity q/quiet json md color= j/threads= h/help V/version
end
function __fish_cast_needs_command
# Figure out if the current invocation already has a command.
set -l cmd (commandline -opc)
set -e cmd[1]
@o-az
o-az / lsgrep.fish
Created April 28, 2026 17:20
Defined in ~/.config/fish/functions/lsgrep.fish
# Defined in ~/.config/fish/functions/lsgrep.fish
function lsgrep --description 'Wildcard folder/file search'
# Convert search to regex: change .X to \.X, ? to ., and space or * to .*?
set -l needle (echo $argv|sed -E 's/\.([a-z0-9]+)$/\\\.\1/'|sed -E 's/\?/./'| sed -E 's/[ *]/.*?/g')
command ag --hidden --depth 3 -SUg "$needle" 2>/dev/null
end
# Defined in ~/.config/fish/functions/lsgrep.fish
function lsgrep --description 'Wildcard folder/file search'
# Convert search to regex: change .X to \.X, ? to ., and space or * to .*?
set -l needle (echo $argv|sed -E 's/\.([a-z0-9]+)$/\\\.\1/'|sed -E 's/\?/./'| sed -E 's/[ *]/.*?/g')
command ag --hidden --depth 3 -SUg "$needle" 2>/dev/null
end
@o-az
o-az / webauthn-local-tld.md
Created March 28, 2026 22:46
WebAuthn rejects .local RP IDs in Chrome β€” evidence and references

WebAuthn rejects .local RP IDs in Chrome

Problem

Passkey creation fails with SecurityError when the origin is app.tempo.local and the RP ID is tempo.local.

Root cause

Chrome validates WebAuthn RP IDs against the Public Suffix List (PSL). Both the origin host and the claimed RP ID must have a registry-controlled domain per the PSL. .local is not in the PSL β€” it's an IANA special-use domain reserved for mDNS (RFC 6762).

#!/usr/bin/env bash
set -euo pipefail
# ── Parse args ──────────────────────────────────────────────────────────
HUMAN_AMOUNT="4400"
while [[ $# -gt 0 ]]; do
case "$1" in
--amount) HUMAN_AMOUNT="$2"; shift 2 ;;
*) echo "Usage: $0 [--amount <PUSD amount, e.g. 4400>]"; exit 1 ;;
esac