Skip to content

Instantly share code, notes, and snippets.

@creationix
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creationix/0eb3960854d1baf69e41 to your computer and use it in GitHub Desktop.
Save creationix/0eb3960854d1baf69e41 to your computer and use it in GitHub Desktop.
➜ checks git:(master) luvit index.lua Timothys-MacBook-Pro.local
nil { tt_write = 58, body_match = 'HTTP/1.1 200 OK', duration = 191,
ip = '45.33.116.89', port = 80, tt_resolve = 10,
body =
'HTTP/1.1 200 OK\r\nServer: nginx/1.8.0\r\nDate: Thu, 06 Aug 2015 16:21:41 GMT\r\nContent-Type: text/html; charset=utf-8\r\nContent-Length: 26933\r\nConnection: close\r\nX-Powered-By: koa\r\nETag: "5+hBpZ6O/7HQFKzPFUEiMw=="\r\n\r\n<!DOCTYPE html>\n<html lang="en"><head><meta charset="utf-8" /><title>How To Node - NodeJS</title><meta name="description" content="Learn the zen of coding in NodeJS." /><meta name="viewport" content="width=device-width" /><link href="/style.css" rel="stylesheet" /><link href="/print.css" rel="stylesheet" media="print" /><link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/feed.xml" /><link href="/favicon.ico" rel="icon" type="image/x-icon" /></head><body><div id="container"><div id="header"><a href="/"><img src="/logo.png" alt="How to Node" class="logo" /><div class="tagline">The zen of coding in node.js</div></a></div><div class="index" id="main"><div class="article"><div class="author"><img src="http://www.gravatar.com/avatar/98c1db07fca3b7faf210d33590afea6b?r=pg&amp;s=30.jpg&amp;',
tt_connect = 58, tt_firstbyte = 191 }
➜ checks git:(master) luvit index.lua Timothys-MacBook-Pro.local
'ETIMEOUT: Check did not finish within 200ms' { tt_connect = 58, tt_write = 58, tt_resolve = 10, ip = '45.33.116.89', port = 80 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment