mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-24 03:01:30 +08:00
Update docs and sort content
This commit is contained in:
@ -22,7 +22,7 @@ description: null
|
|||||||
slug: diary-2025-02-27
|
slug: diary-2025-02-27
|
||||||
category: 日记
|
category: 日记
|
||||||
date_created: 20250227
|
date_created: 20250227
|
||||||
date_modified: 20250302
|
date_modified: 20250307
|
||||||
---
|
---
|
||||||
|
|
||||||
## 长期任务和目标
|
## 长期任务和目标
|
||||||
@ -82,5 +82,3 @@ sort file.ctime desc
|
|||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ description: null
|
|||||||
slug: diary-2025-02-28
|
slug: diary-2025-02-28
|
||||||
category: 日记
|
category: 日记
|
||||||
date_created: 20250228
|
date_created: 20250228
|
||||||
date_modified: 20250304
|
date_modified: 20250307
|
||||||
---
|
---
|
||||||
|
|
||||||
## 长期任务和目标
|
## 长期任务和目标
|
||||||
@ -70,7 +70,7 @@ sort file.ctime desc
|
|||||||
|
|
||||||
Linux 系统通常没有自带的剪贴板工具,需要安装 `xclip` 或 `xsel`。
|
Linux 系统通常没有自带的剪贴板工具,需要安装 `xclip` 或 `xsel`。
|
||||||
|
|
||||||
* **`xclip`**:
|
- **`xclip`**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git diff | xclip -selection clipboard
|
git diff | xclip -selection clipboard
|
||||||
@ -82,7 +82,7 @@ sort file.ctime desc
|
|||||||
git diff | xclip -in -selection clipboard
|
git diff | xclip -in -selection clipboard
|
||||||
```
|
```
|
||||||
|
|
||||||
* **`xsel`**:
|
- **`xsel`**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git diff | xsel --clipboard --input
|
git diff | xsel --clipboard --input
|
||||||
@ -98,7 +98,7 @@ sort file.ctime desc
|
|||||||
|
|
||||||
如果您的 Linux 系统上没有安装 `xclip` 或 `xsel`,可以使用以下命令安装:
|
如果您的 Linux 系统上没有安装 `xclip` 或 `xsel`,可以使用以下命令安装:
|
||||||
|
|
||||||
* **Debian/Ubuntu:**
|
- **Debian/Ubuntu:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@ -111,7 +111,7 @@ sort file.ctime desc
|
|||||||
sudo apt-get install xsel
|
sudo apt-get install xsel
|
||||||
```
|
```
|
||||||
|
|
||||||
* **Fedora/CentOS/RHEL:**
|
- **Fedora/CentOS/RHEL:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yum install xclip
|
sudo yum install xclip
|
||||||
@ -147,5 +147,3 @@ sort file.ctime desc
|
|||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
---
|
|
||||||
toAstro: true
|
|
||||||
astroType: null
|
|
||||||
published: false
|
|
||||||
toWexin: null
|
|
||||||
toJuejin: null
|
|
||||||
toZhihu: null
|
|
||||||
title: 2025-03-03 星期一
|
|
||||||
date: 2025-03-03T00:00:00.000Z
|
|
||||||
day_of_week: 星期一
|
|
||||||
author: KazooTTT
|
|
||||||
tags:
|
|
||||||
- 日记
|
|
||||||
description: null
|
|
||||||
slug: diary-2025-03-03
|
|
||||||
category: 日记
|
|
||||||
date_created: 20250303
|
|
||||||
date_modified: 20250304
|
|
||||||
---
|
|
||||||
|
|
||||||
## 长期任务和目标
|
|
||||||
|
|
||||||
## 今天要做的事情
|
|
||||||
|
|
||||||
- [x] 继续调试 oss 的上传 [[oss 上传]] ✅ 2025-03-05
|
|
||||||
- [ ] [[卡顿问题的优化]]
|
|
||||||
- [ ] 异常页面的增加(也就是如果页面有异常不应该显示 react 原始的白屏报错)
|
|
||||||
|
|
||||||
## 值得分享的事情
|
|
||||||
|
|
||||||
## 资料收集
|
|
||||||
|
|
||||||
## 打卡
|
|
||||||
|
|
||||||
## 今天记录的内容
|
|
||||||
|
|
||||||
``` dataview
|
|
||||||
list file.ctime
|
|
||||||
from ""
|
|
||||||
where dateformat(file.ctime, "yyyy-MM-dd") = "2025-03-03"
|
|
||||||
sort file.ctime desc
|
|
||||||
```
|
|
||||||
|
|
||||||
## memos
|
|
||||||
|
|
||||||
- 16:02 Commit message 包括三个部分:Header,Body 和 Footer。
|
|
||||||
- 16:06
|
|
||||||
- [x] 关于 [rsshub中新增asianfanfics路由](/posts/fragmented-notes-2025-02-21-16-38-50) 需要添加一些反思 ✅ 2025-03-04
|
|
||||||
|
|
||||||
- 16:21
|
|
||||||
Lineage 和 outliner 的一些快捷键是冲突的
|
|
||||||
由于我使用前者比较多,所以禁用了后者
|
|
@ -23,7 +23,7 @@ description: >-
|
|||||||
来只获取需要的数据。同时,应该遵循最小粒度原则,只获取需要的数据,而不是使用多个 store 去存储不同的 state。另外,与 UI 无关的 state
|
来只获取需要的数据。同时,应该遵循最小粒度原则,只获取需要的数据,而不是使用多个 store 去存储不同的 state。另外,与 UI 无关的 state
|
||||||
不需要通过 selector 获取,正确的做法是直接在 handleSave 方法内部访问 store。
|
不需要通过 selector 获取,正确的做法是直接在 handleSave 方法内部访问 store。
|
||||||
date_created: 20250207
|
date_created: 20250207
|
||||||
date_modified: 20250304
|
date_modified: 20250313
|
||||||
banner: 'https://pictures.kazoottt.top/2025/02/20250201-og-1738417688145.png'
|
banner: 'https://pictures.kazoottt.top/2025/02/20250201-og-1738417688145.png'
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -183,6 +183,6 @@ const ComponentA = () => {
|
|||||||
|
|
||||||
[Zustand](<https://zustand-demo.pmnd.rs/>)
|
[Zustand](<https://zustand-demo.pmnd.rs/>)
|
||||||
|
|
||||||
[master 分支下的 notes/zustand 学习笔记.md --- notes/zustand学习笔记.md at master · puxiao/notes](<https://github.com/puxiao/notes/blob/master/zustand%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0.md>)
|
[master 分支下的 notes/zustand 学习笔记。md --- notes/zustand 学习笔记。md at master · puxiao/notes](<https://github.com/puxiao/notes/blob/master/zustand%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0.md>)
|
||||||
|
|
||||||
[如何有效率地管理 React 局部狀態? 這次我選擇了 Zustand! | Bosh 的技術探索筆記](<https://notes.boshkuo.com/docs/React/zustand#%E7%82%BA%E4%BD%95%E9%81%B8%E6%93%87%E4%BD%BF%E7%94%A8-zustand->)
|
[如何有效率地管理 React 局部狀態? 這次我選擇了 Zustand! | Bosh 的技術探索筆記](<https://notes.boshkuo.com/docs/React/zustand#%E7%82%BA%E4%BD%95%E9%81%B8%E6%93%87%E4%BD%BF%E7%94%A8-zustand->)
|
||||||
|
Reference in New Issue
Block a user