Skip to content

Instantly share code, notes, and snippets.

View abhayashenoy's full-sized avatar

Abhaya Shenoy abhayashenoy

View GitHub Profile
from http.server import BaseHTTPRequestHandler,HTTPServer
import os
class myHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.send_header('Content-type','text/plain')
self.end_headers()
self.wfile.write(bytes("Hello from node:%s version: 2\n" % (os.environ['NODE_NAME']), "utf-8"))

Keybase proof

I hereby claim:

  • I am abhayashenoy on github.
  • I am abhaya (https://keybase.io/abhaya) on keybase.
  • I have a public key ASBVrl416fuKWNjEXn9_n6uCo44gW-bGggih3KhyQdzmvwo

To claim this, I am signing this object: