Skip to content

Instantly share code, notes, and snippets.


osman breadtk

View GitHub Profile
breadtk / gist:bf3591a1ec181b62b659b68411694a06
Last active Feb 12, 2019
Stevey's Google Platforms Rant
View gist:bf3591a1ec181b62b659b68411694a06
(archived from:
Stevey's Google Platforms Rant
I was at Amazon for about six and a half years, and now I've been at Google for
that long. One thing that struck me immediately about the two companies -- an
impression that has been reinforced almost daily -- is that Amazon does
everything wrong, and Google does everything right. Sure, it's a sweeping
generalization, but a surprisingly accurate one. It's pretty crazy. There are
probably a hundred or even two hundred different ways you can compare the two
breadtk / twitter_cleaner.rb
Created Mar 2, 2016
Clean up old tweets and favorites so they don't hang around.
View twitter_cleaner.rb
#!/usr/bin/env ruby
# A simple script which will periodically clean out your Twitter timeline.
# Consider running this under a cron job for maximum effectiveness.
require 'twitter'
username = "myusername" # User "username" not "@username"
days_ago = 30 # Only tweets further away than this Int will be deleted.
opts = {
:since_id => 1,
:count => 200,
View twitter_self_destruct.rb
#!/usr/bin/env ruby
# A simple script which will unilaterally delete all of your own tweets.
require 'twitter'
username = "TWITTERHANDLE"
c = do |config|
config.consumer_key = "CONSUMER_KEY"
config.consumer_secret = "CONSUMER_SECRET"
config.access_token = "ACCESS_TOKEN"

Keybase proof

I hereby claim:

  • I am breadtk on github.
  • I am osman ( on keybase.
  • I have a public key whose fingerprint is D4CA DF59 50B9 E29A 1EE2 9166 E065 62A4 8F03 133A

To claim this, I am signing this object:

You can’t perform that action at this time.