mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-25 03:31:29 +08:00
Update docs and sort content
This commit is contained in:
@ -7,7 +7,7 @@ status: Published
|
||||
tags:
|
||||
finished: true
|
||||
published: true
|
||||
category: 已结项
|
||||
category:
|
||||
slug: merge-pdfs
|
||||
description:
|
||||
toAstro: true
|
||||
|
@ -16,7 +16,7 @@ description: >-
|
||||
函数则用于从Blob对象下载文件,同样支持自定义文件名。这两个函数均来自 `@kzttools/file-downloader`
|
||||
包,该包的NPM地址和GitHub地址均已提供。项目遵循MIT许可证,作者为kazoottt。
|
||||
rinId: 63
|
||||
category: 已结项
|
||||
category: 项目
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -9,7 +9,7 @@ finished: true
|
||||
published: true
|
||||
slug: write-an-oil-monkey-script-that-automatically-selects-the-latest-tweets
|
||||
rinId: 64
|
||||
category: 已结项
|
||||
category: 项目
|
||||
description: 自动化微博浏览顺序脚本,快速轻松调整微博的浏览顺序。
|
||||
toAstro: true
|
||||
---
|
||||
|
@ -13,7 +13,7 @@ description: >-
|
||||
slugs. Check out the live demo at https://slugify.kazoottt.top/. This tool is
|
||||
based on the auto-slugify library available on GitHub.
|
||||
rinId: 65
|
||||
category: 已结项
|
||||
category: 项目
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -10,7 +10,7 @@ tags:
|
||||
- 前端
|
||||
finished: true
|
||||
published: true
|
||||
category: 已结项
|
||||
category: 项目
|
||||
slug: wechat-reading-web-version-copy-shortcut
|
||||
description: 微信读书网页版新增复制快捷键,油猴脚本实现。使用`Ctrl + C`或`Cmd + C`即可复制内容。下载地址和源代码在提供的链接中。
|
||||
NotionID-notionnext: a4cf2259-fba8-4b72-9513-083a74b1ada1
|
||||
|
@ -14,7 +14,7 @@ description: >-
|
||||
为了在公共场合保护个人隐私,防止他人查看自己的Twitter账号信息,如ID、昵称和头像,作者开发了一个油猴脚本。该脚本专门用于屏蔽Twitter首页上显示的个人信息。用户可以通过greasyfork安装此脚本,源代码可在GitHub上查看。脚本使用前后对比图展示了隐藏个人信息的效果。
|
||||
finished: true
|
||||
rinId: 125
|
||||
category: 已结项
|
||||
category: 项目
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -11,7 +11,6 @@ description: >-
|
||||
Hanser的相关工作。
|
||||
rinId: 22
|
||||
toAstro: true
|
||||
category: 02
|
||||
---
|
||||
|
||||
# 2023-02-11 星期六
|
||||
|
@ -11,7 +11,6 @@ published: true
|
||||
description: 2023年9月8日星期五的记录中提到了一段关于直播的内容,强调不需要背负任何负担,只需带着空行囊和彼此即可。
|
||||
rinId: 24
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-08 星期五
|
||||
|
@ -9,7 +9,6 @@ published: true
|
||||
description: 2023年9月9日星期六的日程安排包括已完成的项目升级和游泳,以及待完成的nextjs+node运行时脚本测试。
|
||||
rinId: 25
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-09 星期六
|
||||
|
@ -10,7 +10,6 @@ description: >-
|
||||
2023年9月10日,某博客讨论了其支持的模板语法,指出虽然功能丰富,但使用起来感觉不够灵活且学习成本较高。文章中提出疑问,低代码是否是一种高效但可能过于简化的编程方式。
|
||||
rinId: 26
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-10 星期日
|
||||
|
@ -11,7 +11,6 @@ description: >-
|
||||
今天的任务包括完成多项链表相关的编程题目,其中已完成的有“86.分隔链表”和“141.环形链表”,未完成的有“142.环形链表-ii”和“160.相交链表”。此外,已完成的任务还包括在Obsidian中链接外部代码文件。健身方面,进行了跑步、椭圆机和器械锻炼,并计划下次带拖鞋以便洗完澡后直接穿回家。
|
||||
rinId: 27
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-12 星期二
|
||||
|
@ -22,7 +22,6 @@ description: >-
|
||||
smartwatch as it was no longer compatible with the latest watch face market
|
||||
updates.
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-13 星期三
|
||||
|
@ -10,7 +10,6 @@ description: >-
|
||||
今天是2023年9月14日,星期四。今天的计划包括打卡和健身。健身内容包括跑步20分钟和使用器械30分钟,虽然9点去健身房时间有点紧张。此外,已经下单了一款新手表,预计下周五到货。感觉自己的背部似乎直了一些。还提到了一种快速获取telegram
|
||||
chatId并实现消息通知的方法。
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-14 星期四
|
||||
|
@ -8,7 +8,6 @@ tags:
|
||||
published: true
|
||||
description: 2023年9月15日星期五的日程包括修复notion-blog中vercel og的问题,并进行打卡记录。
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-15 星期五
|
||||
|
@ -10,7 +10,6 @@ published: true
|
||||
description: >-
|
||||
2023年9月17日,个人日记记录了当天的活动和任务。白天主要在休息,晚上进行了健身活动,包括30分钟的椭圆机训练和30分钟的器械训练。健身后回家泡脚,并在此期间编写了一个油猴脚本,用于直播间管理增强,已完成弹窗样式修改和response拦截及第一页数据填充,后续计划实现滚动加载后的数据填充。此外,还记录了两个待处理的事项:屏蔽推特黄推和使用shot.so进行图片美化。
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-17 星期日
|
||||
|
@ -12,7 +12,6 @@ description: >-
|
||||
Turborepo vs
|
||||
Nx》并投稿到Bilibili,视频链接为https://www.youtube.com/watch?v=9iU_IE6vnJ8,投稿链接为https://www.bilibili.com/video/BV1uz4y1V7cb/?spm_id_from=..search-card.all.click&vd_source=729e6f70ca3cee328ccece68cb2bbd30。此外,还有待处理的inbox事项。
|
||||
toAstro: true
|
||||
category: 09
|
||||
---
|
||||
|
||||
# 2023-09-24 星期日
|
||||
|
@ -9,7 +9,6 @@ published: true
|
||||
description: >-
|
||||
今天的任务包括给手表充电和录制关于如何使用MessAuto和iMessage实现iPhone和mac信息同步及自动复制验证码的视频,并计划将视频发布到B站和小红书上。
|
||||
toAstro: true
|
||||
category: 10
|
||||
---
|
||||
|
||||
# 2023-10-06 星期五
|
||||
|
@ -8,7 +8,6 @@ tags:
|
||||
published: true
|
||||
description: 今天的计划包括阅读vite文档,并进行打卡和处理inbox事项。
|
||||
toAstro: true
|
||||
category: 10
|
||||
---
|
||||
|
||||
# 2023-10-10 星期二
|
||||
|
@ -8,7 +8,6 @@ tags:
|
||||
published: true
|
||||
description: 今天的日程包括图片上传测试和打卡活动,同时有一个待处理的inbox事项。
|
||||
toAstro: true
|
||||
category: 10
|
||||
---
|
||||
|
||||
# 2023-10-18 星期三
|
||||
|
@ -8,7 +8,6 @@ tags:
|
||||
published: true
|
||||
description: 2023年10月21日星期六的日程安排包括打卡和处理inbox事务。具体打卡内容通过一张图片展示,而inbox的具体内容未详细说明。
|
||||
toAstro: true
|
||||
category: 10
|
||||
---
|
||||
|
||||
# 2023-10-21 星期六
|
||||
|
@ -8,7 +8,6 @@ tags:
|
||||
published: true
|
||||
description: 今天的计划包括防抖技术的学习和打卡任务,同时还有待处理的邮件。
|
||||
toAstro: true
|
||||
category: 10
|
||||
---
|
||||
|
||||
# 2023-10-22 星期日
|
||||
|
@ -8,7 +8,6 @@ tags:
|
||||
published: true
|
||||
description: 2023年11月6日,星期一,记录了当天的打卡情况,显示Wakatime的使用时间较长,给人留下了深刻印象。此外,还提到了inbox,但未详细说明内容。
|
||||
toAstro: true
|
||||
category: 11
|
||||
---
|
||||
|
||||
# 2023-11-06 星期一
|
||||
|
@ -10,7 +10,6 @@ description: >-
|
||||
今天是2023年11月16日,星期四。今天的主要任务是开始学习web3,特别是参加了一个名为solidity_bootcamp的在线课程,该课程由open
|
||||
build提供。此外,还记录了学习笔记,但具体内容未在提供的材料中详细说明。
|
||||
toAstro: true
|
||||
category: 11
|
||||
---
|
||||
|
||||
# 2023-11-16 星期四
|
||||
|
@ -9,7 +9,6 @@ published: true
|
||||
description: >-
|
||||
今天的任务清单中,已完成的是下午去办理港澳通行证,而未完成的是准备公司评级的材料和学习web3基础知识。此外,今天的日程中还包括打卡和查看inbox,但没有具体的事项列出。
|
||||
toAstro: true
|
||||
category: 11
|
||||
---
|
||||
|
||||
# 2023-11-17 星期五
|
||||
|
@ -10,7 +10,6 @@ description: >-
|
||||
IDE的terminal无法打开问题。此外,还帮助前部门面试了一位前端候选人。明天计划继续处理未完成的任务,并记录了2024年3月5日的文件路径信息。
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 03
|
||||
---
|
||||
|
||||
# 今天要做的事情
|
||||
|
@ -11,7 +11,6 @@ description: >-
|
||||
ai,并迁移了部分本地内容到博客上。此外,收到了购买的时尚小物品,感到非常满意。遗憾的是,今天没有进行学习和刷题。计划早点休息,为明天做准备。
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 03
|
||||
---
|
||||
|
||||
# 今天要做的事情
|
||||
|
@ -13,7 +13,6 @@ description: >-
|
||||
表示了他们之间的亲密度和甜蜜。虽然没有具体详细信息,但可以看出这对人是非常恩爱的。在这里汇总了一些关键的视频和截图,展示了milklove的幸福感和关怀。
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 11
|
||||
---
|
||||
|
||||
很幸福的一天,今天是 milklove 宣布二搭、三搭的日子。
|
||||
|
@ -12,7 +12,6 @@ description: >-
|
||||
安装指导解决问题。
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 11
|
||||
---
|
||||
|
||||
windsurf 赠送了试用的天数
|
||||
|
@ -13,7 +13,6 @@ description: >-
|
||||
SonarLint 占用内存过高,就会导致卡顿问题。此外,你还遇到了 vite-plugin-checker 的错误,解决方法是安装或重新安装 uv。
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 11
|
||||
---
|
||||
|
||||
[x.com](https://x.com/vikingmute/status/1858781019492790315)
|
||||
|
@ -18,7 +18,6 @@ description: >-
|
||||
slug: diary-2024-11-29
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 11
|
||||
---
|
||||
|
||||
qube 如何集成到 github:
|
||||
|
@ -13,7 +13,6 @@ description: >-
|
||||
slug: diary-2024-11-30
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 11
|
||||
---
|
||||
|
||||
vscode extention 启动时间
|
||||
|
@ -13,7 +13,6 @@ description: >-
|
||||
slug: diary-2024-12-11
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 12
|
||||
---
|
||||
|
||||
终于没有那么忙了,上周忙成狗了,加班加的 wakatime 时长直接进入全球前 100 了
|
||||
|
@ -14,7 +14,6 @@ description: >-
|
||||
slug: diary-2024-12-12
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 12
|
||||
---
|
||||
|
||||
之前只用过 deepseek 的 api,这几天的 deepseek 的 chat 用的比较多,发现两者都挺好用的
|
||||
|
@ -9,7 +9,6 @@ description:
|
||||
slug: diary-2024-12-19
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 12
|
||||
---
|
||||
|
||||
## 值得记录的事情
|
||||
|
@ -9,7 +9,6 @@ description:
|
||||
slug: diary-2024-12-23
|
||||
published: true
|
||||
toAstro: true
|
||||
category: 12
|
||||
---
|
||||
|
||||
学习 unity day01
|
||||
|
@ -13,7 +13,6 @@ description: >-
|
||||
rinId: 32
|
||||
finished: true
|
||||
toAstro: true
|
||||
category: 年报
|
||||
---
|
||||
|
||||
# Y1-2020 年度总结
|
||||
|
@ -13,7 +13,6 @@ description: >-
|
||||
rinId: 33
|
||||
finished: true
|
||||
toAstro: true
|
||||
category: 年报
|
||||
---
|
||||
|
||||
# Y2-2021 年度总结
|
||||
|
@ -13,7 +13,6 @@ description: >-
|
||||
rinId: 34
|
||||
finished: true
|
||||
toAstro: true
|
||||
category: 年报
|
||||
---
|
||||
|
||||
# Y3-2022 年度总结
|
||||
|
@ -12,7 +12,6 @@ description: >-
|
||||
Agent的研究与开发。在这一年中,作者还开始担任面试官并参与其他公司的面试,体验了面试的双重角色。技术方面,作者的GitHub热力图逐渐变绿,参与了多个开源项目,并与朋友一起参加了AI相关的比赛,获得了奖项和奖金。此外,作者还分享了技术栈的偏向性,包括前端使用nextjs,后端使用nextjs/flask,设计使用figma和canva。最后,作者总结了去年的目标完成情况,并设定了新一年的计划,包括继续学习blender、每周至少产出一次技术向内容等。
|
||||
finished: true
|
||||
toAstro: true
|
||||
category: 年报
|
||||
---
|
||||
|
||||

|
||||
|
@ -11,7 +11,7 @@ tags:
|
||||
- github
|
||||
finished: false
|
||||
published: true
|
||||
category: Hanser
|
||||
category:
|
||||
slug: hanser-repository
|
||||
description: 收集与hanser相关的开源项目
|
||||
toAstro: true
|
||||
|
@ -25,7 +25,7 @@ NotionID-notionnext: 80f19b4c-d207-45a0-bbbb-39641a9dc330
|
||||
link-notionnext: >-
|
||||
https://kazoottt.notion.site/Possible-Causes-and-Solutions-for-Focusee-Switching-System-Audio-to-Speaker-Playback-forcibly-80f19b4cd20745a0bbbb39641a9dc330
|
||||
rinId: 39
|
||||
category: englishWriting
|
||||
category: 软件
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -12,7 +12,7 @@ tags:
|
||||
- Refund
|
||||
finished: true
|
||||
published: true
|
||||
category: englishWriting
|
||||
category: 软件
|
||||
slug: focusee-macos-review-en
|
||||
description: >-
|
||||
An analysis of Focusee's shortcomings on macOS, including severe color
|
||||
|
@ -18,7 +18,7 @@ description: >-
|
||||
NotionID-notionnext: 96e4d436-6fd9-4fec-865c-ac2d80b06be0
|
||||
link-notionnext: 'https://kazoottt.notion.site/open-graph-intro-96e4d4366fd94fec865cac2d80b06be0'
|
||||
rinId: 17
|
||||
category: englishWriting
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -9,7 +9,7 @@ slug: somethings-bothering-me
|
||||
description: >-
|
||||
在飞机上,作者通过写作来缓解心中的烦闷。上周状态良好,但本周因熬夜和粉丝圈的负面影响感到状态下滑。作者计划在春节期间调整作息,并反思了过去几年对粉丝圈的感受变化,包括从极度社恐到逐渐适应公共表达的过程,以及对粉丝圈中个体信任的思考。同时,作者也回顾了与主播和粉丝圈的互动,以及个人情感和观点表达的冲突与反思。
|
||||
rinId: 110
|
||||
category: 随笔
|
||||
category: 生活
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -7,7 +7,7 @@ description: >-
|
||||
本文讲述了一位大学生在成都春熙路地下商场遭遇的骗局。作者被诱导进入一家店铺,经历了从免费面部检测到被迫支付高额费用的过程。在被骗后,作者通过寻求帮助,最终成功追回了大部分损失。这次经历让作者学会了更加小心谨慎,并感激那些在困难时刻给予帮助的人。文章旨在提醒读者警惕类似的消费陷阱。
|
||||
finished: true
|
||||
rinId: 111
|
||||
category: 随笔
|
||||
category: 生活
|
||||
tags:
|
||||
- 受骗经历,强制消费,欺诈行为
|
||||
toAstro: true
|
||||
|
@ -12,7 +12,7 @@ description: >-
|
||||
link: 'https://kazoottt.notion.site/4168e936345444f4b625a86309a5b320'
|
||||
notionID: 4168e936-3454-44f4-b625-a86309a5b320
|
||||
rinId: 57
|
||||
category: 随笔
|
||||
category: 生活
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -8,7 +8,7 @@ tags:
|
||||
- 焦虑症状管理,自我满足感,个人成长策略
|
||||
finished: true
|
||||
published: true
|
||||
category: 随笔
|
||||
category: null
|
||||
slug: recently-the-state-has-been-relatively-poor
|
||||
description: >-
|
||||
个人不开心的原因主要是过度依赖外界获取快乐、身体自身问题、过于消极和关注他人的看法,以及欲望与现实不匹配。可以让自己开心的事情包括追星、产出、运动、挣钱和夸赞感谢。面对当下不确定的未来,目前可以安排锻炼和产出兴趣活动,保持分享的欲望以及实践费曼学习法,渐进式地提升身心健康和生活满意度。
|
||||
|
@ -11,7 +11,7 @@ slug: recent-feelings-a-lot-of-hard-work
|
||||
description: >-
|
||||
在23年年末,作者内转至大模型应用部门,初期充满激情,能接触前沿项目并利用大模型厂商服务。然而,随着时间推移,工作中的不适感逐渐增强。主要问题包括基建不足,如缺乏CI/CD流程,发布版本耗时且需加班;项目框架笨重且存在性能问题,对项目信心下降;代码质量差,缺乏规范;以及对未来职业发展的担忧,如工作与学习时间冲突,薪资涨幅低。这些因素共同导致了作者对当前工作的不满和焦虑。
|
||||
rinId: 116
|
||||
category: 随笔
|
||||
category: 生活
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -12,7 +12,7 @@ tags:
|
||||
- 播客
|
||||
finished: true
|
||||
published: true
|
||||
category: AI
|
||||
category: 软件
|
||||
slug: perplexity-productions-intro
|
||||
description: 概述Perplexity系列产品,包括搜索引擎、Playground和播客,重点介绍其功能和区别。
|
||||
NotionID-notionnext: ae2fba46-af30-4bd5-b6d0-fe751c162800
|
||||
|
@ -13,7 +13,6 @@ description: |-
|
||||
然后,按下Command+K输入“git commit message”即可成功提交。
|
||||
slug: cursorgit-commit-msg
|
||||
toAstro: true
|
||||
category: git
|
||||
---
|
||||
|
||||
原文参考:
|
||||
|
@ -12,7 +12,7 @@ tags:
|
||||
- 数据转换
|
||||
finished: true
|
||||
published: true
|
||||
category: vtk.js
|
||||
category: 前端
|
||||
slug: in-vtkjs-stl-and-json-are-converted-to-each-other
|
||||
description: >-
|
||||
STL模型可以通过 JavaScript 的 `vtk.js` 库以 JSON 格式进行读写。将 STL 模型读入 JSON 格式的方法是使用
|
||||
|
@ -12,7 +12,7 @@ tags:
|
||||
- 最小粒度原则
|
||||
finished: true
|
||||
published: true
|
||||
category: 前端
|
||||
category:
|
||||
slug: share-my-incorrect-usage-case-of-zustand
|
||||
description: Zustand is a state management library that is simple and easy to use. It allows you to access the state via a single selector or shallow comparison to prevent unnecessary re-renders of all components. When the state is updated, you can use `useShallow` to retrieve only the required data. Additionally, you should follow the principle of minimal granularity, only fetching the necessary data instead of using multiple stores to manage different states. Moreover, state that is unrelated to the UI does not need to be accessed via a selector. The correct approach is to directly access the store within the `handleSave` method.
|
||||
toAstro: true
|
||||
|
@ -12,7 +12,7 @@ tags:
|
||||
- 最小粒度原则
|
||||
finished: true
|
||||
published: true
|
||||
category: 前端
|
||||
category:
|
||||
slug: zustand-use-record
|
||||
description: zustand 是一个状态管理库,简单易用。它可以通过使用 single selector 或 shallow 来获取 state,避免所有组件都重新渲染。当 state 更新时,可以通过 useShallow 来只获取需要的数据。同时,应该遵循最小粒度原则,只获取需要的数据,而不是使用多个 store 去存储不同的 state。另外,与 UI 无关的 state 不需要通过 selector 获取,正确的做法是直接在 handleSave 方法内部访问 store。
|
||||
toAstro: true
|
||||
|
@ -13,7 +13,7 @@ description: >-
|
||||
在CSS中,链接的伪类选择器(:link, :visited, :hover,
|
||||
:active)遵循LVHA顺序的原因是为了确保样式正确应用。由于这些伪类的优先级相同,后定义的样式会覆盖先前的样式。因此,为了防止样式冲突,应按照LVHA顺序定义这些伪类,即先定义:link,然后是:visited,接着是:hover,最后是:active。这样的顺序确保了链接在不同状态下的样式能够正确显示,例如在鼠标悬停或点击时。
|
||||
NotionID-notionnext: 'https://kazoottt.notion.site/d4aa37afdc8147d89869d67ebb5b4e7c'
|
||||
category: css
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -11,7 +11,7 @@ tags:
|
||||
- module
|
||||
finished: true
|
||||
published: true
|
||||
category: node
|
||||
category: 前端
|
||||
slug: dirname-is-not-defined-in-es-module-scope
|
||||
NotionID-notionnext: 543bfc66-a416-4704-92be-9a93fed191a8
|
||||
link-notionnext: >-
|
||||
|
@ -11,7 +11,7 @@ slug: node-path-module-related-operations
|
||||
published: true
|
||||
description: >-
|
||||
本文介绍了Node.js中path模块的常用操作,包括__dirname与process.cwd()的区别,以及path.join()和path.resolve()的差异。特别指出,__dirname和process.cwd()在使用时需注意其返回的路径差异,以免导致静态资源加载失败。同时,path.join()用于连接路径,而path.resolve()则解析为绝对路径。这些知识点对于正确配置和处理文件路径至关重要。
|
||||
category: node
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -12,7 +12,7 @@ notionID: b2561889-02f7-4be0-9e4e-e74f8247da84
|
||||
description: >-
|
||||
本文讨论了在npm发包过程中可能遇到的失败原因,包括账号权限不足、包名不规范、包名包含屏蔽词等。特别提到了“download”是一个屏蔽词,作者通过将其替换为“downloader”后成功发布。同时,文章也提到了npm的命令行工具在错误信息提供上的不足,使得问题定位变得困难。参考了GitHub上的相关讨论,以帮助理解这一问题。
|
||||
rinId: 73
|
||||
category: node
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -8,7 +8,7 @@ slug: difference-between-npm-and-npx
|
||||
description: >-
|
||||
本文详细介绍了npm和npx的区别,包括它们的定义、使用场景和具体用法。npm是Node.js的默认包管理器,用于安装、卸载和升级包,而npx是一个命令行工具,允许用户直接运行项目中的二进制文件,无需全局安装。文章通过实例说明了两者在实际开发中的应用,如使用npm安装ant
|
||||
design,以及使用npx创建nextjs项目。
|
||||
category: node
|
||||
category: 前端
|
||||
tags:
|
||||
- npm
|
||||
- npx
|
||||
|
@ -10,7 +10,7 @@ slug: npm-registry
|
||||
description: >-
|
||||
本文介绍了如何查看、更换和取消Node.js包管理工具(npm, yarn,
|
||||
pnpm)的源地址,以及如何使用yrm工具快速切换不同的npm源。通过执行特定的命令,用户可以轻松地管理这些工具的源设置,从而优化包的下载速度和开发效率。
|
||||
category: node
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -12,7 +12,7 @@ tags:
|
||||
- performance优化
|
||||
finished: true
|
||||
published: true
|
||||
category: 前端
|
||||
category: null
|
||||
slug: react-scan
|
||||
description: >-
|
||||
react-scan 是一个用于查看 React 代码中的 re-render
|
||||
|
@ -7,7 +7,7 @@ status: Published
|
||||
tags:
|
||||
finished: true
|
||||
published: true
|
||||
category: 前端
|
||||
category:
|
||||
slug: deploy-remix-app-by-cloudflare
|
||||
description:
|
||||
toAstro: true
|
||||
|
@ -11,7 +11,7 @@ tags:
|
||||
- OBSidian模板
|
||||
finished: true
|
||||
published: true
|
||||
category: 前端
|
||||
category: null
|
||||
description: >-
|
||||
这个 GitHub Action 通过 Node.js 脚本在每次推送到 content 目录和 build_docs.cjs
|
||||
脚本时更新博客内容,并将其复制到另一个目标仓库。它支持多个环境,包括本地和服务器。该过程依赖于 Obsidian 模板和 Gray Matter 脚本。
|
||||
|
@ -15,7 +15,7 @@ tags:
|
||||
- 自动更新播放量
|
||||
finished: true
|
||||
published: true
|
||||
category: 前端
|
||||
category:
|
||||
slug: use-google-sheet-api-to-get-youtube-playbacks-on-a-regular-basis
|
||||
description: "在 MilkLove 的二搭剧 Whale Store xoxo 的 YouTube 预告片中,使用 Google Sheets 脚本可以定时获取视频播放量并存入表格。脚本主要包括以下步骤: 1. **检查是否有 access token**: 脚本首先检查是否存在 access token。如果不存在,则会返回一个错误信息。 2. **获取 video 的统计数据**: 脚本使用 YouTube API 来获取视频的统计数据,包括播放量等。若统计数据成功则将播放量返回给脚本。 3. **记录播放量和时间到表格中**:如果在获取播放量后没有发生错误,则会向表格中插入一行,其中包含当前时间和播放量。 因此,通过这个脚本,可以定时地获取 YouTube 视频的播放量并存入 Google Sheets 表格。"
|
||||
toAstro: true
|
||||
|
@ -14,7 +14,7 @@ description: >-
|
||||
NotionID-notionnext: 76ed52a0-ad58-401c-8a5d-c5719f67b673
|
||||
link-notionnext: 'https://kazoottt.notion.site/open-graph-76ed52a0ad58401c8a5dc5719f67b673'
|
||||
rinId: 16
|
||||
category: 其他
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -10,7 +10,7 @@ slug: how-to-quickly-export-environment-variables-in-vercel-project
|
||||
description: >-
|
||||
本文介绍了如何在Vercel中集成插件或链接数据库后,快速导出环境变量的方法。首先,需要全局安装Vercel,然后通过命令链接Vercel账户,并拉取环境变量到本地的.env.local文件中。这一过程简化了环境变量的管理,提高了开发效率。
|
||||
rinId: 3
|
||||
category: 平台
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -12,7 +12,7 @@ tags:
|
||||
- 浏览器
|
||||
finished: true
|
||||
published: true
|
||||
category: 浏览器
|
||||
category: 前端
|
||||
slug: understanding-history-scrollrestoration
|
||||
description: >-
|
||||
本文重新探讨了浏览器History对象的scrollRestoration属性,该属性用于控制历史页面切换时滚动条是否恢复到之前的位置。scrollRestoration属性有两个可选值:auto和manual。当设置为auto时,滚动条会自动恢复到切换前的位置;若设置为manual,则滚动条保持在页面顶部。文章还讨论了该属性的局限性,包括可能导致的页面跳动和在不同浏览器中实现一致滚动恢复的困难。最后,文章建议在页面出现不美观跳跃或需要手动控制滚动条位置时,应将scrollRestoration设置为manual。
|
||||
|
@ -17,7 +17,7 @@ link-notionnext: >-
|
||||
https://kazoottt.notion.site/History-scrollRestoration-7dc1306483254aa3bf455450c89e0223
|
||||
rinId: 21
|
||||
finished: true
|
||||
category: 浏览器
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -10,7 +10,7 @@ type: Post
|
||||
status: Published
|
||||
finished: true
|
||||
published: true
|
||||
category: 浏览器
|
||||
category:
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -12,7 +12,7 @@ published: true
|
||||
slug: managing-the-python-environment
|
||||
description: >-
|
||||
本文总结了管理Python环境的几种主流方式,包括venv、virtualenv、conda、pipenv和poetry等。虚拟环境能够为不同的项目提供独立的Python版本和依赖库,避免了全局解释器带来的切换和维护问题。文章还介绍了作者个人常用的环境管理工具:pyenv用于Python版本管理,poetry和virtualenv用于依赖管理。此外,还简要说明了conda的使用注意事项,建议避免与pip混用,并了解import优先级。
|
||||
category: python
|
||||
category: 后端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -11,7 +11,7 @@ tags:
|
||||
- messauto
|
||||
finished: true
|
||||
published: true
|
||||
category: 软件
|
||||
category: null
|
||||
slug: raycast-imessage-2fa
|
||||
description: >-
|
||||
我做过一个messAuto的安利,使用raycast + iMessage
|
||||
|
@ -13,7 +13,7 @@ description: >-
|
||||
本文介绍了如何快速获取Telegram的chatId并实现消息通知的方法。首先,设置Telegram账户的username,然后向@RawDataBot发送消息以获取chatId。最后,结合Telegram
|
||||
bot和apprise工具来实现消息通知功能。
|
||||
rinId: 20
|
||||
category: 软件
|
||||
category: 前端
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
|
@ -12,7 +12,6 @@ published: true
|
||||
slug: blogs-worth-reading
|
||||
description: 本文推荐了多个技术博客,涵盖了JavaScript、ES6、React等前端技术,以及AI相关的资源。其中包括冴羽的GitHub博客,LogRocket的产品团队资源,React官方博客,Socket的开发博客,Stefan Judis的个人网站,Builder.io的博客,以及Dan Abramov的博客overreacted。此外,还介绍了GitHub的AI标签下的工程化分享,Hugging Face的每日论文推荐,AssemblyAI的AI语音技术博客,Google Labs员工Dale的AI博客,以及Dify的大模型应用生成平台的技术博客。最后,提到了机器之心提供的企业人工智能服务。这些资源适合对前端开发和AI技术感兴趣的读者。
|
||||
toAstro: true
|
||||
category: 01-草稿箱
|
||||
---
|
||||
|
||||
# 值得一看的 blog
|
||||
|
Reference in New Issue
Block a user