Created
March 11, 2019 23:35
-
-
Save werrpy/3e872d517f48a687d42b812f4e9ef7a1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
python -c "from __future__ import print_function; import requests; print(\"it's up\") if requests.get(\"https://example.com\").status_code == 200 else print(\"it's down\")" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment