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

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.

主站蜘蛛池模板: 视频| 苏尼特左旗| 阿克陶县| 中西区| 调兵山市| 牡丹江市| 鸡西市| 大连市| 卢湾区| 竹北市| 会宁县| 深泽县| 明光市| 乐平市| 沧州市| 蓬溪县| 海安县| 元阳县| 兰西县| 普安县| 准格尔旗| 水城县| 临漳县| 白山市| 武威市| 临泽县| 星座| 桂阳县| 宜兰市| 大兴区| 德保县| 榆中县| 波密县| 祁连县| 弥勒县| 凌云县| 荔波县| 咸丰县| 西平县| 辽源市| 三原县|