Skip to content

Instantly share code, notes, and snippets.

View justinjc's full-sized avatar

Justin Chan justinjc

View GitHub Profile
@justinjc
justinjc / monorepo-merge.sh
Last active September 9, 2022 21:27
Merging m3db/* repos into m3db/m3
#!/bin/bash
set -euo pipefail
usage() {
echo "usage: $0 <repo> <name>"
echo
echo "<repo>"
echo " The repo link, e.g. https://github.com/m3db/m3coordinator.git"
echo
coordinator:
listenAddress: 0.0.0.0:7201
metrics:
scope:
prefix: "coordinator"
prometheus:
handlerPath: /metrics
listenAddress: 0.0.0.0:7203 # until https://github.com/m3db/m3db/issues/682 is resolved
sanitization: prometheus
// ==UserScript==
// @name Prev/Next Github comment
// @namespace justinjc
// @description Userscript that adds prev/next comment hotkeys for Github.
// @include https://github.com*
// @version 0.1
// @author Justin Chan
// @copyright 2019 Justin Chan
// ==/UserScript==