Skip to content

Instantly share code, notes, and snippets.

@pushmon
Last active June 18, 2018 17:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pushmon/1886142 to your computer and use it in GitHub Desktop.
Save pushmon/1886142 to your computer and use it in GitHub Desktop.
Batch File
rem
rem Please download curl from https://curl.haxx.se/download.html and add it to your path.
rem
@echo on
rem if command fails, exit and do not ping
if %errorlevel% neq 0 goto ERROR
set URL_STRING=http://pshmn.com/eaFnY
curl %URL_STRING%
rem
rem If you prefer wget, please download wget.exe from https://eternallybored.org/misc/wget/ and add it to your path.
rem
rem wget -q -O - %URL_STRING%
:ERROR
@szepeviktor
Copy link

@pushmon Please correct the URL

Binary: https://eternallybored.org/misc/wget/

Mozilla CA certificate store: https://curl.haxx.se/ca/cacert.pem

@pushmon
Copy link
Author

pushmon commented Jan 12, 2018

Thanks szepeviktor. I just saw your comment now, so sorry for the super late reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment