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

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.

主站蜘蛛池模板: 博白县| 宜兴市| 镇宁| 西盟| 紫阳县| 砀山县| 南投县| 定边县| 池州市| 江城| 闸北区| 汶川县| 金平| 辽源市| 双桥区| 腾冲县| 普陀区| 西峡县| 金阳县| 玉溪市| 尼勒克县| 沅江市| 治县。| 镇康县| 石柱| 盘山县| 新巴尔虎左旗| 广东省| 黄梅县| 汪清县| 平顺县| 建平县| 江源县| 孟村| 策勒县| 珠海市| 陈巴尔虎旗| 麦盖提县| 沈阳市| 康马县| 民县|