This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import sys | |
import argparse | |
import subprocess | |
from os import path | |
# Encode file w handbrakecli command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
## | |
# desc: This program will attempt to automatically verify any apache project | |
# release candidate (RC) that it understands. Verification info and steps | |
# can be found on the Apache website [1]. | |
# http://www.apache.org/info/verification.html | |
# | |
# arg1: project to pull, build, and test from the supported list | |
# arg2: version of the project to build (e.g. 5.4.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Here we build our own CLI event loop with the '--' as the stop | |
OPT="$1" | |
while [ ! "$OPT" = "--" -a ! $# -eq 0 ]; do | |
case $OPT in | |
-f) | |
FORCE_INSTALL=1 | |
shift | |
;; | |
*) | |
echo "Unknown option: $OPT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am brennonyork on github. | |
* I am boyork (https://keybase.io/boyork) on keybase. | |
* I have a public key whose fingerprint is AFC6 04B6 B941 CA74 1D80 6871 60FC 011F 7EE3 2B29 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl https://gist.githubusercontent.com/brennonyork/10221942/raw/lt-user-behaviors.clj > "/Users/boyork/Library/Application Support/LightTable/settings/user.behaviors" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# From: | |
# http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
# Grab the current project name from the project.clj file | |
PROJECT_NAME=`echo -e "\ | |
with open('$DIR/../project.clj', 'r') as f:\n\ | |
for line in f:\n\ |