mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-22 10:11:30 +08:00
Update docs and sort content
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
title: >-
|
||||
Possible Causes and Solutions for Focusee Switching System Audio to Speaker
|
||||
Playback forcibly
|
||||
date: 2024-05-25T00:00:00.000Z
|
||||
date: 2024-05-25
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Draft
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: open graph introduction
|
||||
date: 2024-04-09T00:00:00.000Z
|
||||
date: 2024-04-09
|
||||
author: KazooTTT
|
||||
tags: []
|
||||
finished: true
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-02-11 星期六
|
||||
date: 2023-02-11T00:00:00.000Z
|
||||
date: 2023-02-11
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-02-21 星期二
|
||||
date: 2023-02-21T00:00:00.000Z
|
||||
date: 2023-02-21
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-09-08 星期五
|
||||
date: 2023-09-08T00:00:00.000Z
|
||||
date: 2023-09-08
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-09-09 星期六
|
||||
date: 2023-09-09T00:00:00.000Z
|
||||
date: 2023-09-09
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-09-10 星期日
|
||||
date: 2023-09-10T00:00:00.000Z
|
||||
date: 2023-09-10
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-09-12 星期二
|
||||
date: 2023-09-12T00:00:00.000Z
|
||||
date: 2023-09-12
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2024-03-05 星期二
|
||||
date: 2024-03-05T00:00:00.000Z
|
||||
date: 2024-03-05
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2024-03-06 星期三
|
||||
date: 2024-03-06T00:00:00.000Z
|
||||
date: 2024-03-06
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
|
@ -7,8 +7,10 @@ tags:
|
||||
- 日记
|
||||
- milklove
|
||||
- 幸福的具象化
|
||||
description:
|
||||
slug: "2024-11-26"
|
||||
description: >-
|
||||
今天是milklove宣布二搭、三搭的日子。根据截图,牛奶爱情已经发展到了很幸福的阶段。有许多视频和 GIFs
|
||||
表示了他们之间的亲密度和甜蜜。虽然没有具体详细信息,但可以看出这对人是非常恩爱的。在这里汇总了一些关键的视频和截图,展示了milklove的幸福感和关怀。
|
||||
slug: '2024-11-26'
|
||||
published: true
|
||||
category: 日记-2024-11
|
||||
---
|
||||
@ -46,3 +48,5 @@ category: 日记-2024-11
|
||||
[二搭 预告片 弯弯字幕组](https://weibo.com/7392264056/P27lQtUnd#comment)
|
||||
|
||||

|
||||
|
||||
[Findwichh推介会汇总](https://weibo.com/6613951279/P29c7fgx9#comment)
|
||||
|
41
src/content/post/日记/2024/11/2024-11-27.md
Normal file
41
src/content/post/日记/2024/11/2024-11-27.md
Normal file
@ -0,0 +1,41 @@
|
||||
---
|
||||
title: 2024-11-27 星期三
|
||||
date: 2024-11-27
|
||||
day_of_week: 星期三
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
description: >-
|
||||
windsurf 赠送了试用的天数,个人发现 windsurf 的 cursor 自动补全速度比其他软件快且更智能。然而,volview 中的 store
|
||||
信息难以理解,而 Crop2D.vue 的文件内容未能解释明了。此外,安装 canvas 时遇到错误,需要参考 node-canvas 的 Windows
|
||||
安装指导解决问题。
|
||||
slug: 2024-11-27
|
||||
published: true
|
||||
category: 日记-2024-11
|
||||
---
|
||||
|
||||
windsurf 赠送了试用的天数
|
||||
|
||||
![[Pasted image 20241127102521.png]]
|
||||
|
||||
个人感觉cursor的自动补全速度比windsurf快和智能很多
|
||||
|
||||
volview也这么多store,谁能看懂...
|
||||
|
||||
![[Pasted image 20241127182204.png]]
|
||||
|
||||
`src\components\tools\crop\Crop2D.vue`
|
||||
|
||||
啥意思
|
||||
|
||||
![[Pasted image 20241127182701.png]]
|
||||
|
||||
安装canvas的时候报错:
|
||||
|
||||
```
|
||||
error C1083: 无法打开包括文件: “cairo.h”: No such file or directory
|
||||
```
|
||||
|
||||
解决方法:
|
||||
|
||||
[Installation: Windows · Automattic/node-canvas Wiki · GitHub](https://github.com/Automattic/node-canvas/wiki/Installation:-Windows)
|
65
src/content/post/日记/2024/11/2024-11-28.md
Normal file
65
src/content/post/日记/2024/11/2024-11-28.md
Normal file
@ -0,0 +1,65 @@
|
||||
---
|
||||
title: 2024-11-28 星期四
|
||||
date: 2024-11-28
|
||||
day_of_week: 星期四
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 日记
|
||||
description: 'VSCode加速设置可以提高你的开发效率,尤其是对于低端显卡或者集成显卡的机器。打开 VSCode命令面板,输入 "Preferences: Configure Runtime Arguments",然后添加“disable-hardware-acceleration”:true,实验发现它确实有助于提高工作效率。但是,如果你的 SonarLint 占用内存过高,就会导致卡顿问题。此外,你还遇到了 vite-plugin-checker 的错误,解决方法是安装或重新安装 uv。'
|
||||
slug: 2024-11-28T00:00:00.000Z
|
||||
published: true
|
||||
category: 日记-2024-11
|
||||
---
|
||||
|
||||
[x.com](https://x.com/vikingmute/status/1858781019492790315)
|
||||
|
||||
```
|
||||
打开这个禁止硬件加速的选项可以让 VSCode 快很多倍,Cusror 这种基于 VSCode 的也可以,不知道什么原理,应该是针对低端显卡或者集成显卡的机器比较有效?但是我试了一下确实感觉快了一些,我是 M3 的 macbook,大家可以试试看效果怎样?
|
||||
|
||||
步骤:
|
||||
1. 打开命令面板 (Cmnd + Shift + P)
|
||||
2. 输入 "Preferences: Configure Runtime Arguments"
|
||||
3. 添加: "disable-hardware-acceleration": true
|
||||
```
|
||||
|
||||
SonarLint 内存占用高,卡顿
|
||||
|
||||
---
|
||||
|
||||
[vite-tsconfig-paths](https://www.npmjs.com/package/vite-tsconfig-paths#vite-tsconfig-paths) 踩坑
|
||||
|
||||
```
|
||||
error when starting dev server:
|
||||
ReferenceError: module is not defined in ES module scope
|
||||
This file is being treated as an ES module because it has a '.js' file extension and 'C:\Users\turbo\Developer\tars-admin-frontend.worktrees\fix\cannot-export\node_modules\.pnpm\vite-plugin-checker@0.8.0_eslint@8.57.1_optionator@0.9.4_typescript@4.9.5_vite@4.5.5_@types+n_f2jvehahdn5lgzw77tv2nbqmma\node_modules\vite-plugin-checker\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
|
||||
```
|
||||
|
||||
Ensure the project either has "type": "module" set or that the Vite config is renamed to vite.config.mjs / vite.config.mts depending on whether TypeScript is used
|
||||
|
||||
确保项目已设置 "type": "module" 或根据是否使用 TypeScript 将 Vite 配置重命名为 vite.config.mjs / vite.config.mts
|
||||
|
||||
---
|
||||
|
||||
# Claude MCP can't connect to SQLite MCP serve
|
||||
|
||||

|
||||
|
||||
[Reddit - Dive into anything](https://www.reddit.com/r/ClaudeAI/comments/1h0my0y/comment/lz5w7ar/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button)
|
||||
|
||||
解决方法:install or reinstall uv
|
||||
|
||||
```
|
||||
brew install uv
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ollma真好玩
|
||||
|
||||
我怎么这么久了才开始玩(谢谢酱紫表的安利)
|
||||
|
||||

|
||||
|
||||
[GitHub - ollama/ollama: Get up and running with Llama 3.2, Mistral, Gemma 2, and other large language models.](https://github.com/ollama/ollama?tab=readme-ov-file)
|
||||
|
||||
[GitHub - AugustDev/enchanted: Enchanted is iOS and macOS app for chatting with private self hosted language models such as Llama2, Mistral or Vicuna using Ollama.](https://github.com/AugustDev/enchanted)
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-W10
|
||||
date: 2023-03-06T00:00:00.000Z
|
||||
date: 2023-03-06
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 周报
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-W11
|
||||
date: 2023-11-14T00:00:00.000Z
|
||||
date: 2023-11-14
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 周报
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-W45 平淡的一周
|
||||
date: 2023-11-19T00:00:00.000Z
|
||||
date: 2023-11-19
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 周报
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023-W46 开始接触理财和web3 2023-11-19
|
||||
date: 2023-11-19T00:00:00.000Z
|
||||
date: 2023-11-19
|
||||
author: KazooTTT
|
||||
tags: []
|
||||
published: true
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2024-W02
|
||||
date: 2024-01-11T00:00:00.000Z
|
||||
date: 2024-01-11
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 周报
|
||||
@ -223,7 +223,7 @@ github地址:<https://github.com/greyli/helloflask>
|
||||
<https://twitter.com/shengxj1/status/1744078257853448622>
|
||||

|
||||
|
||||
##《👋jan》GPT Web APP
|
||||
## 《👋jan》GPT Web APP
|
||||
|
||||
<https://twitter.com/geekbb/status/1744138343183749620>
|
||||
|
||||
|
@ -3,7 +3,7 @@ tags:
|
||||
- 项目推荐
|
||||
- 软件推荐
|
||||
title: 2024-W08 推荐一些软件
|
||||
date: 2024-02-23T00:00:00.000Z
|
||||
date: 2024-02-23
|
||||
author: KazooTTT
|
||||
finished: true
|
||||
category: 日记-周报
|
||||
|
@ -9,7 +9,7 @@ tags:
|
||||
- cloudflare
|
||||
- weekly
|
||||
title: 2024-W15
|
||||
date: 2024-04-12T00:00:00.000Z
|
||||
date: 2024-04-12
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2024-W16
|
||||
date: 2024-04-12T00:00:00.000Z
|
||||
date: 2024-04-12
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Draft
|
||||
@ -42,7 +42,7 @@ Nitro 可独立使用,也可作为 Nuxt 等全栈框架的服务器引擎使
|
||||
|
||||

|
||||
|
||||
##【AI女友】开源聊天虚拟人项目 - ChatGPT+Unity+Live2D+Azure
|
||||
## 【AI女友】开源聊天虚拟人项目 - ChatGPT+Unity+Live2D+Azure
|
||||
|
||||
介绍视频:[【AI女友】开源聊天虚拟人项目 - ChatGPT+Unity+Live2D+Azure\_哔哩哔哩\_bilibili](https://www.bilibili.com/video/BV1CW4y1X7PK/)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2024-W17
|
||||
date: 2024-04-26T00:00:00.000Z
|
||||
date: 2024-04-26
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Draft
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2024-W19
|
||||
date: 2024-04-12T00:00:00.000Z
|
||||
date: 2024-04-12
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Draft
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2024-W25
|
||||
date: 2024-04-12T00:00:00.000Z
|
||||
date: 2024-04-12
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Draft
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Y1-2020年度总结
|
||||
date: 2020-12-31T00:00:00.000Z
|
||||
date: 2020-12-31
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 总结
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Y2-2021年度总结
|
||||
date: 2023-01-03T00:00:00.000Z
|
||||
date: 2023-01-03
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 总结
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Y3-2022年度总结
|
||||
date: 2023-01-03T00:00:00.000Z
|
||||
date: 2023-01-03
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 总结
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Y4-2023年度总结
|
||||
date: 2024-01-07T00:00:00.000Z
|
||||
date: 2024-01-07
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- "2023"
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 厦门探店合集
|
||||
date: 2024-02-22T00:00:00.000Z
|
||||
date: 2024-02-22
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- hanser
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 2023跨年
|
||||
date: 2024-01-07T00:00:00.000Z
|
||||
date: 2024-01-07
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 跨年
|
||||
@ -81,4 +81,4 @@ banner: https://pictures.kazoottt.top/2024/10/20241017-5eef043c1bc397df87b6be5f1
|
||||
最后的感想就是:
|
||||
|
||||
1. 原来成都有这么多好吃的,之前除了要去跑线下(吃也是在机场附近或者环球中心和朋友随便找家店吃的)几乎没有出去玩过=、=。
|
||||
2. 今年一定要回成都工作,已经是三年的最后一年了。
|
||||
2. 今年一定要回成都工作,已经是三年的最后一年了。
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 一次很突然的香港之行
|
||||
date: 2024-03-23T00:00:00.000Z
|
||||
date: 2024-03-23
|
||||
author: KazooTTT
|
||||
tags: []
|
||||
finished: true
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 端午去广州玩了
|
||||
date: 2024-07-08T00:00:00.000Z
|
||||
date: 2024-07-08
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 一些烦心事
|
||||
date: 2023-01-19T00:00:00.000Z
|
||||
date: 2023-01-19
|
||||
author: KazooTTT
|
||||
tags: []
|
||||
finished: true
|
||||
|
@ -2,7 +2,7 @@
|
||||
title: 一次受骗经历
|
||||
slug: an-experience-of-deception
|
||||
published: true
|
||||
date: 2024-01-23T00:00:00.000Z
|
||||
date: 2024-01-23
|
||||
description: >-
|
||||
本文讲述了一位大学生在成都春熙路地下商场遭遇的骗局。作者被诱导进入一家店铺,经历了从免费面部检测到被迫支付高额费用的过程。在被骗后,作者通过寻求帮助,最终成功追回了大部分损失。这次经历让作者学会了更加小心谨慎,并感激那些在困难时刻给予帮助的人。文章旨在提醒读者警惕类似的消费陷阱。
|
||||
finished: true
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 最近状态比较差
|
||||
date: 2024-11-14T00:00:00.000Z
|
||||
date: 2024-11-14
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 最近的感受-积重难返
|
||||
date: 2024-05-20T00:00:00.000Z
|
||||
date: 2024-05-20
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: ChainForge简单介绍
|
||||
date: 2024-05-22T00:00:00.000Z
|
||||
date: 2024-05-22
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
@ -64,7 +64,7 @@ github地址:
|
||||
## TODO
|
||||
|
||||
1. 内部环境运行
|
||||
2. 内网环境proxy [Add Custom Providers - ChainForge Documentation](https://chainforge.ai/docs/custom_providers/ 提供了自定义llm
|
||||
2. 内网环境proxy [Add Custom Providers - ChainForge Documentation](<https://chainforge.ai/docs/custom_providers/> 提供了自定义llm
|
||||
|
||||
## 参考
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 可以免费领取tokens的大模型服务
|
||||
date: 2024-06-20T00:00:00.000Z
|
||||
date: 2024-06-20
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 使用cursor生成git commit msg
|
||||
date: 2024-11-12T00:00:00.000Z
|
||||
date: 2024-11-12
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 笔记
|
||||
@ -38,7 +38,7 @@ category: 编程-git
|
||||
|
||||
---
|
||||
|
||||
我是这样,在暂存前使用 command
|
||||
我是这样,在暂存前使用 command
|
||||
|
||||
[x.com](https://x.com/FaiChou_zh/status/1855775123271459192)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 已经发布的分支在本地重命名之后如何推送到远程
|
||||
date: 2024-10-16T00:00:00.000Z
|
||||
date: 2024-10-16
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 在vtk.js中stl和json的互相转化
|
||||
date: 2024-11-22T00:00:00.000Z
|
||||
date: 2024-11-22
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -8,7 +8,7 @@ description: >-
|
||||
"^0.80.1"。解决此问题的方法是删除node_modules目录,移除该依赖,然后重新安装依赖。
|
||||
rinId: 10
|
||||
finished: true
|
||||
date: 2024-02-07T00:00:00.000Z
|
||||
date: 2024-02-07
|
||||
category: 编程-web3
|
||||
tags:
|
||||
- expo 错误,angular cli,webpack,npm, metro-core
|
||||
|
@ -6,7 +6,7 @@ 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
|
||||
|
@ -8,7 +8,7 @@ description: >-
|
||||
v2的详细解析,为学习和研究Web3提供了丰富的资料。
|
||||
rinId: 13
|
||||
finished: true
|
||||
date: 2024-02-07T00:00:00.000Z
|
||||
date: 2024-02-07
|
||||
category: 编程-web3
|
||||
tags:
|
||||
- 比特币
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: antd switch组件错误使用案例
|
||||
date: 2024-10-12T00:00:00.000Z
|
||||
date: 2024-10-12
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- bug
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: fetch 报错排查 SocketError other side closed
|
||||
date: 2024-02-03T00:00:00.000Z
|
||||
date: 2024-02-03
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 网络
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: __dirname is not defined in ES module scope
|
||||
date: 2024-05-29T00:00:00.000Z
|
||||
date: 2024-05-29
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: npm scope公共包
|
||||
date: 2024-02-18T00:00:00.000Z
|
||||
date: 2024-02-18
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- npm
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: npm发包失败的原因
|
||||
date: 2024-02-18T00:00:00.000Z
|
||||
date: 2024-02-18
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- npm
|
||||
@ -17,7 +17,7 @@ category: 编程-前端-node
|
||||
|
||||
# Npm发包失败的原因
|
||||
|
||||
## 可能的原因:
|
||||
## 可能的原因
|
||||
|
||||
1. 当前的账号没有发包权限。(比如没有某个包或者某个scope的权限)
|
||||
2. 当前的包名不符合规范。(需要URL-safe characters)
|
||||
|
@ -9,6 +9,13 @@ description: >-
|
||||
本文详细介绍了npm和npx的区别,包括它们的定义、使用场景和具体用法。npm是Node.js的默认包管理器,用于安装、卸载和升级包,而npx是一个命令行工具,允许用户直接运行项目中的二进制文件,无需全局安装。文章通过实例说明了两者在实际开发中的应用,如使用npm安装ant
|
||||
design,以及使用npx创建nextjs项目。
|
||||
category: 编程-前端-node
|
||||
tags:
|
||||
- npm
|
||||
- npx
|
||||
- Node.js
|
||||
- 包管理器
|
||||
- CLI
|
||||
- package manager
|
||||
---
|
||||
|
||||
# Npm和npx的区别
|
||||
@ -48,7 +55,7 @@ pnpm create next-app
|
||||
|
||||
> npm(“Node 包管理器”)是 JavaScript 运行时 Node.js 的默认程序包管理器。
|
||||
> npm 由两个主要部分组成:
|
||||
>
|
||||
>
|
||||
> 1. 用于发布和下载程序包的 CLI(命令行界面)工具
|
||||
> 2. 托管 JavaScript 程序包的 [在线存储库](https://www.npmjs.com/)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: search params 请求参数
|
||||
date: 2024-11-13T00:00:00.000Z
|
||||
date: 2024-11-13
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: open graph简述
|
||||
date: 2024-04-09T00:00:00.000Z
|
||||
date: 2024-04-09
|
||||
author: KazooTTT
|
||||
tags: []
|
||||
finished: true
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 如何实现在markdown中渲染iframe
|
||||
date: 2024-04-01T00:00:00.000Z
|
||||
date: 2024-04-01
|
||||
author: KazooTTT
|
||||
tags: []
|
||||
finished: true
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 对于a标签的download属性
|
||||
date: 2024-10-15T00:00:00.000Z
|
||||
date: 2024-10-15
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
@ -24,7 +24,7 @@ description: download属性是如何定义的以及注意事项。 不能设置
|
||||
|
||||
如何定义没有值?
|
||||
|
||||
`<a download> ` 或者 `<a download="">`
|
||||
`<a download>` 或者 `<a download="">`
|
||||
|
||||
---
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 再次学习History.scrollRestoration
|
||||
date: 2024-05-23T00:00:00.000Z
|
||||
date: 2024-05-23
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: html | 浏览器滚动恢复属性History.scrollRestoration
|
||||
date: 2022-11-27T00:00:00.000Z
|
||||
date: 2022-11-27
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- history
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 前端页面在非输入的组件也出现闪烁的光标
|
||||
date: 2024-10-15T00:00:00.000Z
|
||||
date: 2024-10-15
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- bug
|
||||
@ -41,11 +41,11 @@ category: 编程-前端
|
||||
|
||||
如果你使用的是google chrome,打开浏览器设置,找到无障碍-使用光标浏览器页面,取消启用该功能。
|
||||
|
||||
方法三 (不推荐)
|
||||
方法三 (不推荐)
|
||||
|
||||
``` css
|
||||
body {
|
||||
user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 运行npm run tsc报错
|
||||
date: 2024-10-15T00:00:00.000Z
|
||||
date: 2024-10-15
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- bug
|
||||
|
@ -1,14 +1,22 @@
|
||||
---
|
||||
slug: flask-jwt
|
||||
published: true
|
||||
description: 本文对比了几个Flask可用的JWT库,包括flask-jwt-extended、Flask-JWT和jwt,根据PyPI下载量和Star量,选择使用最广泛的flask-jwt-extended。文章介绍了在父页面通过iframe嵌入子页面时,如何在子页面中验证和使用JWT token,包括页面级别和接口级别的token验证。同时,提供了安装flask-jwt-extended的命令,并建议参考官方文档进行详细配置。
|
||||
description: >-
|
||||
本文对比了几个Flask可用的JWT库,包括flask-jwt-extended、Flask-JWT和jwt,根据PyPI下载量和Star量,选择使用最广泛的flask-jwt-extended。文章介绍了在父页面通过iframe嵌入子页面时,如何在子页面中验证和使用JWT
|
||||
token,包括页面级别和接口级别的token验证。同时,提供了安装flask-jwt-extended的命令,并建议参考官方文档进行详细配置。
|
||||
category: 编程-后端-python
|
||||
title: flask-jwt
|
||||
date: 2024-09-10
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
tags:
|
||||
tags:
|
||||
- flask-jwt
|
||||
- flaskjwt扩展
|
||||
- token验证
|
||||
- iframe嵌入
|
||||
- 接口鉴权
|
||||
- 装饰器
|
||||
finished: false
|
||||
---
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: python常用的命令备忘
|
||||
date: 2024-03-27T00:00:00.000Z
|
||||
date: 2024-03-27
|
||||
author: KazooTTT
|
||||
tags: []
|
||||
finished: false
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 如何清空dns缓存
|
||||
date: 2024-02-26T00:00:00.000Z
|
||||
date: 2024-02-26
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- dns
|
||||
@ -32,7 +32,7 @@ mac如何获取自己的ip
|
||||
ifconfig
|
||||
```
|
||||
|
||||
## windows
|
||||
## windows
|
||||
|
||||
``` shell
|
||||
ipconfig /flushdns
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 视频颜色空间异常,请检查文件后重新上传
|
||||
date: 2024-11-12T00:00:00.000Z
|
||||
date: 2024-11-12
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
@ -22,6 +22,6 @@ description: 视频颜色空间异常,需要检查文件后重新上传。解
|
||||
|
||||

|
||||
|
||||
## 解决方法:
|
||||
## 解决方法
|
||||
|
||||
使用permute h265重新转码
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 我自己常用的ffmpeg批处理
|
||||
date: 2024-10-14T00:00:00.000Z
|
||||
date: 2024-10-14
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
@ -10,8 +10,9 @@ tags:
|
||||
finished: false
|
||||
published: true
|
||||
category: 软件
|
||||
slug: 01-my-own-commonly-used-ffmpeg-batch-processingmy-own-commonly-used-ffmpeg-batching
|
||||
description:
|
||||
slug: >-
|
||||
01-my-own-commonly-used-ffmpeg-batch-processingmy-own-commonly-used-ffmpeg-batching
|
||||
description: 转换FLV格式的视频成HDDP,用于弹幕压制。使用FFmpeg来实现该功能,支持多个操作系统,如Windows和macOS。
|
||||
---
|
||||
|
||||
## 720x1080批量转1920x1080(两边黑屏)
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Telegram bot推荐 VidDlPBot
|
||||
date: 2024-06-26T00:00:00.000Z
|
||||
date: 2024-06-26
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: focusee录制系统声音被强制切换为扬声器播放的可能原因和解决方法
|
||||
date: 2024-05-25T00:00:00.000Z
|
||||
date: 2024-05-25
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: MessAuto + iMessage 实现iPhone和mac信息同步和自动复制验证码
|
||||
date: 2023-09-24T00:00:00.000Z
|
||||
date: 2023-09-24
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 效率
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: shot.so
|
||||
date: 2023-09-17T00:00:00.000Z
|
||||
date: 2023-09-17
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 软件推荐
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: vscode md自动预览
|
||||
date: 2024-10-15T00:00:00.000Z
|
||||
date: 2024-10-15
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -9,7 +9,7 @@ create_time: '2024/11/22 16:42:31'
|
||||
update_time: '2024/11/23 15:03:47'
|
||||
publish_time: '2024/11/23 14:12:36'
|
||||
title: 个人工具与设备清单
|
||||
date: 2024-11-23T00:00:00.000Z
|
||||
date: 2024-11-23
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 快速获取telegram chatId然后实现消息通知的方法
|
||||
date: 2023-09-14T00:00:00.000Z
|
||||
date: 2023-09-14
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- telegram
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 摘抄
|
||||
date: 2024-03-27T00:00:00.000Z
|
||||
date: 2024-03-27
|
||||
author: KazooTTT
|
||||
tags: []
|
||||
finished: true
|
||||
|
@ -1,13 +1,12 @@
|
||||
---
|
||||
title: Can Brain Science Help Us Break Bad Habits?
|
||||
slug: can-brain-science-help-us-break-bad-habits
|
||||
published: true
|
||||
tags:
|
||||
- 摘抄
|
||||
description: >-
|
||||
研究表明,通过调整环境来隐藏诱惑,可以有效提高自控力。一项实验发现,当孩子们看不到面前的棉花糖时,他们能坚持的时间比看到棉花糖时更长。这表明自控力并非仅是个人内在品质,而是受环境影响的。因此,通过微调环境,我们或许能模仿那些看起来更有自制力的人。
|
||||
description: 研究表明,通过调整环境来隐藏诱惑,可以有效提高自控力。一项实验发现,当孩子们看不到面前的棉花糖时,他们能坚持的时间比看到棉花糖时更长。这表明自控力并非仅是个人内在品质,而是受环境影响的。因此,通过微调环境,我们或许能模仿那些看起来更有自制力的人。
|
||||
category: 阅读笔记-阅读和翻译
|
||||
date: 2024-01-07
|
||||
title: Can Brain Science Help Us Break Bad Habits
|
||||
---
|
||||
|
||||
# Can Brain Science Help Us Break Bad Habits?
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: file-downloader
|
||||
date: 2024-02-18T00:00:00.000Z
|
||||
date: 2024-02-18
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- file-downloader
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 写一个油猴脚本,自动地选择最新微博
|
||||
date: 2024-06-26T00:00:00.000Z
|
||||
date: 2024-06-26
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: 博客改造日志
|
||||
subtitle: 改造自黄玄老师提供的博客模板
|
||||
date: 2022-10-12T00:00:00.000Z
|
||||
date: 2022-10-12
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 博客
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 实现一个auto slugify
|
||||
date: 2024-02-20T00:00:00.000Z
|
||||
date: 2024-02-20
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- slug
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 微信读书网页版复制快捷键
|
||||
date: 2024-07-30T00:00:00.000Z
|
||||
date: 2024-07-30
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 油猴脚本-隐藏你的twitter信息
|
||||
date: 2023-03-16T00:00:00.000Z
|
||||
date: 2023-03-16
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- 油猴脚本
|
||||
|
Reference in New Issue
Block a user