Skip to content

Instantly share code, notes, and snippets.

View nhoening's full-sized avatar
💭
Owner at seita.nl - Data-driven decision software.

Nicolas Höning nhoening

💭
Owner at seita.nl - Data-driven decision software.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nhoening on github.
  • I am nhoening (https://keybase.io/nhoening) on keybase.
  • I have a public key ASBliq2pIcWQQIRC0ohOJTQh59kCTMcJSPWtE9W3F0rU8go

To claim this, I am signing this object:

@nhoening
nhoening / gist:136e76c73975e6792596
Created August 20, 2014 14:14
stop and remove all docker containers, don't fail if there are none (good for jenkins)
if [ "$(docker ps | wc -l)" == "1" ]; then docker stop $(docker ps -a); fi
if [ "$(docker ps -a | wc -l)" == "1" ]; then docker rm $(docker ps -a); fi
@nhoening
nhoening / bongo.sh
Last active December 14, 2017 01:40 — forked from francoisTemasys/bongo.sh
Allowing to pass a query for exporting specific data. Added a LIMIT option to limit the number of returned results. Added a debug switch to see errors.
#!/bin/bash
LOADING=false
DEBUG=/dev/null
usage()
{
cat << EOF
usage: $0 [options] <DBNAME>