*************************************************************************
html5
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title of the document</title>
</head>
<body>
<nav>
    <a href="/html/">HTML</a> |
    <a href="/css/">CSS</a> |
    <a href="/js/">JavaScript</a> |
    <a href="/jquery/">jQuery</a>
</nav>
<section>
    <header>
        <h1>Section title</h1>
    </header>
    <article>
        <header>
            <h2>Article title</h2>
        </header>
        <p>...</p>
    </article>
    <article>
        <header>
            <h2>Article title</h2>
        </header>
        <p>...</p>
    </article>
    <footer>
        <p>Posted by: Hege Refsnes</p>
        <p>Contact information: <a href="mailto:someone@example.com">someone@example.com</a>.</p>
    </footer>
</section>
</body>
</html>
*************************************************************************
.vimrc
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
:set nu
:set incsearch
:set showbreak=..
syntax on
*************************************************************************
.gitconfig (cygwin)
[user]
    email = your-mail@yahoo.com
    name = your-name
[core]
    autocrlf = true
    excludesfile = C:/Users/mom/.gitignore_global
[diff]
    external = C:/Program\\ Files\\ \\ x86\\)/WinMerge/WinMergeU.exe $1 $2
[push]
    default = simple
*************************************************************************
#!venv/bin/python
import bottle
import bottle_sqlite
import jsend
from gevent import monkey; monkey.patch_all()

app = bottle.Bottle()
app.install(bottle_sqlite.SQLitePlugin(dbfile='notes.db'))

@app.route('/api/notes')
def get_urls(db):
    c = db.execute(
    """SELECT
    notes_id, notes_text
    FROM notes
    ORDER BY notes_id DESC""");
    d=[dict(rec) for rec in c.fetchall()]
    return jsend.RSuccess(data=d)

bottle.run(app, host='localhost', port=8080, server='gevent', debug=True)
*************************************************************************
/etc/nginx/sites-enabled/wordpress
server {
    root /usr/share/nginx/html;
    index index.html index.htm;
    server_name mom2000.com;
    error_page 404 /404.html;
    location /api {
        proxy_pass http://localhost:8080;
    }
    location /wp-content/database/ {
        deny all;
    }
    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
    }
    location / {
        try_files $uri $uri/ =404 /index.php?$args;
    }
}
*************************************************************************