:new<CR> new session
s list sessions
$ name session
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/python | |
import binascii | |
import urllib | |
import re | |
import sys | |
def nextVarInt(fromIndex, bytes): | |
shift = 0 | |
result = 0 |
I hereby claim:
- I am sadlerjw on github.
- I am sadlerjw (https://keybase.io/sadlerjw) on keybase.
- I have a public key whose fingerprint is 83EB 7698 1A59 2325 DBEA 53B6 0133 9C81 C34F 43DC
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
#pragma mark - %filltext:name=Upper-cased Property Name% collection accessor methods | |
// since Cocoa can't synthesize them for us, even though they're trivial boilerplate | |
// This makes me very bitter. | |
- (NSArray *)%filltext:name=Property Name% { | |
return %filltext:name=Variable%; | |
} | |
- (void)set%filltext:name=Upper-cased Property Name%:(NSArray *)%filltext:name=Property Name% { | |
%filltext:name=Variable% = [%filltext:name=Property Name% mutableCopy]; |
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 | |
if [ "$1" == "-h" ]; then | |
echo "Usage: git rm-merged [remote]" | |
echo "Removes any local branches already merged into master" | |
echo "If a remote is supplied, it also removes any branches on that remote that have" | |
echo "been merged into that remote's master branch." | |
exit 1 | |
fi |
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 | |
for f in "${@}" | |
do | |
if [ ! -f "${f%.*}.m4v" ]; then | |
HandBrakeCLI --preset="AppleTV 2" -i "$f" -o "${f%.*}.m4v" | |
else | |
echo "Skpping $f - already exists: ${f%.*}.m4v" | |
fi | |
done |