diff --git a/src/content/note/2025-02-27.md b/src/content/note/2025-02-27.md
index fa06756..0b2cdad 100644
--- a/src/content/note/2025-02-27.md
+++ b/src/content/note/2025-02-27.md
@@ -22,7 +22,7 @@ description: null
slug: diary-2025-02-27
category: 日记
date_created: 20250227
-date_modified: 20250302
+date_modified: 20250307
---
## 长期任务和目标
@@ -46,11 +46,11 @@ sort file.ctime desc
## memos
-- 00:38 重要时刻 iphone 发热卡死的话真的很急
-- 10:52
+- 00:38 重要时刻 iphone 发热卡死的话真的很急
+- 10:52
感觉 cherry studio 的设计会比 chatwise 更好
- 而且它是开源的
-- 11:01
+ 而且它是开源的
+- 11:01
![IMG-A057E6D98847314E2A2742FB44382803]()
![IMG-C4F896C16386AFFB89F1ED856D4D8319]()
@@ -59,12 +59,12 @@ sort file.ctime desc
[Stripe Press — Ideas for progress]()
-- 14:40
- 觉得 arc 或者很多浏览器都不支持很完美的插件同步
- 这一点还挺可惜的
-- 14:41 Yak shaving 是一种 adhd 症状也说不定
-- 14:46 如何实现比较好的字段转化(映射) #前端
-- 23:47
+- 14:40
+ 觉得 arc 或者很多浏览器都不支持很完美的插件同步
+ 这一点还挺可惜的
+- 14:41 Yak shaving 是一种 adhd 症状也说不定
+- 14:46 如何实现比较好的字段转化(映射) #前端
+- 23:47
使用 milanote 规划的输入输出工作流 希望可以实践起来
大体思路社交平台作为最随意的入口,通过 n8n + rss 定时获取内容调接口写入到 raindrop 和 子弹笔记里面(目前用 thino 比较多),然后用 milanote 筛选一层,然后记录比较详细的个人的脑洞和想法,然后输出为项目或者企划,做进一步详细规划。
@@ -79,8 +79,6 @@ sort file.ctime desc
#Milanote #工作流
- ![IMG-2025-02-27-9CB204EEDBCD1BCF3D2EDFBD6744C8D0]()
+ ![IMG-2025-02-27-9CB204EEDBCD1BCF3D2EDFBD6744C8D0]()
![IMG-2025-02-27-E106A5338A221E70CFCC67E397E2E7D4]()
-
-
diff --git a/src/content/note/2025-02-28.md b/src/content/note/2025-02-28.md
index 0051f7a..15999be 100644
--- a/src/content/note/2025-02-28.md
+++ b/src/content/note/2025-02-28.md
@@ -15,7 +15,7 @@ description: null
slug: diary-2025-02-28
category: 日记
date_created: 20250228
-date_modified: 20250304
+date_modified: 20250307
---
## 长期任务和目标
@@ -39,13 +39,13 @@ sort file.ctime desc
## memos
-- 11:17
+- 11:17
其实可以写一个面向于粉丝的教程
![Pasted image 20250228111717]()
-- 14:29 希望 cherry studio 导入目录的时候支持忽略文件
-- 15:37
+- 14:29 希望 cherry studio 导入目录的时候支持忽略文件
+- 15:37
不能直接通过 `git diff > 剪贴板` 这样的命令实现,因为重定向 `>` 只能用于文件。但是,您可以使用一些工具和命令组合来实现将 `git diff` 的输出直接复制到剪贴板,而无需先写入文件。
以下是几种常见的方法,适用于不同的操作系统:
@@ -70,7 +70,7 @@ sort file.ctime desc
Linux 系统通常没有自带的剪贴板工具,需要安装 `xclip` 或 `xsel`。
- * **`xclip`**:
+ - **`xclip`**:
```bash
git diff | xclip -selection clipboard
@@ -82,7 +82,7 @@ sort file.ctime desc
git diff | xclip -in -selection clipboard
```
- * **`xsel`**:
+ - **`xsel`**:
```bash
git diff | xsel --clipboard --input
@@ -98,7 +98,7 @@ sort file.ctime desc
如果您的 Linux 系统上没有安装 `xclip` 或 `xsel`,可以使用以下命令安装:
- * **Debian/Ubuntu:**
+ - **Debian/Ubuntu:**
```bash
sudo apt-get update
@@ -111,7 +111,7 @@ sort file.ctime desc
sudo apt-get install xsel
```
- * **Fedora/CentOS/RHEL:**
+ - **Fedora/CentOS/RHEL:**
```bash
sudo yum install xclip
@@ -138,8 +138,8 @@ sort file.ctime desc
由于题目没有提供操作系统信息,以上提供了各种操作系统下的方案,请根据实际情况选择。
-- 17:10
-- 17:58
+- 17:10
+- 17:58
![Pasted image 20250228175738]()
调用 grop 调不通,然后发现官方 dev console 也直接 404 了
@@ -147,5 +147,3 @@ sort file.ctime desc
![Pasted image 20250228175843]()
![Pasted image 20250228180112]()
-
-
diff --git a/src/content/note/2025-03-03.md b/src/content/note/2025-03-03.md
deleted file mode 100644
index b98f62e..0000000
--- a/src/content/note/2025-03-03.md
+++ /dev/null
@@ -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 的一些快捷键是冲突的
- 由于我使用前者比较多,所以禁用了后者
diff --git a/src/content/post/分享一下我的zustand错误使用案例.md b/src/content/post/分享一下我的zustand错误使用案例.md
index e6afad4..8c6f68b 100644
--- a/src/content/post/分享一下我的zustand错误使用案例.md
+++ b/src/content/post/分享一下我的zustand错误使用案例.md
@@ -5,7 +5,7 @@ published: true
toWexin: null
toJuejin: null
toZhihu: null
-title: 分享一下我的zustand错误使用案例
+title: 分享一下我的 zustand 错误使用案例
date: 2024-12-17T00:00:00.000Z
author: KazooTTT
tags:
@@ -23,7 +23,7 @@ description: >-
来只获取需要的数据。同时,应该遵循最小粒度原则,只获取需要的数据,而不是使用多个 store 去存储不同的 state。另外,与 UI 无关的 state
不需要通过 selector 获取,正确的做法是直接在 handleSave 方法内部访问 store。
date_created: 20250207
-date_modified: 20250304
+date_modified: 20250313
banner: 'https://pictures.kazoottt.top/2025/02/20250201-og-1738417688145.png'
---
@@ -128,15 +128,15 @@ const CurrentCamera: React.FC = () => {
> [!quote]
> Recommended patterns 推荐模式
->
+>
> Single store 单一存储
->
+>
> Your applications global state should be located in a single Zustand store.
->
+>
> 你的应用程序的全局状态应该位于一个单一的 Zustand 存储中。
->
+>
> If you have a large application, Zustand supports splitting the store into slices.
->
+>
> 如果你有一个大型应用程序,Zustand 支持将存储拆分为切片。
## 错误用法 4 与 UI 无关的 state 通过 selector 获取
@@ -183,6 +183,6 @@ const ComponentA = () => {
[Zustand]()
-[master 分支下的 notes/zustand 学习笔记.md --- notes/zustand学习笔记.md at master · puxiao/notes]()
+[master 分支下的 notes/zustand 学习笔记。md --- notes/zustand 学习笔记。md at master · puxiao/notes]()
[如何有效率地管理 React 局部狀態? 這次我選擇了 Zustand! | Bosh 的技術探索筆記]()