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
while true | |
sleep(10) | |
response = RestClient.get('https://play.google.com/store/devices/details/Nexus_6_64GB_Midnight_Blue?id=nexus_6_blue_64gb') | |
alert = "#{Time.now()} BLUE 64" | |
if response.include? 'We are out of inventory. Please check back soon.' | |
alert += ' STILL OUT...' | |
else | |
alert += '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! AVAILABLE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!' | |
end | |
puts alert |
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
/* | |
* $HeadURL: http://juliusdavies.ca/svn/not-yet-commons-ssl/tags/commons-ssl-0.3.11/src/java/org/apache/commons/ssl/OpenSSL.java $ | |
* $Revision: 144 $ | |
* $Date: 2009-05-25 11:14:29 -0700 (Mon, 25 May 2009) $ | |
* | |
* ==================================================================== | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file |