Skip to content

Instantly share code, notes, and snippets.

@rhunter
rhunter / README.md
Created December 31, 2012 07:55 — forked from anonymous/README.md

Precursor Remix Pack 4

A quick and unofficial UQM package for the fourth and final Precursors album. I'm sure someone working on this already -- someone with better knowledge and experience than me -- but I put this together to gain a bit of experience.

Hopefully you'll find it useful too (at least until the official package comes out).

How do I install it?

@rhunter
rhunter / gist:2962814
Created June 20, 2012 23:07 — forked from jennifersmith/gist:2962703
release_dates.sh
pattern='release_'
all_release_branch_names=($(git show-ref | egrep "$pattern" | cut -d' ' -f 2))
for branch in "${all_release_branch_names[@]}"; do
commit_where_it_branched_from_master=$(git merge-base ${branch} master)
git show $commit_where_it_branched_from_master -s --pretty=format:"$branch branched from master on %cd"
done
@rhunter
rhunter / threshold.sh
Created December 19, 2011 02:29 — forked from xaviershay/threshold.sh
bash golf problem
#!/bin/bash
# Input:
# output this 6
# do not output this 5
#
# Output (and a non-zero exit code):
# output this 6
THRESHOLD=5