Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/usr/bin/env lein exec | |
;; formats Clojure code from stdin, and prints formatted code to stdout | |
(require 'leiningen.exec) | |
;; Add a dependency to the classpath on the fly | |
(leiningen.exec/deps '[[cljfmt "0.1.7"]]) | |
(require '[cljfmt.core :as cljfmt]) |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000