Skip to content

Instantly share code, notes, and snippets.

yamatema yamatema

Block or report user

Report or block yamatema

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 1 server.rb
require 'yaml'
require 'twitter'
#OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
CONFIG_FILE = File.dirname(__FILE__) + "/config.yaml"
config_data = YAML.load_file(CONFIG_FILE)
stream_client = Twitter::Streaming::Client.new do |config|
config.consumer_key = config_data['consumer_key']
You can’t perform that action at this time.