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 8000Each 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| location ^~ /demo { | |
| alias /var/www/demo/; | |
| autoindex on; | |
| # set to on means use localtime | |
| autoindex_localtime on; | |
| # show size with unit 'MB' instead of 'Byte' | |
| autoindex_exact_size off; | |
| } |
| #How to download streaming video | |
| Streaming just means a download that they don't want you to keep. But Chrome's developer tools make it easy to access what's really going on under the hood. | |
| ##Open Developer Tools | |
| From the page where you want to download some things, go into your chrome menu to open the developer tools. You can either: | |
| 1. (On a mac): Command-option-J | |
| 2. (On a PC): Control-alt-J |