This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/sbin/dtrace -s | |
pid$1::*HandleScopeC1*:entry | |
{ | |
self->cone++; | |
} | |
pid$1::*HandleScopeD1*:entry | |
/self->cone/ | |
{ |