Skip to content

Instantly share code, notes, and snippets.

View akoenig's full-sized avatar
🐝

André König akoenig

🐝
View GitHub Profile

Keybase proof

I hereby claim:

  • I am akoenig on github.
  • I am andrekoenig (https://keybase.io/andrekoenig) on keybase.
  • I have a public key ASCmH4ikELj1nb5IqsUp2HwtTtAAv7EI8ep833n_qkDtDwo

To claim this, I am signing this object:

@akoenig
akoenig / index.js
Last active June 28, 2017 07:57
requirebin sketch
const moment = require('moment');
// Einmal die Browser-Console öffnen ...
console.log(moment(new Date('2017-06-27T13:36:05.803Z')).fromNow());
@akoenig
akoenig / myEditor.js
Last active April 29, 2016 08:29 — forked from grebaldi/myEditor.js
How runtime dependencies could work for Guevara
export default [
//
// The store shard function
//
({user}) => ({
user
}),
//
@akoenig
akoenig / package.json
Created June 27, 2015 18:19
npm: referencing properties
{
"name": "awesome-package",
"version": "1.0.0",
"description": "Well, an awesome package.",
"author": "André König <[email protected]>",
"main": "index",
"config": {
"distdir": "dist"
},
"scripts": {
@akoenig
akoenig / 0_reuse_code.js
Last active August 29, 2015 14:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@akoenig
akoenig / index.js
Last active August 29, 2015 14:13
logbot - Simple IRC log bot
#!/usr/bin/env node
/*
* logbot
*
* Copyright(c) 2015 André König <[email protected]>
* MIT Licensed
*
*
*/
@akoenig
akoenig / keybase.md
Created September 24, 2014 07:24
keybase.md

Keybase proof

I hereby claim:

  • I am akoenig on github.
  • I am akoenig (https://keybase.io/akoenig) on keybase.
  • I have a public key whose fingerprint is 1A29 D86F E0D6 93E7 2932 328C 3BFF A19D A565 EA84

To claim this, I am signing this object:

#!/usr/bin/env node
/*
* dnsd
*
* Copyright(c) 2014 André König <[email protected]>
* MIT Licensed
*
*/
@akoenig
akoenig / docker
Created March 25, 2014 20:08
Debian init script for Docker
#!/bin/sh
### BEGIN INIT INFO
# Provides: docker
# Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Linux container runtime
# Description: Linux container runtime
@akoenig
akoenig / loc.js
Last active August 29, 2015 13:57
A super-duper-tiny LOC counter (with no external dependencies).
#!/usr/bin/env node
'use strict';
/**
*
* A super-duper-tiny LOC counter (with no external dependencies).
*
* Usage: loc "path" "extension-to-filter"
*