clojure.md
title: Clojure is great Clojure define functions A function can take arguments
A function can have comments as doc
A function will return the last statement
(defn hello [arg1 arg2] "This is my playground of clojure" (println (str "Multiple " arg1 "*" arg2)) (println "=") (def mul (* arg1 arg2)) (println mul) ) (defn factional [n] (reduce * (range 1 (inc n)))) (println (factional 3)) Discrimination of elements in a list inc n : Increase the number by 1
docker.md
Docker: Containerized Virtual Machine System for easy deploy About Docker, meaning in English is transporter on ship. You can image a docker as container.
Docker is a abstracted layer of lxc with aufs(Advanced Union File System).
Under the hard work of docker, and application can be packaged as a container, which can lay on images standarized by docker.
redis node nginx ubuntu image Docker layer lxc AUFS Kernel modules Installtion of archlinux Using Grub4dos Put the file grldr on c:\ Drive
express.md
Express Fast, unopinionated, minimalist web framework for node.
[![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url] [![Linux Build][travis-image]][travis-url] [![Windows Build][appveyor-image]][appveyor-url] [![Test Coverage][coveralls-image]][coveralls-url]
var express = require('express') var app = express() app.get('/', function (req, res) { res.send('Hello World') }) app.listen(3000) Installation $ npm install express Features Robust routing Focus on high performance Super-high test coverage HTTP helpers (redirection, caching, etc) View system supporting 14+ template engines Content negotiation Executable for generating applications quickly Docs & Community PROTIP Be sure to read Migrating from 3.