Skip to content

Instantly share code, notes, and snippets.

View aezell's full-sized avatar
😶

Alex Ezell aezell

😶
View GitHub Profile
@aezell
aezell / paste-interception-spec.md
Last active January 11, 2026 04:58
Sprite Console: Clipboard Image Support Design

Sprite Console: Paste Interception Specification

Goal

When a user pastes an image into Claude CLI running in a sprite, it should work exactly as if Claude CLI was running locally. No extra steps, no visible difference.

Current Behavior (Local Claude CLI)

  1. User copies image (screenshot, from browser, from Finder)
  2. User pastes in Claude CLI (Cmd+V / Ctrl+V)

Keybase proof

I hereby claim:

  • I am aezell on github.
  • I am aezell (https://keybase.io/aezell) on keybase.
  • I have a public key ASCWA-X8F38nLgtpKm9cGRfgH_Sv6HSr-RCjD4NgGpno5go

To claim this, I am signing this object:

sentence = "I don't really know how to handle the changes that we seem to deliberate about while smiling."
words = sentence.split(" ")
vowels = ["a","e","i","o","u"]
digraphs =["bl", "br", "ch", "ck", "cl", "cr", "dr", "fl", "fr", "gh", "gl", "gr", "ng", "ph", "pl", "pr", "qu", "sc", "sh", "sk", "sl", "sm", "sn", "sp", "st", "sw", "th", "tr", "tw", "wh", "wr"]
trigraphs = ["nth", "sch", "scr", "shr", "spl", "spr", "squ", "str", "thr"]
new = []
for word in words:
@aezell
aezell / pynash help
Last active August 29, 2015 14:19 — forked from anonymous/pynash help
# Make sure that the_flying_circus() returns True
def the_flying_circus():
if (5 != 7) and (6 > 4):
print "You have Mastered Silly Walks!"
elif 4 < 7:
print "And now for something completely different."
else:
print "AAAAAAARRRRRRGH"
@aezell
aezell / keybase.md
Created March 27, 2014 14:51
keybase.md

Keybase proof

I hereby claim:

  • I am aezell on github.
  • I am aezell (https://keybase.io/aezell) on keybase.
  • I have a public key whose fingerprint is BE6D 46F1 0196 2F85 AD81 3EB7 D837 BA7C B9B3 C3E6

To claim this, I am signing this object:

#!/bin/sh
# Called by "git push" after it has checked the remote status,
# but before anything has been pushed.
#
# If this script exits with a non-zero status nothing will be pushed.
#
# Steps to install, from the root directory of your repo...
# 1. Copy the file into your repo at `.git/hooks/pre-push`
# 2. Set executable permissions, run `chmod +x .git/hooks/pre-push`
@aezell
aezell / pre-push
Last active January 4, 2016 06:28 — forked from jaredhoyt/pre-push
#!/usr/bin/env ruby
# This script has been slightly adapted from:
# http://blog.bigbinary.com/2013/09/19/do-not-allow-force-pusht-to-master.html
class PrePushHandler
def handle
reject if force_pushing? && pushing_to_master?
end
An elder was teaching his grandchildren about life. He said to them,
"A fight is going on inside me.. it is a terrible fight and it is
between two wolves. One wolf represents fear, anger, envy, sorrow,
regret, greed, arrogance, self-pity, guilt, resentment, inferiority,
lies, false pride, superiority, and ego.
The other stands for joy, peace, love, hope, sharing, serenity,
humility, kindness, benevolence, friendship, empathy, generosity,
truth, compassion, and faith."
@aezell
aezell / fabfile.py
Created April 24, 2013 18:41
Fabfile fun
# Usage: fab provision:type=cache_server
from fabric.api import task, run
import boto
@task
def provision(type="cache_server"):
# do some boto stuff
if type == "app_server":
# build an app server
@aezell
aezell / empty_object.js
Created November 28, 2012 16:14
Is Javascript Object Empty?
// found here http://stackoverflow.com/a/2673229/64266
function isEmptyObject(obj) {
for(var prop in obj) {
if (Object.prototype.hasOwnProperty.call(obj, prop)) {
return false;
}
}
return true;
}