Skip to content

Instantly share code, notes, and snippets.

Ingo Renner irnnr

View GitHub Profile
@irnnr
irnnr / c4q_techinterview.md
Created Sep 4, 2018 — forked from jamtur01/c4q_techinterview.md
C4Q Technical Interview Slides
View c4q_techinterview.md

Interviewing for Engineering roles


Workshop timetable

  • 15 mins Introduction

Per interview.

View heapdump.js
/**
* 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');
View dos2unix-batch
#!/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" \
@irnnr
irnnr / dsstore-clean
Last active Oct 7, 2015
Clean up .DS_Store files
View dsstore-clean
#!/usr/bin/env bash
find . -name ".DS_Store" | xargs rm
@irnnr
irnnr / docker-fwd
Last active Jun 8, 2016 — forked from deinspanjer/boot2docker-fwd
Tool to manage Docker (docker-machine) port forwarding rules on OS X
View docker-fwd
#!/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 / README.md
Last active Oct 2, 2015
TYPO3 Dynamic Return Type code completion
View README.md
You can’t perform that action at this time.