o*****t 发帖数: 13 | 1 If you have linux you can run this script which checks the existence of the
unofficial pdf every minute. If the pdf appears it will pop up the
calculator window for you, otherwise just print a message:
#!/bin/bash
r="not available"
while [ -n "$r" ]
do
echo "Still not available at " `date`
sleep 60
r=`curl http://travel.state.gov/pdf/visabulletin/visabulletin_April2012.pdf 2>/dev/null | grep "we couldn't find that page"`
done
gnome-calculator |
i****s 发帖数: 1152 | |
i****s 发帖数: 1152 | 3 我用google search这个
pdf site:http://travel.state.gov inurl:pdf/visabulletin |
l********l 发帖数: 9452 | 4 firefox -> reload every 10s |
i****s 发帖数: 1152 | 5 10s, 也太狠了
大家都这么搞,还不把丫server用log file给撑爆了
【在 l********l 的大作中提到】 : firefox -> reload every 10s
|
o*****t 发帖数: 13 | 6 Problem with google search is that Google doesn't refresh VB site content in
real time. It takes some time for Google to be aware that VB has been
updated. A few hours a least I think. |
l**7 发帖数: 3940 | 7 PDF is more official than HTML version... |
s9 发帖数: 1192 | 8 pop up calculator is funny!
BTW: you may have to check out both "April" and "Apr". LOL
the
【在 o*****t 的大作中提到】 : If you have linux you can run this script which checks the existence of the : unofficial pdf every minute. If the pdf appears it will pop up the : calculator window for you, otherwise just print a message: : #!/bin/bash : r="not available" : while [ -n "$r" ] : do : echo "Still not available at " `date` : sleep 60 : r=`curl http://travel.state.gov/pdf/visabulletin/visabulletin_April2012.pdf 2>/dev/null | grep "we couldn't find that page"`
|