From 4ba9f79c97c8090d87d046f93a7eafa46f8349ab Mon Sep 17 00:00:00 2001 From: Steely Wing Date: Thu, 4 Jul 2024 12:37:52 +0800 Subject: [PATCH] Move Game and Hardware related to blog --- {docs/Hardware => blog}/IR.md | 7 +++++++ {docs/Game => blog}/OutOfSpace.md | 7 +++++++ docs/Hardware/RS-232.md => blog/RS-232/README.md | 9 ++++++++- {docs/Hardware/img => blog/RS-232}/db9-pinout.gif | Bin {docs/Hardware => blog}/SoC.md | 7 +++++++ docs/Hardware/Storage.md => blog/Storage/README.md | 7 +++++++ {docs/Hardware => blog/Storage}/img/esata.JPG | Bin {docs/Hardware => blog/Storage}/img/m2-key.png | Bin {docs/Hardware => blog/Storage}/img/msata.png | Bin {docs/Hardware => blog/Storage}/img/pata-cable.jpg | Bin {docs/Hardware => blog/Storage}/img/sata-cable.png | Bin {docs/Hardware => blog/Storage}/img/sata.png | Bin docs/Game/Terraria.md => blog/Terraria/README.md | 7 +++++++ {docs/Game => blog/Terraria}/img/Fishing.webp | Bin ...56\217\345\201\211\350\227\215\345\234\226.png" | Bin docs/Game/README.md | 6 ------ docs/Hardware/README.md | 13 ------------- docusaurus.config.js | 10 ---------- 18 files changed, 43 insertions(+), 30 deletions(-) rename {docs/Hardware => blog}/IR.md (64%) rename {docs/Game => blog}/OutOfSpace.md (97%) rename docs/Hardware/RS-232.md => blog/RS-232/README.md (89%) rename {docs/Hardware/img => blog/RS-232}/db9-pinout.gif (100%) rename {docs/Hardware => blog}/SoC.md (95%) rename docs/Hardware/Storage.md => blog/Storage/README.md (96%) rename {docs/Hardware => blog/Storage}/img/esata.JPG (100%) rename {docs/Hardware => blog/Storage}/img/m2-key.png (100%) rename {docs/Hardware => blog/Storage}/img/msata.png (100%) rename {docs/Hardware => blog/Storage}/img/pata-cable.jpg (100%) rename {docs/Hardware => blog/Storage}/img/sata-cable.png (100%) rename {docs/Hardware => blog/Storage}/img/sata.png (100%) rename docs/Game/Terraria.md => blog/Terraria/README.md (99%) rename {docs/Game => blog/Terraria}/img/Fishing.webp (100%) rename "docs/Game/img/\345\256\217\345\201\211\350\227\215\345\234\226.png" => "blog/Terraria/img/\345\256\217\345\201\211\350\227\215\345\234\226.png" (100%) delete mode 100644 docs/Game/README.md delete mode 100644 docs/Hardware/README.md diff --git a/docs/Hardware/IR.md b/blog/IR.md similarity index 64% rename from docs/Hardware/IR.md rename to blog/IR.md index f174d399..fb860508 100644 --- a/docs/Hardware/IR.md +++ b/blog/IR.md @@ -1,5 +1,12 @@ +--- +date: 2023-01-27 +tags: [Hardware] +--- + # IR (Infrared) + + | Wave length | Command | | - | - | | 850 nm | Night vision | diff --git a/docs/Game/OutOfSpace.md b/blog/OutOfSpace.md similarity index 97% rename from docs/Game/OutOfSpace.md rename to blog/OutOfSpace.md index e2985e9d..32bc7c5d 100644 --- a/docs/Game/OutOfSpace.md +++ b/blog/OutOfSpace.md @@ -1,5 +1,12 @@ +--- +date: 2022-04-04 +tags: [Game] +--- + # Out of Space + + - 簡單模式:在設定裡開啟 **襌宗模式**,可以用來解鎖成就 - 箱子有電力符號的才需要電 - **食物**、**箱子**、**垃圾**、**異形** 可以放 **回收機** 賺錢 diff --git a/docs/Hardware/RS-232.md b/blog/RS-232/README.md similarity index 89% rename from docs/Hardware/RS-232.md rename to blog/RS-232/README.md index a746d49f..3b9dc5d0 100644 --- a/docs/Hardware/RS-232.md +++ b/blog/RS-232/README.md @@ -1,9 +1,16 @@ +--- +date: 2023-02-01 +tags: [Hardware] +--- + # RS-232 > Ref: [Wikipedia](https://en.wikipedia.org/wiki/RS-232) RS-232 / COM port / Serial port + + ## Connector - DB-25 @@ -39,7 +46,7 @@ graph LR dtr[DTR] --> dcd[DCD] ``` -![DB-9 pinout](img/db9-pinout.gif) +![DB-9 pinout](db9-pinout.gif) ### Common usage diff --git a/docs/Hardware/img/db9-pinout.gif b/blog/RS-232/db9-pinout.gif similarity index 100% rename from docs/Hardware/img/db9-pinout.gif rename to blog/RS-232/db9-pinout.gif diff --git a/docs/Hardware/SoC.md b/blog/SoC.md similarity index 95% rename from docs/Hardware/SoC.md rename to blog/SoC.md index 70eca61b..06ef02a2 100644 --- a/docs/Hardware/SoC.md +++ b/blog/SoC.md @@ -1,7 +1,14 @@ +--- +date: 2023-02-01 +tags: [Hardware] +--- + # SoC System on a Chip + + - Atmel (Microchip) - AVR - ATtiny85 diff --git a/docs/Hardware/Storage.md b/blog/Storage/README.md similarity index 96% rename from docs/Hardware/Storage.md rename to blog/Storage/README.md index 2a06ea96..715fbaf0 100644 --- a/docs/Hardware/Storage.md +++ b/blog/Storage/README.md @@ -1,5 +1,12 @@ +--- +date: 2023-05-31 +tags: [Hardware, SATA, SSD] +--- + # Storage + + ## SATA Serial ATA / Serial Advanced Technology Attachment diff --git a/docs/Hardware/img/esata.JPG b/blog/Storage/img/esata.JPG similarity index 100% rename from docs/Hardware/img/esata.JPG rename to blog/Storage/img/esata.JPG diff --git a/docs/Hardware/img/m2-key.png b/blog/Storage/img/m2-key.png similarity index 100% rename from docs/Hardware/img/m2-key.png rename to blog/Storage/img/m2-key.png diff --git a/docs/Hardware/img/msata.png b/blog/Storage/img/msata.png similarity index 100% rename from docs/Hardware/img/msata.png rename to blog/Storage/img/msata.png diff --git a/docs/Hardware/img/pata-cable.jpg b/blog/Storage/img/pata-cable.jpg similarity index 100% rename from docs/Hardware/img/pata-cable.jpg rename to blog/Storage/img/pata-cable.jpg diff --git a/docs/Hardware/img/sata-cable.png b/blog/Storage/img/sata-cable.png similarity index 100% rename from docs/Hardware/img/sata-cable.png rename to blog/Storage/img/sata-cable.png diff --git a/docs/Hardware/img/sata.png b/blog/Storage/img/sata.png similarity index 100% rename from docs/Hardware/img/sata.png rename to blog/Storage/img/sata.png diff --git a/docs/Game/Terraria.md b/blog/Terraria/README.md similarity index 99% rename from docs/Game/Terraria.md rename to blog/Terraria/README.md index a6b1dc9f..69bdd060 100644 --- a/docs/Game/Terraria.md +++ b/blog/Terraria/README.md @@ -1,5 +1,12 @@ +--- +date: 2024-03-25 +tags: [Game] +--- + # Terraria + + ## Tips - Cursor Color diff --git a/docs/Game/img/Fishing.webp b/blog/Terraria/img/Fishing.webp similarity index 100% rename from docs/Game/img/Fishing.webp rename to blog/Terraria/img/Fishing.webp diff --git "a/docs/Game/img/\345\256\217\345\201\211\350\227\215\345\234\226.png" "b/blog/Terraria/img/\345\256\217\345\201\211\350\227\215\345\234\226.png" similarity index 100% rename from "docs/Game/img/\345\256\217\345\201\211\350\227\215\345\234\226.png" rename to "blog/Terraria/img/\345\256\217\345\201\211\350\227\215\345\234\226.png" diff --git a/docs/Game/README.md b/docs/Game/README.md deleted file mode 100644 index 5301018c..00000000 --- a/docs/Game/README.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -slug: . -sidebar_position: 0 ---- - -# Game diff --git a/docs/Hardware/README.md b/docs/Hardware/README.md deleted file mode 100644 index 0e8401a3..00000000 --- a/docs/Hardware/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -sidebar_position: 0 ---- - -# Hardware - -## Fiber - -[Fiber](../Network/Interface.md#fiber) - -## 8P8C - -[8P8C](../Network/Interface.md#pinout) diff --git a/docusaurus.config.js b/docusaurus.config.js index 4101f76b..8a00e16c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -80,16 +80,6 @@ module.exports = { label: 'Programming', position: 'left', }, - { - to: 'Hardware', - label: 'Hardware', - position: 'left', - }, - { - to: 'Game', - label: 'Game', - position: 'left', - }, { href: 'https://github.com/steelywing/note', label: 'GitHub',