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: "Firstly we need to update the external_url value in our /etc/gitlab
/gitlab.rb file to reference HTTPS."
A block of code is set as follows:
<?php
namespace Judges119\Monolog\Formatter;
use Monolog\Formatter\FormatterInterface;
class ROT13Formatter implements FormatterInterface
{
public function format(array $record)
{
return str_rot13($record['message']);
}
public function formatBatch(array $records)
{
foreach ($records as $key => $record) {
$records[$key] = $this->format($record);
}
return $records;
}
}
Any command-line input or output is written as follows:
sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates
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: "The last section of interest to us is Environments. By clicking on Operations | Environments through the menu on the left "
Warnings or important notes appear like this.
Tips and tricks appear like this.