Skip to content

Instantly share code, notes, and snippets.

Avatar

metacollin metacollin

View GitHub Profile
View make_docker_chooch.sh
#!/bin/bash
# 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
metacollin / note.md
Last active Jul 2, 2016
clang and openmp in Mac OS X
View note.md

Refer to https://clang-omp.github.io/ .

We need to install something:

brew install libiomp
brew install clang-omp

Then we need to set the environment: