Skip to content

Instantly share code, notes, and snippets.

@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
DkSJpghn2.js:2256 Could not find the language 'plaintext', did you forget to load/include a language module?
error @ DkSJpghn2.js:2256
6xuRbA9b.js:3895 Failed to hydrate: Error: Unknown language: "plaintext"
Please report this to https://github.com/markedjs/marked.
at _highlight (DkSJpghn2.js:3030:11)
at Object.highlight (DkSJpghn2.js:2759:53)
at Object.highlight (DkSJpghn2.js:3514:23)
at Marked.walkTokens (D_a4TOE32.js:13:25)
at opts.walkTokens (tH8NQoBu.js:1771:33)
at Marked.walkTokens (tH8NQoBu.js:1646:36)
@o-az
o-az / realtime-sync-before-after.mmd
Last active March 21, 2026 03:14
tidx realtime sync before/after Mermaid diagram
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trance Generator</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: #0a0a1a;
Chain ID Chain Symbol Address Decimals VM
8453 Base WETH 0x4200000000000000000000000000000000000006 18 evm
8453 Base ETH 0x0000000000000000000000000000000000000000 18 evm
8453 Base USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 6 evm
8453 Base cbBTC 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf 8 evm
8453 Base SOL 0x311935cd80b76769bf2ecc9d8ab7635b2139cf82 9 evm
8453 Base USDT 0xfde4c96c8593536e31f229ea8f37b2ada2699bb2 6 evm
8453 Base WBTC 0x0555e30da8f98308edb960aa94c0db47230d2b9c 8 evm
1 Ethereum USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 6 evm
Chain ID Chain Symbol Address Decimals VM
8453 Base WETH 0x4200000000000000000000000000000000000006 18 evm
8453 Base ETH 0x0000000000000000000000000000000000000000 18 evm
8453 Base USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 6 evm
8453 Base cbBTC 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf 8 evm
8453 Base SOL 0x311935cd80b76769bf2ecc9d8ab7635b2139cf82 9 evm
8453 Base USDT 0xfde4c96c8593536e31f229ea8f37b2ada2699bb2 6 evm
8453 Base WBTC 0x0555e30da8f98308edb960aa94c0db47230d2b9c 8 evm
1 Ethereum USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 6 evm
Chain ID Chain Symbol Address Decimals VM
8453 Base WETH 0x4200000000000000000000000000000000000006 18 evm
8453 Base ETH 0x0000000000000000000000000000000000000000 18 evm
8453 Base USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 6 evm
8453 Base cbBTC 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf 8 evm
8453 Base SOL 0x311935cd80b76769bf2ecc9d8ab7635b2139cf82 9 evm
8453 Base USDT 0xfde4c96c8593536e31f229ea8f37b2ada2699bb2 6 evm
8453 Base WBTC 0x0555e30da8f98308edb960aa94c0db47230d2b9c 8 evm
1 Ethereum USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 6 evm
@o-az
o-az / SKILL.md
Created February 4, 2026 03:08
Interview Skill for Amp - conducts in-depth interviews to create detailed spec files
name interview
description Interview user in-depth to create a detailed spec file. Use when asked to interview, create a spec, or gather requirements for a feature.
argument-hint [topic or feature to spec out]

Interview Skill

Conducts an in-depth interview with the user to create a comprehensive specification document.

@o-az
o-az / kitty-remote-control-protocol.md
Created January 13, 2026 04:44
Kitty Remote Control Protocol Documentation - comprehensive guide for programmatic terminal control

Kitty Remote Control Protocol Documentation

Overview

Kitty's remote control system allows external programs to control kitty terminal instances through a JSON-based protocol. This enables programmatic control over windows, tabs, colors, text, and more.

Source References: