Skip to content

Instantly share code, notes, and snippets.

View enachb's full-sized avatar

Erich Nachbar enachb

  • Stuffy Lab
  • San Francisco
View GitHub Profile
@enachb
enachb / CLAUDE_QUICKSTART.md
Last active January 10, 2026 01:15
Claude Code Quick Start Guide - One-page guide for junior developers with actionable steps

Claude Code Quick Start Guide

Team Quick Reference - Everything you need to know in one page


What is Claude Code?

Claude Code is an AI assistant that writes, tests, and validates code automatically. This project has automation where Claude:

  • Auto-compiles code after every edit via hooks
@enachb
enachb / CLAUDE_AUTOMATION.md
Last active January 10, 2026 01:15
Claude Code Automation Guide - Comprehensive documentation for hooks, skills, MCP servers, permissions, and quality gates

Claude Code Automation Guide

Comprehensive documentation for the Claude Code automation structure in this repository

Last Updated: 2026-01-09


Table of Contents

#!/bin/bash
OUT_DIR=/mnt/scans
TMP_DIR=`mktemp -d`
FILE_NAME=scan_`date +%Y-%m-%d-%H%M%S`
LANGUAGE="eng" # the tesseract language - ensure you installed it
echo 'scanning...'
scanimage --resolution 300 \
--batch="$TMP_DIR/scan_%03d.pnm" \
// Compute factor for amps calculation
const float factor = 5.0 / 1023.0 / 5.0 * 600.0
void setup()
{
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
void loop()
@enachb
enachb / gist:9611133
Created March 18, 2014 00:14
usergrid sample code
//login with client ID & secret but does
val client = new Client(Config.OrgName, Config.AppName)
client.setApiUrl(Config.UserGridUrl)
client.setApplicationId(Config.AppId)
val resp = client.authorizeAppClient(Config.UserGridClientId, Config.UserGridClientSecret)
if(resp.getError != null){
error("Login status: " + resp)
throw new LoginException(resp.getError)
import boto
import cmb
# erich on velum.io CMB
#export AWS_ACCESS_KEY=UZXEHK0D44TQRY4SI52E
#export AWS_SECRET_ACCESS_KEY=1JfVhGZhvPB2Hw18cHsmaQtZbMXCQOzMWXy1H2q2
conn = cmb.cmb_cxn('UZXEHK0D44TQRY4SI52E', '1JfVhGZhvPB2Hw18cHsmaQtZbMXCQOzMWXy1H2q2', 'cmb' ,'velum.io')
@enachb
enachb / CMB connect for boto
Created January 21, 2014 23:49
shortcut to connect to a non-AWS SQS install
from boto.sqs import regioninfo
import logging
from boto.sqs.jsonmessage import JSONMessage
# useful for debugging boto connect
#logging.basicConfig(format='%(asctime)s %(message)s', level=logging.DEBUG)
logger = logging.getLogger(__name__)
@enachb
enachb / gist:8422734
Created January 14, 2014 18:00
assembly exclude (not working)
<assembly>
<id>deps</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
@enachb
enachb / TagManager.java
Created October 22, 2013 23:13
Cassandra tag implementation with substring matching
import com.datastax.driver.core.*;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
/**
* CREATE TABLE tag (id uuid, foreignId uuid ,name text, lowerName text,PRIMARY KEY (id) );
*
* create index TagNameIdx on tag(name);
@enachb
enachb / gist:5687173
Created May 31, 2013 19:03
insert json records into RethinkDB
import sys,json,fileinput
import rethinkdb as r
#python rdbFill.py /data/exports3/rawProd/fbComment/*
r.connect('dcd3', 28015).repl()
t = r.db('test').table('oink')
i = 0
lines = []