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
Adeus código velho | |
Feliz código novo | |
Que tudo se refatore | |
Com teste que vai nascer | |
Muitas suites de testes | |
Para aplicação que vou escrever | |
Via @rodrigoospinto |
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
require 'rubygems' | |
require 'net/https' | |
require 'xmlsimple' | |
USERNAME, PASSWORD = '...', '...' | |
@http = Net::HTTP.new 'api.del.icio.us', 443 | |
@http.use_ssl = true | |
@http.start do |http| |
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
require 'rubygems' | |
require 'net/https' | |
require 'xmlsimple' | |
USERNAME, PASSWORD = '...', '...' | |
@http = Net::HTTP.new 'api.del.icio.us', 443 | |
@http.use_ssl = true | |
@http.start do |http| |
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
require 'rubygems' | |
require 'net/https' | |
require 'xmlsimple' | |
USERNAME, PASSWORD = '...', '...' | |
@http = Net::HTTP.new 'api.del.icio.us', 443 | |
@http.use_ssl = true | |
@http.start do |http| |
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
require 'rubygems' | |
require 'net/https' | |
require 'xmlsimple' | |
USERNAME, PASSWORD = '...', '...' | |
@http = Net::HTTP.new 'api.del.icio.us', 443 | |
@http.use_ssl = true | |
@http.start do |http| |
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
require 'rubygems' | |
require 'net/https' | |
require 'xmlsimple' | |
USERNAME, PASSWORD = '...', '...' | |
@http = Net::HTTP.new 'api.del.icio.us', 443 | |
@http.use_ssl = true | |
@http.start do |http| |
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
require 'rubygems' | |
require 'twitter' | |
USERNAME, PASSWORD = '...', '...' | |
@http_auth = Twitter::HTTPAuth.new USERNAME, PASSWORD, :ssl => true | |
@client = Twitter::Base.new @http_auth | |
puts '----------------' | |
puts 'Friends timeline' |
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
require 'rubygems' | |
require 'twitter' | |
puts '------------' | |
puts 'Basic search' | |
puts '------------' | |
puts "\n" | |
Twitter::Search.new('mourdok').each do |tweet| | |
puts "From user: #{tweet.from_user} | Text: #{tweet.text}" |
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
require 'rubygems' | |
require 'twitter' | |
puts '------' | |
puts 'Trends' | |
puts '------' | |
puts "\n" | |
Twitter::Trends.current.each do |trend| | |
puts "Name: #{trend.name}" |
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
// Adding jQuery for Any Console | |
// via http://techrageo.us/2008/03/05/jquery-for-firebug/ | |
javascript:void((function(){ | |
j=document.createElement("SCRIPT"); | |
j.src="http://code.jquery.com/jquery-latest.pack.js"; | |
document.getElementsByTagName("HEAD")[0].appendChild(j); | |
})()) |
OlderNewer