Skip to content

Instantly share code, notes, and snippets.

View emmapowers's full-sized avatar
🥞

Emma Powers emmapowers

🥞
View GitHub Profile
@emmapowers
emmapowers / t3code-session-resume-findings.md
Created April 21, 2026 22:36
Claude Code + t3code session resume debugging findings

Claude Code + t3code session resume — debugging findings

Investigation of why claude --resume shows no sessions, and why t3code drops resume context after ~20–30 min idle (pingdotgg/t3code#2256, [pingdotgg/t3code#2125][pr]).

Claude Code version: 2.1.116 (from ~/.local/bin/claude). t3code: main branch as of 2026-04-21.

@emmapowers
emmapowers / workflow-summary.md
Created December 9, 2025 23:09
My Claude Code Workflow Summary

My Claude Code Workflow Summary

CLAUDE.md Philosophy

My global instructions establish a collaborative autonomy model:

Autonomy boundaries:

  • Act directly on imperatives ("fix", "implement", "add")
  • Confirm first on questions, problem descriptions, or open-ended discussions
  • Stop and ask before switching approaches, dropping staged changes, making architectural changes, or spinning more than 2-3 times on a failing approach
@emmapowers
emmapowers / interrupt.cpp
Created January 12, 2022 15:40
Interrupt Example
#include <iostream>
using namespace std;
template <typename V>
class InterruptTask {
public:
using Callback = void (*)(V value);
InterruptTask(Callback callback) {
m_callback = callback;
@emmapowers
emmapowers / simple_micro.proto
Created August 30, 2020 18:19
Example protocol spec
# Primitive Types
#################
# uint[bits] unsigned integer
# int[bits] signed integer
# float[bits] iEEE floating point number
# flag: One bit boolean value
# bits[bits] Some number of buts,
# bytes[bytes] Some number of bytes.
# bytes[] series of bytes, length is variable
# string[bytes] fixed length string, may be ascii or utf8. Unused characters are indicated as null
Constructor - Main Thread
Initialize VLC library
Play Function - Main Thread
Load Media into media object
Create media play from media object
Play
Format Callback - VLC Thread
Constructor - Main Thread
Initialize VLC library
Play Function - Main Thread
Load Media into media object
Create media play from media object
Play
Format Callback - VLC Thread
echo EXPORTS > libvlccore.def
for /f "usebackq tokens=4,* delims=_ " %i in (`dumpbin /exports "c:\Program Files (x86)\VideoLan\VLC\libvlc.dll"`) do if %i==libvlc echo %i_%j >> libvlccore.def
echo EXPORTS > libvlc.def
for /f "usebackq tokens=4,* delims=_ " %i in (`dumpbin /exports "c:\Program Files (x86)\VideoLan\VLC\libvlc.dll"`) do if %i==libvlc echo %i_%j >> libvlc.def
lib /def:"libvlccore.def" /out:"libvlccore.lib" /machine:x86
lib /def:"libvlc.def" /out:"libvlc.lib" /machine:x86
select serialnumber as LINKID