This file contains hidden or 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
| # Know. | |
| # This command iconv is very helpful. | |
| # Shell to Live! | |
| # Converting the encoding of the legend | |
| iconv -f iso-8859-1 -t utf-8 My\ Movie.srt > My\ Movie\ ENCODED.srt | |
| # :-) Simple as that. | |
| # More information |
This file contains hidden or 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); | |
| })()) |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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| |