Created
November 6, 2012 19:42
-
-
Save rlemon/4027003 to your computer and use it in GitHub Desktop.
ping fun in SO chat (Bookmarklet)
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
| javascript: var user = prompt("What is the name of the user you would like to ping?");0 === user.indexOf("@") && (user = user.slice(1));$('#input').val(["ping @","\n\nPinging @"," [123.456.789.10] with 32 bytes of data:\nReply from 123.456.789.10: bytes=32 time=42ms TTL=55\nReply from 123.456.789.10: bytes=32 time=42ms TTL=55\nReply from 123.456.789.10: bytes=32 time=42ms TTL=55\nReply from 123.456.789.10: bytes=32 time=42ms TTL=55\n\nPing statistics for 123.456.789.10:\n- Packets: Send = 4, Received = 4, Lost = 0 (0% loss),\nApproximation round trip times in milli-seconds:\n- Minimum = 42ms, Maximum = 42ms, Average = 42ms"].join(user)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment