From f584d03722e118e04fb66e38ee7e92e03d7e1779 Mon Sep 17 00:00:00 2001 From: haunt98 Date: Sat, 11 Jul 2020 23:12:10 +0700 Subject: [PATCH] mdbook python main --- src/Applications/Misc/mdBook.md | 6 ++ src/Development/Python/main.md | 9 +++ src/SUMMARY.md | 4 +- tmux-client-4545.log | 123 ++++++++++++++++++++++++++++++++ 4 files changed, 141 insertions(+), 1 deletion(-) create mode 100644 src/Applications/Misc/mdBook.md create mode 100644 src/Development/Python/main.md create mode 100644 tmux-client-4545.log diff --git a/src/Applications/Misc/mdBook.md b/src/Applications/Misc/mdBook.md new file mode 100644 index 0000000..fd2635e --- /dev/null +++ b/src/Applications/Misc/mdBook.md @@ -0,0 +1,6 @@ +# [mdBook](https://github.com/rust-lang/mdBook) + +| Distribution | Package | +| ------------ | -------- | +| Homebrew | `mdbook` | +| Snap | `mdbook` | diff --git a/src/Development/Python/main.md b/src/Development/Python/main.md new file mode 100644 index 0000000..63044a5 --- /dev/null +++ b/src/Development/Python/main.md @@ -0,0 +1,9 @@ +# main + +```python +def main(): + print("Hello") + +if __name__ == "__main__": + main() +``` diff --git a/src/SUMMARY.md b/src/SUMMARY.md index ca96ec1..bd8bbbd 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -22,6 +22,7 @@ - [Prettier](Applications/Misc/Prettier.md) - [Steam](Applications/Misc/Steam.md) - [Ventoy](Applications/Misc/Ventoy.md) + - [mdBook](Applications/Misc/mdBook.md) - [mpv](Applications/Misc/mpv.md) - [Network](Applications/Network/README.md) - [HTTPie](Applications/Network/HTTPie.md) @@ -48,9 +49,10 @@ - [Python](Development/Python/README.md) - [argparse](Development/Python/argparse.md) - [black](Development/Python/black.md) + - [main](Development/Python/main.md) - [subprocess](Development/Python/subprocess.md) - - [venv](Development/Python/venv.md) - [tarfile](Development/Python/tarfile.md) + - [venv](Development/Python/venv.md) - [Services](Development/Services/README.md) - [Consul](Development/Services/Consul.md) - [Grafana](Development/Services/Grafana.md) diff --git a/tmux-client-4545.log b/tmux-client-4545.log new file mode 100644 index 0000000..3bbc5da --- /dev/null +++ b/tmux-client-4545.log @@ -0,0 +1,123 @@ +1594399995.254220 client started (4545): version 2.6, socket /tmp/tmux-1000/default, protocol 8 +1594399995.254263 on Linux 5.3.0-62-generic #56~18.04.1-Ubuntu SMP Wed Jun 24 16:17:03 UTC 2020; libevent 2.1.8-stable (poll) +1594399995.254300 socket is /tmp/tmux-1000/default +1594399995.254318 trying connect +1594399995.254470 add peer 0x55aa4fbb6c20: 6 ((nil)) +1594399995.254587 sending message 100 to peer 0x55aa4fbb6c20 (4 bytes) +1594399995.254603 sending message 101 to peer 0x55aa4fbb6c20 (15 bytes) +1594399995.254611 sending message 102 to peer 0x55aa4fbb6c20 (11 bytes) +1594399995.254619 sending message 108 to peer 0x55aa4fbb6c20 (21 bytes) +1594399995.254628 sending message 104 to peer 0x55aa4fbb6c20 (0 bytes) +1594399995.254643 sending message 107 to peer 0x55aa4fbb6c20 (4 bytes) +1594399995.254652 sending message 105 to peer 0x55aa4fbb6c20 (22 bytes) +1594399995.254660 sending message 105 to peer 0x55aa4fbb6c20 (1516 bytes) +1594399995.254685 sending message 105 to peer 0x55aa4fbb6c20 (54 bytes) +1594399995.254694 sending message 105 to peer 0x55aa4fbb6c20 (27 bytes) +1594399995.254701 sending message 105 to peer 0x55aa4fbb6c20 (34 bytes) +1594399995.254709 sending message 105 to peer 0x55aa4fbb6c20 (21 bytes) +1594399995.254716 sending message 105 to peer 0x55aa4fbb6c20 (24 bytes) +1594399995.254759 sending message 105 to peer 0x55aa4fbb6c20 (23 bytes) +1594399995.254767 sending message 105 to peer 0x55aa4fbb6c20 (17 bytes) +1594399995.254774 sending message 105 to peer 0x55aa4fbb6c20 (15 bytes) +1594399995.254781 sending message 105 to peer 0x55aa4fbb6c20 (32 bytes) +1594399995.254788 sending message 105 to peer 0x55aa4fbb6c20 (33 bytes) +1594399995.254796 sending message 105 to peer 0x55aa4fbb6c20 (23 bytes) +1594399995.254803 sending message 105 to peer 0x55aa4fbb6c20 (11 bytes) +1594399995.254811 sending message 105 to peer 0x55aa4fbb6c20 (26 bytes) +1594399995.254818 sending message 105 to peer 0x55aa4fbb6c20 (17 bytes) +1594399995.254826 sending message 105 to peer 0x55aa4fbb6c20 (56 bytes) +1594399995.254833 sending message 105 to peer 0x55aa4fbb6c20 (12 bytes) +1594399995.254840 sending message 105 to peer 0x55aa4fbb6c20 (58 bytes) +1594399995.254848 sending message 105 to peer 0x55aa4fbb6c20 (10 bytes) +1594399995.254855 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.254862 sending message 105 to peer 0x55aa4fbb6c20 (20 bytes) +1594399995.254870 sending message 105 to peer 0x55aa4fbb6c20 (56 bytes) +1594399995.254877 sending message 105 to peer 0x55aa4fbb6c20 (11 bytes) +1594399995.254884 sending message 105 to peer 0x55aa4fbb6c20 (35 bytes) +1594399995.254892 sending message 105 to peer 0x55aa4fbb6c20 (41 bytes) +1594399995.254899 sending message 105 to peer 0x55aa4fbb6c20 (41 bytes) +1594399995.254907 sending message 105 to peer 0x55aa4fbb6c20 (56 bytes) +1594399995.254914 sending message 105 to peer 0x55aa4fbb6c20 (20 bytes) +1594399995.254922 sending message 105 to peer 0x55aa4fbb6c20 (18 bytes) +1594399995.254929 sending message 105 to peer 0x55aa4fbb6c20 (47 bytes) +1594399995.254936 sending message 105 to peer 0x55aa4fbb6c20 (9 bytes) +1594399995.254944 sending message 105 to peer 0x55aa4fbb6c20 (30 bytes) +1594399995.254951 sending message 105 to peer 0x55aa4fbb6c20 (25 bytes) +1594399995.254959 sending message 105 to peer 0x55aa4fbb6c20 (60 bytes) +1594399995.254966 sending message 105 to peer 0x55aa4fbb6c20 (18 bytes) +1594399995.254973 sending message 105 to peer 0x55aa4fbb6c20 (20 bytes) +1594399995.254980 sending message 105 to peer 0x55aa4fbb6c20 (33 bytes) +1594399995.254988 sending message 105 to peer 0x55aa4fbb6c20 (56 bytes) +1594399995.254996 sending message 105 to peer 0x55aa4fbb6c20 (64 bytes) +1594399995.255003 sending message 105 to peer 0x55aa4fbb6c20 (26 bytes) +1594399995.255011 sending message 105 to peer 0x55aa4fbb6c20 (25 bytes) +1594399995.255018 sending message 105 to peer 0x55aa4fbb6c20 (15 bytes) +1594399995.255025 sending message 105 to peer 0x55aa4fbb6c20 (21 bytes) +1594399995.255032 sending message 105 to peer 0x55aa4fbb6c20 (19 bytes) +1594399995.255040 sending message 105 to peer 0x55aa4fbb6c20 (56 bytes) +1594399995.255058 sending message 105 to peer 0x55aa4fbb6c20 (19 bytes) +1594399995.255066 sending message 105 to peer 0x55aa4fbb6c20 (21 bytes) +1594399995.255074 sending message 105 to peer 0x55aa4fbb6c20 (178 bytes) +1594399995.255082 sending message 105 to peer 0x55aa4fbb6c20 (36 bytes) +1594399995.255089 sending message 105 to peer 0x55aa4fbb6c20 (29 bytes) +1594399995.255096 sending message 105 to peer 0x55aa4fbb6c20 (54 bytes) +1594399995.255104 sending message 105 to peer 0x55aa4fbb6c20 (23 bytes) +1594399995.255111 sending message 105 to peer 0x55aa4fbb6c20 (56 bytes) +1594399995.255118 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255126 sending message 105 to peer 0x55aa4fbb6c20 (23 bytes) +1594399995.255133 sending message 105 to peer 0x55aa4fbb6c20 (58 bytes) +1594399995.255140 sending message 105 to peer 0x55aa4fbb6c20 (54 bytes) +1594399995.255147 sending message 105 to peer 0x55aa4fbb6c20 (28 bytes) +1594399995.255155 sending message 105 to peer 0x55aa4fbb6c20 (17 bytes) +1594399995.255162 sending message 105 to peer 0x55aa4fbb6c20 (20 bytes) +1594399995.255169 sending message 105 to peer 0x55aa4fbb6c20 (17 bytes) +1594399995.255176 sending message 105 to peer 0x55aa4fbb6c20 (16 bytes) +1594399995.255184 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255191 sending message 105 to peer 0x55aa4fbb6c20 (18 bytes) +1594399995.255198 sending message 105 to peer 0x55aa4fbb6c20 (20 bytes) +1594399995.255205 sending message 105 to peer 0x55aa4fbb6c20 (18 bytes) +1594399995.255212 sending message 105 to peer 0x55aa4fbb6c20 (29 bytes) +1594399995.255220 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255227 sending message 105 to peer 0x55aa4fbb6c20 (56 bytes) +1594399995.255235 sending message 105 to peer 0x55aa4fbb6c20 (81 bytes) +1594399995.255242 sending message 105 to peer 0x55aa4fbb6c20 (8 bytes) +1594399995.255250 sending message 105 to peer 0x55aa4fbb6c20 (15 bytes) +1594399995.255258 sending message 105 to peer 0x55aa4fbb6c20 (15 bytes) +1594399995.255266 sending message 105 to peer 0x55aa4fbb6c20 (301 bytes) +1594399995.255273 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255281 sending message 105 to peer 0x55aa4fbb6c20 (25 bytes) +1594399995.255288 sending message 105 to peer 0x55aa4fbb6c20 (20 bytes) +1594399995.255295 sending message 105 to peer 0x55aa4fbb6c20 (44 bytes) +1594399995.255302 sending message 105 to peer 0x55aa4fbb6c20 (12 bytes) +1594399995.255309 sending message 105 to peer 0x55aa4fbb6c20 (54 bytes) +1594399995.255317 sending message 105 to peer 0x55aa4fbb6c20 (31 bytes) +1594399995.255324 sending message 105 to peer 0x55aa4fbb6c20 (33 bytes) +1594399995.255331 sending message 105 to peer 0x55aa4fbb6c20 (58 bytes) +1594399995.255338 sending message 105 to peer 0x55aa4fbb6c20 (64 bytes) +1594399995.255345 sending message 105 to peer 0x55aa4fbb6c20 (47 bytes) +1594399995.255353 sending message 105 to peer 0x55aa4fbb6c20 (148 bytes) +1594399995.255360 sending message 105 to peer 0x55aa4fbb6c20 (30 bytes) +1594399995.255371 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255379 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255388 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255399 sending message 105 to peer 0x55aa4fbb6c20 (54 bytes) +1594399995.255427 sending message 105 to peer 0x55aa4fbb6c20 (15 bytes) +1594399995.255441 sending message 105 to peer 0x55aa4fbb6c20 (58 bytes) +1594399995.255449 sending message 105 to peer 0x55aa4fbb6c20 (19 bytes) +1594399995.255456 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255463 sending message 105 to peer 0x55aa4fbb6c20 (78 bytes) +1594399995.255471 sending message 105 to peer 0x55aa4fbb6c20 (52 bytes) +1594399995.255478 sending message 105 to peer 0x55aa4fbb6c20 (32 bytes) +1594399995.255485 sending message 105 to peer 0x55aa4fbb6c20 (19 bytes) +1594399995.255492 sending message 105 to peer 0x55aa4fbb6c20 (20 bytes) +1594399995.255500 sending message 105 to peer 0x55aa4fbb6c20 (16 bytes) +1594399995.255507 sending message 105 to peer 0x55aa4fbb6c20 (16 bytes) +1594399995.255524 sending message 106 to peer 0x55aa4fbb6c20 (0 bytes) +1594399995.255533 sending message 200 to peer 0x55aa4fbb6c20 (4 bytes) +1594399995.255540 client loop enter +1594399995.262727 peer 0x55aa4fbb6c20 message 207 +1594399995.262764 sending message 208 to peer 0x55aa4fbb6c20 (0 bytes) +1594399996.614658 peer 0x55aa4fbb6c20 message 203 +1594399996.614690 sending message 205 to peer 0x55aa4fbb6c20 (0 bytes) +1594399996.615265 peer 0x55aa4fbb6c20 message 204 +1594399996.615290 client loop exit