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

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.

主站蜘蛛池模板: 蕉岭县| 措美县| 札达县| 和顺县| 红桥区| 大荔县| 青岛市| 永兴县| 肃宁县| 桐庐县| 长宁区| 定结县| 嵊泗县| 运城市| 郓城县| 沧州市| 大荔县| 南和县| 孟津县| 商都县| 布尔津县| 林芝县| 长宁区| 抚远县| 田东县| 叶城县| 无极县| 乌拉特前旗| 西吉县| 桐柏县| 宜兴市| 定日县| 马公市| 兖州市| 乌鲁木齐市| 洞头县| 睢宁县| 多伦县| 汝州市| 包头市| 大埔区|