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.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000


kntrl + o //open command line in vim

:colorschema =>press tab and select something
:syntax enable

:set number => show line number

if you want new schema

View nginx.conf
server {
listen 80;
listen [::]:80;
root /path/to/your/htdocs;
error_page 404 /404.html
index index.html;
View backbone.collectioncache.js
* backbone.collectioncache.js v0.0.2
* Copyright 2012, Tim Branyen (@tbranyen)
* backbone.collectioncache.js may be freely distributed under the MIT license.
(function(window) {
"use strict";
// Dependencies