Skip to content

Instantly share code, notes, and snippets.

View afgallo's full-sized avatar

Andre Gallo afgallo

View GitHub Profile
@afgallo
afgallo / gist:89510d6b5e473bd47bc674f3934935d8
Last active August 11, 2026 03:44
claude-session-to-obsidian
#!/usr/bin/env python3
"""
Claude Code → Obsidian session export hook.
Dispatched by the Stop and SessionEnd hook events. Files are the source of
truth — the Obsidian app does not need to be running. One note per session_id,
re-rendered from the transcript JSONL on each call. Daily-note backlinks are
inserted once per (session, date) and never rewritten, so past days stay frozen.
"""
@afgallo
afgallo / iterm2-solarized.md
Created June 2, 2016 21:36 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + oh my zsh + solarized + Meslo powerline font (OSX)

Solarized