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| [unix_http_server] | |
| file=/var/run/supervisor.sock | |
| chmod=0770 | |
| chown=root:supervisor | |
| [supervisord] | |
| pidfile=/var/run/supervisord.pid | |
| nodaemon=false | |
| logfile=/var/log/supervisord/supervisord.log | |
| loglevel=error | 
| ;; Don't need buttons in emacs! By running this early we avoid a flash | |
| ;; of buttons before they are removed. | |
| (menu-bar-mode -1) | |
| (tool-bar-mode -1) | |
| (scroll-bar-mode -1) | |
| (setq use-dialog-box nil) | |
| ;; BORING: Ensure everything is UTF-8 all the time | |
| (prefer-coding-system 'utf-8) | |
| (setq locale-coding-system 'utf-8) | 
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 8000Do your part to resist Government surveillance and take back your privacy:
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Foo struct { | |
| FirstName string `tag_name:"tag 1"` | |
| LastName string `tag_name:"tag 2"` | 
| var http = require('http'), | |
| httpProxy = require('http-proxy'); | |
| // | |
| // Setup proxy server with forwarding | |
| // | |
| var options = { | |
| router: { | |
| 'proxytest.randylubin.com': '127.0.0.1:7200', | |
| 'randylubin.com': '127.0.0.1:7200', | 
This article is now published on my website: Prefer Subshells for Context.
| brew update | |
| brew versions FORMULA | |
| cd `brew --prefix` | |
| git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
| brew install FORMULA | |
| brew switch FORMULA VERSION | |
| git checkout -- Library/Formula/FORMULA.rb # reset formula | |
| ## Example: Using Subversion 1.6.17 | |
| # |