Update docs and sort content

This commit is contained in:
github-actions[bot]
2024-12-02 03:09:01 +00:00
parent b6a16f8dfd
commit d53a5dcb51
135 changed files with 1035 additions and 115 deletions

View File

@ -26,6 +26,7 @@ link-notionnext: >-
https://kazoottt.notion.site/Possible-Causes-and-Solutions-for-Focusee-Switching-System-Audio-to-Speaker-Playback-forcibly-80f19b4cd20745a0bbbb39641a9dc330
rinId: 39
category: englishWriting
toAstro: true
---
# Possible Causes and Solutions for Focusee Switching System Audio to Speaker Playback Forcibly

View File

@ -14,10 +14,15 @@ finished: true
published: true
category: englishWriting
slug: focusee-macos-review-en
description: An analysis of Focusee's shortcomings on macOS, including severe color discrepancies, slow export speed, and sound card configuration conflicts, along with the author's refund experience.
description: >-
An analysis of Focusee's shortcomings on macOS, including severe color
discrepancies, slow export speed, and sound card configuration conflicts,
along with the author's refund experience.
NotionID-notionnext: c692f30c-bcbc-48fd-9739-19e23a3e1e40
link-notionnext: https://kazoottt.notion.site/Reasons-Not-to-Recommend-Purchasing-Focusee-for-macOS-Users-c692f30cbcbc48fd973919e23a3e1e40
link-notionnext: >-
https://kazoottt.notion.site/Reasons-Not-to-Recommend-Purchasing-Focusee-for-macOS-Users-c692f30cbcbc48fd973919e23a3e1e40
rinId: 40
toAstro: true
---
# Reasons Not to Recommend Purchasing Focusee for macOS Users

View File

@ -19,6 +19,7 @@ NotionID-notionnext: 96e4d436-6fd9-4fec-865c-ac2d80b06be0
link-notionnext: 'https://kazoottt.notion.site/open-graph-intro-96e4d4366fd94fec865cac2d80b06be0'
rinId: 17
category: englishWriting
toAstro: true
---
``

View File

@ -1,7 +1,7 @@
---
title: 2023-02-11 星期六
slug: diary-2023-02-11
date: 2023-02-11T00:00:00.000Z
date: 2023-02-11
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-02-21 星期二
slug: diary-2023-02-21
date: 2023-02-21T00:00:00.000Z
date: 2023-02-21
author: KazooTTT
tags:
- 日记
@ -9,7 +9,7 @@ published: true
description: >-
在2023年2月21日的内容中讨论了数组元素索引为何从0开始编号的问题。根据地址计算公式索引实际上代表了内存地址的偏移量首个元素的地址偏移量为0因此索引从0开始是合理的。文章中还提供了一张图示进一步解释了这一概念。
rinId: 23
toAstro: true
toAstro: false
category: 日记-2023-02
---

View File

@ -1,7 +1,7 @@
---
title: 2023-09-08 星期五
slug: diary-2023-09-08
date: 2023-09-08T00:00:00.000Z
date: 2023-09-08
author: KazooTTT
tags:
- 日记
@ -23,7 +23,3 @@ category: 日记-2023-09
> 不需要 背负任何
> 只需要空行囊和彼此就够
不再用 背负任何
只需要 空行囊和彼此就够

View File

@ -1,7 +1,7 @@
---
title: 2023-09-09 星期六
slug: diary-2023-09-09
date: 2023-09-09T00:00:00.000Z
date: 2023-09-09
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-09-10 星期日
slug: diary-2023-09-10
date: 2023-09-10T00:00:00.000Z
date: 2023-09-10
author: KazooTTT
tags:
- 日记

View File

@ -21,8 +21,7 @@ description: >-
home using an elliptical machine. They also considered upgrading their
smartwatch as it was no longer compatible with the latest watch face market
updates.
toAstro: true
category: 日记-2023-09
---

View File

@ -1,7 +1,7 @@
---
title: 2023-09-14 星期四
slug: diary-2023-09-14
date: 2023-09-14T00:00:00.000Z
date: 2023-09-14
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-09-15 星期五
slug: diary-2023-09-15
date: 2023-09-15T00:00:00.000Z
date: 2023-09-15
author: KazooTTT
tags:
- 日记

View File

@ -9,8 +9,7 @@ tags:
published: true
description: >-
2023年9月17日个人日记记录了当天的活动和任务。白天主要在休息晚上进行了健身活动包括30分钟的椭圆机训练和30分钟的器械训练。健身后回家泡脚并在此期间编写了一个油猴脚本用于直播间管理增强已完成弹窗样式修改和response拦截及第一页数据填充后续计划实现滚动加载后的数据填充。此外还记录了两个待处理的事项屏蔽推特黄推和使用shot.so进行图片美化。
toAstro: true
category: 日记-2023-09
---

View File

@ -1,7 +1,7 @@
---
title: 2023-09-24 星期日
slug: diary-2023-09-24
date: 2023-09-24T00:00:00.000Z
date: 2023-09-24
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-10-06 星期五
slug: diary-2023-10-06
date: 2023-10-06T00:00:00.000Z
date: 2023-10-06
author: KazooTTT
tags:
- 日记

View File

@ -1,13 +1,13 @@
---
title: 2023-10-07 星期六
slug: diary-2023-10-07
date: 2023-10-07T00:00:00.000Z
date: 2023-10-07
author: KazooTTT
tags:
- 日记
published: true
description: 2023年10月7日星期六的计划包括国庆期间的厦门和杭州旅行以及当天的打卡和待办事项。
toAstro: true
toAstro: false
category: 日记-2023-10
---

View File

@ -1,7 +1,7 @@
---
title: 2023-10-10 星期二
slug: diary-2023-10-10
date: 2023-10-10T00:00:00.000Z
date: 2023-10-10
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-10-18 星期三
slug: diary-2023-10-18
date: 2023-10-18T00:00:00.000Z
date: 2023-10-18
author: KazooTTT
tags:
- 日记

View File

@ -1,13 +1,13 @@
---
title: 2023-10-19 星期四
slug: diary-2023-10-19
date: 2023-10-19T00:00:00.000Z
date: 2023-10-19
author: KazooTTT
tags:
- 日记
published: true
description: 2023年10月19日星期四的日程包括发布xlsx util工具包该工具能够根据输入的列索引返回如A、B等实际列名。此外还包括打卡和处理inbox事项。
toAstro: true
toAstro: false
category: 日记-2023-10
---

View File

@ -1,7 +1,7 @@
---
title: 2023-10-21 星期六
slug: diary-2023-10-21
date: 2023-10-21T00:00:00.000Z
date: 2023-10-21
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-10-22 星期日
slug: diary-2023-10-22
date: 2023-10-22T00:00:00.000Z
date: 2023-10-22
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-10-28 星期六
slug: diary-2023-10-28
date: 2023-10-28T00:00:00.000Z
date: 2023-10-28
author: KazooTTT
tags:
- 日记
@ -9,7 +9,7 @@ published: true
description: >-
Today's schedule includes learning from the dom-to-image topic, with a note on
weread content in the inbox.
toAstro: true
toAstro: false
category: 日记-2023-10
---

View File

@ -1,7 +1,7 @@
---
title: 2023-11-06 星期一
slug: diary-2023-11-06
date: 2023-11-06T00:00:00.000Z
date: 2023-11-06
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-11-16 星期四
slug: diary-2023-11-16
date: 2023-11-16T00:00:00.000Z
date: 2023-11-16
author: KazooTTT
tags:
- 日记

View File

@ -1,7 +1,7 @@
---
title: 2023-11-17 星期五
slug: diary-2023-11-17
date: 2023-11-17T00:00:00.000Z
date: 2023-11-17
author: KazooTTT
tags:
- 日记

View File

