Skip to content

Instantly share code, notes, and snippets.

View andre's full-sized avatar

Andre Lewis andre

View GitHub Profile
@andre
andre / hipchat.md
Last active December 19, 2015 14:38
Hipchat notifications

HipChat Notifications

Is email just not fast enough? Do you want instant notification of Scout alerts in your HipChat room? We've added a direct integration to HipChat:

Setup is just what you'd expect - provide your API token (a notification token is fine) and the room name or ID:

$VERBOSE = false
require 'benchmark'
require 'net/http'
require 'net/https'
require 'uri'
class UrlMonitor < Scout::Plugin
include Net
OPTIONS=<<-EOS
FROM ubuntu:trusty
RUN apt-get update && apt-get install -y ruby ruby-dev gcc make curl
RUN gem install sinatra --no-rdoc --no-ri
ADD . /srv/
# start it up
WORKDIR /srv/

Keybase proof

I hereby claim:

  • I am andre on github.
  • I am alewis (https://keybase.io/alewis) on keybase.
  • I have a public key ASD01o6BN0D9I5fD0vid_1wsLHzlIrv6Xjk3mkdmleYeVwo

To claim this, I am signing this object: