View mesos_cadvisor_prometheus_grafana
# This marathon.json deploys cadvisor to each node and exposes it on port 3002.
"id": "cadvisor",
"cpus": 0.1,
"mem": 100,
"disk": 0,
"instances": 8, // equal to number of agent nodes you have
"constraints": [["hostname", "UNIQUE"]],
# A simple script to backup an organization's GitHub repositories.
# NOTE: if you have more than 100 repositories, you'll need to step thru the list of repos
# returned by GitHub one page at a time, as described at
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up
# (if you're backing up a user's repos instead, this should be your GitHub username)
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API)
View BluetoothRestart
sudo launchctl unload /System/Library/LaunchDaemons/
sudo launchctl load /System/Library/LaunchDaemons/

Abstract for Atlanta Docker Meetup

Panamax - Docker Management for Humans

An open-source project that makes deploying complex containerized apps as easy as drag-and-drop.

Join me in discovering Panamax, and find out how its functionality will enhance your use of Docker and simplify common pain points. Docker is good, but Panamax makes it awesome. I will introduce Panamax, and take you on a journey where we will create containerized applications, and then share the applications with our friends. I will also touch upon the basic architecture and underpinnings of Panamax. Panamax is open-source, so you can also learn how to contribute and stay involved as new features are added.

Learn more at and view this nice video:

View sanitize.rb
def sanitize_name(bad_name)
# Allow only chars - A-z, 0-9, ., -, _ in names
bad_name.gsub(/[^0-9A-z.-]|[\^]|[\`]|[\[]|[\]]/, '_')
View MongoDBNotes.txt
#start mongodb
mongod run --config /usr/local/Cellar/mongodb/1.4.3-x86_64/mongod.conf
#launch mongodb automatically on logon
launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
View VimNotes.txt
Fugitive.vim - git commit from inside vim
Nerdtree.vim - project folders
surround.vim -
unimpaired.vim - bracket shortcuts
Vimperator - vim in FF browser
Vimium - vim in Chrome browser
afterimage.vim - edit pngs in vim