@ -9,8 +9,7 @@ description: >-
今天的主要任务包括完成Python学习至day15和刷题已完成的任务有Python学习和刷题。未完成的任务包括整理周一和周二的资讯、进行多线程批量测试、解决Python的AttributeError问题以及JetBrains
IDE的terminal无法打开问题。此外还帮助前部门面试了一位前端候选人。明天计划继续处理未完成的任务并记录了2024年3月5日的文件路径信息。
published: true
toAstro: true
category: 日记-2024-03
---

View File

@ -10,8 +10,7 @@ description: >-
request其中autogen的请求已被合并。同时开通了notion
ai并迁移了部分本地内容到博客上。此外收到了购买的时尚小物品感到非常满意。遗憾的是今天没有进行学习和刷题。计划早点休息为明天做准备。
published: true
toAstro: true
category: 日记-2024-03
---

View File

@ -8,8 +8,11 @@ tags:
- 日记
- milklove
- 幸福的具象化
description: 今天是milklove宣布二搭、三搭的日子。根据截图牛奶爱情已经发展到了很幸福的阶段。有许多视频和 GIFs 表示了他们之间的亲密度和甜蜜。虽然没有具体详细信息但可以看出这对人是非常恩爱的。在这里汇总了一些关键的视频和截图展示了milklove的幸福感和关怀。
description: >-
今天是milklove宣布二搭、三搭的日子。根据截图牛奶爱情已经发展到了很幸福的阶段。有许多视频和 GIFs
表示了他们之间的亲密度和甜蜜。虽然没有具体详细信息但可以看出这对人是非常恩爱的。在这里汇总了一些关键的视频和截图展示了milklove的幸福感和关怀。
published: true
toAstro: true
category: 日记-2024-11
---

View File

@ -6,8 +6,12 @@ day_of_week: 星期三
author: KazooTTT
tags:
- 日记
description: windsurf 赠送了试用的天数,个人发现 windsurf 的 cursor 自动补全速度比其他软件快且更智能。然而volview 中的 store 信息难以理解,而 Crop2D.vue 的文件内容未能解释明了。此外,安装 canvas 时遇到错误,需要参考 node-canvas 的 Windows 安装指导解决问题。
description: >-
windsurf 赠送了试用的天数,个人发现 windsurf 的 cursor 自动补全速度比其他软件快且更智能。然而volview 中的 store
信息难以理解,而 Crop2D.vue 的文件内容未能解释明了。此外,安装 canvas 时遇到错误,需要参考 node-canvas 的 Windows
安装指导解决问题。
published: true
toAstro: true
category: 日记-2024-11
---

View File

@ -6,8 +6,13 @@ day_of_week: 星期四
author: KazooTTT
tags:
- 日记
description: 'VSCode加速设置可以提高你的开发效率尤其是对于低端显卡或者集成显卡的机器。打开 VSCode命令面板输入 "Preferences: Configure Runtime Arguments"然后添加“disable-hardware-acceleration”true实验发现它确实有助于提高工作效率。但是如果你的 SonarLint 占用内存过高,就会导致卡顿问题。此外,你还遇到了 vite-plugin-checker 的错误,解决方法是安装或重新安装 uv。'
description: >-
VSCode加速设置可以提高你的开发效率尤其是对于低端显卡或者集成显卡的机器。打开 VSCode命令面板输入 "Preferences:
Configure Runtime
Arguments"然后添加“disable-hardware-acceleration”true实验发现它确实有助于提高工作效率。但是如果你的
SonarLint 占用内存过高,就会导致卡顿问题。此外,你还遇到了 vite-plugin-checker 的错误,解决方法是安装或重新安装 uv。
published: true
toAstro: true
category: 日记-2024-11
---

View File

@ -5,9 +5,10 @@ day_of_week: 星期五
author: KazooTTT
tags:
- 日记
description:
description: null
slug: diary-2024-11-29
published: true
toAstro: true
category: 日记-2024-11
---
@ -31,7 +32,7 @@ covnert image to svg (需要登录)
> [!note]
> 选择哪种渲染器,我们可以根据软硬件环境、数据量、功能需求综合考虑。
>
>
> - 在软硬件环境较好,数据量不大的场景下,两种渲染器都可以适用,并不需要太多纠结。
> - 在环境较差,出现性能问题需要优化的场景下,可以通过试验来确定使用哪种渲染器。比如有这些经验:
> - 在需要创建很多 ECharts 实例且浏览器易崩溃的情况下(可能是因为 Canvas 数量多导致内存占用超出手机承受能力),可以使用 SVG 渲染器来进行改善。大略的说,如果图表运行在低端安卓机,或者我们在使用一些特定图表如 [水球图](https://ecomfe.github.io/echarts-liquidfill/example/) SVG 渲染器可能效果更好。

View File

@ -1,6 +1,6 @@
---
title: 2024-11-30 星期六
date: 2024-11-30T00:00:00.000Z
date: 2024-11-30
day_of_week: 星期六
author: KazooTTT
tags:
@ -15,7 +15,6 @@ vscode extention启动时间
按下 Ctrl+Shift+PWindows/Linux或 Cmd+Shift+PmacOS输入 “Startup Performance” 并选择该选项。 关注Finish Activate
kill 端口为x的进程
```

View File

@ -13,6 +13,7 @@ description: >-
Systems、自动生成视觉内容的BannerBear、OpenAI的语音识别模型以及一个帮助规划和构建设计系统的开源清单。这些内容展示了技术界在编辑工具、设计系统和AI应用方面的最新进展和创新。
rinId: 83
finished: true
toAstro: true
---
# 2023-W10

View File

@ -16,6 +16,7 @@ description: >-
本内容涵盖了2023年第11周2023-03-12至2023-03-19的技术和设计资源主要来源于GitHub、Twitter、微博和B站。其中包括了沉浸式双语网页翻译扩展和隐藏Twitter信息的油猴脚本等浏览器插件。此外还介绍了基于GPT-4的代码编写工具Cursor、ChatGPT相关的资料汇总和Telegram机器人等。设计方面提到了Figma结合GPT的设计工具、柔和主题库Catppuccin以及一些设计教程和素材资源。整体内容丰富涉及多个领域的最新技术动态和实用工具。
rinId: 84
finished: true
toAstro: true
---
# 2023-W11

View File

@ -12,6 +12,7 @@ description: >-
2023年第45周的记录包括个人生活、技术资源和周围事件的摘要。个人方面与cali老师在小红书上互相关注。技术资源方面收集了多个有用的链接和工具如3D博客、树结构控制库、项目变现讨论、社交媒体GPT工具、web3课程、WebWorkers库、SaaS模板、Windows字体优化、node开箱即用模板、播客推荐等。此外记录了阿里云服务宕机事件影响了阿里系服务的使用。
rinId: 85
finished: true
toAstro: true
---
# 2023-W45 平淡的一周

View File

@ -12,6 +12,7 @@ description: >-
在2023年第46周我开始认真学习理财知识并办理了港澳通行证计划去香港开户。同时我也开始了区块链和Solidity的学习尽管错过了第一节课。工作忙碌导致学习时间减少但减少了社交平台的接触反而减轻了焦虑。我主要使用X和小红书并尝试使用tailwindcss制作投稿封面。此外我还购买了一个二手饼干头用我的gx9相机记录生活并发现了一家新开的冒菜店感觉非常亲切。在资讯收集方面我关注了web3相关的学习笔记以及其他技术相关的资讯如JavaScript练习网站、AB测试解决方案、远程开发者工作网站等。我还关注了一些技术发布和推荐如blender4.0、腾讯的2D图形库ftgx、字体推荐等。此外我还收集了一些关于产品变现、iOS开发选型、错误处理等方面的信息。
rinId: 86
finished: true
toAstro: true
---
# 2023-W46 开始接触理财和 Web3 2023-11-19

View File

@ -23,6 +23,7 @@ tags:
- react
- stockcharts
- Obsidian
toAstro: true
---
# 2023-W48 转岗了

View File

@ -22,6 +22,7 @@ description: >-
iPhones。这些资源和工具涵盖了从开发到设计的多个方面旨在为技术爱好者和专业人士提供丰富的学习和参考材料。
rinId: 88
finished: true
toAstro: true
---
# 2024-W02

View File

@ -25,6 +25,7 @@ tags:
- application scene
- scene
- application
toAstro: true
---
[[2024-W03]]

View File

@ -20,6 +20,7 @@ tags:
- 输入法
- 知识库
- 画图
toAstro: true
---
# 2024-W03-应用推荐篇

View File

@ -17,6 +17,7 @@ tags:
- action书
- App流量生态
- 网络安全,信息聚合
toAstro: true
---
# 2024-W03-推荐阅读篇

View File

@ -23,6 +23,7 @@ tags:
- bento
- node
- gameboy style portfolio
toAstro: true
---
# 2024-W03 编程篇

View File

@ -14,6 +14,7 @@ tags:
- 设计logo
- blender
- svg
toAstro: true
---
# 2024-W03-设计篇

View File

@ -31,6 +31,7 @@ tags:
- ffmpeg
- hackernews
- chase-trend
toAstro: true
---
# 2024-W03

View File

@ -14,6 +14,7 @@ link-notionnext: 'https://kazoottt.notion.site/2024-W08-61b4cedd4f3446508926c025
description: >-
在2024年第8周推荐两款实用的软件AltTab和Tickeys。AltTab是一款可以替代macOS默认切换窗口功能的软件提供更便捷舒适的体验。Tickeys则是一款为打字添加炫酷音效的软件让打字体验更加有趣。
rinId: 82
toAstro: true
---
# 2024-W08 推荐一些软件

View File

@ -28,6 +28,7 @@ create_time: '2024/4/12 20:41:55'
update_time: '2024/4/12 20:47:54'
publish_time: '2024/4/12 20:46:23'
rinId: 95
toAstro: true
---
![2024-04-12-15-10-01](https://pictures.kazoottt.top/2024/04/20240412-d7632ca728747ee491faa035cbb8fef3.webp)

View File

@ -20,6 +20,7 @@ description: >-
NotionID-notionnext: 6fda550f-4dcb-4f15-bbc6-38ef98227143
link-notionnext: 'https://kazoottt.notion.site/2024-W16-6fda550f4dcb4f15bbc638ef98227143'
rinId: 96
toAstro: true
---
![2024-04-20-19-19-39 (1)](https://pictures.kazoottt.top/2024/04/20240420-5449c27ccc85a12d0a1446f35d2c0cbd.jpeg)

View File

@ -17,6 +17,7 @@ description: >-
PlaygroundPerplexity提供了企业会员和企业定制服务。此外还有多个教程和资料推荐如Llama
3的微调教程和大规模预训练语言模型的理论基础。这些更新和资源为AI领域的研究者和开发者提供了丰富的工具和知识。
rinId: 97
toAstro: true
---
日期范围2024/04/22 - 2024/04/28

View File

@ -1,6 +1,6 @@
---
title: 2024-W19
date: 2024-04-12T00:00:00.000Z
date: 2024-04-12
author: KazooTTT
type: Post
status: Draft

View File

@ -14,6 +14,7 @@ description: >-
最近的周报 finally
出现了。端午去广州过节,感受了中秋节的热闹氛围。同时,工作也取得了一些进展,发出了年终奖,并在工作相关项目上取得了一些重要的成就,包括 Gemini
上下文缓存功能和 Claude 3.5 Sonnet 的发布。
toAstro: true
---
日期范围2024/06/17 - 2024/06/23

View File

@ -12,6 +12,7 @@ description: >-
在2020年度作者经历了一系列的学习和实习经历。6月参与省级大创7月获得中国高校微信小程序应用开发赛西南赛区三等奖并在上海某金融科技公司担任产品经理实习生。8月荣获中国大学生计算机设计大赛国家级二等奖并参与了中国好声音的录制。9月后回到成都在一家教育公司担任web前端开发工程师实习生。作者最初选择工作而非考研对前端开发有浓厚兴趣尽管在实习过程中曾尝试产品管理但最终决定回归前端开发。10月拒绝了国企的offer选择在教育科技公司继续实习使用Vue框架。作者计划在2021年继续提升技术并希望获得满意的offer同时计划学习电吉他、画画和MMD。
rinId: 32
finished: true
toAstro: true
category: 日记-年报
---

View File

@ -12,6 +12,7 @@ description: >-
在Y2-2021年度总结中作者回顾了一年的重要事件和个人成长。年初意外成为主播房管随后经历了上海长达六个月的封控期间在家办公并感受到工作瓶颈。作者反思了自己的工作方式意识到需要更深入的调研和思考。此外作者还提到了部门的大变动包括人员离职和裁员以及自己对技术积累的不足。在个人生活方面作者购买了一些产品如Mac触控板和松下GX9相机同时也出售了一些不再使用的物品。最后作者总结了去年的计划完成情况并设定了新一年的目标包括找到成都的工作机会和继续学习设计技能。
rinId: 33
finished: true
toAstro: true
category: 日记-年报
---

View File

@ -12,6 +12,7 @@ description: >-
在Y3-2022年度总结中作者回顾了一年的经历和感受。年初意外成为主播房管随后经历了上海长达六个月的封控期间在家办公感受到了工作和个人生活的压力。作者反思了自己的工作方式意识到需要更深入的调研和思考以及在遇到困难时及时寻求帮助。此外作者提到了部门的大变动包括人员离职和裁员以及对技术发展的担忧。在个人成长方面作者感到自己过于在意他人看法正在努力改善这一心理状态。产品方面作者购买了一些电子产品和健身设备但也有部分产品因各种原因被出售。最后作者总结了去年的计划完成情况并设定了新一年的目标包括找到成都的工作机会完成主站重构项目继续学习设计和UI/UX等。
rinId: 34
finished: true
toAstro: true
category: 日记-年报
---

View File

@ -3,7 +3,7 @@ title: Y4-2023年度总结
date: 2024-01-07
author: KazooTTT
tags:
- "2023"
- '2023'
- 2023年度总结
published: true
slug: summary-of-fy2023
@ -11,6 +11,7 @@ description: >-
2023年个人总结作者回顾了一年的重要事件包括参加aigc比赛、第二次去bw、厦门之旅以及转岗开始AI
Agent的研究与开发。在这一年中作者还开始担任面试官并参与其他公司的面试体验了面试的双重角色。技术方面作者的GitHub热力图逐渐变绿参与了多个开源项目并与朋友一起参加了AI相关的比赛获得了奖项和奖金。此外作者还分享了技术栈的偏向性包括前端使用nextjs后端使用nextjs/flask设计使用figma和canva。最后作者总结了去年的目标完成情况并设定了新一年的计划包括继续学习blender、每周至少产出一次技术向内容等。
finished: true
toAstro: true
category: 日记-年报
---

View File

@ -3,13 +3,15 @@ title: 2023 bw汇报
date: 2024-01-07
author: KazooTTT
tags:
- "2023"
- '2023'
- bw
- hanser
published: true
slug: bw2023
description: 本文详细记录了作者在2023年参加BW活动的经历从20号到23号的活动日程包括与队友的互动、周边包装、场地布置、直播观看以及与粉丝的交流等。文章中穿插了作者的个人感受和对活动的反思展现了从懵懂到逐渐融入圈子的成长过程以及对未来职业选择的思考。此外还提到了与队友的友情和团队合作的重要性以及活动结束后的情感落差和回忆。整体上这是一篇充满情感和细节的活动回顾。
description: >-
本文详细记录了作者在2023年参加BW活动的经历从20号到23号的活动日程包括与队友的互动、周边包装、场地布置、直播观看以及与粉丝的交流等。文章中穿插了作者的个人感受和对活动的反思展现了从懵懂到逐渐融入圈子的成长过程以及对未来职业选择的思考。此外还提到了与队友的友情和团队合作的重要性以及活动结束后的情感落差和回忆。整体上这是一篇充满情感和细节的活动回顾。
category: 生活-生活
toAstro: true
---
# 2023bw 汇报

View File

@ -15,6 +15,7 @@ description: >-
bus”尝试了杏仁牛油果冰淇士。正餐方面作者品尝了“野草莓”的高性价比美食以及“宴遇1/2”的酸菜鱼、火焰黑椒安格斯小牛肉等。此外还体验了“叽叽扎扎烤肉”和“七星西鹭鸭胫店”的特色菜肴。最后作者在“傲客夜食”尝试了麻辣烤鱼和冰粉。整体上作者对所尝试的食物给予了积极的评价并表达了对某些美食的特别喜爱。
rinId: 113
category: 生活-生活
toAstro: true
---
# 奶茶与咖啡

View File

@ -10,9 +10,11 @@ tags:
- 杭州
published: true
slug: national-day-trip-to-xiamen-and-hangzhoupicture-bed-version
description: 国庆期间作者记录了从上海出发前往厦门和杭州的旅行经历。在厦门作者体验了当地的美食如汉堡王、七星西鹭鸭胫店、宴遇1/2等并游览了鼓浪屿感受了当地的夜生活和自然风光。此外作者还尝试了野草莓餐厅和叽叽扎扎烤肉体验了不同的餐饮文化。在杭州作者参观了联动店铺并尝试了方老大的面食。整个旅程中作者不仅享受了美食还体验了当地的文化和生活方式感受到了旅行的乐趣。
description: >-
国庆期间作者记录了从上海出发前往厦门和杭州的旅行经历。在厦门作者体验了当地的美食如汉堡王、七星西鹭鸭胫店、宴遇1/2等并游览了鼓浪屿感受了当地的夜生活和自然风光。此外作者还尝试了野草莓餐厅和叽叽扎扎烤肉体验了不同的餐饮文化。在杭州作者参观了联动店铺并尝试了方老大的面食。整个旅程中作者不仅享受了美食还体验了当地的文化和生活方式感受到了旅行的乐趣。
rinId: 114
category: 生活-生活
toAstro: true
---
# 国庆厦门&杭州之行

View File

@ -9,10 +9,13 @@ tags:
- 2023年
published: true
slug: 2023-crossing
description: 2023年跨年作者与群友相约成都庆祝。由于年假已用完选择29号和1号晚上的飞机以最大化游玩时间。在飞机上体验了有屏幕的座位并观看了电影《小妇人》。抵达后与朋友们在KTV聚会感受四川话的亲切。30号品尝了跷脚牛肉和桌游店的乐趣晚上享用了陶德砂锅的肥肠。31号一起吃了谭豆花和火锅晚上在玉林路喝酒庆祝跨年。1号在川大望江附近吃了冒烤鸭后前往机场。此行让作者感慨成都美食众多决心今年回成都工作。
description: >-
2023年跨年作者与群友相约成都庆祝。由于年假已用完选择29号和1号晚上的飞机以最大化游玩时间。在飞机上体验了有屏幕的座位并观看了电影《小妇人》。抵达后与朋友们在KTV聚会感受四川话的亲切。30号品尝了跷脚牛肉和桌游店的乐趣晚上享用了陶德砂锅的肥肠。31号一起吃了谭豆花和火锅晚上在玉林路喝酒庆祝跨年。1号在川大望江附近吃了冒烤鸭后前往机场。此行让作者感慨成都美食众多决心今年回成都工作。
finished: true
category: 生活-生活
banner: https://pictures.kazoottt.top/2024/10/20241017-5eef043c1bc397df87b6be5f1a4aaa3e.png
banner: >-
https://pictures.kazoottt.top/2024/10/20241017-5eef043c1bc397df87b6be5f1a4aaa3e.png
toAstro: true
---
**# **2023成都跨年****

View File

@ -10,13 +10,14 @@ tags:
- 个人流水账
- 毛怪
- 小缘
- "2024"
- '2024'
finished: true
published: true
category: 生活-生活
slug: bw-record-personal-notes
description: 记录了 KazooTTT 在 BW 活动中的个人体验和感受,包括与朋友和偶像的合照、工作餐和摊位的点滴。
rinId: 1
toAstro: true
---
# BW记录-个人向流水账版

View File

@ -10,6 +10,7 @@ description: >-
作者在生日假期冲动地决定去香港旅行,提前一周购买机票和预订酒店。旅程中遇到了一些小插曲,如机票信息错误和插头转换器购买错误,但都顺利解决。在香港,作者体验了当地的美食,如一兰拉面和各种点心,并与久未见面的高中同学共进午餐,享受了愉快的时光。尽管行程紧凑,但这次旅行给作者留下了深刻的印象和美好的回忆。
rinId: 112
category: 生活-生活
toAstro: true
---
# 一次很突然的香港之行

View File

@ -15,8 +15,10 @@ category: 生活-生活
slug: yukari-2024-live
description: 前往武汉参加小缘810线下live的流水账式vlog。
NotionID-notionnext: 7c90f788-efe1-4ae1-b314-3bf7acb6b21e
link-notionnext: https://kazoottt.notion.site/2024-vlog-7c90f788efe14ae1b3143bf7acb6b21e
banner: "https://pictures.kazoottt.top/2024/09/20240902-41822c72da727100ce156e6e15d1eed6.jpeg"
link-notionnext: 'https://kazoottt.notion.site/2024-vlog-7c90f788efe14ae1b3143bf7acb6b21e'
banner: >-
https://pictures.kazoottt.top/2024/09/20240902-41822c72da727100ce156e6e15d1eed6.jpeg
toAstro: true
---
# 2024 小缘永不完结的冒险 武汉线下vlog

View File

@ -15,6 +15,7 @@ category: 生活-生活
slug: duanwu-guangzhou-trip
description: 在端午节期间,我和朋友们相约去广州,参观了大咩老师的毕业展,品尝了各种美食,体验了广州的文化和风景。这次旅行充满了美好的回忆,让我感受到了广州的独特魅力。
rinId: 5
toAstro: true
---
# 端午去广州玩了

View File

@ -10,6 +10,7 @@ description: >-
在飞机上,作者通过写作来缓解心中的烦闷。上周状态良好,但本周因熬夜和粉丝圈的负面影响感到状态下滑。作者计划在春节期间调整作息,并反思了过去几年对粉丝圈的感受变化,包括从极度社恐到逐渐适应公共表达的过程,以及对粉丝圈中个体信任的思考。同时,作者也回顾了与主播和粉丝圈的互动,以及个人情感和观点表达的冲突与反思。
rinId: 110
category: 生活-随笔
toAstro: true
---
# 一些烦心事

View File

@ -10,6 +10,7 @@ rinId: 111
category: 生活-随笔
tags:
- 受骗经历,强制消费,欺诈行为
toAstro: true
---
# 一次受骗经历

View File

@ -13,6 +13,7 @@ link: 'https://kazoottt.notion.site/4168e936345444f4b625a86309a5b320'
notionID: 4168e936-3454-44f4-b625-a86309a5b320
rinId: 57
category: 生活-随笔
toAstro: true
---
# 与其倒腾,不如静下心来

View File

@ -12,6 +12,7 @@ category: 生活-随笔
slug: recently-the-state-has-been-relatively-poor
description: >-
个人不开心的原因主要是过度依赖外界获取快乐、身体自身问题、过于消极和关注他人的看法,以及欲望与现实不匹配。可以让自己开心的事情包括追星、产出、运动、挣钱和夸赞感谢。面对当下不确定的未来,目前可以安排锻炼和产出兴趣活动,保持分享的欲望以及实践费曼学习法,渐进式地提升身心健康和生活满意度。
toAstro: true
---
## 分析自己不开心的原因

View File

@ -12,6 +12,7 @@ description: >-
在23年年末作者内转至大模型应用部门初期充满激情能接触前沿项目并利用大模型厂商服务。然而随着时间推移工作中的不适感逐渐增强。主要问题包括基建不足如缺乏CI/CD流程发布版本耗时且需加班项目框架笨重且存在性能问题对项目信心下降代码质量差缺乏规范以及对未来职业发展的担忧如工作与学习时间冲突薪资涨幅低。这些因素共同导致了作者对当前工作的不满和焦虑。
rinId: 116
category: 生活-随笔
toAstro: true
---
# 最近的感受-积重难返

View File

@ -0,0 +1,30 @@
---
slug: present-conditions
published: true
description: >-
基础大模型在实际应用中面临两大挑战:终端客户对高昂算力成本的接受度以及大模型在垂直行业任务中的表现不足。为解决这些问题,大模型通常会通过领域特定数据或知识库进行训练和优化,以形成适用于垂直领域的行业大模型或业务大模型。此外,一些企业还有深度定制和私有化部署的需求,需要在行业大模型的基础上,进一步加入企业专有数据进行训练或微调,以构建企业级大模型。
category: 编程-AI
title: AI大局
date: 2023-09-04
author: KazooTTT
type: Post
status: Published
tags:
- 基础大模型
- 产业应用
- 机器学习
finished: false
---
# 大局
![IMG-20240904002708358](https://pictures.kazoottt.top/2024/10/20241017-f444952a6f250a1577ef0bb6e0b2841e.png)
![IMG-20240904002708406](https://pictures.kazoottt.top/2024/10/20241017-19840b5bdf81b7f542746ffcc779b8c0.png)
基础大模型落地面临两大难题,一是终端客户对算力成本的接受能力,二是大模型虽擅长通用领域问题,但往往在垂直行业任务中表现欠佳。因此,基础大模型会通过领域数据或专属知识库进行训练和调优,形成垂直领域的行业大模型或业务大模型;此外,部分企业还具有深度定制、私有化部署的需求,需要在行业大模型基础上,进一步加入企业专有数据进行训练或微调,形成企业级大模型。
[2023 年中国 AIGC 产业全景报告 |   艾瑞咨询 - 实时互动网](https://www.nxrte.com/zixun/31964.html)
中间层
应用层

View File

@ -27,6 +27,7 @@ description: >-
NotionID-notionnext: 40ec4f8d-2030-4ce1-b8c7-c1c9f56ef55b
link-notionnext: 'https://kazoottt.notion.site/ChainForge-40ec4f8d20304ce1b8c7c1c9f56ef55b'
rinId: 8
toAstro: true
---
# ChainForge简单介绍

View File

@ -0,0 +1,89 @@
---
title: Perplexity系列产品
date: 2024-09-04
author: KazooTTT
type: Post
status: Published
tags:
- AI
- 搜索引擎
- Perplexity
- Playground
- 播客
finished: true
published: true
category: 编程-AI
slug: perplexity-productions-intro
description: 概述Perplexity系列产品包括搜索引擎、Playground和播客重点介绍其功能和区别。
NotionID-notionnext: ae2fba46-af30-4bd5-b6d0-fe751c162800
link-notionnext: 'https://kazoottt.notion.site/01-Perplexity-ae2fba46af304bd5b6d0fe751c162800'
toAstro: true
---
# Perplexity系列产品
## 产品1 Perplexity搜索引擎
![IMG-20240904094448497](https://pictures.kazoottt.top/2024/10/20241012-IMG-20240904094448497.png)
<https://www.perplexity.ai/>
### 普通和Pro的区别
![IMG-20240904001354592](https://pictures.kazoottt.top/2024/09/20240904-82efc9478928cf3428241d5cdbe1f7e2.png)
![IMG-20240904001354629](https://pictures.kazoottt.top/2024/09/20240904-b48e87c80c053f5afc32f440ab36959c.png)
### 频繁人工验证怎么办
![IMG-20240904001354676](https://pictures.kazoottt.top/2024/09/20240904-aa07d424f893146a987cccdcf7ae5bcf.png)
[Perplexity - AI Search - Chrome 应用商店](https://chromewebstore.google.com/detail/perplexity-ai-search/bnaffjbjpgiagpondjlnneblepbdchol)
![IMG-20240904001354729](https://pictures.kazoottt.top/2024/09/20240904-836c90b245302d2dd60fc14009e8aab1.png)
### 同类别产品
[Devv AI](https://devv.ai/) (编程向)
![IMG-20240904094534311](https://pictures.kazoottt.top/2024/10/20241012-IMG-20240904094534311.png)
## 产品2 Perplexity Playground
体验最新大模型
<https://labs.perplexity.ai/>
![IMG-20240904001354800](https://pictures.kazoottt.top/2024/09/20240904-4a2f2948f9bda0d445948efd5d021e8c.png)
![IMG-20240904001354854](https://pictures.kazoottt.top/2024/09/20240904-9988cdc07d33329b209ee5f44269caef.png)
[Introducing Llama 3.1: Our most capable models to date](https://ai.meta.com/blog/meta-llama-3-1/)
![IMG-20240904001354881](https://pictures.kazoottt.top/2024/09/20240904-e5c298074d3edb3aa59b00a86c20ef0e.png)
[Changelog - Perplexity](https://docs.perplexity.ai/changelog/changelog#introducing-new-and-improved-sonar-models)
![IMG-20240904001354925](https://pictures.kazoottt.top/2024/09/20240904-6757a9b6e9c488d8faad8ae28a2e48e1.png)
## 产品3 Perplexity播客
[资讯汇总 Discover](https://www.perplexity.ai/discover)
![IMG-20240904001354996](https://pictures.kazoottt.top/2024/09/20240904-c06edb7427f2885aa1d8b3bd69659719.png)
Perplexity和eleventlab合作把Discover的内容转成播客了。
![Pasted image 20240308104550 1](https://pictures.kazoottt.top/2024/09/20240904-c2dbdcea85e283af86a34fe244f1b8e4.png)
![IMG-20240904001355089](https://pictures.kazoottt.top/2024/09/20240904-a904a8102ea53bd3a8619b43f6e4a770.png)
很适合练习听力以及了解科技资讯。地址:[Discover Daily by Perplexity](https://discoverdaily.ai/)
[spotify](https://open.spotify.com/episode/1CaSWrm7uUAOkaKjE9KI47?si=WPbA0x73QkGEPm-DFh4big)
[pca.st](https://pca.st/03qazv0d)
支持rss
![IMG-20240904001355142](https://pictures.kazoottt.top/2024/09/20240904-51cb08cfa94e457d09ca0cfbaec6d604.png)

View File

@ -17,6 +17,7 @@ description: 可免费领取tokens的大模型服务于今后8月30日前有以
NotionID-notionnext: 30a20483-ea28-4daf-b8be-155f0e690bc7
link-notionnext: 'https://kazoottt.notion.site/tokens-30a20483ea284dafb8be155f0e690bc7'
rinId: 43
toAstro: true
---
# 可以免费领取tokens的大模型服务

View File

@ -14,7 +14,9 @@ category: 编程-AI
slug: using-deepseek-coder-in-cursor
description: 本文介绍了如何在 Cursor 中添加和使用 DeepSeek-Coder 模型,以及配置相关的 OpenAI API Key 和 Base URL。
NotionID-notionnext: f759bbe6-aa4b-4317-9695-44927430146b
link-notionnext: https://kazoottt.notion.site/cursor-deepseek-coder-f759bbe6aa4b4317969544927430146b
link-notionnext: >-
https://kazoottt.notion.site/cursor-deepseek-coder-f759bbe6aa4b4317969544927430146b
toAstro: true
---
# 如何在 cursor 中使用 deepseek-coder

View File

@ -12,6 +12,7 @@ description: |-
首先开启终端输入git add暂存更改。
然后按下Command+K输入“git commit message”即可成功提交。
slug: cursorgit-commit-msg
toAstro: true
category: 编程-git
---

View File

@ -15,6 +15,7 @@ description: >-
要将已经发布的分支在本地重命名并推送到远程可以按照以下步骤进行首先使用git branch -m指令重命名本地分支如果需要可以使用以下命令git
branch -m 旧分支名 新分支名。然后使用git push指令推送重命名后的分支到远程如果需要使用-u选项可以设置上游分支使用git push
-u origin 新分支名。最后要删除远程的旧分支可以使用git push origin --delete 旧分支名。
toAstro: false
---
要将已经发布的分支在本地重命名并推送到远程,可以按照以下步骤进行:

View File

@ -22,6 +22,7 @@ noteId_x: 15
create_time: '2024/11/22 13:35:36'
update_time: '2024/11/22 14:40:08'
publish_time: '2024/11/22 14:38:29'
toAstro: true
---
## stl如何转为json

View File

@ -12,6 +12,7 @@ date: 2024-02-07
category: 编程-web3
tags:
- expo 错误angular cliwebpacknpm metro-core
toAstro: false
---
# Expo 报错

View File

@ -0,0 +1,108 @@
---
title: solidity_bootcamp学习笔记
date: 2023-11-16
author: KazooTTT
tags:
- web3开buildSolidity Bootcamp区块链ERC20
published: true
slug: soliditybootcamp-study-notes
description: >-
在之前的博客文章中作者提到了报名参加了一个名为“web3课程”的openbuild课程。2023年11月16日是课程的第一天作者对课程内容感到有趣并计划继续学习并在博客中记录心得。第一节课主要讲解了区块链的基本原理和与web2的区别作者还计划完成课程中的项目部署并寻找其他资源进行额外学习。第二节课涉及了Solidity智能合约开发并提供了相关的学习资源和工具。作者还收集了一些web3相关的工具、案例和教程链接以便进一步学习和实践。
rinId: 11
finished: true
category: 编程-web3
---
![5578244-WechatIMG1695 1](https://pictures.kazoottt.top/2024/10/20241017-faa6ab0c1b75633bd7a023763ce4b523.webp)
在之前的[3-周报 平淡的一周 | KazooTTT Blog](https://www.kazoottt.top/article/weekly3#194502abe9804dbc860fb9c0a1091819)中提到了一个 openbuild 的[web3 课程](https://openbuild.xyz/learn/challenges/91?from=Challenges)抱着尝试的心态报名了。2023-11-16 是开课的第一天,整体停下来觉得挺有意思,大家的氛围也不错。打算继续学习下去,并且在本文中记录学习心得。
# 待办事项
- [x] 完成[[#11.16 第一节课]]中的部署项目(添加时间 2023-11-16
# 11.16 第一节课
今天主要讲了区块链的基本原理,与 web2 的区别。了解到在 web3 的开发中,比较注重的是合约(类似传统后端)和前端,而前端的技术栈主要是 react 那一套(这一点在后面收集到的案例中也有体现,大部分都是 nextjs 来实现的)
由于我从未接触过 web3听下来还是挺吃力的不过感觉挺有趣。打算在课程之余另外找一些课程来学习和实践做一些感兴趣的东西以及给开源项目提 pr。
要做的事:
完成课程中教学的例子:区块链开发例子-部署一个[ERC20 代币](<[https://github.com/meterio/tokenERC20](https://github.com/meterio/tokenERC20)>)
**对自己提升最快的应该是多参加一些 Hackathon**
# 2023-11-18 第二节课
课件如下:
![[IMG-20241112142440534.pdf]]
## 备忘
问题咨询:
[https://github.com/openbuildxyz/solidity_bootcamp](https://github.com/openbuildxyz/solidity_bootcamp)
Meter 社区网站:
[https://docs.meter.io/developer-documentation/introduction](https://docs.meter.io/developer-documentation/introduction)
区块链查询网站:
[https://chainlist.org](https://chainlist.org)
ERC20 案例网站:
[https://github.com/meterio/tokenERC20](https://github.com/meterio/tokenERC20)
![[IMG-20241112142440662.pdf]]
# 资源收集
## 工具
### [Chainlist](https://chainlist.org/)
查询可连接的网络
![Pasted image 20231116230936](https://pictures.kazoottt.top/2024/10/20241017-b2257bb305888f4d8d909c069891daa0.png)
[GitHub - DefiLlama/chainlist](https://github.com/DefiLlama/chainlist)
基于 nextjs
![Pasted image 20231116230929](https://pictures.kazoottt.top/2024/10/20241017-76e536c73984512cde6cce32e9fd43a6.png)
[GitHub - DefiLlama/chainlist](https://github.com/DefiLlama/chainlist)
## 案例
### [Lens Protocol](https://www.lens.xyz/)
基于 web3 的社交平台
![Pasted image 20231116231348](https://pictures.kazoottt.top/2024/10/20241017-e68a3c54031e978dde84e889fd19eaae.png)
### [Dune](https://dune.com/home)
web3 交流论坛
报表做的很好看
![Pasted image 20231116231145](https://pictures.kazoottt.top/2024/10/20241017-0bdcc348237366b142d9b20236b7b6f6.png)
![Pasted image 20231116231033](https://pictures.kazoottt.top/2024/10/20241017-4a411adbb66ee43e5f06733a1c110dc0.png)
(能从上面的技术栈看出来,绝大部分都是 react/nextjs)
## 教程
## 当前的课程链接
[Solidity Bootcamp](https://openbuild.xyz/learn/challenges/91?from=Challenges)
## Openbuild 的另一门课程
[Learn Smart Contract with Foundry](https://openbuild.xyz/learn/courses/83)
## 微信公众号的入门文章
[Web3 从入门到实战](https://mp.weixin.qq.com/s/OFmrKuyHYF-W6zTLEBXVoA)
## 其他人推荐的 Foundry-full-course-f23
[GitHub - Cyfrin/foundry-full-course-f23](https://github.com/Cyfrin/foundry-full-course-f23)
# 更新记录
2023-11-16 第一节课笔记,以及一些资源收集。

View File

@ -6,13 +6,13 @@ description: >-
本内容涉及ERC20代币的部署与学习具体参考GitHub上的meterio/tokenERC20项目地址为https://github.com/meterio/tokenERC20。
rinId: 12
finished: true
date: 2024-02-07T00:00:00.000Z
date: 2024-02-07
category: 编程-web3
tags:
- tokenERC20
- 部署
- 学习
toAstro: true
toAstro: false
---
# tokenERC20部署和学习

View File

@ -14,6 +14,7 @@ tags:
- 比特币
- 以太坊
- 区块链
toAstro: true
---
# web3资源收集

View File

@ -9,6 +9,7 @@ published: true
description: >-
antd的switch组件错误使用案例当使用到antd的[switch](https://ant-design.antgroup.com/components/switch-cn)组件时需要注意其api的使用。典型情况是将checked状态与mode关联起来并在mode变化时触发回调然而这种写法会导致切换switch时不会触发回调而是等待-checked状态改变时才触发。正确的方法是使用onClick事件而不是onChange这样可以让切换switch时触发回调。
slug: antd-switch-component-misuse-example
toAstro: false
category: 编程-前端
---

View File

@ -9,9 +9,12 @@ tags:
- 前端
slug: reasons-why-link-styles-need-to-follow-the-lvha-order
published: true
description: 在CSS中链接的伪类选择器:link, :visited, :hover, :active遵循LVHA顺序的原因是为了确保样式正确应用。由于这些伪类的优先级相同后定义的样式会覆盖先前的样式。因此为了防止样式冲突应按照LVHA顺序定义这些伪类即先定义:link然后是:visited接着是:hover最后是:active。这样的顺序确保了链接在不同状态下的样式能够正确显示例如在鼠标悬停或点击时。
NotionID-notionnext: https://kazoottt.notion.site/d4aa37afdc8147d89869d67ebb5b4e7c
description: >-
在CSS中链接的伪类选择器:link, :visited, :hover,
:active遵循LVHA顺序的原因是为了确保样式正确应用。由于这些伪类的优先级相同后定义的样式会覆盖先前的样式。因此为了防止样式冲突应按照LVHA顺序定义这些伪类即先定义:link然后是:visited接着是:hover最后是:active。这样的顺序确保了链接在不同状态下的样式能够正确显示例如在鼠标悬停或点击时。
NotionID-notionnext: 'https://kazoottt.notion.site/d4aa37afdc8147d89869d67ebb5b4e7c'
category: 编程-前端-css
toAstro: true
---
# 链接样式需要遵循 LVHA 顺序的原因

View File

@ -15,6 +15,7 @@ description: >-
rinId: 15
finished: true
category: 编程-前端
toAstro: false
---
# Fetch 报错

View File

@ -55,6 +55,7 @@ description: >-
```
这种方法推荐使用,避免了相对路径的问题。
toAstro: true
---
# __dirname Is not Defined in ES Module Scope

View File

@ -12,6 +12,7 @@ published: true
description: >-
本文介绍了Node.js中path模块的常用操作包括__dirname与process.cwd()的区别以及path.join()和path.resolve()的差异。特别指出__dirname和process.cwd()在使用时需注意其返回的路径差异以免导致静态资源加载失败。同时path.join()用于连接路径而path.resolve()则解析为绝对路径。这些知识点对于正确配置和处理文件路径至关重要。
category: 编程-前端-node
toAstro: true
---
# Path 相关操作

View File

@ -1,6 +1,6 @@
---
title: AMD
date: 2023-09-27T00:00:00.000Z
date: 2023-09-27
author: KazooTTT
tags:
- node
@ -13,7 +13,7 @@ description: >-
loaded. This is particularly useful for web applications where scripts can be
loaded in parallel, improving performance and efficiency.
category: 编程-前端-node
toAstro: true
toAstro: false
---
# AMD

View File

@ -1,6 +1,6 @@
---
title: npm scope公共包
date: 2024-02-18T00:00:00.000Z
date: 2024-02-18
author: KazooTTT
tags:
- npm
@ -12,7 +12,7 @@ description: >-
--access=public`,以确保包的访问权限为公开。
rinId: 72
category: 编程-前端-node
toAstro: true
toAstro: false
---
# Npm Scope公共包

View File

@ -13,6 +13,7 @@ description: >-
本文讨论了在npm发包过程中可能遇到的失败原因包括账号权限不足、包名不规范、包名包含屏蔽词等。特别提到了“download”是一个屏蔽词作者通过将其替换为“downloader”后成功发布。同时文章也提到了npm的命令行工具在错误信息提供上的不足使得问题定位变得困难。参考了GitHub上的相关讨论以帮助理解这一问题。
rinId: 73
category: 编程-前端-node
toAstro: true
---
# Npm发包失败的原因

View File

@ -16,6 +16,7 @@ tags:
- 包管理器
- CLI
- package manager
toAstro: true
---
# Npm和npx的区别

View File

@ -11,6 +11,7 @@ description: >-
本文介绍了如何查看、更换和取消Node.js包管理工具npm, yarn,
pnpm的源地址以及如何使用yrm工具快速切换不同的npm源。通过执行特定的命令用户可以轻松地管理这些工具的源设置从而优化包的下载速度和开发效率。
category: 编程-前端-node
toAstro: true
---
# 查看源

View File

@ -27,6 +27,7 @@ description: >-
parameters。
NotionID-notionnext: 13d55568-fd75-81f5-be1b-e0a4f8137355
link-notionnext: 'https://kazoottt.notion.site/search-params-13d55568fd7581f5be1be0a4f8137355'
toAstro: true
---
## react router `useSearchParams`

View File

@ -0,0 +1,297 @@
---
slug: synchronize-profiles-to-remote-and-local-on-a-regular-basis
title: 使用github action定时同步obsidian内容到博客仓库
date: 2024-11-29
author: KazooTTT
type: Post
status: Published
tags: null
finished: true
published: true
category: 编程-前端
description: null
toAstro: true
---
## github action
目标仓库以及具体目录可以根据自己的项目来定
``` yaml
name: Update Docs
on:
push:
paths:
- "content/**"
- "scripts/build_docs.cjs"
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout source repository
uses: actions/checkout@v2
with:
token: ${{ secrets.PAT_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install dependencies
run: |
echo "Installing dependencies in source repository..."
npm install
echo "Dependencies installed successfully"
- name: Build docs
run: |
echo "Starting docs build..."
npm run build:docs:server
echo "Docs built successfully"
- name: Checkout target repository
uses: actions/checkout@v2
with:
repository: kazoottt/kazoottt-blog
path: kazoottt-blog
token: ${{ secrets.PAT_TOKEN }}
- name: Copy built docs to target repository
run: |
echo "Starting copy process..."
echo "Content of astroContent before copy:"
cp -rv astroContent/* kazoottt-blog/src/content/post/
echo "Content of astroContent copy done"
- name: Setup target repository
run: |
cd kazoottt-blog
echo "Configuring git..."
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
echo "Installing dependencies in target repository..."
npm install
echo "Running sort..."
npm run sort
- name: Check for changes and commit
run: |
cd kazoottt-blog
if [[ -n $(git status -s) ]]; then
git add .
git commit -m "Update docs and sort content"
git push
else
echo "No changes to commit"
fi
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
```
PAT_TOKEN申请
[Sign in to GitHub · GitHub](https://github.com/settings/tokens)
需要权限repo, workflow
![image.png](https://pictures.kazoottt.top/2024/11/20241129-d27ae43fa5ad1344d66dff2e9d79c70e.png)
## obsidian模板
published是true且notAstro不为true的时候会被发布到另外一个仓库
```
---
title: {{title}}
date: {{date}}
author: KazooTTT
type: Post
status: Published
tags: []
finished: false
published: false
category:
slug:
description:
notAstro:
---
```
## 脚本 scripts/build_docs.cjs
依赖安装
```
npm install gray-matter
```
可以配置一些不想同步的文件夹
``` js
const fs = require("fs").promises
const fsSync = require("fs")
const path = require("path")
const matter = require("gray-matter")
const { execSync } = require("child_process")
const CONFIG = {
outputDir: "astroContent",
inputDir: "./content",
ignoreList: [
".github",
".obsidian",
"草稿箱",
"模板",
"attachment",
"记录",
"导航用",
"微信读书",
],
validExtensions: [".md"],
// Local specific config
localDestinationRoot: "", // to edit
localDestination: "", // to edit
}
/**
* Ensures output directory exists
*/
function initializeOutputDir() {
if (!fsSync.existsSync(CONFIG.outputDir)) {
fsSync.mkdirSync(CONFIG.outputDir, { recursive: true })
}
}
/**
* Validates if a file should be processed based on its metadata
*/
function shouldProcessFile(frontMatter) {
return frontMatter.published === true && !frontMatter.notAstro
}
/**
* Processes a single markdown file
*/
async function processMarkdownFile(fullPath, outputPath) {
try {
const fileContent = await fs.readFile(fullPath, "utf8")
const { data } = matter(fileContent)
if (shouldProcessFile(data)) {
await fs.copyFile(fullPath, outputPath)
console.log(`✓ Copied: ${path.relative(CONFIG.inputDir, fullPath)}`)
}
} catch (error) {
console.error(`Error processing file ${fullPath}:`, error.message)
}
}
/**
* Recursively processes directories and files
*/
async function processDirectory(dir) {
try {
const files = await fs.readdir(dir)
await Promise.all(
files.map(async (file) => {
const fullPath = path.join(dir, file)
const relativePath = path.relative(CONFIG.inputDir, fullPath)
const outputPath = path.join(CONFIG.outputDir, relativePath)
const stats = await fs.stat(fullPath)
if (stats.isDirectory()) {
if (CONFIG.ignoreList.includes(file)) return
await fs.mkdir(outputPath, { recursive: true })
await processDirectory(fullPath)
} else if (path.extname(file) === ".md" && file !== "index.md") {
await processMarkdownFile(fullPath, outputPath)
}
}),
)
} catch (error) {
console.error(`Error processing directory ${dir}:`, error.message)
}
}
/**
* Copies processed files to final destination and commits changes
*/
async function copyToLocalDestination() {
try {
// Remove existing content
if (fsSync.existsSync(CONFIG.localDestination)) {
await fs.rm(CONFIG.localDestination, { recursive: true })
}
// Create destination directory
await fs.mkdir(CONFIG.localDestination, { recursive: true })
// Copy files
const files = await fs.readdir(CONFIG.outputDir)
await Promise.all(
files.map(async (file) => {
const sourcePath = path.join(CONFIG.outputDir, file)
const destPath = path.join(CONFIG.localDestination, file)
await fs.rename(sourcePath, destPath)
}),
)
console.log("Content has been successfully copied to the local destination.")
// Commit changes
execSync(`cd ${path.dirname(CONFIG.localDestination)} && npm run sort`)
execSync(`git add ${CONFIG.localDestination} && git commit -m "update content"`)
// push changes
// execSync(`git push`)
} catch (error) {
console.error("Error copying to destination:", error.message)
}
}
/**
* Cleans up the temporary output directory
*/
async function cleanupOutputDir() {
try {
if (fsSync.existsSync(CONFIG.outputDir)) {
await fs.rm(CONFIG.outputDir, { recursive: true })
}
console.log("Cleaned up temporary directory.")
} catch (error) {
console.error("Error cleaning up:", error.message)
}
}
/**
* Main execution
*/
async function main() {
try {
const isLocalBuild = process.argv.includes("--local")
console.log(`Starting document processing... (${isLocalBuild ? "local" : "server"} build)`)
initializeOutputDir()
await processDirectory(CONFIG.inputDir)
if (isLocalBuild) {
await copyToLocalDestination()
await cleanupOutputDir()
}
console.log("Document processing completed successfully!")
} catch (error) {
console.error("Fatal error:", error.message)
}
}
main()
```

View File

@ -15,6 +15,7 @@ NotionID-notionnext: 76ed52a0-ad58-401c-8a5d-c5719f67b673
link-notionnext: 'https://kazoottt.notion.site/open-graph-76ed52a0ad58401c8a5dc5719f67b673'
rinId: 16
category: 编程-前端-其他
toAstro: true
---
# Open Graph 简述

View File

@ -10,11 +10,15 @@ tags:
- 前端
finished: true
published: true
description: 在React中使用短路运算符&&0 会被错误地渲染为内容。通过避免使用 && 判断数字,特别是可能为 0 的值,可以确保正确的内容显示,例如显示 0号相机 而非仅仅显示 0。
description: >-
在React中使用短路运算符&&0 会被错误地渲染为内容。通过避免使用 && 判断数字,特别是可能为 0 的值,可以确保正确的内容显示,例如显示
0号相机 而非仅仅显示 0。
slug: do-not-misuse-short-circuiting-in-react
category: 编程-前端
NotionID-notionnext: 12b55568-fd75-815c-ba9c-ff587a86a262
link-notionnext: https://kazoottt.notion.site/react-short-circuit-12b55568fd75815cba9cff587a86a262
link-notionnext: >-
https://kazoottt.notion.site/react-short-circuit-12b55568fd75815cba9cff587a86a262
toAstro: true
---
## 错误现象
@ -49,4 +53,4 @@ link-notionnext: https://kazoottt.notion.site/react-short-circuit-12b55568fd7581
## 参考
[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](https://stackoverflow.com/questions/53048037/react-showing-0-instead-of-nothing-with-short-circuit-conditional-component)

View File

@ -12,6 +12,7 @@ NotionID-notionnext: a63f5e28-352a-48cc-8c89-f9dd5b5a18ac
link-notionnext: 'https://kazoottt.notion.site/markdown-iframe-a63f5e28352a48cc8c89f9dd5b5a18ac'
rinId: 19
category: 编程-前端
toAstro: true
---
# 1 如何实现在markdown中渲染iframe

View File

@ -1,6 +1,6 @@
---
title: 如何更加直接地查看浏览器内核
date: 2024-04-01T00:00:00.000Z
date: 2024-04-01
author: KazooTTT
tags: []
finished: true
@ -11,7 +11,7 @@ description: >-
NotionID-notionnext: 23be0d61-036d-48cc-925c-c8c25de31aa5
link-notionnext: 'https://kazoottt.notion.site/23be0d61036d48cc925cc8c25de31aa5'
rinId: 54
toAstro: true
toAstro: false
category: 编程-前端
---

View File

@ -12,6 +12,7 @@ published: true
category: 编程-前端
slug: the-download-attribute-for-the-a-tag
description: download属性是如何定义的以及注意事项。 不能设置为null可以直接设置成空串或者null。
toAstro: true
---
## 对于a标签的download属性

View File

@ -11,6 +11,7 @@ description: >-
本文介绍了如何在Vercel中集成插件或链接数据库后快速导出环境变量的方法。首先需要全局安装Vercel然后通过命令链接Vercel账户并拉取环境变量到本地的.env.local文件中。这一过程简化了环境变量的管理提高了开发效率。
rinId: 3
category: 编程-前端-平台
toAstro: true
---
# 如何快速导出vercel Project中的环境变量

View File

@ -20,6 +20,7 @@ NotionID-notionnext: b5838d05-d223-4a6d-b92c-e284c5e5a2ce
link-notionnext: >-
https://kazoottt.notion.site/History-scrollRestoration-b5838d05d2234a6db92ce284c5e5a2ce
rinId: 18
toAstro: true
---
# 再次学习History.scrollRestoration

View File

@ -18,6 +18,7 @@ link-notionnext: >-
rinId: 21
finished: true
category: 编程-前端-浏览器
toAstro: true
---
## 后续 2024-05-23

View File

@ -1,6 +1,6 @@
---
title: 禁止antd modal按下esc关闭弹窗
date: 2024-10-15T00:00:00.000Z
date: 2024-10-15
author: KazooTTT
type: Post
status: Published
@ -12,7 +12,7 @@ published: true
category: 编程-前端
slug: antd-modal-esc-disabled
description: 解决antd modal 键盘关闭问题设置modal的keyboard属性为false。
toAstro: true
toAstro: false
---
参考地址:[Modal: option not to close with cancel key · Issue #22137 · ant-design/ant-design · GitHub](https://github.com/ant-design/ant-design/issues/22137)

View File

@ -12,6 +12,7 @@ description: >-
这是一个视频错误现象的解决方法介绍。有两种方法可以解除光标浏览的问题按下F7取消光标浏览或者进入浏览器设置
disabling辅助功能或无障碍选项。同时也提到了不推荐的方法可以通过更改CSS样式来解决问题但这会降低使用体验。
slug: web-pages-also-have-a-flashing-cursor-on-non-input-components
toAstro: false
category: 编程-前端
---

Some files were not shown because too many files have changed in this diff Show More