This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [ $# -ne 1 ]; then | |
echo "controle-plane-endpoint is required" 1>&2 | |
exit 1 | |
fi | |
CONTROLE_PLANE_ENDPOINT=$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Put followings your .tmux.conf | |
# | |
# bind ^T run-shell tmux-ghq | |
# | |
set -e | |
fzfcmd="fzf-tmux -d${FZF_TMUX_HEIGHT:-40%} -e +s" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getClass(o) { | |
var res; | |
return o == null | |
? o === null ? "null" : "undefined" | |
: (res = o.constructor | |
.toString() | |
.match(/^function ([^\(]+)|object (\w+)/)) | |
&& res[1] || res[2]; | |
} |