Skip to content

Instantly share code, notes, and snippets.

View geek's full-sized avatar
🏠
Working from home

Wyatt Preul geek

🏠
Working from home
View GitHub Profile
#!/usr/sbin/dtrace -s
pid$1::*HandleScopeC1*:entry
{
self->cone++;
}
pid$1::*HandleScopeD1*:entry
/self->cone/
{
@geek
geek / create-machine
Last active September 2, 2015 02:22 — forked from mikew/00-README.md
docker-machine create -d vmwarefusion
#!/bin/bash
name="${1:-test}"
dir="${HOME}/.docker/machine/machines/${name}"
vmx="${dir}/${name}.vmx"
vmrun="/Applications/VMware Fusion.app/Contents/Library/vmrun"
# Something about the initial run of docker-machine+vmwarefusion needs sudo
sudo docker-machine create -d vmwarefusion "${name}"