Created
October 9, 2013 06:57
-
-
Save cp/6897294 to your computer and use it in GitHub Desktop.
This file contains 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
# 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 |
@kenkeiter Ran into some rate limits, so just added it as a cron job to run every x minutes.
I love that it uses a fork of my own notification gem to let you know that I'm being pissed off.
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
Ooh, I like this script.