官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We are using :require to include functions from the clojure.test and the ns-playground.core packages."

A block of code is set as follows:

curl -O https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
# The next step just set up the lein script in your path, you can do it any way you wish
mv lein ~/bin
echo "export PATH=$PATH:~/bin/">> ~/.bashrc
source ~/.bashrc
# Everything should be running now, let's test it
lein help

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

lein new app getting-started
cd getting-started
lein run
# Hello, world!

Any command-line input or output is written as follows:

lein uberjar

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "After that you can run any tests, just open your test file and go to Tools | Run Tests in the current NS in REPL."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 昭苏县| 崇明县| 桓台县| 临沭县| 临湘市| 青河县| 南部县| 武强县| 高唐县| 栾城县| 闵行区| 陆川县| 渭源县| 彩票| 华安县| 四会市| 化州市| 盘锦市| 射阳县| 沛县| 阿拉善左旗| 长乐市| 蚌埠市| 恩平市| 广昌县| 鄂托克旗| 苏尼特左旗| 文水县| 噶尔县| 博野县| 都安| 大化| 景洪市| 德保县| 阿巴嘎旗| 元阳县| 兰溪市| 绵竹市| 全南县| 白城市| 罗定市|