Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and explanations of their meanings.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "What the preceding highlighted code does, is to first read AN0 using the analogRead()
function."
A block of code is set as follows:
var app = require('http').createServer(handler); var io = require('socket.io').listen(app); var fs = require('fs'); var b = require('bonescript'); app.listen(8080); console.log('Server running on: http://' + getIPAddress() + ':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 app = require('http').createServer(handler); var io = require('socket.io').listen(app); var fs = require('fs'); var b = require('bonescript'); app.listen(8080); console.log('Server running on: http://' + getIPAddress() + ':8080');
Any command-line input or output is written as follows:
git clone https://github.com/ajaxorg/cloud9/ cd cloud9 npm install chmod 777 .sessions cd ~/cloud9/node_modules
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: "Once again, all the switches are handled in the same manner with the exception of the Load button."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.