Skip to content

Instantly share code, notes, and snippets.

View grega's full-sized avatar

Greg Annandale grega

View GitHub Profile
@grega
grega / shh.rb
Created March 8, 2018 15:01 — forked from robinsloan/shh.rb
Disable RTs from all the people you follow on Twitter.
require "rubygems"
require "twitter"
# get these from apps.twitter.com
CONSUMER_KEY = "foo"
CONSUMER_SECRET = "bar"
OAUTH_TOKEN = "blee"
OAUTH_TOKEN_SECRET = "baz"
TWITTER_USER = "your_username" # needs to be the one associated with keys above