- 15 mins Introduction
Per interview.
/** | |
* Simple userland heapdump generator using v8-profiler | |
* Usage: require('[path_to]/HeapDump').init('datadir') | |
* | |
* @module HeapDump | |
* @type {exports} | |
*/ | |
var fs = require('fs'); | |
var profiler = require('v8-profiler'); |
#!/usr/bin/env bash | |
# forked from https://gist.github.com/deinspanjer/9215467 | |
# changed to work with docker-machine instead of boot2docker | |
usage () | |
{ | |
cat <<USAGE | |
docker-fwd -- Helper function to quickly manage port forwards between the docker-machine-vm and the host | |
Usage: docker-fwd [ -n RULE_NAME ] [ -h HOST_PORT ] [ -p {tcp|udp} ] [ -i HOST_IP ] GUEST_PORT |