From 416e33ff2d90a06646110ee5caf80ed6cf280c9d Mon Sep 17 00:00:00 2001 From: hotchilipowder Date: Mon, 2 Dec 2024 20:08:27 +0800 Subject: [PATCH] add hardware --- docs/mds/hardware.md | 19 ++++++++++++++++--- docs/rsts/git.rst | 36 ++++++++++++++++++++++-------------- docs/rsts/homelab.rst | 2 +- 3 files changed, 39 insertions(+), 18 deletions(-) diff --git a/docs/mds/hardware.md b/docs/mds/hardware.md index b3691b0..b74c06b 100644 --- a/docs/mds/hardware.md +++ b/docs/mds/hardware.md @@ -1,9 +1,22 @@ -# Hardware Information +# Hardware for HomeLab -## CPU and Mainboard +## Nas from k350c + + +### 前言 + +配置: + ++ 2 Msata ++ 3 USB 3.0 + +#### Interfaces + +1. Mini-PCIE + +除了常规的PCIE接口外,这一次要用到Mini-PCIE接口。 -## 机箱 diff --git a/docs/rsts/git.rst b/docs/rsts/git.rst index 6e33ea3..dac9ec1 100644 --- a/docs/rsts/git.rst +++ b/docs/rsts/git.rst @@ -3,6 +3,28 @@ Awesome Git =========== +Config +====== + +.. list-table:: Title + :widths: 50 25 25 + :header-rows: 1 + + * - Command + - Meaning + - Note + * - \ :code:`git config --global core.editor "vim"`\ + - 修改编辑器为Vim + - + * - \ :code:`git config --global credential.helper "cache --timeout=604800"` + - 修改cache过期事件为1周=60 * 60 * 24 * 7 = 604800 + - + * - \ :code:`git config --local credential.username "hotchilipowder"`\ + - 设置默认的本地的crediential的username,避免每次都要重复输入。 + - + + + Install ======= @@ -216,17 +238,3 @@ Github Save username and password Github CheatSheet ----------------- -.. list-table:: Title - :widths: 50 25 25 - :header-rows: 1 - - * - Command - - Meaning - - Note - * - \ :code:`git config --global core.editor "vim"`\ - - 修改编辑器 - - - * - Row 2, column 1 - - Row 2, column 2 - - Row 2, column 3 - diff --git a/docs/rsts/homelab.rst b/docs/rsts/homelab.rst index b2a9f83..ec40d3e 100644 --- a/docs/rsts/homelab.rst +++ b/docs/rsts/homelab.rst @@ -1,5 +1,5 @@ ====================== -HomeLab +HomeLab ====================== Introduction