Skip to content

Instantly share code, notes, and snippets.

View richardkmichael's full-sized avatar

Richard Michael richardkmichael

  • 20:52 (UTC -07:00)
View GitHub Profile
@richardkmichael
richardkmichael / pickle-jsonPickle.py
Created February 6, 2019 00:51
Using jsonpickle instead of pickle has benefits.
# jsonpickle is human readable for inspection (security, etc.) before unpickling.
# It is smaller, when native.
#
# 246099 cd33.jpkl
# 1432509 cd33.pkl
#
# 241K cd33.jpkl
# 1.4M cd33.pkl
@richardkmichael
richardkmichael / .blade.yml
Last active March 5, 2021 16:39
Sprockets 3.6 CoffeeScript processor with sourcemaps.
load_paths:
- src
logical_paths:
- simple.js
build:
logical_paths:
- simple.js
path: dist
# Go to the sesssion transcripts.
$ pwd
/Users/rmichael/.claude/projects/-Users-rmichael-Documents-Personal-Source-claude-skill-fork-development/
# Transcript files for demo session
$ ls -1R 98b3b2c6-913f-485f-b3ef-cc12c6479e87*
98b3b2c6-913f-485f-b3ef-cc12c6479e87.jsonl
98b3b2c6-913f-485f-b3ef-cc12c6479e87:
subagents
@richardkmichael
richardkmichael / 0-README.md
Last active August 11, 2026 05:26
Claude Code voice dictation on macOS — Karabiner tap-to-talk, terminal Option-as-Alt, system-audio muting

Claude Code voice dictation — macOS terminal + Karabiner

Tap right Option in Alacritty or Ghostty to toggle Claude Code voice dictation; speaker output mutes while recording so the mic doesn't catch speaker audio. Escape cancels without submitting.

A bare modifier tap never reaches a terminal app, and voice:pushToTalk takes a single keystroke, so Karabiner converts a solo right-Option tap to Option+z.

Option-as-Alt terminal configuration sends that as Alt+z, which Claude Code has bound to voice:pushToTalk in tap mode — the binding is opt+z because Claude Code sees only the Alt+z