Skip to content

Instantly share code, notes, and snippets.

@masui masui/Nexus6

Created Jan 9, 2015
Embed
What would you like to do?
Nexus6が発売されたら通知する
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
You can’t perform that action at this time.