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 ruby | |
# Sends cat pics to hipchat using either the hipchat api or kitty command | |
# | |
# Go to https://yourcompany.hipchat.com/account/api to get an API key and put | |
# it in '.api_token' in the same directory as this script. | |
# | |
# To send ascii cats you need the 'kitty' gem installed: gem install kitty | |
# | |
require 'hipchat' | |
require 'json' |