From 0a02579dfe14c94964fe1b0337c43d296c4573c9 Mon Sep 17 00:00:00 2001 From: Dave Kerr Date: Thu, 14 Apr 2022 12:10:08 +0800 Subject: [PATCH] feat: chapter 31 - the power of terminal editors (#196) * wip: chapter 31 - the power of terminal editors * wip: add the Caret component * wip: insert commands completed, operators next * wip: more work on the chapter * chore: developer guide and caret improvemnts * chore: add annotated command to dev guide * wip: add the asciinema preview * wip: proof reading complete --- .../31-the-secure-shell/index.mdx | 2 +- .../images/markdown-basic.png | Bin 0 -> 177522 bytes .../images/vim-cheatsheet.png | Bin 0 -> 133647 bytes .../32-a-vim-crash-course/index.mdx | 546 ++++++++++++++ docs/zz-developer-guide/components.mdx | 103 +++ .../images-and-diagrams.mdx | 38 + .../images/asymmetric-encryption.drawio | 1 + .../images/markdown-basic.png | Bin 0 -> 177522 bytes .../images/vim-cheatsheet.png | Bin 0 -> 133647 bytes docusaurus.config.js | 26 + package-lock.json | 671 +++++++++++++++++- package.json | 4 +- sidebars.js | 9 + .../AnnotatedCommmand/AnnotatedCommand.tsx | 32 + src/components/Caret/Caret.tsx | 42 ++ src/theme/ReactLiveScope/index.js | 27 + 16 files changed, 1493 insertions(+), 8 deletions(-) create mode 100644 docs/06-advanced-techniques/32-a-vim-crash-course/images/markdown-basic.png create mode 100644 docs/06-advanced-techniques/32-a-vim-crash-course/images/vim-cheatsheet.png create mode 100644 docs/06-advanced-techniques/32-a-vim-crash-course/index.mdx create mode 100644 docs/zz-developer-guide/components.mdx create mode 100644 docs/zz-developer-guide/images-and-diagrams.mdx create mode 100644 docs/zz-developer-guide/images/asymmetric-encryption.drawio create mode 100644 docs/zz-developer-guide/images/markdown-basic.png create mode 100644 docs/zz-developer-guide/images/vim-cheatsheet.png create mode 100644 src/components/AnnotatedCommmand/AnnotatedCommand.tsx create mode 100644 src/components/Caret/Caret.tsx create mode 100644 src/theme/ReactLiveScope/index.js diff --git a/docs/06-advanced-techniques/31-the-secure-shell/index.mdx b/docs/06-advanced-techniques/31-the-secure-shell/index.mdx index 8a0027dc..a7e67f55 100644 --- a/docs/06-advanced-techniques/31-the-secure-shell/index.mdx +++ b/docs/06-advanced-techniques/31-the-secure-shell/index.mdx @@ -1,7 +1,7 @@ --- title: 'The Secure Shell' slug: '/part-6-advanced-techniques/the-secure-shell/' -chapterNumber: 33 +chapterNumber: 3 --- So far we have been using the shell to operate on our local machine. We can use _Secure Shell Protocol_, or _SSH_, to open a secure network connection to a remote machine and use the shell to work on that machine. diff --git a/docs/06-advanced-techniques/32-a-vim-crash-course/images/markdown-basic.png b/docs/06-advanced-techniques/32-a-vim-crash-course/images/markdown-basic.png new file mode 100644 index 0000000000000000000000000000000000000000..7e7bd8c934808dc74405f41b23f225fd23b30080 GIT binary patch literal 177522 zcmeEuc{H1A+b>FWP^zdFMQN+0Xlov$RdZ4EEK1c(QL{+ZZp~EHP*c=A4<&{e!Zyz} zBxY$TsRS_x5jnBn_uXf|XMJaVTfg(yS+A_DJS(2u&wXFdb^os4H9g@^wNx&gV>?Gd zL2*G%^|3Am#pxUhic_K&Pm{li=7c~fDCis=6cwMUDJpV5^>BOP;A~4lp&FiGM60jY z!U9#$sy*o4gh4-RIOSK))9&2b-HVDPVIX76x#u)xuO~P$8r<(TC?HWd=NH6* zpw3K?kc894;!WKM zEZks>ZQha*Xy8NfG~y}er<@TLP2UINC0tetE4}D<$`75X-0LJIZkZ0)J&*WZ>S7z> zjTY0Q=cVi7zxjSvxSW`YoV=UPQNH^YX{$bYR}7peU~pit=g&Q)W?i@nXFMnANJuvP zeD6Mu^|^K=P1cVqVNh=GxWyZf3%!&tpPRgYN?O;iktfJ0Y=LGz>|z3_gjAGj`+r$p-AsCRb+&FH>o|NKqx`tEy{8wKe3p8c2ZMJo%RJ{;CPHc0b*Chnu3 z#?KjeHSDzW#dFCD^k%1%>AnOPK#QBtAL&N_c1q~|o4ec;gN`q(lp{PI(?QN=UOYS- zN6~#6{r0vBO(w-A@U#hH^y+hdmGd7(JX-X^wiKAV-@+GrP39lE^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