Skip to content

Instantly share code, notes, and snippets.

@dirceu-jr
Created October 2, 2008 22:28
Show Gist options
  • Save dirceu-jr/14463 to your computer and use it in GitHub Desktop.
Save dirceu-jr/14463 to your computer and use it in GitHub Desktop.
# Dirceu Júnior - São Paulo - 2008-09
# Usar Photoshop pra fazer convite eh coisa de n00b!
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING:DISTRIBUTION AND MODIFICATION
# 0. You just DO WHAT THE FUCK YOU WANT TO.
#
# WTFPL: http://sam.zoy.org/wtfpl/
require 'date'
require 'twitter'
class NerdsOnBeer
def initialize
@bar = 'El Malak'
@addr = { :rua => 'Alameda Santos',
:num => 'não saber',
:bairro => 'Jardim Paulista',
:cidade => 'Sao Paulo',
:uf => 'SP',
:cep => '01419-000',
:pais => 'br',
:mapuri => 'http://boo-box.com/tmp/nerdsonbeer-elmalak.jpg',
:ref => 'perto da /prainha/'
}
@data = Date.new(2008, 10, 2).to_s
end
def chamaPovo
client = Twitter::Client.new :login => 'dirs', :password => ';D'
new_message = client.message :post, "Vamo pro NoB #{[email protected]}"
end
end
nob = NerdsOnBeer.new
nob.chamaPovo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment