Commits

Anonymous committed c618d98

These have part-time jobs in my dotfiles now.

Comments (0)

Files changed (2)

python/pretty_print_json_hack.sh

-#!/bin/sh
-
-# pipe JSON into this to pretty-print it.
-# see: http://stackoverflow.com/questions/352098/how-to-pretty-print-json-script
-
-# Contains code from a website, and is therefore not in the public domain.
-
-python -mjson.tool

python/simple_webserver_hack.sh

-#!/bin/sh
-
-# starts a simple webserver for the current directory on interface 0.0.0.0 port 8000 
-# see http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python
-
-# Contains code from a blog, and is therefore not in the public domain.
-
-python -m SimpleHTTPServer