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

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 can load a module into our app using Node's built-in require function."

A block of code is set as follows:

var http = require('http');
http.createServer(function (request, response) {
  response.writeHead(200, {'Content-Type': 'text/html'});
  response.end('Woohoo!');
}).listen(8080);

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

var http = require('http');
var path = require('path');
http.createServer(function (request, response) {
 var lookup=path.basename(decodeURI(request.url));

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

# cp /usr/src/asterisk-addons/configs/cdr_mysql.conf.sample/etc/asterisk/cdr_mysql.conf

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "The console will say foo doesn't exist, because it doesn't."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 扎鲁特旗| 岳西县| 龙里县| 霸州市| 阿巴嘎旗| 望城县| 宜昌市| 曲沃县| 平遥县| 恩平市| 宜州市| 霍林郭勒市| 东阿县| 卢湾区| 芷江| 罗江县| 旌德县| 安西县| 茶陵县| 珲春市| 宝应县| 怀安县| 枣阳市| 翁源县| 儋州市| 民乐县| 南宫市| 乐亭县| 林甸县| 太和县| 高要市| 雷山县| 通山县| 西乌| 洛浦县| 洛浦县| 清新县| 宁远县| 徐闻县| 襄城县| 邓州市|