- 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 | |
find . -name "ChangeLog" \ | |
-o -name "Changelog" \ | |
-o -name "LICENSE" \ | |
-o -name "README" \ | |
-o -name "*.php" \ | |
-o -name "*.inc" \ | |
-o -name "*.txt" \ | |
-o -name "*.log" \ |
#!/usr/bin/env bash | |
find . -name ".DS_Store" | xargs rm |
#!/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 |
TYPO3 Dynamic Return Type code completion
When using PhpStorm:
You're welcome, you owe me a beer.