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 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:"Once this volume is available, attach it as /dev/sdb to the instance."
A block of code is set as follows:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
echo el_s3_getTemporaryLink('MY_ACCESS_KEY', 'MY_SECRET_KEY', 'a6408e3f-bc3b-4dab-9749-3cb5aa449bf6', 'importantstuff.zip');
Any command-line input or output is written as follows:
[ec2-user@ip-10-203-10-123 ~]$ TEMP_URL=$(curl --silent -X POST -d "username=admin&password=legit" http://10.203.10.123/register.php) [ec2-user@ip-10-203-10-123 ~]$ curl -sL -w "%{http_code}\\n" $TEMP_URL 200 [ec2-user@ip-10-203-10-123 ~]$ sleep 301 && curl -sL -w "%{http_code}\\n" $TEMP_URL 403
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: "Clicking the Next button moves you to the next screen".
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.