Skip to content

Instantly share code, notes, and snippets.

@tobias
Created November 5, 2009 15:15
Show Gist options
  • Save tobias/227107 to your computer and use it in GitHub Desktop.
Save tobias/227107 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
require 'rubygems'
require 'tinder'
load "#{ENV['HOME']}/.campfire_status"
msg = "[#{USER_NAME} @ #{Time.now.strftime('%I:%M%p')}] #{ARGV.join(' ')}"
campfire = Tinder::Campfire.new(CAMPFIRE_SITE)
campfire.login(CAMPFIRE_EMAIL, CAMPFIRE_PASSWORD)
room = campfire.find_room_by_name(CAMPFIRE_ROOM)
room.speak(msg)
campfire.logout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment