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

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.

主站蜘蛛池模板: 疏勒县| 酉阳| 万盛区| 罗田县| 华阴市| 巴林右旗| 宝山区| 东至县| 鱼台县| 梁山县| 柳林县| 汽车| 宜兰市| 沅陵县| 长子县| 定结县| 即墨市| 宁夏| 清流县| 邯郸市| 唐山市| 于田县| 东乌珠穆沁旗| 固镇县| 吉木乃县| 卫辉市| 托克托县| 龙井市| 沾化县| 买车| 体育| 介休市| 广水市| 运城市| 隆尧县| 夏河县| 镇远县| 长顺县| 郁南县| 民县| 顺平县|