Skip to content

Instantly share code, notes, and snippets.

View robinbb's full-sized avatar

Robin Bate Boerop robinbb

View GitHub Profile

Mina Repository Management

  • Follow C4 (https://rfc.zeromq.org/spec/42/).
    • This implies much process.
    • Little else should be added or documented, as C4 is nearly sufficient as-is.
  • Roles per C4: Maintainer, Contributor, Administrator
    • Contributors are literally anyone with a GitHub account (as per C4).
    • Maintainers are as per C4, and should be documented publicly with CODEOWNERS, and not a semi-secret cabal.
@robinbb
robinbb / get-bash-script-dir.bash
Last active May 25, 2020 19:42
Get directory of Bash script
#! /usr/bin/env bash
MY_DIR="$(CDPATH='' cd -- "$(dirname "${BASH_SOURCE[0]}")" 2>/dev/null && pwd)"
@robinbb
robinbb / install-nix.sh
Created February 14, 2016 02:08
Install Nix
curl https://raw.githubusercontent.com/robinbb/install-nix/master/install-nix | sh
@robinbb
robinbb / docker-machine-network-connect.sh
Created February 2, 2016 16:15
Establish network route to Docker Machine subnet
#! /bin/sh
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
@robinbb
robinbb / form-url-decode.js
Last active October 18, 2022 09:10
Decode "application/x-www-form-urlencoded" (HTTP POST) Components In JavaScript
/* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.