I hereby claim:
- I am dipolesource on github.
- I am dipolesource (https://keybase.io/dipolesource) on keybase.
- I have a public key whose fingerprint is 6CED E45F 9C06 AEE8 4E90 4E97 A9C5 2232 35D3 8970
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2281433/hack.sh | sh | |
# |
"\e[1~": beginning-of-line | |
"\e[4~": end-of-line | |
“\e[5~”: history-search-backward | |
“\e[6~”: history-search-forward | |
"\e[3~": delete-char | |
"\e[2~": quoted-insert | |
"\e[5C": forward-word | |
"\e[5D": backward-word | |
"\e\e[C": forward-word | |
"\e\e[D": backward-word |
check host juggernaut with address 127.0.0.1 | |
start program = "/bin/bash -c '2>&1 1>>/home/deploy/juggernaut.log /usr/local/bin/node /usr/local/lib/node_modules/juggernaut/server.js'" | |
stop program = "/bin/kill -9 $(pidof node);/bin/kill -9 $(pgrep -f 'bash -c 2>&1 1>>/home/deploy/juggernaut.log')" | |
if failed port 8080 protocol HTTP | |
request /application.js | |
with timeout 10 seconds | |
then restart |