Just add this bad boy in your Hubot's scripts
directory, then call hubot failboat
.
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/sh | |
# Mostly stolen from https://github.com/vidpresso/hubot-syncer/blob/master/pullpushprod.sh | |
cd /app | |
echo "Setting up SSH." | |
mkdir /app/.ssh | |
echo "$SSH_PRIVATE_KEY" > .ssh/id_rsa | |
echo "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config |
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
while :; do; say -v Whisper "is anybody there"; sleep 3; done |
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
require 'net/http' | |
require 'json' | |
# contants | |
BASECAMP_USERNAME = ARGV[0] | |
BASECAMP_PASSWORD = ARGV[1] | |
BASECAMP_EMAIL = ARGV[2] | |
BASECAMP_COMPANY_IDS = ARGV[3].split(",") | |
QUERY = ARGV[4] |
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
machine: | |
pre: | |
- brew update; brew cleanup; brew cask cleanup | |
- brew uninstall --force brew-cask; brew update | |
- brew install brew-cask | |
- brew install homebrew/versions/node010 | |
- curl https://install.meteor.com | sh | |
- brew cask install google-chrome | |
- brew install chromedriver |
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
const Article = React.createClass({ | |
mixins: [Likeable], | |
// everything else | |
}); |
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
class Article extends React.Component { | |
// everything else | |
} |
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
import { Likes } from "apollos/core/lib/collections" | |
import { nav as navActions, liked as likedActions } from "apollos/core/client/actions" | |
import Helpers from "app/client/helpers" | |
const Likeable = { | |
componentWillMount: function() { | |
this.likeableAction = this.onClickAction.bind(this) | |
}, |
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
import { Component } from "react" | |
import ReactMixin from "react-mixin" | |
import { Likeable } from "app/client/mixins" | |
@ReactMixin.decorate(Likeable) | |
export default class Article extends Component { | |
// everything else | |
} |
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
class BitminterNative extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
user: null, | |
api_key: null, | |
input_value: null, | |
}; | |
} | |
} |
OlderNewer