This file contains hidden or 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/sh | |
| # Location: bin/hubot | |
| # Hubot custom launcher, using forever (https://github.com/nodejitsu/forever). | |
| # If you want to run hubot locally, don't call this script. run this instead: | |
| # coffee node_modules/.bin/hubot | |
| npm install | |
| # put below path into hubot.env along with other hubot environment variables | |
| # export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH" |
This file contains hidden or 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 | |
| TOKEN=<your Pushover token> | |
| USER=<generated by Pushover> | |
| MSG="Udah up nih bro!" | |
| URL="url-you-need-to-check" | |
| out=$(curl --write-out "%{http_code}\n" --silent --output /dev/null $URL) | |
| if [ $out = '200' ] ; then | |
| curl -s \ | |
| -F "token=$TOKEN" \ | |
| -F "user=$USER" \ |
This file contains hidden or 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/sh | |
| git --no-pager log -n 20 --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative |
NewerOlder