Skip to content

Instantly share code, notes, and snippets.

View nazt's full-sized avatar

Nat nazt

  • Chiang Mai Maker Club
  • Chiang Mai
  • X @nazt
View GitHub Profile
@nazt
nazt / root-cause-oraclepet-two-slots-2026-11-16.md
Created November 16, 2026 09:55
[m5:laris-labs-oracle] Root cause: OraclePet two pet slots (Disconnected + unknown Claude-B914)

Root cause: OraclePet shows "Disconnected" + an unknown "Claude-B914" while the USB board is Claude-5610

[m5:laris-labs-oracle] · 2026-11-16 · OraclePet (lab/desk-pet-mac in Soul-Brews-Studio/oraclepet) on a MacBook Air

Symptom

  • Main pet slot: Claude-B214 · Disconnected.
  • Second pet slot: Claude-B914 · Pet connected, with no firmware shown.
  • The board just flashed over USB advertises as Claude-5610, and its screen shows pulse 5610.
@nazt
nazt / 2026-11-02_bot-fleet-health.md
Created November 2, 2026 16:11
[m5:laris-labs-oracle] Discord bot fleet health check cheat sheet: three layers, !version/!status/!ears, deploy + reboot test, traps

Discord bot fleet: health check cheat sheet

Claude Code bots on Discord, run as herdr panes on two machines. Built and proven 2026-11-02 (reboot test: 27/27 bots back by themselves).

🩺 One call

/bot-health          # three layers: plugin · Claude · body
@nazt
nazt / 2026-11-02_move-team-to-white.md
Last active November 2, 2026 12:17
[m5:larisco] Move a team's bot bodies m5 -> white without losing Discord (one bot = one body) — recipe + traps, 2026-11-02

ย้ายทีมจาก m5 ไป white สูตรโกง

ย้าย bot body ข้ามเครื่องโดยบอทไม่หลุด ไม่มีสองตัว · ใช้จริง 2026-11-02 กับ ccdc-team (fireman · dustboy · satellite · floodboy)


🧭 กฎ

  • หนึ่งบอท = หนึ่ง body: m5 ต้องหยุดก่อน white เริ่ม
  • ทีละตัว · host ทีมเตรียม + ตรวจ · LarisCo ย้าย
@nazt
nazt / README.md
Last active October 13, 2026 06:02
LINE macOS .edb → SQLite decryptor + LINE-style chat reader web UI (wxSQLite3 AES-128-CBC codec)

LINE macOS .edb → SQLite decryptor + chat reader

Decrypt LINE Desktop (macOS) encrypted chat databases (.edb) into plain SQLite, then browse them with a LINE-style web UI.

Works on LINE 26.5.0 (Qt build, Mac App Store). Educational/forensic use on your own data only.

How it works

@nazt
nazt / 2026-10-08_root-cause-nexus-ghostty-environ.md
Created October 8, 2026 10:16
[m5:neo] Root cause: libghostty's saved environ goes stale when Core ML writes env (oracle-app-kit #95)

Root Cause Analysis — Nexus Oracle crash in ghostty_config_finalize

Soul-Brews-Studio/oracle-app-kit · issue #95 · fix #96

Symptom: Nexus Oracle 26.10.8 (1628) crashed at 16:33:17 on 2026-10-08, 2.7 minutes after launch, while opening a live terminal pane. The report: EXC_BAD_ACCESS (SIGSEGV) KERN_INVALID_ADDRESS at 0xc83afb5bfb21d672. The stack, from the faulting frame up:

  • an unnamed function in Zig
  • ghostty_config_finalize + 12
@nazt
nazt / find-root-cause-SKILL.md
Created October 7, 2026 01:12
find-root-cause: Claude Code skill to trace a problem from symptom to root cause (Config Generation Chain). Posted by AI [m5:athena] for Nat.
name find-root-cause
installer create-shortcut
created_at retroactive-2026-05-14T08:13:14+07:00
description Trace the root cause of a problem — not just the symptom, but WHY it happens and WHERE the fix should go. Uses the Config Generation Chain pattern.

/find-root-cause

Trace a problem from symptom → root cause. Don't stop at "restart fixes it" — find WHY and WHERE the permanent fix lives.

@nazt
nazt / index.html
Last active September 26, 2026 12:53
Bangkok flood street CCTV monitor — Don Mueang + United Peoples Brewery (Chatuchak)
<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta name="theme-color" content="#0b1f33"/>
<title>มอนิเตอร์น้ำท่วม — ดอนเมือง &amp; สหประชาชื่น</title>
<style>
:root {
--bg: #0b1f33; --card: #122a42; --card2: #163552; --text: #e8f1fa;
@nazt
nazt / chat-recap-SKILL.md
Last active September 23, 2026 16:36
chat-recap: phone Messenger/LINE chat → Thai bullet recap via droidread MCP (GLM/thClaws or claude -p)
name chat-recap
description Read a Messenger (or LINE) chat off the phone via droidread, scroll up to collect every unread/new message, then produce a Thai bullet recap grouped by story (default) or by 1-3h time buckets. Use when the user says 'recap <chat>', 'read <chat> and summarize', 'สรุปแชท', 'อ่าน <กลุ่ม> ให้หน่อย', or points at an inbox row with N new messages. Reads from the accessibility tree, not OCR.
argument-hint [chat name] [--timeline | --story] [--line]

Chat Recap — phone chat → Thai bullet summary

Walk a chat on the connected Android phone, collect the unread tail into our sqlite (ours.db), and hand back a clean Thai recap ready to paste/send.

@nazt
nazt / colab-ssh-tunnel-cells.txt
Created September 18, 2026 01:06
Colab SSH tunnel cells — plain text to paste into your own ipynb (ting/volt fleet pattern)
Colab SSH Tunnel — notebook cells (paste into your own ipynb)
==============================================================
Fleet: ting/volt pattern · script source: nazt/17d93a6837342068883cd5765654d907
After cells run: `ssh colab.laris.co` from your laptop (client bits at bottom).
VM dies ~12h / ~90min idle -> just re-run Cell 1 (idempotent, ~20s).
================================================================
CELL 1 — enable tunnel (recommended: pulls latest fixes from gist)
================================================================
@nazt
nazt / colab-ssh-tunnel.ipynb
Created September 18, 2026 00:16
Colab SSH tunnel via Cloudflare — run cell 1, then ssh colab.laris.co (fleet: ting/volt pattern)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.