3 ms·
/web/null eats your HTTP
- geraldalewis 15y agoI usually use example.com for this. ... I should probably stop spamming them.
- wgx 15y agoExample.com is an IANA domain, reserved for testing and documentation purposes. So, you're not spamming them. http://www.iana.org/domains/example/ http://www.iana.org/domains/example/
- bryanlarsen 15y agoFrom RFC 2606: "reserved for use in private testing, as examples in documentation, and the like." So using example.com is not bad, and a lot better than other commonly used names like test.com.
- losethos 15y agohttp://www.biblegateway.com/passage/?search=1+Corinthians+14&version=NIV http://www.biblegateway.com/passage/?search=1+Corinthians+14... 10 i = i + 15 12 FOR j = 1 TO 5000: NEXT 15 PRINT "Bible, Line:", i 20 IF i > 99999 THEN i = 0: GOTO 10 30 IF INKEY$ = "" THEN 10 40 PRINT "Line:", i http://www.losethos.com/text/BIBLE.TXT http://www.losethos.com/text/BIBLE.TXT God says Line: 22920 them, bar and all, and put them upon his shoulders, and carried them up to the top of an hill that is before Hebron. 16:4 And it came to pass afterward, that he loved a woman in the valley of Sorek, whose name was Delilah. 16:5 And the lords of the Philistines came up unto her, and said unto her, Entice him, and see wherein his great strength lieth, and by what means we may prevail against him, that we may bind him to afflict him; and we will give thee every one of us eleven hundred pieces of silver. 16:6 And Delilah said to Samson, Tell me, I pray thee, wherein thy great strength lieth, and wherewith thou mightest be bound to afflict thee. ------------------------- //////////////////////////////////////////////////////////// ///////////////// // The one and only application object CWinApp theApp; using namespace std; unsigned int cnt; void Thread() { while (TRUE) cnt++; } int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) { int nRetCode = 0; printf("Offer something to God before consulting Him.\r\n"); cnt=0; CreateThread(NULL,65536,(LPTHREAD_START_ROUTINE)Thread,0,0,0); while (TRUE) { getchar(); printf("%u %u\r\n",cnt,cnt%100000); } return nRetCode; } -------------------- That code is 100,000,000 Hz. Brain is 10 Hz. God says Line: 2872 my husband? and wouldest thou take away my son's mandrakes also? And Rachel said, Therefore he shall lie with thee to night for thy son's mandrakes. 30:16 And Jacob came out of the field in the evening, and Leah went out to meet him, and said, Thou must come in unto me; for surely I have hired thee with my son's mandrakes. And he lay with her that night. 30:17 And God hearkened unto Leah, and she conceived, and bare Jacob the fifth son. 30:18 And Leah said, God hath given me my hire, because I have given my maiden to my husband: and she called his name Issachar.
- charliesome 15y agoLooks handy, although I usually just use netcat in a loop for this.
- tome 15y agoI'm sure it's a useful tool, but if it keeps stats, then it's definitely not analogous to /dev/null!
- jondot 15y ago@tome, sure but stats are very useful as a practical tool. @charliesome, one use case of this, is to deploy it (lets say on ec2), on lets say webnull.myhost.com, and point any webservice / client you wish to its http visible domain. You gain a handy tool that fakes http reliably, readily-deployed for any experiment.
- JshWright 15y agoWhy not hit the little 'reply' link?