Skip to content

Instantly share code, notes, and snippets.

@pushmon
Last active June 18, 2018 17:26
Show Gist options
  • Select an option

  • Save pushmon/1886142 to your computer and use it in GitHub Desktop.

Select an option

Save pushmon/1886142 to your computer and use it in GitHub Desktop.

Revisions

  1. pushmon revised this gist Apr 4, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@ rem Please download curl from https://curl.haxx.se/download.html and add it to y
    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%
  2. pushmon revised this gist Apr 4, 2018. 1 changed file with 10 additions and 2 deletions.
    12 changes: 10 additions & 2 deletions gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,15 @@
    rem
    rem Please download wget.exe from https://eternallybored.org/misc/wget/ and add it to your path.
    rem Please download curl from https://curl.haxx.se/download.html and add it to your path.
    rem

    @echo on
    if %errorlevel% neq 0 goto ERROR
    set URL_STRING=http://pshmn.com/eaFnY
    wget -q -O - %URL_STRING%
    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
  3. pushmon revised this gist Jan 12, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    rem
    rem Please download wget.exe from http://users.ugent.be/~bpuype/wget/ and add it to your path.
    rem Please download wget.exe from https://eternallybored.org/misc/wget/ and add it to your path.
    rem

    @echo on
  4. pushmon revised this gist Apr 4, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -3,5 +3,5 @@ rem Please download wget.exe from http://users.ugent.be/~bpuype/wget/ and add it
    rem

    @echo on
    set URL_STRING = http://pshmn.com/eaFnY
    set URL_STRING=http://pshmn.com/eaFnY
    wget -q -O - %URL_STRING%
  5. pushmon revised this gist Mar 14, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    rem
    rem Please download wget from http://users.ugent.be/~bpuype/wget/
    rem Please download wget.exe from http://users.ugent.be/~bpuype/wget/ and add it to your path.
    rem

    @echo on
  6. pushmon revised this gist Mar 14, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,6 @@ rem
    rem Please download wget from http://users.ugent.be/~bpuype/wget/
    rem

    echo on
    @echo on
    set URL_STRING = http://pshmn.com/eaFnY
    wget -q -O - %URL_STRING%
  7. pushmon revised this gist Mar 14, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,6 @@ rem
    rem Please download wget from http://users.ugent.be/~bpuype/wget/
    rem

    @echo on
    echo on
    set URL_STRING = http://pshmn.com/eaFnY
    wget -q -O - %URL_STRING%
  8. pushmon revised this gist Mar 14, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -2,5 +2,6 @@ rem
    rem Please download wget from http://users.ugent.be/~bpuype/wget/
    rem

    @echo on
    set URL_STRING = http://pshmn.com/eaFnY
    wget -q -O - %URL_STRING%
  9. pushmon revised this gist Mar 14, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    rem Download wget from http://users.ugent.be/~bpuype/wget/
    rem
    rem Please download wget from http://users.ugent.be/~bpuype/wget/
    rem

    set URL_STRING = http://pshmn.com/eaFnY
    wget -q -O - %URL_STRING%
  10. pushmon revised this gist Mar 5, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    rem Download wget from http://users.ugent.be/~bpuype/wget/

    set URL_STRING = http://ping.pushmon.com/ping/5f6090d6-714f-4f47-bc7a-5f878996ef57
    set URL_STRING = http://pshmn.com/eaFnY
    wget -q -O - %URL_STRING%
  11. pushmon revised this gist Feb 22, 2012. No changes.
  12. pushmon renamed this gist Feb 22, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  13. pushmon revised this gist Feb 22, 2012. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,4 @@
    rem
    rem Download wget from http://users.ugent.be/~bpuype/wget/
    rem

    set URL_STRING = http://ping.pushmon.com/ping/5f6090d6-714f-4f47-bc7a-5f878996ef57
    wget -q -O - %URL_STRING%
  14. pushmon revised this gist Feb 22, 2012. No changes.
  15. pushmon created this gist Feb 22, 2012.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    rem
    rem Download wget from http://users.ugent.be/~bpuype/wget/
    rem

    set URL_STRING = http://ping.pushmon.com/ping/5f6090d6-714f-4f47-bc7a-5f878996ef57
    wget -q -O - %URL_STRING%