Created
June 18, 2020 16:28
-
-
Save rdapaz/61e1011b23fb5ede894fdfd9192cd97a to your computer and use it in GitHub Desktop.
Extract book topics from Otter export
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
rex = re.compile(r'([A-Za-z ]+)(?:[\., ]+)?([pPaAgGeE]{4},?(?:[\., ])?\d\d?\d?)') | |
# Info below comes from Otter text export (no reader ID, no timestamp) | |
# Topics are read out and then Page Number are read at the end | |
# Does reasonable job | |
data = """ | |
ICS concepts. | |
What is a control system. PAGE 13 | |
ICS process models. PAGE 15 ICS discrete processes. PAGE 16 ICS batch processes, page, 17 ICS continuous processes page, 18 ICS hybrid processes page 19. Purdue enterprise reference architecture page, 20, ICS professionals roles and responsibilities page 21 ICS organizations roles and responsibilities page 22 | |
Industries reliance on ICS page 23. | |
Example water sector page 20 for example chemical sector page 25. | |
Critical Infrastructure page 26 | |
takeaways in recommendations page 27. | |
Chapter PEGI levels, zero in one | |
PLC page 30. | |
Remote terminal unit, page, 31 | |
RTU versus PLC page 32. | |
Intelligent electronic device page 33. Digital Protective Relay page, 34 | |
phasor measurement unit page, 35 | |
technology behind pm Us page, 36 | |
Global deployment of pm. Us page, 37 field devices page, 38 communication gateways page 39. | |
Communication modules page 40. | |
Programming controllers page 41 | |
ladder logic example page 42 | |
basics of control page 43. | |
p ID controller theory page 44 fuzzy logic page 45. | |
Basic IO page 46. | |
Smart IO with field buses page 47. Time synchronization in GSS page 48 takeaways and recommendations page 49. Chapter pitchy levels, two and three, | |
human machine interfaces page, 72, page. Usage page. 73 | |
historian's page, 74 | |
alarms page 75. | |
Engineer operator technician workstations. PAGE 76 project files page, 77 | |
runtime libraries page 78. | |
Front End processor page 17. | |
Phase a data concentrator page 80. | |
Energy Management System EMAS page 81. Building Management Systems, page, 82 contingency analysis applications page 83. | |
Chapter DCs, and SCADA | |
process control system page 87. | |
Safety instrumented system page 88. Types of control systems page 89. Distributed control system, DCs page 91 DCs example, petroleum refinery page, 92 DCs example electric generation page 93 | |
supervisory control and data acquisition SCADA | |
page 95 | |
SCADA example transportation. | |
PAGE 96 | |
SCADA systems page 97. | |
Timing cycles and system size page 98. | |
Chapter. It NRCS differences. | |
Mighty NRCS differences page 116 | |
ICS and safety page 117 | |
environmental issues page one more night | |
it and ICS differences in reliability page 119 ICS reliability page 120. t and ICS differences in security page 121 CIA vs IC model page 122. It and ICS differences and support page 123 | |
ICS system lifecycle page 124. | |
Fat inset page 126 | |
DHS procurement language toolkit page 127 | |
virtualization in ICS page 128. | |
Chapter, physical and cyber security | |
physical security threat actors page 132 physical security defenses page 133. | |
Cyber diligence for physical incidents page 134. | |
Planting hardware and software page 135. | |
Hardware hacking tool. Examples page 136 indications of intrusion page 27. Cyber investigation page 138 site, walk down process page, 139 | |
actual event event examples. | |
PAGE 114 page, 140 | |
takeaways and recommendations page 141. | |
Chapter, secure ICS network architectures. Secure ICS network architectures page 144 ICS reference model page, 146 levels and zones page 147 levels four and five business owns page 148 control DMZ page 149. | |
Level three Operations Support page 150. | |
Level two supervisory control page 151. | |
Level one local control level zero instrumentation page 152. | |
Example DCs architecture page 153 | |
level zero instrumentation level one local control page, 150 for level two supervisory control level three operations zone. PAGE 155 | |
Ctrl D m Zed page 156 | |
levels four and five business zones, page, 157, internet DMZ page 158 takeaways and recommendations page 159, | |
""" | |
for item in rex.findall(data): | |
topic, page_no = item | |
topic = topic.strip() | |
page = page_no.split(" ")[1] | |
print(topic, page, sep="|") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment