- BeagleBone for Secret Agents
- Josh Datko
- 244字
- 2021-08-05 17:58:18
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: "The LCD, controlled by the FrontPanelDisplay
class, writes to the serial port, /dev/ttyO4
, on BBB's UART 4 at 9600 baud."
A block of code is set as follows:
self.clear_screen() up_str = '{0:<16}'.format('Up: ' + self.block_char * up) dn_str = '{0:<16}'.format('Down: ' + self.block_char * down) self.port.write(up_str) self.port.write(dn_str)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
import Adafruit_BBIO.UART as UART
import serial
class FrontPanelDisplay(object):
def __init__(self):
self.uart = 'UART4'
UART.setup(self.uart)
self.port = serial.Serial(port="/dev/ttyO4", baudrate=9600)
self.port.open()
Any command-line input or output is written as follows:
Mar 25 21:37:43.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working. Mar 25 21:37:43.000 [notice] Bootstrapped 100%: Done.
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: "To connect to your bridge, launch the Tor browser and click on Open Settings as it starts up."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- RESTful Java Web Services Security
- 云原生安全:攻防實踐與體系構(gòu)建
- DevSecOps敏捷安全
- SASE原理、架構(gòu)與實踐
- 計算機網(wǎng)絡(luò)安全技術(shù)(第6版·慕課版)
- CSO進階之路:從安全工程師到首席安全官
- 等級保護測評理論及應(yīng)用
- 開發(fā)者的Web安全戒律:真實威脅與防御實踐
- 深入淺出隱私計算:技術(shù)解析與應(yīng)用實踐
- 計算機病毒原理與防范(第2版)
- Kali Linux Network Scanning Cookbook(Second Edition)
- 防火墻技術(shù)與應(yīng)用(第2版)
- 網(wǎng)絡(luò)安全能力成熟度模型:原理與實踐
- Web安全之深度學(xué)習(xí)實戰(zhàn)
- Mastering Linux Security and Hardening