Team Quick Reference - Everything you need to know in one page
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
| #!/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() |
| //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') |
| 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__) | |
| <assembly> | |
| <id>deps</id> | |
| <formats> | |
| <format>jar</format> | |
| </formats> | |
| <includeBaseDirectory>false</includeBaseDirectory> | |
| <dependencySets> | |
| <dependencySet> | |
| <outputDirectory>/</outputDirectory> | |
| <unpack>true</unpack> |
| 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); |
| 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 = [] |