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

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Click on the start button and search for settings option."

A block of code is set as follows:

var http = require("http") http.createServer(function (request, response) {
// Send the HTTP header
// HTTP Status: 200 : OK
// Content Type: text/plain
response.writeHead(200, {'Content-Type': 'text/plain'})
// Send the response body as "Hello World" response.end('Hello World\n')
}).listen(3000)

// Console will print the message console.log('Server running')

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

$ aws ec2 describe-instance-status --instance-ids i-057e8deb1a4c3f35d --output text| grep -i SystemStatus

SYSTEMSTATUS ok

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

$ aws ec2 authorize-security-group-ingress \
   --group-name HelloWorld \
   --protocol tcp \
   --port 3000 \
   --cidr 0.0.0.0/0

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "In this menu, find the feature called Windows Subsystem for Linux (Beta)."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 蓝山县| 施秉县| 南安市| 南开区| 驻马店市| 张家港市| 沙坪坝区| 广西| 曲沃县| 建德市| 福州市| 桓台县| 定南县| 潮州市| 伊川县| 安阳县| 昆山市| 松江区| 定襄县| 房山区| 大城县| 景洪市| 东兰县| 阳谷县| 武安市| 斗六市| 武安市| 武川县| 体育| 威远县| 连江县| 江华| 双流县| 平顺县| 仁寿县| 辽阳市| 芦山县| 迁西县| 焦作市| 罗甸县| 读书|