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| var http = require('http'), | |
| util = require('util'), | |
| formidable = require('formidable'), | |
| server; | |
| server = http.createServer(function(req, res) { | |
| if (req.url == '/') { | |
| res.writeHead(200, {'content-type': 'text/html'}); | |
| res.end( | |
| "<div align='center'>"+ |