Skip to content

Instantly share code, notes, and snippets.

View AaronTraas's full-sized avatar

Aaron Traas AaronTraas

View GitHub Profile
[alias]
rekt = reset --hard
tidy = !git remote prune origin && git branch -vv | grep ':gone]' | awk '{print }' | xargs git branch -D
unwatch = update-index --assume-unchanged
watch = update-index --no-assume-unchanged
unwatched = "!git ls-files -v | grep '^[[:lower:]]'"
watchall = "!git unwatched | xargs -L 1 -I % sh -c 'git watch `echo % | cut -c 2-`'"
@unruthless
unruthless / CSS for <sup> and <sub>
Created May 26, 2010 01:31
CSS for <sub> and <sup>
sub, sup {
/* Specified in % so that the sup/sup is the
right size relative to the surrounding text */
font-size: 75%;
/* Zero out the line-height so that it doesn't
interfere with the positioning that follows */
line-height: 0;
/* Where the magic happens: makes all browsers position