-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.txt
More file actions
668 lines (561 loc) · 48.9 KB
/
Copy pathtest.txt
File metadata and controls
668 lines (561 loc) · 48.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
┌─ HEAD-Quarters ───────────────────────────────────┐
│@[https://github.com/earizon/txt_world_domination/]│
├───────────────────────────────────────────────────┤
│ Quick Links: │
│ @[#UML] @[#BPMN] @[#geometric] @[#math_symbols] │
│ │
│ @[#txt_world_domination_ammunition] │
│ @[#txt_world_domination_celebration] │
└───────────────────────────────────────────────────┘
# Apropos:
- This text file has two purposes:
1) Serve as input data used by functional tests.
2) Final up-to-date documentation for users.
Document source code:
@[https://raw.githubusercontent.com/earizon/txt_world_domination/main/test.txt]
# TESTS START { ════════════════════════════════════════════════════════════════
## TEST: Get sure readers understand the importance of good documentation
by making a copy of the following paragraph:
""" ... The documentation and samples are still bad today ... We ended up
with a painful difficult-to-understand, hard-to-test,
even-harder-to-modify mess. Not because we didn't follow the "(Google
Android) best practices", but precisely because we did!...a large
part of the official documentation and samples are still poorly
written. And it continues to mislead the new generation of
inexperienced developers. And as Uncle Bob would tell you, most
developers are new since the IT industry double its size every five
years ..."
Citation extracted from:
https://dev.to/jmfayard/android-s-billion-dollar-mistake-327b
## TEST: Make sure readers understand the key points when creating documentation:
✓ PUTTING RELATED INFORMATION CLOSE TO EACH OTHER.
✓ DON'T REPEAT TWICE.
✓ USE YOUR HARD DISK TO SAVE CLASSIFIED INFORMATION, NOT PILES OF
DOCUMENTS SPREAD ("HIDDEN" OR "LOST") AMONGST HUNDRED OF EMAILS,
POSTS, CHATS, WORDS, CUSTOM DATABASES, EXCELS AND BINARY FILES OF
RANDOM NATURE.
✓ DON'T USE PROPRIETARY FORMATS FOR IMPORTANT DOCUMENTATION:
THE SIMPLEST, THE BEST.
✓ AVOID USING (EXPENSIVE AND COMPLEX TO SETUP AND MAINTAIN)
SEARCH ENGINES TO FIND FOR LOST INFORMATION:
NEVER LOOSE THE INFORMATION IN FIRST PLACE.
## TEST: Make sure readers understand that text files are enough for event
the most complex projects by adding links to well known successful
projects documented with plain text:
- TCP/IP Internet Protocol Documentation:
https://www.ietf.org/rfc/rfc793.txt
- HTTP "Web" protocol:
https://www.rfc-editor.org/rfc/rfc2616
- Linux Kernel documentation:
https://github.com/torvalds/linux/tree/master/Documentation
## TEST: scaped p and html tags must be displayed properly:
<p> <html>
└───┬────┘
(vs hidden as html tags)
## TEST: internal links must be converted properly:
@[#internalLink1] @[#internalLink2]
## TEST: Image must render properly, resolving relative path issues:
i[./test.svg|width=3em]
## TEST: External links must be converted properly:
Go to @[https://www.w3.org/]
Go to @[https://www.ietf.org/]
Go to @[https://www.ieee.org/]
## TEST: MAP ONE-TO-ONE TO DOCUMENTATION: [[{02_DOC_HAS.KEY-POINT]]
▸ By reading the tests you can learn how to write txt files
compatible with the TXT World Domination Project.
▸ By documenting the tests we (developers) can have up-to-date
documentation for users in a single place.
[[}]]
## TEST: DOCUMENTATION INTRODUCTION MUST BE IN PLACE:
===========================
DOCUMENTATION INTRODUCTION:
===========================
- Documenting is not about piling words and powerpoints
in random locations hoping that some poor soul will read
them in future.
- Documenting is not about looking cool or serious or expert.
┌ [[{02_DOC_HAS.KEY-POINT]] ────────────────────────────────────────┐
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
│ DOCUMENTING IS THE ART OF TRANSMITING KNOWLEDGE │
└─[[}]]─────────────────────────────────────────────────────────────┘
- Perfect documentation is a science-fiction dream:
@[https://www.youtube.com/watch?v=SoAk7zBTrvo]
... but good documentation is possible.
- Text books are examples of good documentation (or at least they ought to).
... BUT ... text-books require lot of expertise and free-time to create.
- In real projects we still need good documentation and the more
people working in a project the biggest the need to have good
documentation but ....
┌ [[{02_DOC_HAS.KEY-POINT]]───────────────────────────────┐
│ ▸ REAL WORLD is a very imperfect REAL WORLD. │
│ ▸ Projects misserably fail. │
│ ▸ Companies spend lot of money in project managers, │
│ scrum masters, QA specialists, ITIL masters, ... │
│ none of which understand each other. │
│ ▸ Real workers doing real work end up NOT doing real │
│ work in order to satisfy each other's EGOs and │
│ interests. │
└─[[}]]───────────────────────────────────────────────────┘
┌ [[{02_DOC_HAS.KEY-POINT]] ──────────────────────────────┐
│ ▸ BAD DOCUMENTATION MAKES US LEAVE THE OFFICE LATER. │
└─[[}]]───────────────────────────────────────────────────┘
Outside pure academic's enviroments documentation skills is not
even considered when hiring new employees acording to 99% of job's
offers (while in pure academic's enviroment publishing
papers looks to be the only important thing to do with no
attention to any other real outcome).
┌ [[{02_DOC_HAS.KEY-POINT]] ─────────────────────────────┐
│ ▸ PROPER DOCUMENTATION (TRANSMISSION OF KNOWLEDGE) IS │
│ A CORE TASK OF ANY SUCCESFUL PROJECT. │
└─[[}]]──────────────────────────────────────────────────┘
┌ [[02_DOC_HAS.KEY-POINT]] ────────────────────────┐
│┌────────────────────────────────────────────────┐│
││┌──────────────────────────────────────────────┐││
│││ TAKE CONTROL OF THE INFORMATION BEFORE THE │││
│││ INFORMATION TAKES CONTROL OF YOU! │││
││└──────────────────────────────────────────────┘││
│└────────────────────────────────────────────────┘│
└──────────────────────────────────────────────────┘
## ABOUT THE TXT WORLD DOMINATION PROJECT [[{02_DOC_HAS.KEY-POINT]]
- TXTWD Project tries to implement documentation best
practices by converting a simple and innocent "txt" file
into a INDECENT and PERVERT Document Management System
where information can be searched and classified in
powerful ways to success in creating correct documentation
(aka TRANSMISSION OF KNOWLEDGE)
[[}]]
.... this is the end of the introduction ...
Now follows the tests used to implement the TXT WD.
# Syntax Basic Rules:
- The TXT engine searchs for instructions codified along the normal
text in the file. To do so, the next delimiters are used
to "scape" or distingüish the instructions from normal text.
[[ - topics go here - ]]
- A BLOCK-OF-RELATED-CONTENT starts with [[{]] and ends with [[}]].
- New blocks can be placed inside existing blocks forming a tree of
blocks. Graphically you can imagine them as:
txt file [[{02_DOC_HAS.graph]]
├─ block
│ ├──── block
│ │ └──── block
│ └──── block
├─ block
│ └──── block
├─ block
┊ [[}]]
- each block can be "tagged" with on or more topics using the sintax
[[ ... topic1,topicB ... ]] or
Topics can be added anywhere before the start and end of a topic.
That means that the previous example is equivalent to:
[[$topicA]]
...
[[$topicB]]
- Each topic can be subclassified in subtopics following the syntax
[[ topicA.subtopic.subsubtopic ]]
- [[{KEY-POINT,02_DOC_HAS.graph]]
▸ Think of a topic as a first or principal clasification of content.
For example in a document about Project Management main topics/coordinates
could be HHRR, PLANNING, DOCUMENTATION, RISK MANAGEMENT, ...
▸ Think of a subtopic as a (finite) coordinate inside the topic dimension.
For example in the HHRR they could be:
HHRR.policies, HHRR.recruitment, HHRR.hiring, HHRR.Trainin, HHRR.Payroll, ...
(Subtopics can be seen as the taxonomy used for each main topic,
and subsubtopics as a way to further detail and classify each subtopic).
▸ Graphically you can imagine them as:
topicA
^
┌ ┤ ┌·························┐
· │ · block of text related to·
topicA.subtopic · │ · topicA.subtopic and ·
· │ · topicB.subtopic.subsubtopic
└ ┤ └·························┘
│
+───────┬────────────────────────────topicB
╱ └─······················─┘
╱ topicB.subtopic.subsubtopic
╱ └─····························─┘
╱ topicB.subtopic
╱
╱
topicC
the relation among blocks and topics.subtopics can be visualized like:
├─ block topicA
│ ├──── block topicB
│ │ └──── block topicC
│ └──── block topicC.subtopic1
├─ block topicB
│ └──── block topicC.subtopic1
├─ block topicA
┊ .subtopic3
[[}]]
## TEST: dimensions and coordinates
[[{ topic01.1,{ topic01.2,{ topic01.3]] <- · topics(dimensions) and subtopics (coord.) must be
│ topic01.1 │ topic01.2 │ topic01.3 detected properly and rendered into menu->topics
│ topic01.1 │ topic01.2 └ topic01.3 [[}]] · Concatenated blocks declatarions must work properly.
│ topic01.1 └ topic01.2 [[}]] · Termination of blocks must work properly.
│ topic01.1 When selecting topic01.3, topic01.2, tests01.1
└ topic01.1 [[}]] only the corresponding text inside each block
must be displayed
[[{ topic01.1 ]]
│ [[{ topic01.2]] topic01.1 belongs to level 1 block.
│ │ [[{ topic01.3]] topic01.2 belongs to level 1 and 2 blocks.
│ topic01.1 │ topic01.2 │ topic01.3 topic01.3 belongs to level 1, 2 and 3:
│ topic01.1 │ topic01.2 └ topic01.3 TEST: Select topic01.3 in menu. Level 3 block
│ topic01.1 │ topic01.2 [[}]] must be displayed.
│ topic01.1 └ [[}]] TEST: Select match parent-blocks up to 1
│ topic01.1 level 2 and 3 block must be displayed.
│ topic01.1 TEST: Select match parent-blocks up to 2
└ [[}]] level 1, 2 and 3 block must be displayed.
┌─[[{topic02. 1.]] <- TEST: must be parsed as topic02.1
└─[[}]] ignoring whitespaces and final dots(TODO:fix)
## TEST subdimensions
┌─[[{topic03]] topic03.1 <- TEST: selected topic03 must also de/select
└─[[}]] topic03.1 topic03.*
┌─[[{topic03.1]] topic03.1 <- TEST: selected topic03.1 must also de/select
└─[[}]] topic03.1 topic03.1.*
┌─ [[{topic03.1.1]] topic03.1.1 <- TEST: selected topic03.1.1 must also de/select
└─ [[}]] topic03.1.1 topic03.1.1.
┌─ [[{topic03.1.1.1]]topic03.1.1.1
└─ [[}]] topic03.1.1.1
┌─ [[{topic03.2]] topic03.2
└─ [[}]] topic03.2
## TEST: Avoiding clonflicts with Shell-script syntax:
[[{forbidden_topic.$}]] <- TEST: topics including '$' character must be ignored
[[{$forbidden_topic} ]] to avoid synxtax conflicts with shell conditional-expressions
[[{forbidden_topic $}]] if [[ ... ${SOME_VARIABLE} ... ]]
└──────┬────────┘
└ those topics must not appear in topics menu.
## TEST: grep regex search '*grep.*gex' must display this line.
## TEST: Unicode and AsciiArt by extension must display properly
(blame OS of if it doesn't).
│ ┌─────┐┌─────────┐┌─────┐ │ ┌─┬─┬┈┈┈┈┬╌──┬─┐ ┐┎─┰┄─┄┰┅┅┒
│ │socks││underwear││shirt│ │ │ ┊ ┆╌╌╌╌│ │ ╵┃ ┃ ┃ ┃
│ └┬────┘└┬─┬──────┘└┬─┬──┘ │ │ ┊ ┆ │ │ │ │┃ ┃ ┃ ┃
│ │ │┌▽─────┐ │┌▽──┐ │ │ ┊ ┆ │ │ │ │┃ ┃ ┃ ┃
└───────────────────────────┘ ├─┼─┼────┼───┼─┤ ┤┠─╂───╂──┨
└─┴─┴────┴───┴─┘ ┘┖─┸───┸──┚
╔═╦═╗ ╓──╥──╖ ╒══╤══╕ ⎧ ⎧ ⎫
║ ║ ║ ║ ║ ║ │ │ │ ⎪ ⎪ ⎪
╠═╬═╣ ╟──╫──╢ ╞══╪══╡ ⎪ ⎨ ⎬
║ ║ ║ ║ ║ ║ │ │ │ ⎪ ⎪ ⎪
╚═╩═╝ ╙──╨──╜ ╘══╧══╛ ⎭ ⎩ ⎭
## topic0, topic5 outside any block and must NOT be displayed [[topic0,topic5]]
in topics menu.
--------------------------------------------
## TEST: Internal Links:
#[internalLink1] must link here.
^ ^
└──────────────┴ - width of original text must not change when replaced by
- html anchor.
- text must be converted to anchor with correct sytles.
Pressing back in browser must scroll up to original link
--------------------------------------------
#[internalLink2] must link here.
^ ^
└──────────────┴ - width of original text must not change when replaced by
- html anchor.
- text must be converted to anchor with correct sytles.
Pressing back in browser must scroll up to original link
═ TESTS END } ══════════════════════════════════════════════════════════════════
ENOUGTH WITH TESTING. TIME FOR ... #[txt_world_domination_ammunition]
# TXT World Domination Tools !!!
World Domination Tools !!!
World Domination !!!
WORLD DOMINATION !!!
W O R L D D O M I N A T I O O O O O O O N ! ! !
Ah Ah Ah Ah Ah Ahhhh !!!! >:Ḑ-+-<
## TXT Diagrams
┌ @[https://arthursonzogni.com/Diagon/] ───────────────────────────────────────┐
│ Quickly create sequence Diagrams, GRAPHs, FlowCharts, Tables, .... │
│ ┌─ Gallery ───────────────────────────────────────┐ │[[{]]
│ │ DIRECTED ACYCLIC GRAPH │ SEQUENCE DIAGRAM │ │[[02_doc_has.diagram,02_doc_has.UML.DAG,02_doc_has.UML.sequence]]
│ │ │ │ │[[02_doc_has.math,01_PM.low_code]]
│ │ ┌─────┐┌─────────┐┌─────┐ │ ┌─────┐ ┌───┐ │ │[[tool.online,tool.desktop]]
│ │ │socks││underwear││shirt│ │ │Alice│ │Bob│ │ │
│ │ └┬────┘└┬─┬──────┘└┬─┬──┘ │ └──┬──┘ └─┬─┘ │ │
│ │ │ │┌▽─────┐ │┌▽──┐ │ │ Hello Bob! │ │ │
│ │ │ ││pants │ ││tie│ │ │───────────>│ │ │
│ │ │ │└┬──┬──┘ │└───┘ │ │Hello Alice!│ │ │
│ │ ┌▽──────▽─▽┐┌▽─────▽┐ │ │<───────────│ │ │
│ │ │shoes ││belt │ │ ┌──┴──┐ ┌─┴─┐ │ │
│ │ └──────────┘└───────┘ │ │Alice│ │Bob│ │ │
│ │ │ └─────┘ └───┘ │ │
│ │───────────────────────────┼─────────────────────│ │
│ │ TREE EXAMPLE │ MATH EXPRESSION │ │
│ │ Linux │ │ │
│ │ ├─Android │ 1 3 │ │
│ │ ├─Debian │ ⌠ 2 n │ │
│ │ │ ├─Ubuntu │ ⌡ x ⋅ dx = ── │ │
│ │ │ │ ├─Lubuntu │ 0 3 │ │
│ │ │ │ └─Xubuntu │ │ │
│ │ │ └─Mint │ │ │
│ └─────────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────────────────────────────────┘[[}]]
## Asciiflow: Box-like drawing with TXT
┌ @[https://asciiflow.com/#/] (Free BOX-like TXT Drawing) ─────────────────────┐[[{]]
│ ┌───────┐ ┌──────┐ IO PORTS [[02_doc_has.diagram]] │
│ │xxxxxxx│ │xxxxxx│ ┌┐┌┐ ┌┐┌┐ [[02_doc_has.UML.component]] │
│ │xxxxxxx│ │xxxxxx│ ││││ ││││ [[tool.online]] │
│ ┌─────┴───────┴────┴──────┴─┬───┴┴┴┴┬┴┴┴┴┐ │
│ │ ┌─Comp.1────┐ │┼┼┼┼┼┼┼│ │ │
│ │ │ ├────────┐ └───────┘ │ │
│ │ ├───────────┘ │ │ │
│ │ │ ┌──────────┐ │ │ │
│ │ └─► GPU UNIT │ │ ┌─Dev.9─────┤ │
│ │ └─────┬────┘ │ │consectetur│ │
│ │ ┌──┴────┐ ┌────┴────┐└───────────┤ │
│ │ │ CACHE │ │ ETH.DEV │ ┌Dev.10───┤ │
│ └──────┴───────┴──┴─────────┴──┴─────────┘ │
└──────────────────────────────────────────────────────────────────────────────┘ [[}]]
## CSVkit: TXT as database
┌ @[https://csvkit.readthedocs.io/en/latest/] ─────────────────────────────────┐ [[{]]]
│ ·Convert from/to CSV/Excel/SQL-DDBB. [[tool.desktop,02_doc_has.CSV]]] │
│ ·Query CSV using SQL. │
│ ·No-code statistics on CSV data. │
└──────────────────────────────────────────────────────────────────────────────┘ [[}]]
## GNU Text Utils: Standard TXT utilities in Linux/MacOSX
┌ @[http://gnu.ist.utl.pt/software/textutils/textutils.html] ──────────────────┐ [[{tool.desktop]]]
│ sort : sort lines of text files │
│ tsort : perform topological sort │
│ uniq : remove duplicate lines from a sorted file │
│ join : join lines in two files based on common field │
│ ptx : produce permuted index of file contents │
│ cut : remove columns on each line │
│ ... │
└──────────────────────────────────────────────────────────────────────────────┘ [[}]]
## ASCiinema: TXT Video recording
┌ @[https://asciinema.org/] ASCII VIDEO ───────────────────────────────────────┐ [[{]]
│ Record+share terminal sessions, the simple way. │ [[tool.desktop,tool.online]]
│ Enjoy a lightweight, purely text-based approach to terminal recording. │ [[security.audit]]
│ Example: @[https://asciinema.org/a/421164] │
└──────────────────────────────────────────────────────────────────────────────┘ [[}]]
## Vim Editor: The King of Text
┌─ vim: Then King of text ─────────────────────────────────────────────────────┐ [[{tool.desktop]]
│ · Use Ctrl + V for visual block mode ("Paint mode") │
│ · Pass selected text as STDIN to external txt-command and │
│ replace it with external txt-command's STDOUT with │
│ :.!txt-command │
│ · Quick create macros with qq ... (macro) ... q │
│ · Navigate among block start/end curly braces with │
│ Alt key + '[' + '{' : Jump to block start. │
│ Alt key + '[' + '}' : Jump to block end. │
│ · Transform selected text to shell script / tool pipeline with │
│ :.!sh <- Interpret selected input as shell script. │
│ replace selection with execution result. │
│ :.!fold -w 70 -s <- fold is standard in POSIX like systems. │
│ Any other tool/script accepting STDIN as │
│ input and writing results to STDOUT will │
│ work. │
└──────────────────────────────────────────────────────────────────────────────┘ [[}]]
## GNU Core Utils: Txt standard formating tools in Linux/MacOSX
┌─ https://www.gnu.org/software/coreutils/ ────────────────────────────────────┐ [[{tool.desktop]]
│ · fold: Wrap input lines to fit in specified width │
│ · fmt : Reformat paragraph text │
│ · pr : Paginate or columnate files for printing │
└──────────────────────────────────────────────────────────────────────────────┘ [[}]]
## TXT Bullets
┌─────────────────────────────────────────┐ [[{02_doc_has.bullets]]
│ Bullets : · • ● ✓ ✕ ◆ ◇ │
│ SubIndex: ₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎ₐₑₒₓₔₕₖₗₘₙₚₛₜ│
│ SuperIndex: ⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ⁱⁿ │
└─────────────────────────────────────────┘
## TXT Arrows
┌@[https://en.wikipedia.org/wiki/Arrows_(Unicode_block)]┐
│ ← ↑ → ↓ ⇠ ⇡ ⇢ ⇣ ↖ ↗ ⇖ ⇗ ↱ ↰ ↴ ◀ ▲ ▶ ▼ │
│ ⇇ ⇈ ⇉ ⇊ ⇽ ⇾ ↙ ↘ ⇙ ⇘ ↳ ↲ ↵ ◁ △ ▷ ▽ │
│ ↼ ↾ ⇀ ⇃ ↽ ↿ ⇁ ⇂ ↢ ↣ ⇤ ⇚ ⇥ ⇛ │
│ ↞ ↟ ↠ ↡ ↤ ↥ ↦ ↧ ↩ ↪ ↔ ↕ │
│ ⇄ ⇅ ⇋ ⇌ ⇱ ⇲ ↶ ↷ ⇐ ⇑ ⇒ ⇓ ⇦ ⇧ ⇨ ⇩ │
└───────────────────────────────────────────────────────┘ [[}]]
## TXT UML
┌ UML (Unified Modeling Language) TXT template ───────────────┐ #[UML] [[{02_doc_has.UML,02_doc_has.template]]
│ ┌────────────┐ message ↑ dependency | │
│ ─┼─ UML │ ─────────▶ | ----------→ | │
│ ─┼─ Component │ | dependency | │
│ │ │ | ←---------- ↓ │
│ └────────────┘ │
│ ╭─────╮ ● Initi.state ◀─ ASSOCIATION ─▶ ▲ │
│ │state│ ◉ Final.state │ │
│ ╰─────╯ ▼ │
│ │
│ ● GENERALIZATION │△ ● REALIZATION △ │
│ par.◁───── child ││ ○◁╴╴╴╴... ┆┆ │
│ child ────▷ par. ▽│ ···╶╶╶╶▷○ ▽ │
│ "IS A" inheritance ○ Interfaz │
│ ··· Implementation │
│ ● DELEGATION: │
│ par.◇───── child ┌────────┐ ┌────────┐ │
│ │ClassA │ ┌─│ Shape │ │
│ Makes child part of ├────────┤ │ ├────────┤ │
│ parent class by using │ shape ·◇──────┘ │ ... │ │
│ aggregation. ├────────┤ ├────────┤ │
│ │ draw() │ │ draw() │ │
│ └────────┘ └─△──────┘ │
│ ● COMPOSITION: Every car has an │"IS A" │
│ ┌────────┐ engine ┌────────┐ ┌───────┴────┬───··· │
│ │ Car │◆────────┤ Engine │ ┌──┴─────┐ ┌──┴────┐ │
│ └────────┘ └────────┘ │ Circle │ │Ellipse│ │
│ ● Aggregation: Cars may have COMPOSITION+AGGREGATION │
│ ┌────────┐passengers┌──────────┐ allow DELEGATION as a │
│ │ Car │◇─────────┤Passengers│ (SAFER) alternative to the│
│ └────────┘ └──────────┘ "IS A" inheritance. │
└─────────────────────────────────────────────────────────────┘ [[}]]
## TXT BPMN: (Use Vim block-mode -Ctrl+v- to edit them)
#[BPMN]
┌─ BPMN (Business Process Management Network) ────────────────────────────────────────┐
│ See also: https://github.com/bpmn-io/bpmn-font/tree/master/dist/font │
│ ○ Start Event, ◎ Intermediary/Boundary Event, ◇ Gateway, │
│ ◷ Timer Start Event, ◈ Complex Gateway, │
│ ┌──────┐ ┌─────────────┐ ┌──────────────────┬──────────────────┐│
│ │ Task │ │○ Expanded │ ▴ │ Actor A │ Actor B ││
│ └──────┘ │ Subproccess│ ◂ ▸ ├──────────────────┼──────────────────┤│
│ └─────────────┘ ▾ │ ○ │ ││
│ ┌─┬─ Pool Participant "A" ─────────────────┐│ │ │ ┌──────────┐ ││
│ │A│ Some con- ││ ▼ │ ┌─▶│○ Expanded│ ││
│ │c│ ┌──────┐ ┌──────────┐ • dition?││ ┌──────┐ │ │ │ Subproc.│ ││
│ │t│○──▶│ Task •─▶│○ Expanded│ ╱ ╲ ││ │ Task •─────────┘ └───•──────┘ ││
│ │o│ └──────┘ │ Subproc.•──▶• ? ▸ No ││ └──────┘ │ ▼ Some ││
│ │r│ └──────────┘ ╲ ╱ ││ │ ╱ ╲ condi- ││
│ │ │ ▾ ││ │ NO◂ • tion? ││
│ │A│ Yes ││ │ ╲ ╱ ││
│ └─┴────────────────────────────────────────┘│ │ ▾ ││
│ │ │ YES ││
└─────────────────────────────────────────────────────────────────────────────────────┘
## TXT Geometric symbols
┌ Geometric ──────────────────────────────────────────────┐ #[geometric]
│ https://www.w3schools.com/charsets/ref_utf_geometric.asp│
│ ▲ ▴ △ ▵ ◤ ◥ ◸ ◹ ◜ ◝ ◠ ◄ ► ◅ ▻ │
│ ◀ ▶ ◂ ▸ ◁ ▷ ◃ ▹ ◣ ◢ ◺ ◿ ◟ ◞ ◡ ◆ ◇ ◈ ◊ ◰ ◱ ◲ ◳ │
│ ▼ ▾ ▽ ▿ ◴ ◵ ◶ ◷ │
│ ■ □ ▢ ▣ ▤ ▥ ▦ ▧ ▨ ▩ ◼ ◻ ▪ ▫ ▬ ▭ ▮ ▯ ▰ ▱ ◧ ◨ ◩ ◪ ◫ │
│ ◯ ○ ◦ ◌ ◍ ◉ ◎ ● ◐ ◑ ◒ ◓ ◔ ◕ ◖ ◗ ◬ ◭ ◮ │
│ ◘ ◙ ◚ ◛ │
└─────────────────────────────────────────────────────────┘
┌─┬─┬┈┈┈┈┬╌──┬─┐ ┐┎─┰┄─┄┰┅┅┒ ╔═╦═╗ ╓──╥──╖ ╒══╤══╕ ⎧⎧ ⎧ ⎫
│ ┊ ┆╌╌╌╌│ │ ╵┃ ┃ ┃ ┃ ║ ║ ║ ║ ║ ║ │ │ │ ⎭⎪ ⎪⎧ ⎫⎪
│ ┊ ┆ │ │ │ │┃ ┃ ┃ ┃ ╠═╬═╣ ╟──╫──╢ ╞══╪══╡ ⎪ ⎨⎨ ⎬⎬
│ ┊ ┆ │ │ │ │┃ ┃ ┃ ┃ ║ ║ ║ ║ ║ ║ │ │ │ ⎪ ⎪⎩ ⎭⎪
├─┼─┼────┼───┼─┤ ┤┠─╂───╂──┨ ╚═╩═╝ ╙──╨──╜ ╘══╧══╛ ⎭ ⎩ ⎭
│ │ ┇ │ │ │ │┃ ┃ ┃ ┃ xxx ╲ ╱ ╱╲ ╱╲ • ▴
│ │ ┇ │ │ │ │┃ ┃ ┃ ┃ └ yyy ╳ ╲╱ ╱◜◝╲ ╱ ╲ ╱ ╲
│ │ ┇ │ │ │ ╷┃ ┃ ┃ ┃ ├ zzz ╱ ╲ ╲◟◞╱ • • ◂ ▸
└─┴─┴────┴───┴─┘ ┘┖─┸───┸──┚ └ ... ╲╱ ╲ ╱ ╲ ╱
└╴──┴─────╶┘ • ▾
## TXT Math symbols:
┌─── Math Unicode Symbols ─────────────────────────────────────────────────┐ #[math_symbols]
│ @[https://www.unicode.org/charts/PDF/U2200.pdf] │
│ ● ORDER RELATIONS ● LOGICAL OPs │
│ ≺ ≻ PRECEDES/SUCCEEDS ∧ LOGICAL AND │
│ ≼ ≽ PRECEDES/SUCCEEDS ∨ LOGICAL OR │
│ OR EQUAL TO │
│ ≾ ≿ PRECEDES/SUCCEEDS OR │
│ EQUIVALENT TO │
│ ⊀ ⊁ DOES NOT PREC./SUCC. │
│ │
│ ● MISCELLANEOUS ● SET MEMBERSHIP │
│ ∞ INFINITY ∈ ∉ ELEMENT OF │
│ π PI ∋ ∌ CONTAINS AS MEMBER │
│ ∀ FOR ALL ● SET RELATIONS: │
│ ʗ COMPLEMENT ⊂ ⊄ (NOT) A SUBSET OF │
│ ∂ PARTIAL DIFFERENTIAL ⊃ ⊅ (NOT) SUPERSET OF │
│ ∃ ∄ THERE DOES(/NOT) EXISTS ⊆ ⊇ SUB/SUPER-SET OF OR = TO │
│ Ø EMPTY SET ● SET OPERATIONS: │
│ Δ "DELTA" Inc|Laplace Op ∩ INTERSECTION │
│ ∇ "NABLA" gradient, ∪ UNION │
│ ∴ ∵ THEREFORE, BECAUSE ⋃ n-ary UNION │
│ │
│ ● N-ary operators ● OPERATORS ● INTEGRALS │
│ (N inputs, 1 output) ± ∫ ∫∫ ∫∫∫ (DOUBLE/...)│
│ ∏ N-ARY PRODUCT ∘ RING OPERATOR ∮ ∲ (ANTI)CONTOUR INT.│
│ ∐ N-ARY COPRODUCT √ ∛ ∜ SQUARE/... ROOT ∮∮ ∮∮∮ SURFACE/VOLUME │
│ Σ N-ARY SUMMATION α PROPORTIONAL TO ∱ CLOCKWISE INTEGRAL │
│ │
│ ● RELATION ● "QUANTITATIVE" RELATIONS │
│ ∣ ∤ DOES (NOT) DIVIDES ≤ ≥ LESS/GREATER-THAN OR = TO │
│ ǁ ∦ (NOT) PARALLEL TO ≦ ≧ LESS/GREATER-THAN OVER = TO │
│ ∶ RATIO ≨ ≩ LESS/GREATER-THAN BUT NOT = TO │
│ ∷ PROPORTION ≮ ≯ NOT LESS/GREATER-THAN │
│ ∺ GEOMETRIC PROPORTION ≰ ≱ NEITHER LESS/GREA.-THAN NOR = TO │
│ ≃ ≄ (!) ASYMPTOTICALLY = TO ≲ ≳ LESS/GREA.-THAN OR EQUIVALENT TO │
│ ≅ APPROX. EQUAL TO ≴ ≵ NEITHER LESS/GREATER-THAN │
│ ≆ APPROX. BUT NOT EQUAL NOR EQUIVALENT TO │
│ ≇ NEITHER APPROX. NOR ACTUA. ≶ ≷ LESS/GREATER-THAN OR GREATER-THAN │
│ ≈ ≉ (!) ALMOST EQUAL TO ≸ ≹ NEITHER LESS/GREATER-THAN │
│ ≊ ALMOST EQUAL OR EQUAL TO NOR GREATER-THAN │
│ ≍ ≭ (!) EQUIVALENT TO │
│ ≖ RING-IN EQUAL TO ● GROUP RELATIONS │
│ ≗ RING EQUAL ⊲ ⋪ (NOT) NORMAL SUBGROUP OF │
│ ≝ EQUAL TO BY DEFINITION ⊴ ⋬ (NOT) NORMAL SUBGROUP OF │
│ ≞ MEASURED BY OR = TO │
│ ≟ QUESTIONED EQUAL TO ⊳ ⋫ DOES (NOT) CONTAIN AS │
│ ≠ NOT EQUAL TO NORMAL SUBGROUP │
│ ≡ ≢ (NOT) IDENTICAL TO ⋭ ⊵ DOES (NOT) CONTAIN AS │
│ ≣ STRICTLY EQUIVALENT TO NORMAL SUBGROUP │
│ │
│ ● https://en.wikipedia.org/wiki/Mathematical_Operators_(Unicode_block) │
│ 0 1 2 3 4 5 6 7 8 9 A B C D E F │
│ U+220x ∀ ∁ ∂ ∃ ∄ ∅ ∆ ∇ ∈ ∉ ∊ ∋ ∌ ∍ ∎ ∏ │
│ U+221x ∐ ∑ − ∓ ∔ ∕ ∖ ∗ ∘ ∙ √ ∛ ∜ ∝ ∞ ∟ │
│ U+222x ∠ ∡ ∢ ∣ ∤ ∥ ∦ ∧ ∨ ∩ ∪ ∫ ∬ ∭ ∮ ∯ │
│ U+223x ∰ ∱ ∲ ∳ ∴ ∵ ∶ ∷ ∸ ∹ ∺ ∻ ∼ ∽ ∾ ∿ │
│ U+224x ≀ ≁ ≂ ≃ ≄ ≅ ≆ ≇ ≈ ≉ ≊ ≋ ≌ ≍ ≎ ≏ │
│ U+225x ≐ ≑ ≒ ≓ ≔ ≕ ≖ ≗ ≘ ≙ ≚ ≛ ≜ ≝ ≞ ≟ │
│ U+226x ≠ ≡ ≢ ≣ ≤ ≥ ≦ ≧ ≨ ≩ ≪ ≫ ≬ ≭ ≮ ≯ │
│ U+227x ≰ ≱ ≲ ≳ ≴ ≵ ≶ ≷ ≸ ≹ ≺ ≻ ≼ ≽ ≾ ≿ │
│ U+228x ⊀ ⊁ ⊂ ⊃ ⊄ ⊅ ⊆ ⊇ ⊈ ⊉ ⊊ ⊋ ⊌ ⊍ ⊎ ⊏ │
│ U+229x ⊐ ⊑ ⊒ ⊓ ⊔ ⊕ ⊖ ⊗ ⊘ ⊙ ⊚ ⊛ ⊜ ⊝ ⊞ ⊟ │
│ U+22Ax ⊠ ⊡ ⊢ ⊣ ⊤ ⊥ ⊦ ⊧ ⊨ ⊩ ⊪ ⊫ ⊬ ⊭ ⊮ ⊯ │
│ U+22Bx ⊰ ⊱ ⊲ ⊳ ⊴ ⊵ ⊶ ⊷ ⊸ ⊹ ⊺ ⊻ ⊼ ⊽ ⊾ ⊿ │
│ U+22Cx ⋀ ⋁ ⋂ ⋃ ⋄ ⋅ ⋆ ⋇ ⋈ ⋉ ⋊ ⋋ ⋌ ⋍ ⋎ ⋏ │
│ U+22Dx ⋐ ⋑ ⋒ ⋓ ⋔ ⋕ ⋖ ⋗ ⋘ ⋙ ⋚ ⋛ ⋜ ⋝ ⋞ ⋟ │
│ U+22Ex ⋠ ⋡ ⋢ ⋣ ⋤ ⋥ ⋦ ⋧ ⋨ ⋩ ⋪ ⋫ ⋬ ⋭ ⋮ ⋯ │
│ U+22Fx ⋴ ⋵ ⋶ ⋷ ⋸ ⋹ ⋺ ⋻ ⋼ ⋽ ⋾ ⋿ │
└──────────────────────────────────────────────────────────────────────────┘
- Greek&Related Symbols ("Physics symbols")
Alpha A,α│Eta Η,η │nu Ν,ν │Tau Τ,τ
Beta B,β│Theta Θ,θ│ϑ│Xi Ξ,ξ │Upsilon Υ,υ│ϒ
Gamma Γ,γ│Iota Ι,ι │Omicron Ο,ο │Phi Φ,φ
Delta Δ,δ│Kappa Κ,κ │Pi Π,π│ϖ│Chi Χ,χ
Epsilon Ε,ε│Lamda Λ,λ │Rho Ρ,ρ │Psi Ψ,ψ
Zeta Ζ,ζ│Mu Μ,μ │Sigma Σ,ς│σ│Omega Ω,ω
══════════════════════════════════════════════════════════════════════════════════
If you are reading this paragraph, TXT already dominates the World,
Time for Fun and Celebration!! #[txt_world_domination_celebration]
# TXT GAMES!!!
┌─ @[http://fph.altervista.org/prog/bastet.html] ──────────────────────────┐ [[{games.tetris]]
│ Tetrisfy your TXT enemies with this Tetris clone for terminals. │
└──────────────────────────────────────────────────────────────────────────┘ [[}]]
┌ @[https://github.com/bfontaine/term2048] ────────────────────────────────┐ [[{games.puzzle]]
│ Puzzle your terminal. │
└──────────────────────────────────────────────────────────────────────────┘ [[}]]
┌ @[https://www.seehuhn.de/pages/moon-buggy] ──────────────────────────────┐ [[{games.moon_buggy]]
│ The World is now under control, time for TXT Moon Domination!!! │
└──────────────────────────────────────────────────────────────────────────┘ [[}]]
┌ @[https://www.nethack.org/] ─────────────────────────────────────────────┐ [[{games.NetHack]]
│ TXT is not afraid of Dungeons and Dragons!!! │
└──────────────────────────────────────────────────────────────────────────┘ [[}]]
┌ @[https://linuxcommandlibrary.com/man/ninvaders] ────────────────────────┐ [[{games.ninvaders]]
│ Defend your TXT from alien invaders!!! │
└──────────────────────────────────────────────────────────────────────────┘ [[}]]
┌ @[https://askubuntu.com/questions/376558/how-to-play-snake-in-terminal] ─┐ [[{games.snake]]
│ Don't let your TXT eat itself!!! │
└──────────────────────────────────────────────────────────────────────────┘ [[}]]
┌ @[https://howtoinstall.co/en/pacman4console] ────────────────────────────┐ [[{games.pacman]]
│ Pacman is here!!! │
└──────────────────────────────────────────────────────────────────────────┘ [[}]]