Forked from jeffkreeftmeijer/is_the_apple_store_still_down.rb
Created
April 13, 2010 11:33
-
-
Save codeblogger/364527 to your computer and use it in GitHub Desktop.
Revisions
-
codeblogger revised this gist
Apr 13, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,6 @@ loop do response = HTTParty.get 'http://store.apple.com/' `say OMG! It\\'s back!` unless response.body.include? "We'll be back soon" sleep 15 end -
codeblogger revised this gist
Apr 13, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,6 @@ loop do response = HTTParty.get 'http://store.apple.com/' `say OMG! It's back\\!` unless response.body.include? "We'll be back soon" sleep 15 end -
jeffkreeftmeijer created this gist
Apr 13, 2010 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ require 'rubygems' require 'httparty' loop do response = HTTParty.get 'http://store.apple.com/' puts "OMG! It's back!" unless response.body.include? "We'll be back soon" sleep 15 end