From 9884628a9acee5bff855c45b352555fcca657e83 Mon Sep 17 00:00:00 2001 From: Nazmul Idris Date: Sun, 14 Jan 2024 20:41:01 -0800 Subject: [PATCH] Add 2 new tutorials: 1) netcat client & server, 2) tcp chat server --- .vscode/settings.json | 5 +- _includes/featured.html | 20 + _includes/sidebar.html | 29 +- _posts/2019-10-31-fish-scripting-manual.md | 4 +- _posts/2022-02-24-rust-non-binary-tree.md | 10 +- _posts/2022-03-02-rust-grep-cli-app.md | 6 +- _posts/2022-03-12-rust-redux.md | 14 +- _posts/2022-03-12-rust-tokio.md | 9 +- _posts/2022-03-30-rust-proc-macro.md | 113 +++-- _posts/2022-08-04-rust-dsl-part-1.md | 53 +- _posts/2022-11-21-algo-ts-1.md | 6 +- _posts/2022-12-11-algo-ts-2.md | 4 + _posts/2023-02-20-guide-to-nom-parsing.md | 7 +- _posts/2023-08-28-justfile.md | 20 +- _posts/2023-09-17-tuify-clap.md | 18 +- ...2-overcome-your-fear-of-merge-conflicts.md | 13 +- ...-01-13-write-simple-char-server-in-rust.md | 393 +++++++++++++++ .../2024-01-13-write-simple-netcat-in-rust.md | 468 ++++++++++++++++++ _sass/code-block.scss | 2 + _sass/globals.scss | 4 +- _sass/minima/_base.scss | 4 +- assets/chatserver-hero.svg | 108 ++++ assets/chatserver.svg | 86 ++++ assets/netcat-hero.svg | 108 ++++ assets/netcat.svg | 86 ++++ 25 files changed, 1430 insertions(+), 160 deletions(-) create mode 100644 _includes/featured.html create mode 100644 _posts/2024-01-13-write-simple-char-server-in-rust.md create mode 100644 _posts/2024-01-13-write-simple-netcat-in-rust.md create mode 100644 assets/chatserver-hero.svg create mode 100644 assets/chatserver.svg create mode 100644 assets/netcat-hero.svg create mode 100644 assets/netcat.svg diff --git a/.vscode/settings.json b/.vscode/settings.json index 8bcc5960..26f9a973 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,6 +6,7 @@ "dribbble", "DSLs", "firamono", + "giti", "Gjengset", "gothambold", "helveticaneue", @@ -16,7 +17,9 @@ "nadiaidris", "nazmulidris", "Ndot", + "netcat", "qself", + "rtelnet", "stackoverflow", "strikethrough", "toolkits", @@ -24,4 +27,4 @@ "vtable", "wght" ] -} +} \ No newline at end of file diff --git a/_includes/featured.html b/_includes/featured.html new file mode 100644 index 00000000..7260f1f6 --- /dev/null +++ b/_includes/featured.html @@ -0,0 +1,20 @@ + +
+

+🌟 Please star the +r3bl-open-core repo. + +You can get lots of useful Rust command line apps from the r3bl-cmdr crate in this repo: +

+ +πŸ“¦ You can install them using cargo install r3bl-cmdr +

+ +

If you would like to get involved in an open source project and like Rust crates, we +welcome your contributions to the +r3bl-open-core repo. +

+
\ No newline at end of file diff --git a/_includes/sidebar.html b/_includes/sidebar.html index b719e21c..32113a87 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -1,33 +1,42 @@