Skip to content

Instantly share code, notes, and snippets.


metacollin metacollin

View GitHub Profile
# Script to instruct the Mac how to route packets to the
# software defined network where containers created via boot2docker
# reside. This lets you casually directly to ports (ssh, http, etc. etc.)
# on those containers.
function ohfk(){ echo "FUCK: $*" ; }
function ohno(){ echo "FAILING: $*" ; exit 1; }
[ ! -z "$1" ] && DOCKER_MACHINE_ID="$1" || DOCKER_MACHINE_ID="default"
metacollin /
Last active Jul 2, 2016
clang and openmp in Mac OS X

Refer to .

We need to install something:

brew install libiomp
brew install clang-omp

Then we need to set the environment: