I hereby claim:
- I am steverichey on github.
 - I am steverichey (https://keybase.io/steverichey) on keybase.
 - I have a public key whose fingerprint is 516B 6908 5CE8 D147 B985 5E42 9011 2DDB F6AB F744
 
To claim this, I am signing this object:
| # Save as `egg.py` | |
| # Run with `monkeyrunner egg.py` | |
| # Must have Android SDK `tools` directory in your PATH | |
| from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice, MonkeyView | |
| device = MonkeyRunner.waitForConnection() | |
| # These will vary depending on your device! | |
| x = 720 | 
| #!/bin/bash | |
| cat << EOF | |
| ########################################################### | |
| # Workaround adb disconnecting issue on macOS Sierra | |
| # | |
| # More info: | |
| # https://code.google.com/p/android/issues/detail?id=219085 | |
| # credits to: [email protected], [email protected] | |
| ########################################################### | 
I hereby claim:
To claim this, I am signing this object:
| # Python script to eject disk images passed as args | |
| # Create a new Folder Action in Automator and add a Run Shell Script step | |
| # Set the shell to /usr/bin/python *AND* set "Pass input:" to "as arguments" | |
| # Paste this script and save! Images moved to the trash are now auto-ejected | |
| # Mostly based on http://www.guidingtech.com/26874/eject-delete-dmg-files-automatically/ | |
| import os, sys | |
| # Bail if we didn't wipe a DMG | 
| #!/bin/sh | |
| filename="${1%.*}" | |
| convert $1 -gravity North -chop 0x72 ${filename}-trimmed.png | |
| convert ${filename}-trimmed.png -gravity South -chop 0x96 ${filename}-trimmed-both.png | 
| #!/bin/sh | |
| set -eu | |
| ZIP_FILENAME="experience.zip" | |
| JS_FILENAME="template.js" | |
| WTC_FILENAME="tracker.wtc" | |
| DATENAME=`date +"%Y-%m-%d-%H%M%S"` | |
| OUTPUT_JS_DIR="scripts" | |
| OUTPUT_WTC_DIR="augmentation-trackers/4.1" | 
| #!/bin/sh | |
| usage () | |
| { | |
| echo "Usage:\nsh icons.sh standard_icon.pdf debug_icon.pdf" | |
| exit 1 | |
| } | |
| # usage: iconize input/file.pdf some/output/path/file.png 256 | |
| # where `256` is the size to generate | 
| #!/bin/sh | |
| # exit early on errors | |
| set -eu | |
| # from: brew.sh, install homebrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # latest node via homebrew is borked, install 6.x instead | |
| brew install node@6 | 
| import Cocoa | |
| import AVFoundation | |
| import AVKit | |
| import QuartzCore | |
| import PlaygroundSupport | |
| import AppKit | |
| import CoreGraphics | |
| import CoreImage | |
| let playgroundView = NSView(frame: NSRect(x: 0.0, y: 0.0, width: 640.0, height: 480.0)) | 
| #!/bin/sh | |
| # this was created for an admittedly specialized purpose but has some neat settings i want to remember | |
| palette="/tmp/palette.png" | |
| cropped="/tmp/cropped.mp4" | |
| width="275" | |
| filters="fps=15,scale=${width}:-1:flags=lanczos" |