Skip to content

Instantly share code, notes, and snippets.

View jaredjenkins's full-sized avatar

Jared Jenkins jaredjenkins

  • Chronosphere
  • Chicago
View GitHub Profile
@gcatlin
gcatlin / gist:1847248
Created February 16, 2012 19:43
Install specific version of Homebrew formula
brew update
brew versions FORMULA
cd `brew --prefix`
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions"
brew install FORMULA
brew switch FORMULA VERSION
git checkout -- Library/Formula/FORMULA.rb # reset formula
## Example: Using Subversion 1.6.17
#
@justinjc
justinjc / monorepo-merge.sh
Last active September 9, 2022 21:27
Merging m3db/* repos into m3db/m3
#!/bin/bash
set -euo pipefail
usage() {
echo "usage: $0 <repo> <name>"
echo
echo "<repo>"
echo " The repo link, e.g. https://github.com/m3db/m3coordinator.git"
echo