Created
November 29, 2014 04:34
-
-
Save masui/6ec408cc5129a7919f58 to your computer and use it in GitHub Desktop.
Nexus6が発売されたら通知する
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
# -*- coding: utf-8 -*- | |
system "wget -O /tmp/nexus6 https://play.google.com/store/devices/details/Nexus_6_64_GB_%E3%83%80%E3%83%BC%E3%82%AF%E3%83%96%E3%83%AB%E3%83%BC?id=nexus_6_blue_64gb" | |
res = system "grep '近日発売' /tmp/nexus6 > /dev/null" | |
unless res | |
system "echo 'Nexus6 is out.' | mail masui@pitecan.com" | |
system "echo 'Nexus6 is out.' | mail masui@masui.org" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment