Skip to content

Instantly share code, notes, and snippets.

@irnnr
irnnr / README.md
Last active October 2, 2015 02:14
TYPO3 Dynamic Return Type code completion
@irnnr
irnnr / docker-fwd
Last active June 8, 2016 06:58 — forked from deinspanjer/boot2docker-fwd
Tool to manage Docker (docker-machine) port forwarding rules on OS X
#!/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
@irnnr
irnnr / dsstore-clean
Last active October 7, 2015 20:26
Clean up .DS_Store files
#!/usr/bin/env bash
find . -name ".DS_Store" | xargs rm
#!/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" \
/**
* 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');
@irnnr
irnnr / c4q_techinterview.md
Created September 4, 2018 02:22 — forked from jamtur01/c4q_techinterview.md
C4Q Technical Interview Slides

Interviewing for Engineering roles


Workshop timetable

  • 15 mins Introduction

Per interview.