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| # Requires SoX | |
| # | |
| # On OS X, using Homebrew: brew install sox | |
| alias brownnoise='play -c 2 -n synth brownnoise' | |
| alias whitenoise='play -c 2 -n synth whitenoise' | |
| alias pinknoise='play -c 2 -n synth pinknoise' |
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| #!/bin/sh | |
| # A (b)ash script replacement for ps showing threads and other helpful stuff. | |
| # Especially useful for Busybox based systems which has a very simple ps applet | |
| # | |
| # License: GPLv2 | |
| # Copyright 2009 Chris Simmonds, 2net Ltd | |
| # chris@2net.co.uk | |
| show_details () |