Skip to content

Instantly share code, notes, and snippets.

@cp
Created October 9, 2013 06:57
Show Gist options
  • Save cp/6897294 to your computer and use it in GitHub Desktop.
Save cp/6897294 to your computer and use it in GitHub Desktop.
# HAIL RUBY
# My response to https://github.com/JacksonGariety/jesus
# Authentication configured through environment variables, per http://rdoc.info/gems/twitter.
require 'twitter'
require 'teller'
loop do
Twitter.unfollow("JacksonGariety")
Teller.tell("Unfollowed Jackson")
sleep(1)
Twitter.follow("JacksonGariety")
Teller.tell("Followed him again.")
sleep(5)
end
@cp
Copy link
Author

cp commented Oct 9, 2013

@kenkeiter Ran into some rate limits, so just added it as a cron job to run every x minutes.

@JacksonGariety
Copy link

I love that it uses a fork of my own notification gem to let you know that I'm being pissed off.

@cp
Copy link
Author

cp commented Oct 9, 2013

The goal was to can as much pissoff as I could into 16 (now 14) lines of code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment