Skip to content

Instantly share code, notes, and snippets.

View tkers's full-sized avatar
🍒

Tijn Kersjes tkers

🍒
View GitHub Profile
{
"env": {
"es6": true
},
"plugins": [
"react"
],
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
@tkers
tkers / rpc.js
Last active October 1, 2015 13:35
/**
* Konnektid - rpc
*
* Copyright(c) 2015 Konnektid
* All rights reserved.
*
* Simple function to communicate with the API without all the
* bullshit that I made up when creating the original API.js module.
* Only handles setting up the correct headers and parsing the data.
*
@tkers
tkers / moscow.bash
Last active August 29, 2015 14:23
Bash MoSCoW
# Introducting MoSCoW for bash:
function must {
# Exit on errors
"$@" || exit $?
}
function should {
# Warn on errors
"$@" || echo "[!] Failed running $@"
}
function could {