Skip to content

Instantly share code, notes, and snippets.

@shihshen
shihshen / .jshintrc
Created December 25, 2013 15:01 — forked from haschek/.jshintrc
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true
@shihshen
shihshen / reflect.py
Last active June 8, 2017 18:30 — forked from huyng/reflect.py
A simple echo server to inspect http web requests for python3
#!/usr/bin/env python
# Reflects the requests from HTTP methods GET, POST, PUT, and DELETE
# Written by Nathan Hamiel (2010)
from http.server import HTTPServer, BaseHTTPRequestHandler
from optparse import OptionParser
class RequestHandler(BaseHTTPRequestHandler):
def do_GET(self):