#VIM
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
/*! | |
* 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 |
server { | |
listen 80; | |
listen [::]:80; | |
server_name yourserver.com; | |
root /path/to/your/htdocs; | |
error_page 404 /404.html | |
index index.html; |
#VIM
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
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
function guid() { | |
function s4() { | |
return Math.floor((1 + Math.random()) * 0x10000) | |
.toString(16) | |
.substring(1); | |
} | |
return s4() + s4() + '-' + s4() + '-' + s4() + '-' + | |
s4() + '-' + s4() + s4() + s4(); | |
} |
Docker Desktop stores docker data in 2 distros
These distros are installed on the system drive by default.
To move them to another drive, these distros can be exported, deleted and imported from the new location.