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

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.
主站蜘蛛池模板: 弥渡县| 旌德县| 包头市| 漯河市| 彰化市| 颍上县| 北流市| 澎湖县| 藁城市| 汉中市| 天门市| 黔江区| 虎林市| 白沙| 三亚市| 德江县| 阳江市| 富顺县| 宁海县| 郁南县| 彰化县| 海伦市| 黄冈市| 章丘市| 大厂| 陆丰市| 肃北| 黄浦区| 乐业县| 仙桃市| 临邑县| 鹤峰县| 韶关市| 炎陵县| 龙井市| 荆州市| 万年县| 吴忠市| 柳江县| 松溪县| 泗洪县|