Created
November 4, 2011 06:57
-
-
Save yachi/1338813 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
while sleep 15; do if [ `curl -s "http://store.apple.com/hk" |md5` != 3627b1dac6a928cfc587d5ac3be0654c ]; then open http://store.apple.com; fi done |
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 sleep 2 ; do | |
if [ `curl http://store.apple.com/hk/browse/home/shop_iphone/family/iphone/iphone4s -s |grep "Currently unavailable"|wc -l` != 10 ]; then | |
open "http://store.apple.com/hk/browse/home/shop_iphone/family/iphone/iphone4s" | |
while true; do | |
echo "有貨啦哈哈哈" | |
say -v sin-ji "有貨啦哈哈哈" | |
done | |
else | |
if [ $(echo $(head /dev/urandom | md5 | tr -cd '[[:digit:]]')%2|bc) == 0 ]; then | |
echo "做野啦望 $(date +%H:%M:%S)" | |
else | |
echo "成功須苦幹 $(date +%H:%M:%S)" | |
fi | |
sleep 10 | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment