diff --git a/src/assets/images/IMG-50A2519769D27745F083E18F4D48FC55.png b/src/assets/images/IMG-50A2519769D27745F083E18F4D48FC55.png
new file mode 100644
index 0000000..d570c9d
Binary files /dev/null and b/src/assets/images/IMG-50A2519769D27745F083E18F4D48FC55.png differ
diff --git a/src/assets/images/IMG-69C73A35AE6AA1B14805360168652323.png b/src/assets/images/IMG-69C73A35AE6AA1B14805360168652323.png
new file mode 100644
index 0000000..22e3176
Binary files /dev/null and b/src/assets/images/IMG-69C73A35AE6AA1B14805360168652323.png differ
diff --git a/src/content/note/2024-10-25 13分02秒 Vintage Camera Lab.md b/src/content/note/2024-10-25 13分02秒 Vintage Camera Lab.md
new file mode 100644
index 0000000..53c9016
--- /dev/null
+++ b/src/content/note/2024-10-25 13分02秒 Vintage Camera Lab.md
@@ -0,0 +1,48 @@
+---
+slug: fragmented-notes-2025-02-16-23-41-18
+tags:
+ - 复古相机,摄影爱好者,数字中心
+ - 碎片
+description: >-
+ Vintage Camera Lab
+ 是专注于复古相机的网站,提供多种型号的详细信息与历史,按品牌、格式和类型分类,便于摄影师、收藏家了解相机的背景与特点。此外,该网站还提供复古相机风格的周边商品。
+date_created: 2025-02-11T15:38:40.000Z
+date_modified: 2025-02-19T03:44:07.000Z
+title: 2024-10-25 13分02秒 Vintage Camera Lab
+date: 2025-02-16T00:00:00.000Z
+author: KazooTTT
+published: true
+toAstro: true
+astroType: null
+category: 碎片
+---
+
+
+
+**Vintage Camera Lab:复古相机爱好者的数字中心**
+
+**地址**:[Vintage Camera Lab]()
+
+**日期**:20241025
+
+**摘要**:Vintage Camera Lab 是专注于复古相机的网站,涵盖多种型号的详细信息与历史,按品牌、格式和类型分类,便于摄影师、收藏家等了解相机的背景与特点。同时,该网站还提供复古相机风格的周边产品。
+
+**亮点**:
+
+- 丰富的相机数据库,包含规格与历史背景。
+- 支持按品牌、格式和类型分类。
+- 提供复古相机主题的周边商品。
+- 面向复古摄影爱好者和相机收藏家。
+
+---
+
+Vintage Camera Lab:复古相机爱好者的数字中心
+
+Vintage Camera Lab 是专注于复古相机的网站,涵盖多种型号的详细信息与历史,按品牌、格式和类型分类,便于摄影师、收藏家等了解相机的背景与特点。同时,该网站还提供复古相机风格的周边产品。
+
+亮点:
+
+ • 丰富的相机数据库,包含规格与历史背景。
+ • 支持按品牌、格式和类型分类。
+ • 提供复古相机主题的周边商品。
+ • 面向复古摄影爱好者和相机收藏家。
diff --git a/src/content/note/2024-10-25 13分11秒 Tapedeck.md b/src/content/note/2024-10-25 13分11秒 Tapedeck.md
new file mode 100644
index 0000000..43f8f7f
--- /dev/null
+++ b/src/content/note/2024-10-25 13分11秒 Tapedeck.md
@@ -0,0 +1,28 @@
+---
+slug: fragmented-notes-2025-02-16-23-40-56
+tags:
+ - 磁带盒设计
+ - 磁带收藏
+ - 在线商店
+ - 碎片
+description: >-
+ Tapedeck.org
+ 为磁带设计提供了丰富的信息和历史记录,包括功能型设计、色彩丰富和形状变化等。网站还支持用户分享自己的磁带收藏,并为此提供了详细的提交指南。此外,网站还提供了在线商店销售与磁带相关的周边产品。
+date_created: 2025-02-11T15:38:40.000Z
+date_modified: 2025-02-19T03:44:07.000Z
+title: 2024-10-25 13分11秒 Tapedeck
+date: 2025-02-16T00:00:00.000Z
+author: KazooTTT
+published: true
+toAstro: true
+astroType: null
+category: 碎片
+---
+
+
+
+Tapedeck.org 提供了从 60 年代初的功能型磁带到 90 年代的各种形状变化的磁带盒设计。
+
+- 记录了丰富的磁带设计历史和信息,从早期的功能性设计到后来的色彩丰富和形状变化。
+- 网站鼓励用户分享自己的磁带收藏,提供了详细的提交指南。
+- 网站还提供了一个在线商店销售与磁带相关的周边。
diff --git a/src/content/note/Blender on macOS - Steam Version Limitations for Apple Silicon Devices.md b/src/content/note/Blender on macOS - Steam Version Limitations for Apple Silicon Devices.md
index 2dcfa6e..559d74c 100644
--- a/src/content/note/Blender on macOS - Steam Version Limitations for Apple Silicon Devices.md
+++ b/src/content/note/Blender on macOS - Steam Version Limitations for Apple Silicon Devices.md
@@ -1,6 +1,6 @@
---
date_created: 2025-01-31T13:07:18.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
slug: blender-macos-steam-version-limitations
tags:
- Blender
@@ -31,7 +31,7 @@ Key advantages of using Steam version:
## 2. macOS Version Considerations
-
+![IMG-F705691552F356BAFA7C7FEB418ED0B4]()
- Steam provides **Intel-chip compatible version** only
- If you are Apple Silicon user, the performance may be affected
diff --git a/src/content/note/ChainForge简单介绍.md b/src/content/note/ChainForge简单介绍.md
index f3eef94..b560709 100644
--- a/src/content/note/ChainForge简单介绍.md
+++ b/src/content/note/ChainForge简单介绍.md
@@ -29,24 +29,24 @@ link-notionnext: 'https://kazoottt.notion.site/ChainForge-40ec4f8d20304ce1b8c7c1
rinId: 8
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:03.000Z
+date_modified: 2025-02-19T03:44:16.000Z
---
# ChainForge 简单介绍
-
+![Pasted image 20240417222811]()
官网:
-[ChainForge: A visual programming environment for prompt engineering](https://chainforge.ai/)
+[ChainForge: A visual programming environment for prompt engineering]()
github 地址:
-[GitHub - ianarawjo/ChainForge: An open-source visual programming environment for battle-testing prompts to LLMs.](https://github.com/ianarawjo/ChainForge)
+[GitHub - ianarawjo/ChainForge: An open-source visual programming environment for battle-testing prompts to LLMs.]()
## 简介
-
+![Pasted image 20240417223400]()
## 使用场景
@@ -60,7 +60,7 @@ github 地址:
## 实践
-
+![Pasted image 20240417231517]()
这两个例子单独拿出来讲
@@ -73,14 +73,14 @@ github 地址:
使用案例:
-[X](https://twitter.com/9hills/status/1772467763165958602)
+[X]()
自动化 Prompts
-[\[2402.10949\] The Unreasonable Effectiveness of Eccentric Automatic Prompts](https://arxiv.org/abs/2402.10949)
+[\[2402.10949\] The Unreasonable Effectiveness of Eccentric Automatic Prompts]()
相关的视频
-[LLM Prompt Injection Attacks & Testing Vulnerabilities With ChainForge - YouTube](https://www.youtube.com/watch?v=x1_uEnoxvNs)
+[LLM Prompt Injection Attacks & Testing Vulnerabilities With ChainForge - YouTube]()
使用 ChainForge 进行 LLM 提示注入攻击和漏洞测试
diff --git a/src/content/note/MUV家元旦24H限定食堂 - 汇总网站.md b/src/content/note/MUV家元旦24H限定食堂 - 汇总网站.md
index 0fb4f71..df9fa18 100644
--- a/src/content/note/MUV家元旦24H限定食堂 - 汇总网站.md
+++ b/src/content/note/MUV家元旦24H限定食堂 - 汇总网站.md
@@ -17,20 +17,20 @@ slug: milklovemuv
description: null
toAstro: true
date_created: 2025-01-06T02:02:35.000Z
-date_modified: 2025-01-22T05:39:24.000Z
+date_modified: 2025-02-19T03:43:53.000Z
---
-[MUV家元旦24H限定食堂 - 汇总](https://milklovemuv.com/)
+[MUV家元旦24H限定食堂 - 汇总]()
## 介绍
-方便后续回顾,写了一个 [#muv家元旦24h限定食堂#](https://s.weibo.com/weibo?q=%23muv%E5%AE%B6%E5%85%83%E6%97%A624h%E9%99%90%E5%AE%9A%E9%A3%9F%E5%A0%82%23) 的汇总网站。
+方便后续回顾,写了一个 [#muv家元旦24h限定食堂#]() 的汇总网站。
点击卡片内的微博图标可以跳转到对应的微博,点击蓝色的外链图标可以直接跳转至查看文章或者视频的平台。
非常感谢各位老师的产出
-
+![IMG-20250106115740490]()
---
@@ -38,4 +38,4 @@ date_modified: 2025-01-22T05:39:24.000Z
开发本身没有花太多时间,更多的时间是花在了把相关的信息整理为结构化的数据上面(应该有更系统的方法,实现更系统的方法会花费更多时间,虽然以后会受益,但这次想着快速开发就直接人工 + 部分 llm 辅助整理了)
-
+![ac2f17b6-d280-4e7d-957a-485d72bd3668.svg]()
diff --git a/src/content/note/Perplexity系列产品.md b/src/content/note/Perplexity系列产品.md
index ada1b57..5c46b8d 100644
--- a/src/content/note/Perplexity系列产品.md
+++ b/src/content/note/Perplexity系列产品.md
@@ -19,36 +19,36 @@ NotionID-notionnext: ae2fba46-af30-4bd5-b6d0-fe751c162800
link-notionnext: 'https://kazoottt.notion.site/01-Perplexity-ae2fba46af304bd5b6d0fe751c162800'
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:03.000Z
+date_modified: 2025-02-19T03:44:16.000Z
---
# Perplexity 系列产品
## 产品 1 Perplexity 搜索引擎
-
+![IMG-20240904094448497]()
### 普通和 Pro 的区别
-
+![IMG-20240904001354592]()
-
+![IMG-20240904001354629]()
### 频繁人工验证怎么办
-
+![IMG-20240904001354676]()
-[Perplexity - AI Search - Chrome 应用商店](https://chromewebstore.google.com/detail/perplexity-ai-search/bnaffjbjpgiagpondjlnneblepbdchol)
+[Perplexity - AI Search - Chrome 应用商店]()
-
+![IMG-20240904001354729]()
### 同类别产品
-[Devv AI](https://devv.ai/) (编程向)
+[Devv AI]() (编程向)
-
+![IMG-20240904094534311]()
## 产品 2 Perplexity Playground
@@ -56,36 +56,36 @@ date_modified: 2025-02-07T03:17:03.000Z
-
+![IMG-20240904001354800]()
-
+![IMG-20240904001354854]()
-[Introducing Llama 3.1: Our most capable models to date](https://ai.meta.com/blog/meta-llama-3-1/)
+[Introducing Llama 3.1: Our most capable models to date]()
-
+![IMG-20240904001354881]()
-[Changelog - Perplexity](https://docs.perplexity.ai/changelog/changelog#introducing-new-and-improved-sonar-models)
+[Changelog - Perplexity]()
-
+![IMG-20240904001354925]()
## 产品 3 Perplexity 播客
-[资讯汇总 Discover](https://www.perplexity.ai/discover)
+[资讯汇总 Discover]()
-
+![IMG-20240904001354996]()
Perplexity 和 eleventlab 合作,把 Discover 的内容转成播客了。
-
+![Pasted image 20240308104550 1]()
-
+![IMG-20240904001355089]()
-很适合练习听力以及了解科技资讯。地址:[Discover Daily by Perplexity](https://discoverdaily.ai/)
+很适合练习听力以及了解科技资讯。地址:[Discover Daily by Perplexity]()
-[spotify](https://open.spotify.com/episode/1CaSWrm7uUAOkaKjE9KI47?si=WPbA0x73QkGEPm-DFh4big)
+[spotify]()
-[pca.st](https://pca.st/03qazv0d)
+[pca.st]()
支持 rss
-
+![IMG-20240904001355142]()
diff --git a/src/content/note/Possible Causes and Solutions for Focusee Switching System Audio to Speaker Playback forcibly.md b/src/content/note/Possible Causes and Solutions for Focusee Switching System Audio to Speaker Playback forcibly.md
index 24c3032..ce38372 100644
--- a/src/content/note/Possible Causes and Solutions for Focusee Switching System Audio to Speaker Playback forcibly.md
+++ b/src/content/note/Possible Causes and Solutions for Focusee Switching System Audio to Speaker Playback forcibly.md
@@ -28,7 +28,7 @@ rinId: 39
category: 软件
toAstro: true
date_created: 2024-12-02T03:03:21.000Z
-date_modified: 2025-02-07T03:46:35.000Z
+date_modified: 2025-02-19T03:44:22.000Z
---
# Possible Causes and Solutions for Focusee Switching System Audio to Speaker Playback Forcibly
@@ -43,7 +43,7 @@ Uninstallation method:
Navigate to the folder `/Library/Audio/Plug-Ins/HAL` and delete the corresponding BlackHole2ch folder.
-
+![image.png]()
---
@@ -52,7 +52,7 @@ By the way, the reason I installed BlackHole2ch was to record system audio durin
Here's how to do it:
1. Click the add button below the sources and select macOS Screen Capture.
- 
+ ![SCR-20240525-qcob-2.png]()
2. Choose whether to capture desktop audio or application audio based on your needs.
- 
+ ![image.png]()
diff --git a/src/content/note/Reasons Not to Recommend Purchasing Focusee for macOS Users.md b/src/content/note/Reasons Not to Recommend Purchasing Focusee for macOS Users.md
index d561879..5e703b4 100644
--- a/src/content/note/Reasons Not to Recommend Purchasing Focusee for macOS Users.md
+++ b/src/content/note/Reasons Not to Recommend Purchasing Focusee for macOS Users.md
@@ -26,7 +26,7 @@ link-notionnext: >-
rinId: 40
toAstro: true
date_created: 2024-12-02T03:03:21.000Z
-date_modified: 2025-02-08T11:09:45.000Z
+date_modified: 2025-02-19T03:44:22.000Z
---
# Reasons Not to Recommend Purchasing Focusee for macOS Users
@@ -47,13 +47,13 @@ This is the most serious issue.
The recorded videos on macOS have significant color discrepancies compared to the actual screen, to the extent that I find it almost unusable. Here's a specific comparison:
-
+![8c214f3f-65f7-49d6-8abd-7011886b3392-spark-clipboard]()
After discovering this issue, I contacted their team:
On May 27th, I reported the issue for the first time. They responded that macOS 12.3 and below didn't have this problem, but versions above 12.3 did, and they were looking for a solution.
-
+![CleanShot 2024-06-20 at 14.48.02]()
By June 18th, there was still no reply, so I sent another email asking for progress. They replied:
@@ -61,7 +61,7 @@ By June 18th, there was still no reply, so I sent another email asking for progr
2. Fixing this specific issue might sacrifice other color gamuts in the software.
3. The current software configuration provides the best solution for balancing various colors (meaning this issue will not be resolved).
-
+![CleanShot 2024-06-20 at 14.55.42]()
### Very Slow Export Speed
@@ -79,4 +79,4 @@ Moreover, it doesn't support single application sound recording. Competing produ
Since they informed me that the color discrepancy issue would not be resolved, and this was a crucial functional defect for me, I decided to request a refund.
-I purchased Focusee from [数码荔枝 x 软件商店 - 专注于分享最新鲜优秀的正版软件](https://lizhi.shop/) Taobao store. After contacting customer service to ask if I could get a refund, they processed it quickly and agreed to it without any issues. This was quite a pleasant surprise. I will consider Litchi Digital for similar purchases in the future.
+I purchased Focusee from [数码荔枝 x 软件商店 - 专注于分享最新鲜优秀的正版软件]() Taobao store. After contacting customer service to ask if I could get a refund, they processed it quickly and agreed to it without any issues. This was quite a pleasant surprise. I will consider Litchi Digital for similar purchases in the future.
diff --git a/src/content/note/__dirname is not defined in ES module scope.md b/src/content/note/__dirname is not defined in ES module scope.md
index 6fb1b4e..56b1d49 100644
--- a/src/content/note/__dirname is not defined in ES module scope.md
+++ b/src/content/note/__dirname is not defined in ES module scope.md
@@ -28,7 +28,7 @@ description: >-
= path.dirname(__filename) ``` 这种方法推荐使用,避免了相对路径的问题。
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# __dirname Is not Defined in ES Module Scope
@@ -39,7 +39,7 @@ date_modified: 2025-02-07T03:25:34.000Z
首先是第一种改为 module 的写法,那就是把 import 改为 require,然后由于我们这里是 module 的项目,所以需要修改一下 ts 文件的后缀 ts 改为 cts。
-一个供参考的例子:[GitHub - shawnsparks/typescript-esm: Explore different usage patterns of ES modules with Typescript](https://github.com/shawnsparks/typescript-esm)
+一个供参考的例子:[GitHub - shawnsparks/typescript-esm: Explore different usage patterns of ES modules with Typescript]()
然后是第二种,文件、路径相关的改为 esm 的写法。
diff --git a/src/content/note/askfm的关停.md b/src/content/note/askfm的关停.md
index 0bff7bb..ae39bd7 100644
--- a/src/content/note/askfm的关停.md
+++ b/src/content/note/askfm的关停.md
@@ -14,20 +14,20 @@ slug: askfm-shutdown
description: null
toAstro: true
date_created: 2025-02-04T16:48:47.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
今天翻了一下 todo list, 发现其中有一个是:写 askfm 爬虫
-
+![IMG-10B1F940E0B13DE5FDFB9493A2502DE0]()
于是心血来潮去想去回顾一下 askfm,发现网站已经无法访问了。
-
+![IMG-166598D5810641495277DB4DE4F67686]()
然后在 reddit 上搜到这个网站在 20241201 的时候关停了
-
+![IMG-3B8AC1BA520FBB7E13D5029AC1D59765]()
突然感觉承载了一些记忆的平台就这样关停了,还是挺可惜的。
diff --git a/src/content/note/file-downloader.md b/src/content/note/file-downloader.md
index b31a379..36c213a 100644
--- a/src/content/note/file-downloader.md
+++ b/src/content/note/file-downloader.md
@@ -19,7 +19,7 @@ rinId: 63
category: 项目
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
-date_modified: 2025-01-22T05:39:24.000Z
+date_modified: 2025-02-19T03:43:53.000Z
---
# File Download
@@ -46,12 +46,12 @@ blob 是一个 blob 对象,一般从后端获取,filename 不是必填,如
npm 地址:
-[@kzttools/file-downloader - npm](https://www.npmjs.com/package/@kzttools/file-downloader)
+[@kzttools/file-downloader - npm]()
github 地址:
-[GitHub - kzttools/file-downloader](https://github.com/kzttools/file-downloader)
+[GitHub - kzttools/file-downloader]()
## License
-[MIT](./LICENSE) License © 2023-PRESENT [kazoottt](https://github.com/kazoottt)
+[MIT](<./LICENSE>) License © 2023-PRESENT [kazoottt]()
diff --git a/src/content/note/focusee录制系统声音被强制切换为扬声器播放的可能原因和解决方法.md b/src/content/note/focusee录制系统声音被强制切换为扬声器播放的可能原因和解决方法.md
index f5f8611..a07828e 100644
--- a/src/content/note/focusee录制系统声音被强制切换为扬声器播放的可能原因和解决方法.md
+++ b/src/content/note/focusee录制系统声音被强制切换为扬声器播放的可能原因和解决方法.md
@@ -20,7 +20,7 @@ rinId: 41
category: 软件
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
-date_modified: 2025-02-07T03:46:54.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# Focusee 录制系统声音被强制切换为扬声器播放的可能原因和解决方法
@@ -37,7 +37,7 @@ date_modified: 2025-02-07T03:46:54.000Z
在这个文件夹中删除 BlackHole2ch 对应的文件夹即可
-
+![image.png]()
---
@@ -46,7 +46,7 @@ date_modified: 2025-02-07T03:46:54.000Z
具体的操作是:
1. 点击来源下方的添加按钮,选择 macOS 音频采集
-
+![SCR-20240525-qcob-2.png]()
2. 根据你的需求选择是采集桌面音频还是应用音频。
-
+![image.png]()
diff --git a/src/content/note/how to make a hollow cylinder in blender.md b/src/content/note/how to make a hollow cylinder in blender.md
index a7413b3..7360faa 100644
--- a/src/content/note/how to make a hollow cylinder in blender.md
+++ b/src/content/note/how to make a hollow cylinder in blender.md
@@ -15,7 +15,7 @@ slug: how-to-make-a-hollow-cylinder-in-blender
description: null
toAstro: true
date_created: 2025-01-14T16:38:23.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
this is a blender note is to record how to make a hollow cylinder in blender.
@@ -29,11 +29,11 @@ we can split the problem into these parts:
method 1: in the object mode, press `shift + a` and select `mesh - cylinder`, we can create a cylinder in the scene.
-
+![alt text]()
method 2: at the left top of the screen, click `add - mesh - cylinder`, we can create a cylinder in the scene, too.
-
+![alt text]()
## (optional) 2. edit the cylinder when adding it
@@ -41,7 +41,7 @@ after we add a cylinder, we can see there has a `add cylinder` panel in the bott
and if we click the `add cylinder` panel, we can edit the props of the cylinder, such as the vertex count, radius, depth, etc.
-
+![alt text]()
because i am a new user of blender, so i will try to figure out the meaning of the props of panels one by one. (if you do not care about the meaning of the props, you can skip this part)
@@ -76,20 +76,20 @@ press the number key `3` to enable the `face selection` mode, then press `s` to
press the button shift and left click the fases at the top and bottom of the cylinder, like this:
-
+![alt text]()
attention: you should click the faces at the top and bottom both, not the vertices, not the single face or other faces.
then we press the `i` button to inset the faces, move the mouse and we can see the faces are inseted, like this:
-
+![alt text]()
then if then size is ok ,release the mouse
then press the `delete` button to delete the faces. (you should select the fases which you nested before)
-
+![alt text]()
now we can see the cylinder is hollow.
-
+![alt text]()
diff --git a/src/content/note/how to separate object in blender.md b/src/content/note/how to separate object in blender.md
index 4b02938..2d955ae 100644
--- a/src/content/note/how to separate object in blender.md
+++ b/src/content/note/how to separate object in blender.md
@@ -1,6 +1,6 @@
---
date_created: 2025-01-20T01:56:29.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
slug: how-to-separate-object-in-blender
tags:
- Blender
@@ -10,7 +10,7 @@ tags:
description: >-
Step-by-step guide to separating objects in Blender using three different
methods
-title: How to Separate Objects in Blender
+title: how to separate object in blender
date: 2025-01-20T00:00:00.000Z
author: KazooTTT
type: Tutorial
@@ -27,7 +27,7 @@ how to separate object in blender
2. select the object you want to separate
3. click right mouse button or press the p directly to separate the object
-
+![alt text]()
there are three kinds of separation:
diff --git a/src/content/note/how to split window in blender.md b/src/content/note/how to split window in blender.md
index ff312a0..4646fa1 100644
--- a/src/content/note/how to split window in blender.md
+++ b/src/content/note/how to split window in blender.md
@@ -1,6 +1,6 @@
---
date_created: 2025-01-31T12:24:09.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
slug: split-window-in-blender
tags:
- Blender
@@ -8,7 +8,7 @@ tags:
- Window Management
- Workflow Optimization
description: Guide to splitting editor windows in Blender for improved workflow
-title: How to Split Editor Windows in Blender
+title: how to split window in blender
date: 2025-01-31T00:00:00.000Z
author: KazooTTT
type: Post
@@ -19,10 +19,10 @@ category: blender
toAstro: true
---
-[Areas - Blender 4.3 Manual](https://docs.blender.org/manual/en/latest/interface/window_system/areas.html)
+[Areas - Blender 4.3 Manual]()
when the cursor hover on the edge of the window, the style of the cursor will change to the crosshair.
then we can click the left mouse button and drag the window to split it into two parts.
-
+![IMG-FA35689E9D95A1999D07D88BEC3058CE]()
diff --git a/src/content/note/messAuto + iMessage 实现iPhone和mac信息同步和自动复制验证码.md b/src/content/note/messAuto + iMessage 实现iPhone和mac信息同步和自动复制验证码.md
index a34be00..9eccfe0 100644
--- a/src/content/note/messAuto + iMessage 实现iPhone和mac信息同步和自动复制验证码.md
+++ b/src/content/note/messAuto + iMessage 实现iPhone和mac信息同步和自动复制验证码.md
@@ -1,5 +1,5 @@
---
-title: MessAuto + iMessage 实现iPhone和mac信息同步和自动复制验证码
+title: messAuto + iMessage 实现iPhone和mac信息同步和自动复制验证码
date: 2023-09-24T00:00:00.000Z
author: KazooTTT
tags:
@@ -26,12 +26,12 @@ rinId: 61
category: 软件
toAstro: true
date_created: 2024-12-02T03:03:24.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# messAuto + iMessage 实现 iPhone 和 mac 信息同步和自动复制验证码
-
+![miulm]()
很多时候我们需要手机接收验证码,然后在电脑上使用验证码来登录,如果纯手动操作还是有些繁琐。
@@ -40,16 +40,16 @@ date_modified: 2025-02-07T03:17:02.000Z
一、iphone 和 mac 信息同步
在 iphone 的设置 - 信息 - 短信转发中,勾选你要转发信息的 mac 设备。
-
+![budk7]()
然后在对应的 mac 的信息中设置 -iCloud 信息设置中启用 iCloud 云端“信息”,需要注意的是你登录 iphone 和 mac 的 icloud 账号是需要相同的。设置完成,就已经实现了信息的同步,在 mac 的信息里可以看到 iphone 的短信。
-
-
+![0p16x]()
+![pj0l1]()
二、安装 messauto,并设置。
-然后我们需要安装 [messauto](https://github.com/LeeeSe/MessAuto),地址是 [https://github.com/LeeeSe/MessAuto](https://github.com/LeeeSe/MessAuto/releases/tag/v0.5.0)
-
+然后我们需要安装 [messauto](),地址是 [https://github.com/LeeeSe/MessAuto]()
+![djoq7]()
版本:
MessAuto_aarch64 - 苹果芯片
@@ -57,10 +57,10 @@ MessAuto_x86_64 - Intel 芯片
下载解压后拖到应用程序里,点击运行顶部的状态栏就会出现 messauto 的图标。我个人比较推荐的设置是勾选【自动粘贴】和【登录时启动】,如果勾选【自动粘贴】会提醒需要辅助功能的授权,根据指引跳转过去开启即可。
-
+![1ucpz]()
-
+![5lv1n]()
-
+![i7u9s]()
然后就实现了同步和自动复制验证码了。
diff --git a/src/content/note/node path模块相关操作.md b/src/content/note/node path模块相关操作.md
index 9b478de..78018e3 100644
--- a/src/content/note/node path模块相关操作.md
+++ b/src/content/note/node path模块相关操作.md
@@ -1,5 +1,5 @@
---
-title: node | path模块相关操作
+title: node path模块相关操作
description: >-
本文介绍了Node.js中path模块的常用操作,包括__dirname与process.cwd()的区别,以及path.join()和path.resolve()的差异。特别指出,__dirname和process.cwd()在使用时需注意其返回的路径差异,以免导致静态资源加载失败。同时,path.join()用于连接路径,而path.resolve()则解析为绝对路径。这些知识点对于正确配置和处理文件路径至关重要。
date: 2022-10-24T00:00:00.000Z
@@ -13,7 +13,7 @@ published: true
category: 前端
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-10T03:08:58.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# Path 相关操作
@@ -28,9 +28,9 @@ TODO
1. \_\_dirname 和 process.cwd() 的区别
- [node.js - What's the difference between process.cwd() vs \_\_dirname? - Stack Overflow](https://stackoverflow.com/questions/9874382/whats-the-difference-between-process-cwd-vs-dirname)
+ [node.js - What's the difference between process.cwd() vs \_\_dirname? - Stack Overflow]()
- 
+ ![image-20221024194858508]()
此段代码意在配置静态资源路径,由于错误使用\_\_dirname,导致静态资源加载失败。
@@ -39,7 +39,7 @@ TODO
xxx/client_build // 后者返回
```
- 
+ ![image-20221024195247050]()
而目录结构为上图,express- 对应 server 打包在 server_bulid,需要加载的 client scripts 在 client_buiild,为同级目录,所以第一张图右边的写法才能正确配置静态资源路径。
diff --git a/src/content/note/npm发包失败的原因.md b/src/content/note/npm发包失败的原因.md
index 5102527..bdfa77d 100644
--- a/src/content/note/npm发包失败的原因.md
+++ b/src/content/note/npm发包失败的原因.md
@@ -15,7 +15,7 @@ rinId: 73
category: 前端
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# Npm 发包失败的原因
@@ -36,4 +36,4 @@ date_modified: 2025-02-07T03:25:34.000Z
## 参考
-[\[BUG\] npm publish get 400 Bad Request without any useful information · Issue #6090 · npm/cli · GitHub](https://github.com/npm/cli/issues/6090)
+[\[BUG\] npm publish get 400 Bad Request without any useful information · Issue #6090 · npm/cli · GitHub]()
diff --git a/src/content/note/npm和npx的区别.md b/src/content/note/npm和npx的区别.md
index d8f14ed..58cbc52 100644
--- a/src/content/note/npm和npx的区别.md
+++ b/src/content/note/npm和npx的区别.md
@@ -18,7 +18,7 @@ tags:
- package manager
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# Npm 和 npx 的区别
@@ -31,7 +31,7 @@ date_modified: 2025-02-07T03:25:34.000Z
npm install antd
```
-[Create Next App | Next.js (nextjs.org)](https://nextjs.org/docs/api-reference/create-next-app) 中运行使用 npx 来创建 nextjs 项目
+[Create Next App | Next.js (nextjs.org)]() 中运行使用 npx 来创建 nextjs 项目
```shell
npx create-next-app@latest
@@ -54,13 +54,13 @@ pnpm create next-app
> npm,即 Node 包管理器(Node Package Manager),是 Node.js 运行时默认的包管理器。在 npm 仓库中发布的第三方包可以指定为项目依赖,并通过命令行本地安装。npm 仓库包含服务端和客户端 JavaScript 库。
> npm 是为在服务器上使用而设计的,服务器对依赖大小并不敏感。在安装包时,npm 使用嵌套依赖树解析所有项目依赖,每个项目依赖都会安装自己的依赖。这意味着如果项目依赖三个包 A、B 和 C,而这三个包又都依赖不同版本的 D,则 npm 会安装包 D 的三个版本。
-在 freecodecamp 的技术分享博客([什么是 npm —— 写给初学者的编程教程 (freecodecamp.org)](https://www.freecodecamp.org/chinese/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/))中,作者对 npm 的定义如下:
+在 freecodecamp 的技术分享博客([什么是 npm —— 写给初学者的编程教程 (freecodecamp.org)]())中,作者对 npm 的定义如下:
> npm(“Node 包管理器”)是 JavaScript 运行时 Node.js 的默认程序包管理器。
> npm 由两个主要部分组成:
>
> 1. 用于发布和下载程序包的 CLI(命令行界面)工具
-> 2. 托管 JavaScript 程序包的 [在线存储库](https://www.npmjs.com/)
+> 2. 托管 JavaScript 程序包的 [在线存储库]()
---
@@ -80,13 +80,13 @@ npm 存储库 <=== 他人使用 CLI 进行将包发布到存储库中
### Npx 的定义
-在 [什么是 npm —— 写给初学者的编程教程 (freecodecamp.org)](https://www.freecodecamp.org/chinese/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/) 中提到
+在 [什么是 npm —— 写给初学者的编程教程 (freecodecamp.org)]() 中提到
-> 最新引入的 [npx](https://www.freecodecamp.org/news/npm-vs-npx-whats-the-difference/) 使我们可以像在全局安装程序一样运行这些 `node_modules` 项目作用域命令,方法是在其前面加上 `npx ...`(即 `npx prettier --write ** / *。ts`)。
+> 最新引入的 [npx]() 使我们可以像在全局安装程序一样运行这些 `node_modules` 项目作用域命令,方法是在其前面加上 `npx ...`(即 `npx prettier --write ** / *。ts`)。
## 用法
-[npx 使用教程 - 阮一峰的网络日志 (ruanyifeng.com)](https://www.ruanyifeng.com/blog/2019/02/npx.html)
+[npx 使用教程 - 阮一峰的网络日志 (ruanyifeng.com)]()
如果要运行项目中的某些二进制文件,以前只能使用 路径/bin 文件 来执行
但是使用 npx 就可以直接运行了
diff --git a/src/content/note/npm换源.md b/src/content/note/npm换源.md
index b2cd4f6..efed50c 100644
--- a/src/content/note/npm换源.md
+++ b/src/content/note/npm换源.md
@@ -13,7 +13,7 @@ description: >-
category: 前端
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# 查看源
@@ -60,7 +60,7 @@ pnpm config delete registry
# 工具
-[GitHub - i5ting/yrm: YARN registry manager, fast switch between different registries: npm, cnpm, nj, taobao](https://github.com/i5ting/yrm)
+[GitHub - i5ting/yrm: YARN registry manager, fast switch between different registries: npm, cnpm, nj, taobao]()
```shell
npm install -g yrm
diff --git a/src/content/note/open graph 简述.md b/src/content/note/open graph 简述.md
index 52b59fd..1b804b2 100644
--- a/src/content/note/open graph 简述.md
+++ b/src/content/note/open graph 简述.md
@@ -1,5 +1,5 @@
---
-title: open graph简述
+title: open graph 简述
date: 2024-04-09T00:00:00.000Z
author: KazooTTT
tags: []
@@ -17,7 +17,7 @@ rinId: 16
category: 前端
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# Open Graph 简述
@@ -26,44 +26,44 @@ date_modified: 2025-02-07T03:25:34.000Z
在我们使用 twitter 的时候,会发现有的链接会显示预览卡片,有的不会。
-
+![Pasted image 20240409203435]()
-
+![Pasted image 20240409204440]()
这是因为有的网站设置了 open graph,有的没有。
-
+![Pasted image 20240409103122]()
## 那么什么是 open graph?
open graph 是一个由 facebook 在 2010 年发布的协议,用于在社交网络上分享链接时,显示预览卡片。
-
+![Pasted image 20240409204654]()
我觉得无论是它的名称还是意图,都能看出 facebook 以及其他支持这种协议的社交平台的开放性, 特别是在某些平台会屏蔽外链或者限流带有外链的衬托下。
-
+![Pasted image 20240409205145]()
和 open graph 类似还有 twitter 自己的 card,如果 twitter card 和 open graph 同时存在的话,会先显示在 twitter card。如果 twitter card 没有定义,才会显示 open graph。
-
+![Pasted image 20240409213244]()
-
+![Pasted image 20240408163056]()
## 预览和检查工具
-[OpenGraph - Preview Social Media Share and Generate Metatags - OpenGraph](https://www.opengraph.xyz/)
+[OpenGraph - Preview Social Media Share and Generate Metatags - OpenGraph]()
-
+![Pasted image 20240409201933]()
-[OpenGraph - Preview Images and Generate Open Graph Meta Tags](https://opengraph.dev/)
+[OpenGraph - Preview Images and Generate Open Graph Meta Tags]()
-
+![Pasted image 20240409195616]()
-
+![Pasted image 20240409131420]()
## 一些例子
-[Open Graph Examples](https://opengraphexamples.com/)
+[Open Graph Examples]()
-
+![Pasted image 20240409131603]()
diff --git a/src/content/note/open-graph intro.md b/src/content/note/open-graph intro.md
index b3e8e69..e3eb814 100644
--- a/src/content/note/open-graph intro.md
+++ b/src/content/note/open-graph intro.md
@@ -1,5 +1,5 @@
---
-title: open graph introduction
+title: open-graph intro
date: 2024-04-09T00:00:00.000Z
author: KazooTTT
tags: []
@@ -21,7 +21,7 @@ rinId: 17
category: 前端
toAstro: true
date_created: 2024-12-02T03:03:21.000Z
-date_modified: 2025-02-07T03:47:25.000Z
+date_modified: 2025-02-19T03:44:22.000Z
---
``
@@ -34,44 +34,44 @@ date_modified: 2025-02-07T03:47:25.000Z
When we use Twitter, we notice that some links display preview cards while others do not.
-
+![Pasted image 20240409203435]()
-
+![Pasted image 20240409204440]()
This is because some websites have set up Open Graph, while others have not.
-
+![Pasted image 20240409103122]()
## What is Open Graph?
Open Graph is a protocol introduced by Facebook in 2010, used for displaying preview cards when sharing links on social networks.
-
+![Pasted image 20240409204654]()
From its name and purpose, it's evident that Open Graph signifies the openness of Facebook and other platforms supporting this protocol, especially amidst certain platforms that block external links or throttle those containing external links.
-
+![Pasted image 20240409205145]()
Similar to Open Graph, Twitter has its own card system. If both Twitter Card and Open Graph coexist, Twitter Card takes precedence. Only if Twitter Card is not defined, Open Graph is displayed.
-
+![Pasted image 20240409213244]()
-
+![Pasted image 20240408163056]()
## Preview and Inspection Tools
-[OpenGraph - Preview Social Media Share and Generate Metatags - OpenGraph](https://www.opengraph.xyz/)
+[OpenGraph - Preview Social Media Share and Generate Metatags - OpenGraph]()
-
+![Pasted image 20240409201933]()
-[OpenGraph - Preview Images and Generate Open Graph Meta Tags](https://opengraph.dev/)
+[OpenGraph - Preview Images and Generate Open Graph Meta Tags]()
-
+![Pasted image 20240409195616]()
-
+![Pasted image 20240409131420]()
## Some Examples
-[Open Graph Examples](https://opengraphexamples.com/)
+[Open Graph Examples]()
-
+![Pasted image 20240409131603]()
diff --git a/src/content/note/react-scan的用法.md b/src/content/note/react-scan的用法.md
index aa52850..e707018 100644
--- a/src/content/note/react-scan的用法.md
+++ b/src/content/note/react-scan的用法.md
@@ -20,18 +20,18 @@ description: >-
props、context 和 state,以及是否发生了 re-render,并且会标记出可能存在性能优化问题的 bad render。
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
-在本地运行 follow 的源代码的时候是我第一次接触到 react-scan, 后来又在 x 的首页山上面刷到了原作者以及其他人对于 [react-scan](https://react-scan.com/) 的推荐。
+在本地运行 follow 的源代码的时候是我第一次接触到 react-scan, 后来又在 x 的首页山上面刷到了原作者以及其他人对于 [react-scan]() 的推荐。
下面来介绍一下它的用法,以及我个人认为它好用的原因。
## 安装
-安装方式可以分为两种,开发环境安装,使用浏览器插件。[官方文档](https://github.com/aidenybai/react-scan?tab=readme-ov-file#install) 有比较详细的教程,这里不做赘述。
+安装方式可以分为两种,开发环境安装,使用浏览器插件。[官方文档]() 有比较详细的教程,这里不做赘述。
-如果通过 npm 安装,可以自定义更多的配置,可以参考这里的 [API Reference](https://github.com/aidenybai/react-scan?tab=readme-ov-file#api-reference-1)
+如果通过 npm 安装,可以自定义更多的配置,可以参考这里的 [API Reference]()
## 使用
@@ -74,8 +74,8 @@ const isBadRender =
并且 react-scan 自带面板,不需要像 devtool 一样首先需要打开 devtool 再勾选上 re-render 的画面闪烁监听。
-
+![image.png]()
## 参考
-[还有这种前端技巧?REACT-SCAN 代码鉴赏|精简版\_哔哩哔哩\_bilibili](https://www.bilibili.com/video/BV1JrzvYgERi/)
+[还有这种前端技巧?REACT-SCAN 代码鉴赏|精简版\_哔哩哔哩\_bilibili]()
diff --git a/src/content/note/search params 请求参数的获取与更新.md b/src/content/note/search params 请求参数的获取与更新.md
index 088fe44..1c8839c 100644
--- a/src/content/note/search params 请求参数的获取与更新.md
+++ b/src/content/note/search params 请求参数的获取与更新.md
@@ -1,5 +1,5 @@
---
-title: search params 请求参数
+title: search params 请求参数的获取与更新
date: 2024-11-13T00:00:00.000Z
author: KazooTTT
type: Post
@@ -24,12 +24,12 @@ NotionID-notionnext: 13d55568-fd75-81f5-be1b-e0a4f8137355
link-notionnext: 'https://kazoottt.notion.site/search-params-13d55568fd7581f5be1be0a4f8137355'
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
## react router `useSearchParams`
-[useSearchParams | React Router](https://reactrouter.com/en/main/hooks/use-search-params#usesearchparams)
+[useSearchParams | React Router]()
``` ts
interface URLSearchParams {
@@ -62,9 +62,9 @@ interface URLSearchParams {
## qs + window.location
-[GitHub - ljharb/qs: A querystring parser with nesting support](https://github.com/ljharb/qs)
+[GitHub - ljharb/qs: A querystring parser with nesting support]()
-
+![image.png]()
使用 window.location.search 获取到请求参数对应的字符串(需要注意的是:字符串是带有?的)
@@ -82,7 +82,7 @@ const getQueryParam = (): QueryParams => {
};
```
-
+![]()
正确使用:
@@ -94,4 +94,4 @@ const getQueryParam = (): QueryParams => {
};
```
-
+![image.png]()
diff --git a/src/content/note/shot.so - 图片美化工具.md b/src/content/note/shot.so - 图片美化工具.md
index a658e5b..31e988c 100644
--- a/src/content/note/shot.so - 图片美化工具.md
+++ b/src/content/note/shot.so - 图片美化工具.md
@@ -1,5 +1,5 @@
---
-title: shot.so
+title: shot.so - 图片美化工具
date: 2023-09-17T00:00:00.000Z
author: KazooTTT
tags:
@@ -16,7 +16,7 @@ rinId: 62
category: 软件
toAstro: true
date_created: 2024-12-02T03:03:24.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# shot.so - 图片美化工具
@@ -25,6 +25,6 @@ date_modified: 2025-02-07T03:17:02.000Z
可快速美化图片(主要是截图),支持设备 mock,支持修改 shadow,border,scale 等。内置模板很多,且均免费。
-
+![Shots - Create Amazing Mockups]()
-
+![954shots_so]()
diff --git a/src/content/note/tweet to image 输入推特链接生成对应的图片.md b/src/content/note/tweet to image 输入推特链接生成对应的图片.md
index 05c7b62..2ae0251 100644
--- a/src/content/note/tweet to image 输入推特链接生成对应的图片.md
+++ b/src/content/note/tweet to image 输入推特链接生成对应的图片.md
@@ -1,5 +1,5 @@
---
-title: tweet to image
+title: tweet to image 输入推特链接生成对应的图片
date: 2024-06-26T00:00:00.000Z
author: KazooTTT
type: Post
@@ -26,25 +26,25 @@ rinId: 50
category: 软件
toAstro: true
date_created: 2024-12-02T03:03:24.000Z
-date_modified: 2025-02-08T05:54:45.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# Tweet to Image 输入推特链接生成对应的图片
-[Perfect Twitter Screenshots - TweetPik](https://tweethunter.io/tweetpik)
+[Perfect Twitter Screenshots - TweetPik]()
(不太好用)
-
+![Pasted image 20240626165118]()
-[Free Tweet to Image Converter Online - PostWizz](https://postwizz.com/tweet-to-image-converter/)
+[Free Tweet to Image Converter Online - PostWizz]()
-
+![CleanShot 2024-06-26 at 16.51.23]()
-[Tweet to Image Converter: Tweet Screenshots Online | 10015 Tools](https://10015.io/tools/tweet-to-image-converter)
+[Tweet to Image Converter: Tweet Screenshots Online | 10015 Tools]()
-
+![CleanShot 2024-06-26 at 16.51.45]()
ref:
-[The Top 6 Free Tools to Convert Tweets Into Shareable Images](https://www.makeuseof.com/free-tools-convert-tweets-into-images/)
+[The Top 6 Free Tools to Convert Tweets Into Shareable Images]()
diff --git a/src/content/note/web3资源收集.md b/src/content/note/web3资源收集.md
index f26f67e..df86731 100644
--- a/src/content/note/web3资源收集.md
+++ b/src/content/note/web3资源收集.md
@@ -16,7 +16,7 @@ tags:
- 区块链
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# web3 资源收集
@@ -61,13 +61,13 @@ date_modified: 2025-02-07T03:25:34.000Z
---
youtube 教程
-[Site Unreachable](https://www.youtube.com/watch?v=q9UzRyWRPcY&ab_channel=CyfrinAudits)
+[Site Unreachable]()
这个可以看看 Foundry 开发框架
-[Foundry 开发框架 | Decert.me](https://decert.me/tutorial/solidity/tools/foundry/)
+[Foundry 开发框架 | Decert.me]()
-[The Architecture of a Web 3.0 application](https://www.preethikasireddy.com/post/the-architecture-of-a-web-3-0-application) 这篇是讲 web3 应用的架构
+[The Architecture of a Web 3.0 application]() 这篇是讲 web3 应用的架构
对了,有一个 uniswap v2 详细讲解材料,非常不错,我发出来
大家有需要可以好好看一下,讲得非常详细
-[X 上的 RareSkills:“It's 100% free -- no login required. Bookmark (no pun intended) and come back as needed. Book link: https://t.co/8BcWQH8jH0” / X](https://twitter.com/RareSkills_io/status/1724741635995799607?t=ItDMIKngRqH7yQ4Zf1gIxQ&s=19)
+[X 上的 RareSkills:“It's 100% free -- no login required. Bookmark (no pun intended) and come back as needed. Book link: https://t.co/8BcWQH8jH0” / X]()
diff --git a/src/content/note/whisper ui 下载模型 镜像设置.md b/src/content/note/whisper ui 下载模型 镜像设置.md
index 05de57e..b214337 100644
--- a/src/content/note/whisper ui 下载模型 镜像设置.md
+++ b/src/content/note/whisper ui 下载模型 镜像设置.md
@@ -18,10 +18,10 @@ description: >-
在国内访问速度很慢,所以需要配置镜像。
toAstro: true
date_created: 2025-01-05T06:44:38.000Z
-date_modified: 2025-02-07T03:17:03.000Z
+date_modified: 2025-02-19T03:44:16.000Z
---
-在使用 [whisper ui](https://github.com/jhj0517/Whisper-WebUI) 的时候,需要下载模型,如果不做配置默认是从 huggingface 下载的,但是 huggingface 在国内访问速度很慢,所以需要配置镜像。
+在使用 [whisper ui]() 的时候,需要下载模型,如果不做配置默认是从 huggingface 下载的,但是 huggingface 在国内访问速度很慢,所以需要配置镜像。
配置方法如下:
@@ -37,4 +37,4 @@ HF_ENDPOINT=https://hf-mirror.com
## 参考
-[如何快速下载huggingface大模型 – padeoe的小站](https://padeoe.com/huggingface-large-models-downloader/)
+[如何快速下载huggingface大模型 – padeoe的小站]()
diff --git a/src/content/note/win11如何下载chatgpt.md b/src/content/note/win11如何下载chatgpt.md
index b525052..eaeb238 100644
--- a/src/content/note/win11如何下载chatgpt.md
+++ b/src/content/note/win11如何下载chatgpt.md
@@ -16,13 +16,13 @@ published: false
category: 软件
toAstro: true
date_created: 2025-01-04T03:34:08.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
打开设置 - 时间和语言 - 选择国家和地区为美国
-
+![IMG-20250104114646389]()
在 microsoft store 中搜索 chatgpt 下载即可
-
+![IMG-20250104114647117]()
diff --git a/src/content/note/win11恢复win10右键的样式.md b/src/content/note/win11恢复win10右键的样式.md
index 4cbaaff..b6b5587 100644
--- a/src/content/note/win11恢复win10右键的样式.md
+++ b/src/content/note/win11恢复win10右键的样式.md
@@ -19,11 +19,11 @@ published: true
category: 软件
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
-date_modified: 2025-02-11T09:59:32.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# win11 恢复 win10 右键的样式
-使用:[Windows 11 Classic Context Menu v1.2](https://www.sordum.org/14479/windows-11-classic-context-menu-v1-2/)
+使用:[Windows 11 Classic Context Menu v1.2]()

diff --git a/src/content/note/“git-credential-osxkeychain”想要访问你的钥匙串中的密钥“github.com” 解决方法.md b/src/content/note/“git-credential-osxkeychain”想要访问你的钥匙串中的密钥“github.com” 解决方法.md
index 1bf78df..3fc1eed 100644
--- a/src/content/note/“git-credential-osxkeychain”想要访问你的钥匙串中的密钥“github.com” 解决方法.md
+++ b/src/content/note/“git-credential-osxkeychain”想要访问你的钥匙串中的密钥“github.com” 解决方法.md
@@ -18,7 +18,7 @@ link-notionnext: >-
https://kazoottt.notion.site/git-credential-osxkeychain-github-com-462377ea6b4a472c9f55ca4965dfe5c4
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
-date_modified: 2025-01-22T05:39:19.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# macos 一直弹出 “git-credential-osxkeychain”想要访问你的钥匙串中的密钥“github.com” 解决方法
@@ -61,4 +61,4 @@ git credential-osxkeychain
## 参考地址
-[在 Git 中缓存 GitHub 凭据 - GitHub 文档](https://docs.github.com/zh/get-started/getting-started-with-git/caching-your-github-credentials-in-git)
+[在 Git 中缓存 GitHub 凭据 - GitHub 文档]()
diff --git a/src/content/note/与其倒腾,不如静下心来.md b/src/content/note/与其倒腾,不如静下心来.md
index 705bf6c..a9aa5fd 100644
--- a/src/content/note/与其倒腾,不如静下心来.md
+++ b/src/content/note/与其倒腾,不如静下心来.md
@@ -15,7 +15,7 @@ rinId: 57
category: 生活
toAstro: true
date_created: 2024-10-08T10:06:08.000Z
-date_modified: 2025-02-07T03:17:03.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# 与其倒腾,不如静下心来
@@ -29,7 +29,7 @@ date_modified: 2025-02-07T03:17:03.000Z
所以我想控制一下自己的手,目前将自己的记录和发布模式固定一下。具体的规划如下:
1. 首先,使用 obsidian 和 flomo 作为本地的编辑器。obsidian 用于记录笔记和比较正式的可能需要发布的内容。而 flomo 则是一些碎片化的内容,可能是个人的碎碎念,也可能是一些小脑洞。
-2. 然后,obsidian 的内容与 [Welcome to Quartz 4](https://quartz.jzhao.xyz/) 绑定,如果有更新则会自动地部署上去,这里自动更新的内容都是一些很随意的笔记的内容。
+2. 然后,obsidian 的内容与 [Welcome to Quartz 4]() 绑定,如果有更新则会自动地部署上去,这里自动更新的内容都是一些很随意的笔记的内容。
3. 再然后就是上传到 notion 了,这里的内容还是比较水。
4. 最后是比较正式的内容,会通过 obsidian 的插件上传到掘金、xlog、微信公众号。
diff --git a/src/content/note/个人工具与设备清单.md b/src/content/note/个人工具与设备清单.md
index e99117b..fcb20b1 100644
--- a/src/content/note/个人工具与设备清单.md
+++ b/src/content/note/个人工具与设备清单.md
@@ -15,7 +15,7 @@ published: true
category: 软件
toAstro: true
date_created: 2024-12-02T03:03:24.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
## 软件工具(电脑端)
@@ -38,7 +38,7 @@ date_modified: 2025-02-07T03:17:02.000Z
### 录屏与截图
-- [shottr](https://shottr.cc/)(Mac 上的截图工具,免费好用)
+- [shottr]()(Mac 上的截图工具,免费好用)
- CleanShot(Mac 上的截图工具,需要付费,支持截图、录屏,截图加 border)
- QuickRecorder(Mac 上的录屏工具,开源,免费)
- OBS(录屏工具,直播推流工具)
diff --git a/src/content/note/使用 1password 的 secure notes 存储提示词.md b/src/content/note/使用 1password 的 secure notes 存储提示词.md
index 56b8473..ee79e4d 100644
--- a/src/content/note/使用 1password 的 secure notes 存储提示词.md
+++ b/src/content/note/使用 1password 的 secure notes 存储提示词.md
@@ -1,6 +1,6 @@
---
date_created: 2025-02-05T05:21:09.000Z
-date_modified: 2025-02-08T05:58:33.000Z
+date_modified: 2025-02-19T03:44:14.000Z
title: 使用 1password 的 secure notes 存储提示词
date: 2025-02-05T00:00:00.000Z
author: KazooTTT
@@ -24,13 +24,13 @@ toAstro: true
作为一个能用键盘就不用鼠标,期望减少操作步骤的懒人,我把提示词存到了 1password 的 secure notes 中
-
+![alt text]()
如图所示,提示词的标题以 `[提示词-标题]` 的形式命名。
然后通过快捷键唤起搜索框,输入 `提示词` 关键词,就可以搜索到所有的提示词。然后通过 `cmd + c` 复制内容即可。
-
+![alt text]()
这样的好处是:
diff --git a/src/content/note/使用cloudflare部署remix项目.md b/src/content/note/使用cloudflare部署remix项目.md
index 565da56..f9426f4 100644
--- a/src/content/note/使用cloudflare部署remix项目.md
+++ b/src/content/note/使用cloudflare部署remix项目.md
@@ -12,18 +12,18 @@ slug: deploy-remix-app-by-cloudflare
description: null
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
如果使用 remix,然后用 cloudflare 进行部署。
通过 remix 的官方脚手架创建,在 Workers 和 Pages 中直接 import 仓库然后部署是无效的。部署完成后点击对应的域名访问,会无响应。
-
+![image.png]()
正确的做法是:
-参考 [cloudflare](<[Remix · Cloudflare Pages docs](https://developers.cloudflare.com/pages/framework-guides/deploy-a-remix-site/)>) 的文档,使用 cloudflare + remix 的模板创建
+参考 [cloudflare](<[Remix · Cloudflare Pages docs]()>) 的文档,使用 cloudflare + remix 的模板创建
``` shell
pnpm create cloudflare@latest my-remix-app --framework=remix
@@ -31,8 +31,8 @@ pnpm create cloudflare@latest my-remix-app --framework=remix
然后再在 Workers 和 Pages 中 import 你对应的 git 仓库,然后构建设置选择 remix,它会帮你填好默认的配置,保留该配置即可。
-
+![image.png]()
## 参考
-[Remix + Vite: assets not generated in /public - Developers / Cloudflare Pages - Cloudflare Community](https://community.cloudflare.com/t/remix-vite-assets-not-generated-in-public/633692)
+[Remix + Vite: assets not generated in /public - Developers / Cloudflare Pages - Cloudflare Community]()
diff --git a/src/content/note/使用cursor生成git commit msg.md b/src/content/note/使用cursor生成git commit msg.md
index 0e9f4a8..f0561c1 100644
--- a/src/content/note/使用cursor生成git commit msg.md
+++ b/src/content/note/使用cursor生成git commit msg.md
@@ -14,12 +14,12 @@ description: |-
slug: cursorgit-commit-msg
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:03.000Z
+date_modified: 2025-02-19T03:44:16.000Z
---
原文参考:
-[x.com](https://x.com/0xinhua_zh/status/1855650777110630471)
+[x.com]()
```
@@ -35,13 +35,13 @@ date_modified: 2025-02-07T03:17:03.000Z
```
-
+![IMG-20241112141124094]()
---
我是这样,在暂存前使用 command
-[x.com](https://x.com/FaiChou_zh/status/1855775123271459192)
+[x.com]()
```
@@ -59,4 +59,4 @@ Please generate a commit message with CN. Below is the commit message template:
```
-
+![Pasted image 20241112141218]()
diff --git a/src/content/note/使用google sheet + api定时获取油管播放量.md b/src/content/note/使用google sheet + api定时获取油管播放量.md
index 0257af4..35d98a1 100644
--- a/src/content/note/使用google sheet + api定时获取油管播放量.md
+++ b/src/content/note/使用google sheet + api定时获取油管播放量.md
@@ -26,18 +26,18 @@ description: >-
YouTube 视频的播放量并存入 Google Sheets 表格。
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
-起因是想要记录一下 milklove 的二搭剧 Whale Store xoxo 在油管上的预告片的播放量的 [คุณวาฬร้านชำ (Whale Store xoxo) \| GMMTV 2025 - YouTube](https://www.youtube.com/watch?v=Eia_Sh_ZTyQ)
+起因是想要记录一下 milklove 的二搭剧 Whale Store xoxo 在油管上的预告片的播放量的 [คุณวาฬร้านชำ (Whale Store xoxo) \| GMMTV 2025 - YouTube]()
-于是先搜了一下有没有可以直接使用的开源项目或者接口,然后在 [批量统计YouTube视频播放量方法 - 杨哥的出海营销笔记](https://marketingyang.com/%E6%89%B9%E9%87%8F%E7%BB%9F%E8%AE%A1youtube%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE%E9%87%8F%E6%96%B9%E6%B3%95/) 这篇文章中了解到了可以使用 google sheet 的 apps 脚本 直接获取油管的播放量。
+于是先搜了一下有没有可以直接使用的开源项目或者接口,然后在 [批量统计YouTube视频播放量方法 - 杨哥的出海营销笔记]() 这篇文章中了解到了可以使用 google sheet 的 apps 脚本 直接获取油管的播放量。
不过这篇文章中的脚本更多的获取当前的播放量,而不是定时获取,因此我在这个脚本的基础上进行了一些修改,来实现定时获取播放量,然后把时间和对应的播放量的信息存到 sheet 中。
-最终的效果如图所示。[杂货铺播放量记录 - Google 表格](https://docs.google.com/spreadsheets/d/12l5v7V-lyHFXw1KkgGAFtnvbVejrKshOLGsulLf8P1A/edit?usp=sharing)
+最终的效果如图所示。[杂货铺播放量记录 - Google 表格]()
-
+![CleanShot 2024-12-15 at 21.38.06@2x.png]()
## 操作教程
@@ -45,17 +45,17 @@ date_modified: 2025-02-07T03:25:34.000Z
| 链接 | 视频 id | 时间 | 播放量 |
| ------------------------------------------------------------------------------------------ | ---------------------------------------------------------- | ---- | ------ |
-| [https://www.youtube.com/watch?v=Eia_Sh_ZTyQ](https://www.youtube.com/watch?v=Eia_Sh_ZTyQ) | =MID(A2, FIND("v=", A2) + 2, LEN(A2) - FIND("v=", A2) - 1) | | |
+| [https://www.youtube.com/watch?v=Eia_Sh_ZTyQ]() | =MID(A2, FIND("v=", A2) + 2, LEN(A2) - FIND("v=", A2) - 1) | | |
在第一列写上要监听的油管的链接,然后视频的 id 通过公式直接计算出来。
第二步,点击 extentions - apps script 这里,跳转到脚本配置界面。
-
+![CleanShot 2024-12-15 at 21.40.14@2x.png]()
点击左侧的 services 的加号,添加 YouTube Data API v3,标识符、版本直接默认就可以了。
-
+![CleanShot 2024-12-15 at 21.44.17@2x.png]()
第三步,把代码复制到 Code.gs 中,效果如图:
@@ -130,19 +130,19 @@ function recordYouTubeViewCount() {
}
```
-
+![CleanShot 2024-12-15 at 21.41.33@2x.png]()
然后如果要验证是否正确,选择 recordYouTubeViewCount,然后点击 run 按钮。不出意外的话会在 sheet 中新增一行记录。
-
+![CleanShot 2024-12-15 at 21.42.08@2x.png]()
第四步,也是最后一步,我们要设置一下 trigger,来实现定时地查询播放量并且写入到 sheet 中。点击左边侧边栏的 trigger 菜单,再点击右下角的 add trigger.
-
+![CleanShot 2024-12-15 at 21.47.04@2x.png]()
设置如下,配置完成后点击 save 按钮。
-
+![image.png]()
点击完之后,可能出现一个验证弹窗,需要你选择自己的 google 账号,然后点击 go to xxx project (unsave), 点击 allow 进行授权。(这里没有保留截图,但或许大概应该能直接看懂?)
@@ -150,6 +150,6 @@ function recordYouTubeViewCount() {
## 参考和鸣谢
-这个脚本是在 [批量统计YouTube视频播放量方法 - 杨哥的出海营销笔记](https://marketingyang.com/%E6%89%B9%E9%87%8F%E7%BB%9F%E8%AE%A1youtube%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE%E9%87%8F%E6%96%B9%E6%B3%95/) 的脚本的基础上改的,感谢作者提供了很详细的教程和代码。
+这个脚本是在 [批量统计YouTube视频播放量方法 - 杨哥的出海营销笔记]() 的脚本的基础上改的,感谢作者提供了很详细的教程和代码。
同时也要感谢 google 提供的 api.
diff --git a/src/content/note/再次学习History.scrollRestoration.md b/src/content/note/再次学习History.scrollRestoration.md
index 7df2f9c..7f611e6 100644
--- a/src/content/note/再次学习History.scrollRestoration.md
+++ b/src/content/note/再次学习History.scrollRestoration.md
@@ -22,12 +22,12 @@ link-notionnext: >-
rinId: 18
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# 再次学习 History.scrollRestoration
-
+![2024-05-23-23-52-40]()
之前在 react.dev 的源代码中了解到了这个 HIstory 的属性,当时写了一篇笔记来记录我对它的理解,现在看来还是一知半解。所以今天打算重新学习一下这个属性,主要从属性以及所属对象的介绍、使用方法,是否开启标准这几个方面来简单展开。
@@ -37,7 +37,7 @@ scrollRestoration 是一个属性,它所属的实例是浏览器的 History。
这个属性是做什么的?它用来控制我们在切换历史页面的时候,滚动条的位置会不会恢复到之前的位置。
-
+![屏幕录制2024-05-23 10.48.05]()
如图所示,我们切换历史页面,又切换回最之前的页面,发现滚动条的位置依然保持底部,也就是之前的位置。
@@ -55,7 +55,7 @@ history.go(page) // page大于0,表示往后面翻对应的页数,反之则
scrollRestoration 可选的值为 auto 和 manual (如果浏览器支持这个属性,那么它默认是 auto)
-> scroll restoration mode, a scroll restoration mode, initially "auto". [HTML Standard](https://html.spec.whatwg.org/multipage/browsing-the-web.html#she-scroll-restoration-mode)
+> scroll restoration mode, a scroll restoration mode, initially "auto". [HTML Standard]()
如果是 auto:那么在切换历史页面的时候,滚动条会自动地恢复到切换之前的位置。
@@ -67,7 +67,7 @@ scrollRestoration 可选的值为 auto 和 manual (如果浏览器支持这个
我之前觉得这个特性很好,但是为什么要单独地设置一个属性来控制是否要恢复到之前的滚动条位置呢?
-在 [History API - 滚动恢复 | Blog | Chrome for Developers](https://developer.chrome.com/blog/history-api-scroll-restoration) 这篇文章中提到:
+在 [History API - 滚动恢复 | Blog | Chrome for Developers]() 这篇文章中提到:
> This often means unsightly jumps as the scroll position changes automatically, and especially so if your app does transitions, or changes the contents of the page in any way. Ultimately this leads to an horrible user experience.
> To make matters even worse there's very little you can do about it: Chrome triggers a `popState` event before the `scroll` event, which means you can read the current scroll position in `popState` and then reverse it in the `scroll` event handler with `window.scrollTo` (Ewww, but at least it works!). Firefox, however, triggers the `scroll` event *before* `popState`, so you have no idea what the old scroll value was in order to restore it. Bah!
@@ -91,6 +91,6 @@ scrollRestoration 可选的值为 auto 和 manual (如果浏览器支持这个
## 参考的资料
-[History: scrollRestoration property - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration)
+[History: scrollRestoration property - Web APIs | MDN]()
-[HTML Standard](https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-history-scroll-restoration)
+[HTML Standard]()
diff --git a/src/content/note/可以免费领取tokens的大模型服务.md b/src/content/note/可以免费领取tokens的大模型服务.md
index a1bc1ba..9f4ce38 100644
--- a/src/content/note/可以免费领取tokens的大模型服务.md
+++ b/src/content/note/可以免费领取tokens的大模型服务.md
@@ -19,30 +19,30 @@ link-notionnext: 'https://kazoottt.notion.site/tokens-30a20483ea284dafb8be155f0e
rinId: 43
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:03.000Z
+date_modified: 2025-02-19T03:44:16.000Z
---
# 可以免费领取 tokens 的大模型服务
本文更新时间:2024 年 6 月 20 日
-## [豆包大模型](https://www.volcengine.com/)
+## [豆包大模型]()
-[豆包大模型-火山引擎](https://www.volcengine.com/product/doubao)
+[豆包大模型-火山引擎]()
" 亲爱的客户,模型提供方将在 5 月 15 日至 8 月 30 日期间,为您提供一次独特的机会,即高达 5 亿 tokens 的免费权益。这是我们对您长期支持的感谢,也是对未来合作的期待。"
在 8 月 30 日之前可以领取 5 亿 tokens
-
+![CleanShot 2024-06-20 at 09.58.30 1]()
-## [DeepSeek | 深度求索](https://www.deepseek.com/)
+## [DeepSeek | 深度求索]()
注册获 500 万 tokens(限中国大陆地区)
-
+![CleanShot 2024-06-20 at 09.30.27]()
-## [SiliconCloud](https://siliconflow.cn/zh-cn/siliconcloud)
+## [SiliconCloud]()
手机号注册,一个手机号可以约 1 亿 token。
@@ -50,7 +50,7 @@ date_modified: 2025-02-07T03:17:03.000Z
deepseek, qwen 等
-
+![CleanShot 2024-06-20 at 09.24.17]()
---
diff --git a/src/content/note/合并多个PDF.md b/src/content/note/合并多个PDF.md
index 5966553..9e40d75 100644
--- a/src/content/note/合并多个PDF.md
+++ b/src/content/note/合并多个PDF.md
@@ -12,12 +12,12 @@ slug: merge-pdfs
description: null
toAstro: true
date_created: 2024-12-19T02:15:23.000Z
-date_modified: 2025-02-07T03:16:09.000Z
+date_modified: 2025-02-19T03:43:53.000Z
---
地址:
-[PDF文件合并工具 - 在线免费合并PDF文档](https://pdf.kazoottt.top/)
+[PDF文件合并工具 - 在线免费合并PDF文档]()
## 背景
@@ -25,9 +25,9 @@ date_modified: 2025-02-07T03:16:09.000Z
昨天在超话看到了杂货铺的小说的翻译
-[中字自翻《Whale... - @Co_Shean01的微博 - 微博](https://weibo.com/6515676456/P4RZHdySF#comment)
+[中字自翻《Whale... - @Co_Shean01的微博 - 微博]()
-
+![image.png]()
然后由于是分章节每个章节有对应的 pdf,而我比较喜欢使用微信读书来进行阅读,所以产生了想要把所有的 pdf 合并为一个的需求。
@@ -35,4 +35,4 @@ date_modified: 2025-02-07T03:16:09.000Z
## 鸣谢
-使用了 [GitHub - nbesli/pdf-merger-js](https://github.com/nbesli/pdf-merger-js) 这个库来进行 pdf 的合并
+使用了 [GitHub - nbesli/pdf-merger-js]() 这个库来进行 pdf 的合并
diff --git a/src/content/note/在react中不要滥用 short-circuit &&.md b/src/content/note/在react中不要滥用 short-circuit &&.md
index ae05852..de1f586 100644
--- a/src/content/note/在react中不要滥用 short-circuit &&.md
+++ b/src/content/note/在react中不要滥用 short-circuit &&.md
@@ -1,5 +1,5 @@
---
-title: 在react中不要滥用 &&
+title: 在react中不要滥用 short-circuit &&
date: 2024-10-16T00:00:00.000Z
author: KazooTTT
tags:
@@ -20,7 +20,7 @@ link-notionnext: >-
https://kazoottt.notion.site/react-short-circuit-12b55568fd75815cba9cff587a86a262
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
## 错误现象
@@ -55,4 +55,4 @@ date_modified: 2025-02-07T03:25:34.000Z
## 参考
-[reactjs - React showing 0 instead of nothing with short-circuit (&&) conditional component - Stack Overflow](https://stackoverflow.com/questions/53048037/react-showing-0-instead-of-nothing-with-short-circuit-conditional-component)
+[reactjs - React showing 0 instead of nothing with short-circuit (&&) conditional component - Stack Overflow]()
diff --git a/src/content/note/在前端使用abort取消请求.md b/src/content/note/在前端使用abort取消请求.md
index 5beb118..4a3ea0e 100644
--- a/src/content/note/在前端使用abort取消请求.md
+++ b/src/content/note/在前端使用abort取消请求.md
@@ -20,14 +20,14 @@ link-notionnext: 'https://kazoottt.notion.site/abort-801e2fa1dfa94b4fb579ef7f665
rinId: 53
toAstro: true
date_created: 2025-01-04T03:34:08.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# 在前端使用 abort 取消请求
举个例子,在写 llm 的 chat 的时候,经常会出现需要取消请求的场景。
-如何在**前端**取消请求,涉及到一个接口:[AbortController.AbortController() - Web API 接口参考 | MDN](https://developer.mozilla.org/zh-CN/docs/Web/API/AbortController/AbortController)
+如何在**前端**取消请求,涉及到一个接口:[AbortController.AbortController() - Web API 接口参考 | MDN]()
在原生的 js 的写法,参考 mdn 的写法。
@@ -133,7 +133,7 @@ const RequestComponent = () => {
export default RequestComponent
```
-在 solidjs 中的写法,可以参考 diu 老师的 [GitHub - anse-app/chatgpt-demo: Minimal web UI for ChatGPT.](https://github.com/anse-app/chatgpt-demo)
+在 solidjs 中的写法,可以参考 diu 老师的 [GitHub - anse-app/chatgpt-demo: Minimal web UI for ChatGPT.]()
```js
import { Index, Show, createEffect, createSignal, onCleanup, onMount } from 'solid-js'
diff --git a/src/content/note/在浏览器中 opengl 的配置与检测.md b/src/content/note/在浏览器中 opengl 的配置与检测.md
index f124900..1b4c061 100644
--- a/src/content/note/在浏览器中 opengl 的配置与检测.md
+++ b/src/content/note/在浏览器中 opengl 的配置与检测.md
@@ -18,20 +18,20 @@ slug: how-to-check-opengl-configuration-and-detection-in-browser
description: 本文介绍了如何在浏览器中配置和检测 OpenGL,包括硬件加速的设置和检测方法,帮助用户优化浏览器性能。
toAstro: true
date_created: 2025-01-07T03:03:25.000Z
-date_modified: 2025-02-07T03:16:07.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# 在 google 浏览器中硬件加速、OpenGL 的配置与检测
## 如何配置硬件加速与 OpenGL
-[优化浏览器设置以提升性能和使用体验 - MasterGo 帮助中心](https://mastergo.com/help/common-problem/configure-webgl)
+[优化浏览器设置以提升性能和使用体验 - MasterGo 帮助中心]()
在这篇文章中,我们可以看到具体的配置流程。
## 如何检测用户是否开启 OpenGL
-在 mdn 的这篇文章中 [WEBGL_debug_renderer_info extension - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info) 有提到:我们可以通过获取 canvas 的 webgl 上下文,然后对是否开启硬件加速和设置为 opengl 进行检测。
+在 mdn 的这篇文章中 [WEBGL_debug_renderer_info extension - Web APIs | MDN]() 有提到:我们可以通过获取 canvas 的 webgl 上下文,然后对是否开启硬件加速和设置为 opengl 进行检测。
是否开启硬件加速
diff --git a/src/content/note/如何在 cursor 中使用 deepseek-coder.md b/src/content/note/如何在 cursor 中使用 deepseek-coder.md
index c263006..284f10d 100644
--- a/src/content/note/如何在 cursor 中使用 deepseek-coder.md
+++ b/src/content/note/如何在 cursor 中使用 deepseek-coder.md
@@ -18,20 +18,20 @@ link-notionnext: >-
https://kazoottt.notion.site/cursor-deepseek-coder-f759bbe6aa4b4317969544927430146b
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-12T02:52:44.000Z
+date_modified: 2025-02-19T03:44:16.000Z
---
# 如何在 cursor 中使用 deepseek-coder
-[Cursor](https://www.cursor.com/) 是一款智能代码编辑器,可以帮助用户生成代码、修改 Bug、生成测试等,提高编程效率。
+[Cursor]() 是一款智能代码编辑器,可以帮助用户生成代码、修改 Bug、生成测试等,提高编程效率。
可以免费使用,但是具有一定的额度。
-
+![Pasted image 20240725133801]()
但是它也可以使用自己的 key 和模型具体的操作如下。
-
+![Pasted image 20240725133037]()
## 1. 添加模型:DeepSeek-Coder
@@ -51,6 +51,6 @@ https://api.deepseek.com/v1
## 4. 在侧边栏中选择 deepseek-coder
-
+![Pasted image 20240725134803]()
这样配置就完成了
diff --git a/src/content/note/如何快速导出vercel project中的环境变量.md b/src/content/note/如何快速导出vercel project中的环境变量.md
index 3d3d93d..064c458 100644
--- a/src/content/note/如何快速导出vercel project中的环境变量.md
+++ b/src/content/note/如何快速导出vercel project中的环境变量.md
@@ -13,12 +13,12 @@ rinId: 3
category: 前端
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# 如何快速导出 vercel Project 中的环境变量
-我在 vercel 中集成了某些插件或者链接了数据库,要如何快速的导出这些环境变量呢?
+![Pasted image 20240223222337]()我在 vercel 中集成了某些插件或者链接了数据库,要如何快速的导出这些环境变量呢?
具体方法如下:
@@ -31,6 +31,6 @@ vercel env pull .env.local
```
1. 首先是安装 vercel
-2. 然后登录 vercel 
+2. 然后登录 vercel ![Pasted image 20240223222531]()
3. 最后拉取环境变量到.env.local
- 
+ ![Pasted image 20240223222605]()
diff --git a/src/content/note/如何解决 Nginx 启动时未联网无法访问DNS而挂掉的问题.md b/src/content/note/如何解决 Nginx 启动时未联网无法访问DNS而挂掉的问题.md
index be2555a..7bf1b6b 100644
--- a/src/content/note/如何解决 Nginx 启动时未联网无法访问DNS而挂掉的问题.md
+++ b/src/content/note/如何解决 Nginx 启动时未联网无法访问DNS而挂掉的问题.md
@@ -1,6 +1,6 @@
---
date_created: 2025-02-07T07:04:05.000Z
-date_modified: 2025-02-08T03:43:19.000Z
+date_modified: 2025-02-19T03:44:14.000Z
title: 如何解决 Nginx 启动时未联网无法访问DNS而挂掉的问题
date: 2025-02-08T00:00:00.000Z
author: KazooTTT
@@ -66,10 +66,10 @@ http {
## 参考
-[nginx中resolver参数配置解释 \|](https://www.rootop.org/pages/4307.html)
+[nginx中resolver参数配置解释 \|]()
-[Module ngx\_http\_core\_module](https://nginx.org/en/docs/http/ngx_http_core_module.html#resolver)
+[Module ngx\_http\_core\_module]()
- [89 \| proxy模块中的proxy\_pass指令--极客时间](https://time.geekbang.org/course/detail/138-75140)
+ [89 \| proxy模块中的proxy\_pass指令--极客时间]()
-[^1]: [89 \| proxy模块中的proxy\_pass指令--极客时间](https://time.geekbang.org/course/detail/138-75140)
+[^1]: [89 \| proxy模块中的proxy\_pass指令--极客时间]()
diff --git a/src/content/note/如何让你的截图更加好看.md b/src/content/note/如何让你的截图更加好看.md
index 5a7cb4b..3c7c2fa 100644
--- a/src/content/note/如何让你的截图更加好看.md
+++ b/src/content/note/如何让你的截图更加好看.md
@@ -13,7 +13,7 @@ rinId: 122
category: 软件
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
-date_modified: 2025-01-22T05:39:19.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# 如何让你的截图更加好看
@@ -22,9 +22,9 @@ date_modified: 2025-01-22T05:39:19.000Z
## 一、shots.so
-[Shots - Create Amazing Mockups](https://www.shots.so/)
+[Shots - Create Amazing Mockups]()
-
+![Untitled]()
目前仅支持电脑端,移动端正在开发中。
@@ -32,17 +32,17 @@ date_modified: 2025-01-22T05:39:19.000Z
效果:
-
+![Untitled]()
## 二、jellylade
-[Turn your screenshots into beautiful posts](https://app.jellylade.com/)
+[Turn your screenshots into beautiful posts]()
-
+![Untitled]()
与 shots.so 类似,都可以体验一下看看效果。
-
+![Untitled]()
## 三、Arc 浏览器
@@ -54,20 +54,20 @@ date_modified: 2025-01-22T05:39:19.000Z
1. `cmd + t` 然后搜索选择 **capture in portrait mode** 即可
-
+![Untitled]()
1. 另外一种方式是开启 developer mode,
-
+![Untitled]()
然后在右侧点击按钮
-
+![Untitled]()
触发后你可以选择背景色以及要不要带上 arc 浏览器的水印
-
+![Untitled]()
最终效果
-
+![Untitled]()
diff --git a/src/content/note/实现一个auto slugify.md b/src/content/note/实现一个auto slugify.md
index 7df10a2..968ec5d 100644
--- a/src/content/note/实现一个auto slugify.md
+++ b/src/content/note/实现一个auto slugify.md
@@ -16,15 +16,15 @@ rinId: 65
category: 项目
toAstro: true
date_created: 2024-12-02T03:03:24.000Z
-date_modified: 2025-01-22T05:39:24.000Z
+date_modified: 2025-02-19T03:43:53.000Z
---
# Auto Slugify Webapp
-[demo](https://slugify.kazoottt.top/)
+[demo]()
-
+![image]()
based on
-[auto-slugify](https://github.com/kzttools/auto-slugify)
+[auto-slugify]()
diff --git a/src/content/note/对于a标签的download属性.md b/src/content/note/对于a标签的download属性.md
index 8f32a83..931d203 100644
--- a/src/content/note/对于a标签的download属性.md
+++ b/src/content/note/对于a标签的download属性.md
@@ -14,14 +14,14 @@ slug: the-download-attribute-for-the-a-tag
description: download属性是如何定义的以及注意事项。 不能设置为null,可以直接设置成空串或者null。
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
## 对于 a 标签的 download 属性
-
+![image.png]()
-[\: The Anchor element - HTML: HyperText Markup Language | MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a)
+[\: The Anchor element - HTML: HyperText Markup Language | MDN]()
---
@@ -44,7 +44,7 @@ console.log(temp1.download); // 输出 undefined
但是如果先设置了 download = '', 再设置 download = null, 就会被转化为 'null'
-
+![image.png]()
所以要么直接设置 download = null,要么直接设置 download = ''
diff --git a/src/content/note/小红书长文切图笔记?其实 craft 就可以实现。.md b/src/content/note/小红书长文切图笔记?其实 craft 就可以实现。.md
index 072af51..673bbb6 100644
--- a/src/content/note/小红书长文切图笔记?其实 craft 就可以实现。.md
+++ b/src/content/note/小红书长文切图笔记?其实 craft 就可以实现。.md
@@ -13,27 +13,27 @@ description: null
toAstro: true
astroType: null
date_created: 2025-02-06T05:02:16.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
访问 craft.do,登录后在右上角新建 doc ,复制你要切图的长文内容到里面去。 (如果你创建数量达到上限,可以打开一个老的文档替换你新的内容)
-
+![IMG-4A2263AE049DF9303F93F37EFCE8C9A4]()
点击右上角的 share - export - image 按钮,开启图片导出。
-
+![IMG-B479DBAD1C6B3C040B769DA8188B31EA]()
调整一下样式,检查没有问题后可以点击左下角的 save image 进行导出。
-
+![IMG-5A38B60FA4C5B7998BA40F6CA64BA8B6]()
最终效果预览:
图片 1:
-
+![IMG-965BBD8CA64A9C809E7B6B3D23E77044]()
图片 2:
-
+![IMG-8F2DC02EF85889CCEF25F30E68FC6DF5]()
diff --git a/src/content/note/屏蔽推特黄推.md b/src/content/note/屏蔽推特黄推.md
index 793822c..d82f0b6 100644
--- a/src/content/note/屏蔽推特黄推.md
+++ b/src/content/note/屏蔽推特黄推.md
@@ -15,13 +15,13 @@ description: >-
推荐一个GitHub项目:daymade/Twitter-Block-Porn,该项目提供共享黑名单,可以一键拉黑所有发送假色情评论的诈骗账号,有效提升使用Twitter的体验。此方法比仅在网页上隐藏更有效,因为一旦拉黑,无论在手机端还是网页端,相关内容都会消失。
rinId: 80
date_created: 2025-01-04T03:34:08.000Z
-date_modified: 2025-01-22T05:29:40.000Z
+date_modified: 2025-02-19T03:44:14.000Z
toAstro: true
---
# 屏蔽推特黄推
-[GitHub - daymade/Twitter-Block-Porn: 共享黑名单, 一键拉黑所有黄推诈骗犯. Block scammers who sending fake porn comments, and help you improve your experience using Twitter.](https://github.com/daymade/Twitter-Block-Porn)
+[GitHub - daymade/Twitter-Block-Porn: 共享黑名单, 一键拉黑所有黄推诈骗犯. Block scammers who sending fake porn comments, and help you improve your experience using Twitter.]()
比仅在网页上隐藏好使,这个是直接 block 之后手机和网页端都会消失
-
+![IMG-45EFC10972681E6F15A6C1944A81CD47]()
diff --git a/src/content/note/快速获取telegram chatId然后实现消息通知的方法.md b/src/content/note/快速获取telegram chatId然后实现消息通知的方法.md
index b285b2d..e0680ba 100644
--- a/src/content/note/快速获取telegram chatId然后实现消息通知的方法.md
+++ b/src/content/note/快速获取telegram chatId然后实现消息通知的方法.md
@@ -16,11 +16,11 @@ rinId: 20
category: 前端
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
-date_modified: 2025-01-22T05:39:19.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# 快速获取 telegram chatId 然后实现消息通知的方法
1. 给 telegram 账户设置 username
-2. 搜索 [@RawDataBot](https://www.alphr.com/find-chat-id-telegram/),给它发送一条消息。它会返回账户相关的信息给你。格式如下:,chat.id 就是所需要的 chatId
-3. 然后就能结合 [telegram bot](https://api.telegram.org/)+ [apprise](https://github.com/caronc/apprise/wiki/Notify_telegram) 做消息通知了。
+2. 搜索 [@RawDataBot](),给它发送一条消息。它会返回账户相关的信息给你。格式如下:,chat.id 就是所需要的 chatId![Pasted image 20230914233217]()
+3. 然后就能结合 [telegram bot]()+ [apprise]() 做消息通知了。![Pasted image 20230914233337]()
diff --git a/src/content/note/我自己常用的ffmpeg批处理.md b/src/content/note/我自己常用的ffmpeg批处理.md
index 7acd831..d0b703a 100644
--- a/src/content/note/我自己常用的ffmpeg批处理.md
+++ b/src/content/note/我自己常用的ffmpeg批处理.md
@@ -15,7 +15,7 @@ slug: >-
description: 转换FLV格式的视频成HDDP,用于弹幕压制。使用FFmpeg来实现该功能,支持多个操作系统,如Windows和macOS。
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
-date_modified: 2025-01-22T05:39:19.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
## 720x1080 批量转 1920x1080(两边黑屏)
@@ -57,7 +57,7 @@ Get-ChildItem -Path $input_folder -Filter *.flv | ForEach-Object {
效果
-
+![image.png]()
## 弹幕压制
diff --git a/src/content/note/沉浸式翻译自定义OPENAI接口油猴脚本报错.md b/src/content/note/沉浸式翻译自定义OPENAI接口油猴脚本报错.md
index 87f6a82..4588e2f 100644
--- a/src/content/note/沉浸式翻译自定义OPENAI接口油猴脚本报错.md
+++ b/src/content/note/沉浸式翻译自定义OPENAI接口油猴脚本报错.md
@@ -17,12 +17,12 @@ rinId: 56
category: 软件
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# 沉浸式翻译自定义 OPENAI 接口油猴脚本报错
-
+![2024-05-21-14-49-20]()
我使用 oneapi 部署了我自己的服务,接入了 deepseek 作为翻译的模型。
@@ -33,21 +33,21 @@ date_modified: 2025-02-07T03:17:02.000Z
截图如下:
-
+![Pasted image 20240521143947]()
-
+![Pasted image 20240521144007]()
查询了一下:
`@conncet` 是油猴脚本一个 tag,作用是允许油猴脚本跨域请求对应的配置的域名
-[tampermonkey文档](https://www.tampermonkey.net/documentation.php#meta:connect)
+[tampermonkey文档]()
所以油猴脚本报错的解决方法是:
1. 手动地把对应的域名加上去
- 
+ ![Pasted image 20240521143957]()
2. 直接添加 `// @connect *`,这样后续也不会需要新增其他的配置了。
-3. 同理在油猴脚本的设置页面的用户域白名单新增对应的域名或者直接添加\* 
-4. 最后一种简单直接的解决方法是直接使用浏览器插件,我个人的猜测是他们配置了 [Match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) 为
- 
+3. 同理在油猴脚本的设置页面的用户域白名单新增对应的域名或者直接添加\* ![Pasted image 20240521145459]()
+4. 最后一种简单直接的解决方法是直接使用浏览器插件,我个人的猜测是他们配置了 [Match patterns]() 为
+ ![Pasted image 20240521144021]()
diff --git a/src/content/note/浏览器滚动恢复属性History.scrollRestoration.md b/src/content/note/浏览器滚动恢复属性History.scrollRestoration.md
index 5251bee..8726f30 100644
--- a/src/content/note/浏览器滚动恢复属性History.scrollRestoration.md
+++ b/src/content/note/浏览器滚动恢复属性History.scrollRestoration.md
@@ -1,5 +1,5 @@
---
-title: html | 浏览器滚动恢复属性History.scrollRestoration
+title: 浏览器滚动恢复属性History.scrollRestoration
date: 2022-11-27T00:00:00.000Z
author: KazooTTT
tags:
@@ -20,7 +20,7 @@ finished: true
category: 前端
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
## 后续 2024-05-23
@@ -46,15 +46,15 @@ useEffect(() => {
}, [])
```
-
+![Pasted image 20240523112741]()![Pasted image 20240523112936]()
-[Re-enable scroll restoration behind flag (#14046) · vercel/next.js@38bd1a0 · GitHub](https://github.com/vercel/next.js/commit/38bd1a024cb25923d8ea15f269a7294d073684d8)
+[Re-enable scroll restoration behind flag (#14046) · vercel/next.js@38bd1a0 · GitHub]()
# 浏览器滚动恢复属性 History.scrollRestoration
-[GitHub - reactjs/react.dev: The React documentation website](https://github.com/reactjs/react.dev)
+[GitHub - reactjs/react.dev: The React documentation website]()
-最近在阅读 React 新版官网的代码时,发现在 [\_app.tsx](https://github.com/reactjs/reactjs.org/blob/main/beta/src/pages/_app.tsx) 中有这样一段代码。
+最近在阅读 React 新版官网的代码时,发现在 [\_app.tsx]() 中有这样一段代码。
```typescript
useEffect(() => {
@@ -75,14 +75,14 @@ useEffect(() => {
这里用到了我没有接触过的一个属性 History.scrollRestoration,发现这个属性是用来控制页面刷新或者返回后是否滚动到原来的位置。
-[MDN 文档](https://developer.mozilla.org/zh-CN/docs/Web/API/History/scrollRestoration)
+[MDN 文档]()
属性的值:
1. auto 将恢复用户已滚动到的页面上的位置。
2. manual 未还原页上的位置。用户必须手动滚动到该位置。
-在 mdn 文档中没有看到 auto 是默认值,但是自己手动验证以及在 [google blog](https://developer.chrome.com/blog/history-api-scroll-restoration) 中提到:
+在 mdn 文档中没有看到 auto 是默认值,但是自己手动验证以及在 [google blog]() 中提到:
> The good news is, however, that there's a potential fix: history.scrollRestoration. It takes two string values: auto, which keeps everything as it is today (and is its default value), and manual, which means that you as the developer will take ownership of any scroll changes that may be required when a user traverses the app's history.
@@ -91,13 +91,13 @@ useEffect(() => {
## 举例
1. 如果 history.scrollRestoration = 'auto'; 自动回到原有位置。
- 
+ ![]()
2. 如果 history.scrollRestoration = 'manual'; 回到顶部。
- 
+ ![]()
## 在 react.dev (新版官网) 中为什么要使用 manual
这是因为这个项目用的 next.js,涉及到 ssr,可能出现页面还没渲染完就滚动到了之前的位置。(待补充例子。)
-可以看一下这篇文档 [Next.js 中怎么保持页面的滚动位置](https://juejin.cn/post/7141235243326898213)
+可以看一下这篇文档 [Next.js 中怎么保持页面的滚动位置]()
diff --git a/src/content/note/碎片-2025-02-14 15时00分 状态没变更?记录一次没阻止冒泡导致的bug.md b/src/content/note/碎片-2025-02-14 15时00分 状态没变更?记录一次没阻止冒泡导致的bug.md
index db0ed99..107b827 100644
--- a/src/content/note/碎片-2025-02-14 15时00分 状态没变更?记录一次没阻止冒泡导致的bug.md
+++ b/src/content/note/碎片-2025-02-14 15时00分 状态没变更?记录一次没阻止冒泡导致的bug.md
@@ -11,7 +11,7 @@ toAstro: true
astroType: null
category: 前端
date_created: 2025-02-14T07:10:55.000Z
-date_modified: 2025-02-14T08:05:06.000Z
+date_modified: 2025-02-19T03:44:07.000Z
excalidrawFile: '[[记录一次没阻止冒泡导致的bug.excalidraw]]'
---
diff --git a/src/content/note/管理python环境的方式.md b/src/content/note/管理python环境的方式.md
index b76d9ec..21a9c77 100644
--- a/src/content/note/管理python环境的方式.md
+++ b/src/content/note/管理python环境的方式.md
@@ -15,7 +15,7 @@ description: >-
category: 后端
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:16:07.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# 管理 python 环境的方式
@@ -30,13 +30,13 @@ date_modified: 2025-02-07T03:16:07.000Z
对于不同的项目,它们会用到不同的 python 版本,以及不同的依赖库和版本。如果只使用全局解释器,那么切换和维护起来会非常的麻烦且容易出错。面对这样的场景,虚拟环境是更优的选择。
-在官方文档中提到:[venv --- 创建虚拟环境 — Python 3.12.0 文档](https://docs.python.org/zh-cn/3/library/venv.html)
+在官方文档中提到:[venv --- 创建虚拟环境 — Python 3.12.0 文档]()
-> `venv` 模块支持创建轻量的“虚拟环境”,每个虚拟环境将拥有它们自己独立的安装在其 [`site`](https://docs.python.org/zh-cn/3/library/site.html#module-site "site: Module responsible for site-specific configuration.") 目录中的 Python 软件包集合。虚拟环境是在现有的 Python 安装版基础之上创建的,这被称为虚拟环境的“基础”Python,并且还可选择与基础环境中的软件包隔离开来,这样只有在虚拟环境中显式安装的软件包才是可用的。
+> `venv` 模块支持创建轻量的“虚拟环境”,每个虚拟环境将拥有它们自己独立的安装在其 [`site`]() 目录中的 Python 软件包集合。虚拟环境是在现有的 Python 安装版基础之上创建的,这被称为虚拟环境的“基础”Python,并且还可选择与基础环境中的软件包隔离开来,这样只有在虚拟环境中显式安装的软件包才是可用的。
那么虚拟环境的管理具体有哪些呢?
-
+![IMG-20240904002804460]()
我们从 pycharm 提供的解释器选项中能看出一二,pycharm 这里提供的都是比较主流的虚拟环境管理了。
1. venv(官方内置的模块)
@@ -52,7 +52,7 @@ date_modified: 2025-02-07T03:16:07.000Z
## 对于 Python 版本管理
使用 pyenv
-[GitHub - pyenv/pyenv: Simple Python version management](https://github.com/pyenv/pyenv)
+[GitHub - pyenv/pyenv: Simple Python version management]()
用来安装和切换 python 的版本
## 对于依赖管理
@@ -63,7 +63,7 @@ date_modified: 2025-02-07T03:16:07.000Z
### Poetry
-[Basic usage | Documentation | Poetry - Python dependency management and packaging made easy](https://python-poetry.org/docs/basic-usage/)
+[Basic usage | Documentation | Poetry - Python dependency management and packaging made easy]()
如果是一个新的项目
@@ -78,14 +78,14 @@ poetry init
```
然后使用 `poetry add 包名` 安装依赖
-也可以指定版本,[Dependency specification | Documentation | Poetry - Python dependency management and packaging made easy](https://python-poetry.org/docs/dependency-specification/)
+也可以指定版本,[Dependency specification | Documentation | Poetry - Python dependency management and packaging made easy]()
如果要导出 requirements 方便别人安装可以运行
`poetry export -o requirements.txt`
### Virtualenv
-[virtualenv](https://virtualenv.pypa.io/en/latest/)
+[virtualenv]()
创建虚拟环境
``virtualenv env_name
@@ -102,7 +102,7 @@ poetry init
### Conda
-[请问大神们,pip install 和 conda install 有什么区别吗? - 知乎](https://www.zhihu.com/question/395145313/answer/2449421755)
+[请问大神们,pip install 和 conda install 有什么区别吗? - 知乎]()
conda 用来作为虚拟环境管理的话,不建议 pip 和 conda 混用,需要了解一下 import 优先级。
如果都安装了某一个包,那么优先 import 的是 conda 安装的
diff --git a/src/content/note/网页端判断是什么系统,从而显示不同的组件。.md b/src/content/note/网页端判断是什么系统,从而显示不同的组件。.md
index 3400ad7..e308574 100644
--- a/src/content/note/网页端判断是什么系统,从而显示不同的组件。.md
+++ b/src/content/note/网页端判断是什么系统,从而显示不同的组件。.md
@@ -14,16 +14,16 @@ published: true
category: null
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
看到 b 站投稿页的右上角有一个下载投稿工具的按钮。
-
+![image.png]()
点了之后发现是.exe 文件,而我的电脑是 macos 的系统。所以这次的下载算是无效操作。
-
+![image.png]()
体验要做的更好一点的话,应该根据系统来显示不同的组件。(在这里如果不是 windows,就不要显示 exe 相关的文件夹下载)
@@ -53,6 +53,6 @@ userAgent 的例子:
## 参考
-[User-Agent - HTTP \| MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent)
+[User-Agent - HTTP \| MDN]()
-[What are the latest user agents for popular web browsers?](https://www.whatismybrowser.com/guides/the-latest-user-agent/)
+[What are the latest user agents for popular web browsers?]()
diff --git a/src/content/note/记录一次滴滴打车维权.md b/src/content/note/记录一次滴滴打车维权.md
index 6bc8a74..044e209 100644
--- a/src/content/note/记录一次滴滴打车维权.md
+++ b/src/content/note/记录一次滴滴打车维权.md
@@ -1,6 +1,6 @@
---
date_created: 2025-02-03T09:06:38.000Z
-date_modified: 2025-02-08T02:24:57.000Z
+date_modified: 2025-02-19T03:44:14.000Z
title: 记录一次滴滴打车维权
date: 2025-02-03T00:00:00.000Z
author: KazooTTT
@@ -27,7 +27,7 @@ banner: 'https://pictures.kazoottt.top/2025/02/20250203-og-1738405499055.png'
于是在小红书发了求助的帖子,寻求一些解决办法。
-
+![alt text]()
回复中提到:可以通过 12328 投诉多收费,于是我在微信小程序上发起了投诉,他们很快就有人打电话过来确认情况。
diff --git a/src/content/note/试试action5 pro推流到本地rtmp和有线连接的效果.md b/src/content/note/试试action5 pro推流到本地rtmp和有线连接的效果.md
index 84fbb54..a2e9374 100644
--- a/src/content/note/试试action5 pro推流到本地rtmp和有线连接的效果.md
+++ b/src/content/note/试试action5 pro推流到本地rtmp和有线连接的效果.md
@@ -8,7 +8,7 @@ tags:
- dji
- action5pro
date_created: 2025-02-06T04:04:03.000Z
-date_modified: 2025-02-07T03:17:02.000Z
+date_modified: 2025-02-19T03:44:14.000Z
date: 2025-02-06T00:00:00.000Z
author: KazooTTT
type: Post
@@ -23,7 +23,7 @@ astroType: null
b 站:
-[试试action5 pro推流到本地rtmp和有线连接的效果](https://www.bilibili.com/video/BV13L17YdE9f/)
+[试试action5 pro推流到本地rtmp和有线连接的效果]()
youtube:
diff --git a/src/content/note/配置nginx以成功代理websocket.md b/src/content/note/配置nginx以成功代理websocket.md
index 050a0b0..cb47622 100644
--- a/src/content/note/配置nginx以成功代理websocket.md
+++ b/src/content/note/配置nginx以成功代理websocket.md
@@ -17,7 +17,7 @@ status: Published
category: null
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-01-22T05:40:14.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
# 配置 nginx 以成功代理 websocket
@@ -28,11 +28,11 @@ date_modified: 2025-01-22T05:40:14.000Z
相关的类似的问题:
-[https://github.com/websockets/ws/issues/979](https://github.com/websockets/ws/issues/979)
+[https://github.com/websockets/ws/issues/979]()
nginx 官方文档提到的解决方法:
-[WebSocket proxying](https://nginx.org/en/docs/http/websocket.html)
+[WebSocket proxying]()
需要注意的是:
diff --git a/src/content/note/链接样式需要遵循LVHA顺序的原因.md b/src/content/note/链接样式需要遵循LVHA顺序的原因.md
index 923aa47..6365bc2 100644
--- a/src/content/note/链接样式需要遵循LVHA顺序的原因.md
+++ b/src/content/note/链接样式需要遵循LVHA顺序的原因.md
@@ -1,5 +1,5 @@
---
-title: CSS | 链接样式需要遵循LVHA顺序的原因
+title: 链接样式需要遵循LVHA顺序的原因
date: 2021-07-23T00:00:00.000Z
author: KazooTTT
tags:
@@ -16,7 +16,7 @@ NotionID-notionnext: 'https://kazoottt.notion.site/d4aa37afdc8147d89869d67ebb5b4
category: 前端
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
-date_modified: 2025-02-07T03:25:34.000Z
+date_modified: 2025-02-19T03:44:15.000Z
---
# 链接样式需要遵循 LVHA 顺序的原因
diff --git a/src/content/post/2023 厦门探店合集.md b/src/content/post/2023 厦门探店合集.md
index a1fca7f..c573933 100644
--- a/src/content/post/2023 厦门探店合集.md
+++ b/src/content/post/2023 厦门探店合集.md
@@ -1,5 +1,5 @@
---
-title: 厦门探店合集
+title: 2023 厦门探店合集
date: 2024-02-22T00:00:00.000Z
author: KazooTTT
tags:
@@ -18,7 +18,7 @@ category: 旅行
toAstro: true
astroType: post
date_created: 2024-12-02T03:03:22.000Z
-date_modified: 2025-02-07T03:17:03.000Z
+date_modified: 2025-02-19T03:44:14.000Z
---
## 奶茶与咖啡
@@ -29,105 +29,105 @@ date_modified: 2025-02-07T03:17:03.000Z
什么时候开到上海啊,还想再喝一次。
-
+![k27h5]()
### 野台风
-
+![93jpx]()
我点的是圆规和 dirty,圆规没有什么咖啡的味道,对于不习惯喝咖啡的人来说,接受度应该也比较高。搭配柿子和西柚,整体是甜的。
-
+![b8e86]()
-
+![szoz1]()
这是我点的 dirty,这个杯子还挺好看的种草,味道口感没有特别的。因此建议去的话,直接点特调就好了。
-
+![t7og1]()
小姐姐还送了我们每人一小杯凤梨酥。
-
+![yfsfo]()
---
别的朋友点的,
-
+![t62f8]()
-
+![jui3a]()
-
+![kownc]()
-
+![jcqqm]()
-
+![p3njg]()
-
+![u246p]()
店里的音箱是 marshall,还有卖的器具。
-
+![hu77j]()
### Seven Bus
去了 seven bus,点的是杏仁牛油果冰淇士。
-
+![ew53g]()
## 正餐
### 野草莓
-
+![yle1e]()
-
+![f7b3m]()
-
+![fafh4]()
-
+![7d2du]()
野草莓确实是好吃不贵,性价比超级高。
### 宴遇 1/2
-
+![k6qd7]()
酸菜鱼,没有什么刺,对于我这种不会吃鱼的人来说很友好。
-
+![96zi3]()
火焰黑椒安格斯小牛肉,上菜时会喷一下火,挺炫酷的。
-
+![exp2d]()
东山小管
-
+![7z7la]()
大红袍鲜奶布丁,口感很巧妙,好吃!
-
+![nr6ck]()
忘了这是什么
-
+![kymci]()
土笋冻,之前看别人对于土笋冻的反馈有些两极分化?但实际上吃的时候感觉接受度还挺高的。一口吃下去,觉得口感像果冻?味道也不错。
-
+![hlzr7]()
姜母鸭,好吃好吃,很香,吃到后面把姜也挑出来吃掉了。还想再吃一次。
-
+![bgtpm]()
好像是什么芋头。
-
+![b1y3r]()
来个全景
-
+![to2ts]()
感觉都挺好吃的,特别喜欢的是鲜奶布丁和姜母鸭。第一次体验博饼,最后中的里面都是鲜奶布丁 hhh。
@@ -135,19 +135,19 @@ date_modified: 2025-02-07T03:17:03.000Z
然后去了叽叽扎扎烤肉,由于路程太堵,打车速度极慢,我们选择了骑车前往(感觉我们的技术都还不错 hhh)小插曲是 73 的手机没电了,然后在快要到店里的时候走了另一条路,我们以为她跟丢了然后分头去找,没想到她在没有导航的情况下直接到了店里,强!
-
+![nuwxv]()
-
+![kwvzd]()
-
+![e2blg]()
烟熏咖啡和牛
-
+![q6u8q]()
水果小牛排
-
+![g77yu](