Skip to content

Instantly share code, notes, and snippets.

@hiroara
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiroara/287da2bccb71ddd5c947 to your computer and use it in GitHub Desktop.
Save hiroara/287da2bccb71ddd5c947 to your computer and use it in GitHub Desktop.
YOで復活通知
yo="curl -X POST -d username=$USERNAME -d api_token=$APITOKEN https://api.justyo.co/yo/"
until nslookup rubygems.org && nslookup bb-m.rubygems.org && $yo; do echo "fail..."; sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment