Skip to content

Instantly share code, notes, and snippets.

View phaus's full-sized avatar
🦓

Philipp Haussleiter phaus

🦓
View GitHub Profile
@phaus
phaus / checkGC.sh
Last active September 27, 2016 12:02
check for OBJC_IMAGE_SUPPORTS_GC macOS Sierra compatibility
#!/bin/bash
checkFile(){
FILE=$1
OTOOL=`which otool`
TAIL=`which tail`
IFS='/' read -ra ADDR <<< "$FILE"
unset APP
for i in "${ADDR[@]}"; do
if [[ ! "${i-}" = $'\n' ]]; then
@phaus
phaus / dalmatinerfe.log
Created July 17, 2018 23:30
dalmatinerfe errors
==> /data/dalmatinerfe/log/console.log <==
2018-07-17 23:29:23.562 [info] <0.659.0> Application lager started on node '[email protected]'
2018-07-17 23:29:23.568 [info] <0.659.0> Application cowboy started on node '[email protected]'
2018-07-17 23:29:23.568 [info] <0.659.0> Application epgsql started on node '[email protected]'
2018-07-17 23:29:23.569 [info] <0.659.0> Application dflow started on node '[email protected]'
2018-07-17 23:29:23.579 [info] <0.659.0> Application ddb_connection started on node '[email protected]'
2018-07-17 23:29:23.590 [info] <0.659.0> Application pgapp started on node '[email protected]'
2018-07-17 23:29:23.590 [info] <0.659.0> Application dqe_idx_ddb started on node '[email protected]'
2018-07-17 23:29:23.591 [info] <0.659.0> Application dqe_fun started on node '[email protected]'
2018-07-17 23:29:23.591 [info] <0.659.0> Application sqlmig started on node '[email protected]'
@phaus
phaus / bundle.js
Created February 10, 2020 14:23
resulting dist/bundle.js
(function () {
'use strict';
let BLANKS = [undefined, null, false];
function simpleLog(type, msg) {
console.log(`[${type}] ${msg}`); // eslint-disable-line no-console
} // returns a function that invokes `callback` only after having itself been
// invoked `total` times
function awaitAll(total, callback) {