Skip to content

Instantly share code, notes, and snippets.

@mdw
mdw / bleet.rb
Created May 23, 2009 05:42
blellow.com command line posting
#!/usr/bin/env ruby
require 'rubygems'
require 'rest_client'
# usage: ./bleet.rb "your message goes here"
class Bleet
@@account = "mikeward"
@@password = "bl3ll0w9"
BlellowPostUrl = "http://api.blellow.com/#{@@account}/messages.json"
#!/opt/local/bin/ruby
# tweet from command line to various twitter accounts, like this:
require 'rubygems'
require 'rest_client'
path = File.join(File.join(ENV['HOME'], ".twitter"), "tweetlist.yml")
tweetlist = YAML::load_file(path)