37 Commits

Author SHA1 Message Date
87a65c2309 chore(deps-dev): bump tailwindcss from 4.0.7 to 4.1.5
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.7 to 4.1.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.5/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 03:07:04 +00:00
ff2bb77707 feat: 更新自我介绍页面
- 更改自我介绍内容为 "前端 / 吉他 / 摄影 / 追星"
- 移除旧的介绍文字和外部链接
2025-04-30 12:50:18 +08:00
f0752c8a1a feat: 添加Umami分析
- 集成Umami进行网站分析
- 添加Umami跟踪脚本
2025-04-30 12:37:07 +08:00
f05b886396 Update docs and sort content 2025-04-29 07:00:53 +00:00
48f3227688 Update docs and sort content 2025-04-29 06:54:11 +00:00
77ae882b43 Update docs and sort content 2025-04-29 06:53:56 +00:00
9c0973638a Update docs and sort content 2025-04-29 06:53:35 +00:00
a1275593b9 Update docs and sort content 2025-04-29 06:48:38 +00:00
262b6ed3ab Update docs and sort content 2025-04-29 06:39:39 +00:00
8ba6f6e413 Update docs and sort content 2025-04-28 16:30:58 +00:00
d652a45c13 Update docs and sort content 2025-04-28 16:25:32 +00:00
c15c556c06 Update docs and sort content 2025-04-24 03:51:25 +00:00
b63c52df9e Update docs and sort content 2025-04-21 14:52:49 +00:00
ec402ffbfe feat: 显示标签和分类的数量 2025-04-15 17:26:00 +08:00
a1fc14d838 feat: 修改分页大小以匹配全局配置 2025-04-15 16:46:46 +08:00
ece753d46b Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-04-15 16:43:48 +08:00
e271a2efd9 chore: 修改每页最大文章数为100 2025-04-15 16:43:46 +08:00
bd2f5178ce Update docs and sort content 2025-04-10 15:25:09 +00:00
a4d4ad6b93 docs: update self-intro content for clarity and context 2025-04-10 18:18:44 +08:00
c834969703 Update docs and sort content 2025-04-09 04:17:02 +00:00
97ce476651 Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-04-09 12:12:59 +08:00
ea0268259d docs: remove notes 2025-04-09 12:12:48 +08:00
f343d4d18c Update docs and sort content 2025-04-09 04:03:54 +00:00
37d80c7d79 Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-04-07 13:12:56 +08:00
0a72b399ce feat(social-list): 更新社交链接列表
- 移除Bilibili链接
- 更新YouTube链接
- 添加RSS链接

此次修改更新了社交链接列表,移除了不再使用的Bilibili链接,更新了YouTube链接,并添加了RSS链接。
2025-04-07 13:12:54 +08:00
ebe5cc59a5 Update docs and sort content 2025-04-05 16:53:32 +00:00
1f48dedb16 feat: 首页增加查看更多文章的链接
- 在首页的文章列表下方添加了一个“查看更多 →”的链接,指向 /posts/ 页面,方便用户浏览所有文章。
2025-04-02 12:40:09 +08:00
1a49d28395 docs: 更新自我介绍
- 简化自我介绍,只保留最基本的信息
2025-04-02 11:55:00 +08:00
827e6eeadf fix(date): replace Beijing time conversion with GMT conversion 2025-04-01 23:21:59 +08:00
f816128ccc Update docs and sort content 2025-04-01 15:06:36 +00:00
054047e2b4 Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-04-01 22:31:38 +08:00
baee12dd9f style: 修改标题和样式
- 修改网站标题为 "KazooTTT 博客"
- 修改头部导航栏样式,使页面更加美观
2025-04-01 22:31:36 +08:00
10cc40f869 Update docs and sort content 2025-04-01 14:24:23 +00:00
6aed3ff17c feat(rss): RSS 时间转换为北京时间
- 将 RSS 源中的时间转换为北京时间,保证时区正确。
- 使用 `convertToBeijingTime` 函数进行转换。
2025-04-01 22:22:39 +08:00
3a4364976c Update docs and sort content 2025-04-01 13:54:08 +00:00
7463daefe7 Update docs and sort content 2025-04-01 13:46:21 +00:00
fa9ab1a4bc chore: 移除首页的笔记模块
- 移除首页的笔记模块,因为笔记功能暂时不使用
- 修改了README中的链接格式,使用plaintext
- 修改了menuLinks,注释掉了notes
2025-04-01 17:09:42 +08:00
205 changed files with 886 additions and 7493 deletions

View File

@ -1,15 +1,13 @@
# KazooTTT | 声控烤箱 博客
# KazooTTT 博客
## 关于我
无论是博客还是笔记,最重要的服务对象是我自己。
[平台合集](<https://bento.me/kazoottt>)
[平台合集](https://bento.me/kazoottt)
[个人博客Blog](<https://blog.kazoottt.top/>)
[个人笔记 Notes](<https://notes.kazoottt.top/>)
[GitHub](<https://github.com/KazooTTT>)
[个人博客Blog](https://blog.kazoottt.top/)
[个人笔记 Notes](https://notes.kazoottt.top/)
[GitHub](https://github.com/KazooTTT)

View File

@ -40,7 +40,7 @@
"rehype-autolink-headings": "^7.1.0",
"rehype-external-links": "^3.0.0",
"rehype-unwrap-images": "^1.0.0",
"remark-directive": "^4.0.0",
"remark-directive": "^3.0.1",
"sanitize-html": "^2.14.0",
"satori": "0.12.1",
"satori-html": "^0.3.2",
@ -66,7 +66,7 @@
"prettier-plugin-astro": "0.14.1",
"prettier-plugin-tailwindcss": "^0.6.11",
"reading-time": "^1.5.0",
"tailwindcss": "4.0.7",
"tailwindcss": "4.1.5",
"typescript": "^5.7.3"
},
"packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 458 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 752 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 791 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 454 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

View File

@ -121,6 +121,11 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url
})(window, document, "clarity", "script", "kvbyuhu6d2");
</script>
<script
defer
src="https://cloud.umami.is/script.js"
data-website-id="247d7726-70c1-46fd-9453-fbe95630c3d6"></script>
<meta content={Astro.generator} name="generator" />
<style is:global>

View File

@ -1,7 +1,7 @@
---
import { Icon } from "astro-icon/components";
/**
/**
Uses https://www.astroicon.dev/getting-started/
Find icons via guide: https://www.astroicon.dev/guides/customization/#open-source-icon-sets
Only installed pack is: @iconify-json/mdi
@ -27,14 +27,9 @@ const socialLinks: {
link: "https://x.com/kazoottt",
name: "mdi:twitter",
},
{
friendlyName: "Bilibili",
link: "https://space.bilibili.com/391236013",
name: "mdi:video",
},
{
friendlyName: "YouTube",
link: "https://www.youtube.com/@kazoottt4718",
link: "https://www.youtube.com/@kazoottt255",
name: "mdi:youtube",
},
{
@ -47,6 +42,11 @@ const socialLinks: {
link: "https://bento.me/KazooTTT",
name: "mdi:open-in-new",
},
{
friendlyName: "rss",
link: "https://blog.kazoottt.top/rss.xml",
name: "mdi:rss-box",
},
];
---

View File

@ -1,111 +1,111 @@
---
import kazootttAvatar from '../../assets/kazoottt-avatar.jpeg'
import { Image } from 'astro:assets'
import kazootttAvatar from "../../assets/kazoottt-avatar.jpeg";
import { Image } from "astro:assets";
---
<header class='fixed left-0 right-0 top-0 z-50 bg-white shadow-sm dark:bg-gray-800'>
<header class="fixed top-0 right-0 left-0 z-50 bg-white shadow-sm dark:bg-gray-800">
<nav
class='mx-auto flex w-full items-center justify-between px-4 py-3 lg:flex lg:w-3/5 lg:w-4/5 lg:items-center'
aria-label='global'
class="mx-auto flex w-full items-center justify-between px-4 py-3 lg:flex lg:w-3/5 lg:w-4/5 lg:items-center"
aria-label="global"
>
<a class='flex items-center' href='/'>
<a class="flex items-center" href="/">
<Image
src={kazootttAvatar}
alt='profile photo'
class='mr-2 h-8 w-auto rounded-full lg:hidden'
loading='eager'
alt="profile photo"
class="mr-2 h-8 w-auto rounded-full lg:hidden"
loading="eager"
/>
<div class='hidden flex-none text-xl font-semibold lg:block' aria-label='Brand'>声控烤箱</div>
<div class="hidden flex-none text-xl font-semibold lg:block" aria-label="Brand">KazooTTT</div>
</a>
<!-- Mobile menu button -->
<button
id='mobileMenuButton'
class='rounded-md p-2 hover:bg-border lg:hidden'
aria-label='Toggle mobile menu'
id="mobileMenuButton"
class="hover:bg-border rounded-md p-2 lg:hidden"
aria-label="Toggle mobile menu"
>
<svg
xmlns='http://www.w3.org/2000/svg'
width='24'
height='24'
viewBox='0 0 24 24'
class='h-6 w-6'
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
class="h-6 w-6"
>
<path fill='currentColor' d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'></path>
<path fill="currentColor" d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path>
</svg>
</button>
<!-- Desktop Navigation -->
<div class='hidden flex-row items-center justify-center gap-x-7 lg:flex'>
<div class='relative'>
<div class="hidden flex-row items-center justify-center gap-x-7 lg:flex">
<div class="relative">
<a
href='/blog'
class={`peer flex items-center text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/blog') ? 'text-green-400' : ''}`}
aria-label='Blog Menu'
href="/blog"
class={`peer flex items-center text-[1.05rem] font-medium ${Astro.url.pathname.startsWith("/blog") ? "text-green-400" : ""}`}
aria-label="Blog Menu"
>
Blog
<svg
xmlns='http://www.w3.org/2000/svg'
width='20'
height='20'
viewBox='0 0 24 24'
class='ml-1 transform transition-transform duration-200 peer-hover:rotate-180'
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 24 24"
class="ml-1 transform transition-transform duration-200 peer-hover:rotate-180"
>
<path fill='currentColor' d='m12 15l-5-5h10z'></path>
<path fill="currentColor" d="m12 15l-5-5h10z"></path>
</svg>
</a>
<div
class='invisible absolute left-0 mt-2 w-48 rounded-md bg-white py-2 opacity-0 shadow-lg transition-all duration-200 hover:visible hover:opacity-100 peer-hover:visible peer-hover:opacity-100 dark:bg-gray-800'
class="invisible absolute left-0 mt-2 w-48 rounded-md bg-white py-2 opacity-0 shadow-lg transition-all duration-200 peer-hover:visible peer-hover:opacity-100 hover:visible hover:opacity-100 dark:bg-gray-800"
>
<a
href='/categories'
class={`block px-6 py-3 text-[1.05rem] font-medium transition-colors hover:bg-gray-100 ${Astro.url.pathname.startsWith('/categories') ? 'text-green-400' : ''} dark:hover:bg-gray-700`}
aria-label='Categories Page'
href="/categories"
class={`block px-6 py-3 text-[1.05rem] font-medium transition-colors hover:bg-gray-100 ${Astro.url.pathname.startsWith("/categories") ? "text-green-400" : ""} dark:hover:bg-gray-700`}
aria-label="Categories Page"
>
Categories
</a>
<a
href='/tags'
class={`block px-6 py-3 text-[1.05rem] font-medium transition-colors hover:bg-gray-100 ${Astro.url.pathname.startsWith('/tags') ? 'text-green-400' : ''} dark:hover:bg-gray-700`}
aria-label='Tags Page'
href="/tags"
class={`block px-6 py-3 text-[1.05rem] font-medium transition-colors hover:bg-gray-100 ${Astro.url.pathname.startsWith("/tags") ? "text-green-400" : ""} dark:hover:bg-gray-700`}
aria-label="Tags Page"
>
Tags
</a>
<a
href='/diary'
class={`block px-6 py-3 text-[1.05rem] font-medium transition-colors hover:bg-gray-100 ${Astro.url.pathname.startsWith('/diary') ? 'text-green-400' : ''} dark:hover:bg-gray-700`}
aria-label='Diary Page'
href="/diary"
class={`block px-6 py-3 text-[1.05rem] font-medium transition-colors hover:bg-gray-100 ${Astro.url.pathname.startsWith("/diary") ? "text-green-400" : ""} dark:hover:bg-gray-700`}
aria-label="Diary Page"
>
Diary
</a>
</div>
</div>
<a
href='/tools'
class={`flex-none text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/tools') ? 'text-green-400' : ''}`}
aria-label='Nav Menu Item'
href="/tools"
class={`flex-none text-[1.05rem] font-medium ${Astro.url.pathname.startsWith("/tools") ? "text-green-400" : ""}`}
aria-label="Nav Menu Item"
>Tools
</a>
<div class='relative'>
<button class='peer flex items-center text-[1.05rem] font-medium' aria-label='More Menu'>
<div class="relative">
<button class="peer flex items-center text-[1.05rem] font-medium" aria-label="More Menu">
More
<svg
xmlns='http://www.w3.org/2000/svg'
width='20'
height='20'
viewBox='0 0 24 24'
class='ml-1 transform transition-transform duration-200 peer-hover:rotate-180'
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 24 24"
class="ml-1 transform transition-transform duration-200 peer-hover:rotate-180"
>
<path fill='currentColor' d='m12 15l-5-5h10z'></path>
<path fill="currentColor" d="m12 15l-5-5h10z"></path>
</svg>
</button>
<div
class='invisible absolute right-0 mt-2 w-48 rounded-md bg-white py-2 opacity-0 shadow-lg transition-all duration-200 hover:visible hover:opacity-100 peer-hover:visible peer-hover:opacity-100 dark:bg-gray-800'
class="invisible absolute right-0 mt-2 w-48 rounded-md bg-white py-2 opacity-0 shadow-lg transition-all duration-200 peer-hover:visible peer-hover:opacity-100 hover:visible hover:opacity-100 dark:bg-gray-800"
>
<a
href='/friends'
class={`block px-6 py-3 text-[1.05rem] font-medium transition-colors hover:bg-gray-100 ${Astro.url.pathname.startsWith('/friends') ? 'text-green-400' : ''} dark:hover:bg-gray-700`}
aria-label='Friends Page'
href="/friends"
class={`block px-6 py-3 text-[1.05rem] font-medium transition-colors hover:bg-gray-100 ${Astro.url.pathname.startsWith("/friends") ? "text-green-400" : ""} dark:hover:bg-gray-700`}
aria-label="Friends Page"
>
Friends
</a>
@ -113,30 +113,30 @@ import { Image } from 'astro:assets'
</div>
<button
id='toggleDarkMode'
class='relative rounded-md border border-border p-1.5 transition-all hover:bg-border'
id="toggleDarkMode"
class="border-border hover:bg-border relative rounded-md border p-1.5 transition-all"
>
<span class='sr-only'>Dark Theme</span>
<span class="sr-only">Dark Theme</span>
<svg
xmlns='http://www.w3.org/2000/svg'
width='32'
height='32'
viewBox='0 0 24 24'
class='h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:hidden dark:-rotate-90 dark:scale-0'
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
viewBox="0 0 24 24"
class="h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:hidden dark:scale-0 dark:-rotate-90"
><path
fill='currentColor'
d='M12 15q1.25 0 2.125-.875T15 12q0-1.25-.875-2.125T12 9q-1.25 0-2.125.875T9 12q0 1.25.875 2.125T12 15m0 1q-1.671 0-2.836-1.164T8 12q0-1.671 1.164-2.836T12 8q1.671 0 2.836 1.164T16 12q0 1.671-1.164 2.836T12 16m-7-3.5H1.5v-1H5zm17.5 0H19v-1h3.5zM11.5 5V1.5h1V5zm0 17.5V19h1v3.5zM6.746 7.404l-2.16-2.098l.695-.744l2.111 2.134zM18.72 19.438l-2.117-2.14l.652-.702l2.16 2.098zM16.596 6.746l2.098-2.16l.744.695l-2.134 2.111zM4.562 18.72l2.14-2.117l.663.652l-2.078 2.179zM12 12'
fill="currentColor"
d="M12 15q1.25 0 2.125-.875T15 12q0-1.25-.875-2.125T12 9q-1.25 0-2.125.875T9 12q0 1.25.875 2.125T12 15m0 1q-1.671 0-2.836-1.164T8 12q0-1.671 1.164-2.836T12 8q1.671 0 2.836 1.164T16 12q0 1.671-1.164 2.836T12 16m-7-3.5H1.5v-1H5zm17.5 0H19v-1h3.5zM11.5 5V1.5h1V5zm0 17.5V19h1v3.5zM6.746 7.404l-2.16-2.098l.695-.744l2.111 2.134zM18.72 19.438l-2.117-2.14l.652-.702l2.16 2.098zM16.596 6.746l2.098-2.16l.744.695l-2.134 2.111zM4.562 18.72l2.14-2.117l.663.652l-2.078 2.179zM12 12"
></path></svg
>
<svg
xmlns='http://www.w3.org/2000/svg'
width='32'
height='32'
viewBox='0 0 24 24'
class='hidden h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:block dark:rotate-0 dark:scale-100'
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
viewBox="0 0 24 24"
class="hidden h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:block dark:scale-100 dark:rotate-0"
><path
fill='currentColor'
d='M12.058 20q-3.334 0-5.667-2.333Q4.058 15.333 4.058 12q0-3.038 1.98-5.27Q8.02 4.5 10.942 4.097q.081 0 .159.006t.153.017q-.506.706-.801 1.57q-.295.865-.295 1.811q0 2.667 1.866 4.533q1.867 1.867 4.534 1.867q.952 0 1.813-.295q.862-.295 1.548-.801q.012.075.018.153q.005.078.005.158q-.384 2.923-2.615 4.904T12.057 20'
fill="currentColor"
d="M12.058 20q-3.334 0-5.667-2.333Q4.058 15.333 4.058 12q0-3.038 1.98-5.27Q8.02 4.5 10.942 4.097q.081 0 .159.006t.153.017q-.506.706-.801 1.57q-.295.865-.295 1.811q0 2.667 1.866 4.533q1.867 1.867 4.534 1.867q.952 0 1.813-.295q.862-.295 1.548-.801q.012.075.018.153q.005.078.005.158q-.384 2.923-2.615 4.904T12.057 20"
></path></svg
>
</button>
@ -144,71 +144,71 @@ import { Image } from 'astro:assets'
<!-- Mobile Navigation -->
<div
id='mobileMenu'
class='fixed inset-x-0 top-[72px] z-50 hidden max-h-[calc(100vh-72px)] overflow-y-auto rounded-b-lg bg-white shadow-lg dark:bg-gray-800 lg:hidden'
id="mobileMenu"
class="fixed inset-x-0 top-[72px] z-50 hidden max-h-[calc(100vh-72px)] overflow-y-auto rounded-b-lg bg-white shadow-lg lg:hidden dark:bg-gray-800"
>
<div class='space-y-2 px-4 py-2'>
<div class="space-y-2 px-4 py-2">
<a
href='/blog'
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/blog') ? 'text-green-400' : ''}`}
href="/blog"
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith("/blog") ? "text-green-400" : ""}`}
>
Blog
</a>
<a
href='/categories'
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/categories') ? 'text-green-400' : ''}`}
href="/categories"
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith("/categories") ? "text-green-400" : ""}`}
>
Categories
</a>
<a
href='/tags'
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/tags') ? 'text-green-400' : ''}`}
href="/tags"
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith("/tags") ? "text-green-400" : ""}`}
>
Tags
</a>
<a
href='/diary'
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/diary') ? 'text-green-400' : ''}`}
href="/diary"
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith("/diary") ? "text-green-400" : ""}`}
>
Diary
</a>
<a
href='/tools'
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/tools') ? 'text-green-400' : ''}`}
href="/tools"
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith("/tools") ? "text-green-400" : ""}`}
>
Tools
</a>
<a
href='/friends'
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/friends') ? 'text-green-400' : ''}`}
href="/friends"
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith("/friends") ? "text-green-400" : ""}`}
>
Friends
</a>
<button
id='mobileToggleDarkMode'
class='mt-2 flex w-full items-center py-2 text-[1.05rem] font-medium'
id="mobileToggleDarkMode"
class="mt-2 flex w-full items-center py-2 text-[1.05rem] font-medium"
>
<span>Theme</span>
<svg
xmlns='http://www.w3.org/2000/svg'
width='32'
height='32'
viewBox='0 0 24 24'
class='ml-2 h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:hidden dark:-rotate-90 dark:scale-0'
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
viewBox="0 0 24 24"
class="ml-2 h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:hidden dark:scale-0 dark:-rotate-90"
><path
fill='currentColor'
d='M12 15q1.25 0 2.125-.875T15 12q0-1.25-.875-2.125T12 9q-1.25 0-2.125.875T9 12q0 1.25.875 2.125T12 15m0 1q-1.671 0-2.836-1.164T8 12q0-1.671 1.164-2.836T12 8q1.671 0 2.836 1.164T16 12q0 1.671-1.164 2.836T12 16m-7-3.5H1.5v-1H5zm17.5 0H19v-1h3.5zM11.5 5V1.5h1V5zm0 17.5V19h1v3.5zM6.746 7.404l-2.16-2.098l.695-.744l2.111 2.134zM18.72 19.438l-2.117-2.14l.652-.702l2.16 2.098zM16.596 6.746l2.098-2.16l.744.695l-2.134 2.111zM4.562 18.72l2.14-2.117l.663.652l-2.078 2.179zM12 12'
fill="currentColor"
d="M12 15q1.25 0 2.125-.875T15 12q0-1.25-.875-2.125T12 9q-1.25 0-2.125.875T9 12q0 1.25.875 2.125T12 15m0 1q-1.671 0-2.836-1.164T8 12q0-1.671 1.164-2.836T12 8q1.671 0 2.836 1.164T16 12q0 1.671-1.164 2.836T12 16m-7-3.5H1.5v-1H5zm17.5 0H19v-1h3.5zM11.5 5V1.5h1V5zm0 17.5V19h1v3.5zM6.746 7.404l-2.16-2.098l.695-.744l2.111 2.134zM18.72 19.438l-2.117-2.14l.652-.702l2.16 2.098zM16.596 6.746l2.098-2.16l.744.695l-2.134 2.111zM4.562 18.72l2.14-2.117l.663.652l-2.078 2.179zM12 12"
></path></svg
>
<svg
xmlns='http://www.w3.org/2000/svg'
width='32'
height='32'
viewBox='0 0 24 24'
class='ml-2 hidden h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:block dark:rotate-0 dark:scale-100'
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
viewBox="0 0 24 24"
class="ml-2 hidden h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:block dark:scale-100 dark:rotate-0"
><path
fill='currentColor'
d='M12.058 20q-3.334 0-5.667-2.333Q4.058 15.333 4.058 12q0-3.038 1.98-5.27Q8.02 4.5 10.942 4.097q.081 0 .159.006t.153.017q-.506.706-.801 1.57q-.295.865-.295 1.811q0 2.667 1.866 4.533q1.867 1.867 4.534 1.867q.952 0 1.813-.295q.862-.295 1.548-.801q.012.075.018.153q.005.078.005.158q-.384 2.923-2.615 4.904T12.057 20'
fill="currentColor"
d="M12.058 20q-3.334 0-5.667-2.333Q4.058 15.333 4.058 12q0-3.038 1.98-5.27Q8.02 4.5 10.942 4.097q.081 0 .159.006t.153.017q-.506.706-.801 1.57q-.295.865-.295 1.811q0 2.667 1.866 4.533q1.867 1.867 4.534 1.867q.952 0 1.813-.295q.862-.295 1.548-.801q.012.075.018.153q.005.078.005.158q-.384 2.923-2.615 4.904T12.057 20"
></path></svg
>
</button>
@ -219,59 +219,59 @@ import { Image } from 'astro:assets'
<script>
function getCurrentTheme() {
return localStorage.getItem('theme')
return localStorage.getItem("theme");
}
function setupDarkModeToggle() {
const toggleDarkModeButton = document.getElementById('toggleDarkMode')
const mobileToggleDarkMode = document.getElementById('mobileToggleDarkMode')
const toggleDarkModeButton = document.getElementById("toggleDarkMode");
const mobileToggleDarkMode = document.getElementById("mobileToggleDarkMode");
function toggleTheme() {
const currentTheme = getCurrentTheme()
const newTheme = currentTheme === 'dark' ? 'light' : 'dark'
localStorage.setItem('theme', newTheme)
document.documentElement.classList.toggle('dark')
const currentTheme = getCurrentTheme();
const newTheme = currentTheme === "dark" ? "light" : "dark";
localStorage.setItem("theme", newTheme);
document.documentElement.classList.toggle("dark");
// Dispatch theme change event
window.dispatchEvent(new CustomEvent('theme-change', { detail: { theme: newTheme } }))
window.dispatchEvent(new CustomEvent("theme-change", { detail: { theme: newTheme } }));
}
if (toggleDarkModeButton) {
toggleDarkModeButton.addEventListener('click', toggleTheme)
toggleDarkModeButton.addEventListener("click", toggleTheme);
}
if (mobileToggleDarkMode) {
mobileToggleDarkMode.addEventListener('click', toggleTheme)
mobileToggleDarkMode.addEventListener("click", toggleTheme);
}
}
function setupMobileMenu() {
const mobileMenuButton = document.getElementById('mobileMenuButton')
const mobileMenu = document.getElementById('mobileMenu')
if (!mobileMenuButton || !mobileMenu) return
const mobileMenuButton = document.getElementById("mobileMenuButton");
const mobileMenu = document.getElementById("mobileMenu");
if (!mobileMenuButton || !mobileMenu) return;
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden')
})
mobileMenuButton.addEventListener("click", () => {
mobileMenu.classList.toggle("hidden");
});
// Close mobile menu when clicking outside
document.addEventListener('click', (event) => {
document.addEventListener("click", (event) => {
if (
!mobileMenuButton.contains(event.target as Node) &&
!mobileMenu.contains(event.target as Node)
) {
mobileMenu.classList.add('hidden')
mobileMenu.classList.add("hidden");
}
})
});
}
// Setup initial functionality
setupDarkModeToggle()
setupMobileMenu()
setupDarkModeToggle();
setupMobileMenu();
// Re-setup functionality after view transitions
document.addEventListener('astro:after-swap', () => {
setupDarkModeToggle()
setupMobileMenu()
})
document.addEventListener("astro:after-swap", () => {
setupDarkModeToggle();
setupMobileMenu();
});
</script>

View File

@ -1,32 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-02-11'
slug: diary-2023-02-11
date: 2023-02-11T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
2023年2月11日星期六菜单包括外婆菜炒蛋搭配土豆箜饭饮料为冰糖加柠檬片。当天的计划包括使用tailwind编写样式学习Photoshop或Figma操作以制作视频封面模板以及进行AI
Hanser的相关工作。
category: 日记
date_created: 20250104
date_modified: 20250304
---
## 今日菜单 + 饮料
外婆菜炒蛋 + 土豆箜饭
冰糖 + 柠檬片
## 今日计划
- [ ] 使用 tailwind 编写样式
- [ ] 学习 ps 或者 figma 操作,制作视频封面模板
- [ ] AI Hanser

View File

@ -1,30 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-08'
slug: diary-2023-09-08
date: 2023-09-08T00:00:00.000Z
author: KazooTTT
tags:
- 歌词
- 日记
- hanser
description: 2023年9月8日星期五的记录中提到了一段关于直播的内容强调不需要背负任何负担只需带着空行囊和彼此即可。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-08 星期五
<!-- start of weread -->
<!-- end of weread -->
## 直播
> 不需要 背负任何
> 只需要空行囊和彼此就够

View File

@ -1,29 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-09'
slug: diary-2023-09-09
date: 2023-09-09T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 2023年9月9日星期六的日程安排包括已完成的项目升级和游泳以及待完成的nextjs+node运行时脚本测试。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-09 星期六
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
- [x] 版本升级
- [ ] nextjs+node 运行时 脚本运行测试
- [x] 游泳

View File

@ -1,23 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-10'
slug: diary-2023-09-10
date: 2023-09-10T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
2023年9月10日某博客讨论了其支持的模板语法指出虽然功能丰富但使用起来感觉不够灵活且学习成本较高。文章中提出疑问低代码是否是一种高效但可能过于简化的编程方式。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-10 星期日
- 13:17 某博客支持各种模板语法,但是使用的时候反而觉得不灵活以及学习成本过高了。<br>觉得突然想到,是不是低代码是一种含糖量极高的编程方式。<br>

View File

@ -1,41 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-12'
slug: diary-2023-09-12
date: 2023-09-12T00:00:00.000Z
author: KazooTTT
tags:
- 健身
- 日记
description: >-
今天的任务包括完成多项链表相关的编程题目其中已完成的有“86.分隔链表”和“141.环形链表”未完成的有“142.环形链表-ii”和“160.相交链表”。此外已完成的任务还包括在Obsidian中链接外部代码文件。健身方面进行了跑步、椭圆机和器械锻炼并计划下次带拖鞋以便洗完澡后直接穿回家。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-12 星期二
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
- [ ] 刷题回顾
- [x] [86.分隔链表](https://notes.kazoottt.top/03-领域/算法/记录/86.分隔链表)
- [x] [141.环形链表](https://notes.kazoottt.top/03-领域/算法/记录/141.环形链表)
- [ ] [142.环形链表-ii](https://notes.kazoottt.top/03-领域/算法/记录/142.环形链表-ii)
- [ ] [[160.相交链表]]
- [x] [[obsidian链接外部代码文件]]
## 健身
【打卡】跑步 15 分钟,椭圆机 15 分钟,器械(大腿 腹部 背部4 组
下次要把拖鞋带来,洗完澡直接穿拖鞋回家。

View File

@ -1,79 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-13'
slug: diary-2023-09-13
date: 2023-09-13T00:00:00.000Z
author: KazooTTT
tags:
- 日记
- todo
description: >-
On September 13, 2023, the individual focused on several tasks including
reviewing coding problems, specifically completing the "141.环形链表" and planning
to tackle "142.环形链表-ii" and "160.相交链表". They also dealt with issues related to
the react-noiton-x library, which is used in their blog's search interface,
and attempted to compile the library from source code due to outdated
versions. Challenges included issues with yarn proxy settings, understanding
workspace concepts, and the process of npm publishing. Additionally, they
worked on their blog, integrating Sentry for error tracking and adjusting the
giscus comment section's style to better fit different themes. On the personal
front, they skipped the gym due to poor physical condition but exercised at
home using an elliptical machine. They also considered upgrading their
smartwatch as it was no longer compatible with the latest watch face market
updates.
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-13 星期三
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
- [ ] 刷题回顾
- [x] [141.环形链表](https://notes.kazoottt.top/03-领域/算法/记录/141.环形链表)
- [ ] [142.环形链表-ii](https://notes.kazoottt.top/03-领域/算法/记录/142.环形链表-ii)
- [ ] [[160.相交链表]]
## 打卡
wakatime 数据:
![IMG-20241021113029099](<https://pictures.kazoottt.top/2024/11/20241125-7139a104f1df9b03b462a7d8b582b109.png>)
## React-noiton-x
今天一直在看 react-noiton-x 的问题,因为博客里依赖了这个库的搜索接口,而该接口虽然在源代码里更新了,但是最新一次打包是二月份
![IMG-20241021113029126](<https://pictures.kazoottt.top/2024/11/20241125-e05ed84ba105012a9d605957c3813d65.png>)
所以尝试自己从源代码打包一份,然后新发一个版本给自己使用。
遇到的问题有:
1. 忘记修改过 yarn 的代理(公司内网),导致安装失败。代理优先级应该是 yarn 自身代理>npm 代理
2. 对于 workspace 的概念不熟悉
3. 对于 npm 发布不熟悉
后续要做的事:
打包,然后发布
## Blog
然后继续折腾了一下博客,接入了 sentry,
之前的 giscus 评论区的样式是比较怪异的(即使切换了主题,背景色还是白色),今天做成适配的了。不过这个切换有些生硬,后续要加个过渡
![IMG-20241021113029153](<https://pictures.kazoottt.top/2024/11/20241125-c8924e57d362b973da60017a4ad7bbdd.gif>)
## 健身
状态不好没去健身房在家踩了椭圆机3-11 档阻力交叉 30 分钟
=、= 感觉该换手表了,突然发现这个手表表盘市场都不兼容了
![IMG-20241021113029196](<https://pictures.kazoottt.top/2024/11/20241125-4cd6f6565440bf5c21b6ee94587de167.jpeg>)
![IMG-20241021113029229](<https://pictures.kazoottt.top/2024/11/20241125-16152535d36b14dc442cccfd8484b72b.jpeg>)

View File

@ -1,37 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-14'
slug: diary-2023-09-14
date: 2023-09-14T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
今天是2023年9月14日星期四。今天的计划包括打卡和健身。健身内容包括跑步20分钟和使用器械30分钟虽然9点去健身房时间有点紧张。此外已经下单了一款新手表预计下周五到货。感觉自己的背部似乎直了一些。还提到了一种快速获取telegram
chatId并实现消息通知的方法。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-14 星期四
<!-- start of weread -->
<!-- end of weread -->
## 健身
健身打卡
跑步 20 分钟,器械 30 分钟9 点去健身房时间还是有点紧了!
下单了新的手表,下周五能到!
不知道是不是错觉,感觉自己背直了一点
[快速获取telegram chatId然后实现消息通知的方法](/notes/quick-way-to-get-telegram-chatid-and-then-implement-message-notification)

View File

@ -1,28 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-15'
slug: diary-2023-09-15
date: 2023-09-15T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 2023年9月15日星期五的日程包括修复notion-blog中vercel og的问题并进行打卡记录。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-15 星期五
<!-- start of weread -->
<!-- end of weread -->
## 打卡
[修复了notion-blog中vercel og的问题](https://notes.kazoottt.top/05-临时/01-草稿箱/修复了notion-blog中vercel og的问题)

View File

@ -1,51 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-17'
slug: diary-2023-09-17
date: 2023-09-17T00:00:00.000Z
author: KazooTTT
tags:
- 健身
- 日记
description: >-
2023年9月17日个人日记记录了当天的活动和任务。白天主要在休息晚上进行了健身活动包括30分钟的椭圆机训练和30分钟的器械训练。健身后回家泡脚并在此期间编写了一个油猴脚本用于直播间管理增强已完成弹窗样式修改和response拦截及第一页数据填充后续计划实现滚动加载后的数据填充。此外还记录了两个待处理的事项屏蔽推特黄推和使用shot.so进行图片美化。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-17 星期日
<!-- start of weread -->
<!-- end of weread -->
## 打卡
今天白天主要在休息,
晚上出门健身了,椭圆机 30 分钟,器械 30 分钟。
然后回到家泡了脚,出了挺多汗的。
一边泡脚一边写了一个油猴脚本,具体如下。
[直播间管理增强脚本](https://notes.kazoottt.top/05-临时/01-草稿箱/直播间管理增强脚本)
今日完成:
弹窗样式修改
response 拦截 + 第一页数据填充
后面要做的事:
实现滚动加载后,填充对应的数据
![IMG-20241021113029272](<https://pictures.kazoottt.top/2024/11/20241125-15619d7536bbeb8537e13a5580d60fbd.png>)
## Inbox
[屏蔽推特黄推](/notes/blocking-twitter-yellow-tweets)
[shot.so - 图片美化工具](/notes/shotso-image-beautification-tool)

View File

@ -1,34 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-09-24'
slug: diary-2023-09-24
date: 2023-09-24T00:00:00.000Z
author: KazooTTT
tags:
- 翻译
- 日记
description: >-
今天的任务包括翻译YouTube视频《Monorepos - How the Pros Scale Huge Software Projects //
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事项。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-09-24 星期日
<!-- start of weread -->
<!-- end of weread -->
## 打卡
[Monorepos - How the Pros Scale Huge Software Projects // Turborepo vs Nx](<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

View File

@ -1,32 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-10-06'
slug: diary-2023-10-06
date: 2023-10-06T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
今天的任务包括给手表充电和录制关于如何使用MessAuto和iMessage实现iPhone和mac信息同步及自动复制验证码的视频并计划将视频发布到B站和小红书上。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-10-06 星期五
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
- [ ] 给手表充电
- [ ] 录 [[安利/MessAuto + iMessage 实现iPhone和mac信息同步和自动复制验证码]] 的视频,发布到 b 站和小红书
## Inbox

View File

@ -1,30 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-10-10'
slug: diary-2023-10-10
date: 2023-10-10T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 今天的计划包括阅读vite文档并进行打卡和处理inbox事项。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-10-10 星期二
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
[从零开始阅读vite文档](https://notes.kazoottt.top/05-临时/01-草稿箱/从零开始阅读vite文档)
## Inbox

View File

@ -1,30 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-10-18'
slug: diary-2023-10-18
date: 2023-10-18T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 今天的日程包括图片上传测试和打卡活动同时有一个待处理的inbox事项。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-10-18 星期三
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
[[图片上传测试]]
## Inbox

View File

@ -1,30 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-10-21'
slug: diary-2023-10-21
date: 2023-10-21T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 2023年10月21日星期六的日程安排包括打卡和处理inbox事务。具体打卡内容通过一张图片展示而inbox的具体内容未详细说明。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-10-21 星期六
<!-- start of weread -->
<!-- end of weread -->
## 打卡
![IMG-20241021113029319](<https://pictures.kazoottt.top/2024/11/20241125-2c8dfa24dd6c560da504635981725bb0.png>)
## Inbox

View File

@ -1,30 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-10-22'
slug: diary-2023-10-22
date: 2023-10-22T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 今天的计划包括防抖技术的学习和打卡任务,同时还有待处理的邮件。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 2023-10-22 星期日
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
[防抖](https://notes.kazoottt.top/05-临时/01-草稿箱/防抖)
## Inbox

View File

@ -1,30 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-11-06'
slug: diary-2023-11-06
date: 2023-11-06T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 2023年11月6日星期一记录了当天的打卡情况显示Wakatime的使用时间较长给人留下了深刻印象。此外还提到了inbox但未详细说明内容。
category: 日记
date_created: 20250104
date_modified: 20250304
---
## 打卡
![IMG-20241021113029371](<https://pictures.kazoottt.top/2024/11/20241125-d50f8d9b645bbfacc13485c8594b5f18.png>)
今天的 wakatime 有点恐怖了
## Inbox
<!-- start of weread -->
<!-- end of weread -->

View File

@ -1,33 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-11-16'
slug: diary-2023-11-16
date: 2023-11-16T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
今天是2023年11月16日星期四。今天的主要任务是开始学习web3特别是参加了一个名为solidity_bootcamp的在线课程该课程由open
build提供。此外还记录了学习笔记但具体内容未在提供的材料中详细说明。
category: 日记
date_created: 20250104
date_modified: 20250304
---
## 打卡
开始学习 web3上周报名的 open build 的 solidity_bootcamp 开营了。
[solidity_bootcamp学习笔记](https://notes.kazoottt.top/03-领域/web3/solidity_bootcamp学习笔记)
## Inbox
<!-- start of weread -->
<!-- end of weread -->

View File

@ -1,33 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2023-11-17'
slug: diary-2023-11-17
date: 2023-11-17T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
今天的任务清单中已完成的是下午去办理港澳通行证而未完成的是准备公司评级的材料和学习web3基础知识。此外今天的日程中还包括打卡和查看inbox但没有具体的事项列出。
category: 日记
date_created: 20250104
date_modified: 20250304
---
## 明天要做的事情
- [x] 下午去办港澳通行证
- [ ] 去公司准备评级的材料
- [ ] 学习 web3 基础知识
## Inbox
<!-- start of weread -->
<!-- end of weread -->

View File

@ -1,42 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-03-05'
slug: diary-2024-03-05
date: 2024-03-05T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
今天的主要任务包括完成Python学习至day15和刷题已完成的任务有Python学习和刷题。未完成的任务包括整理周一和周二的资讯、进行多线程批量测试、解决Python的AttributeError问题以及JetBrains
IDE的terminal无法打开问题。此外还帮助前部门面试了一位前端候选人。明天计划继续处理未完成的任务并记录了2024年3月5日的文件路径信息。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 今天要做的事情
- [x] python 看到 day15 [python100 1-15](https://notes.kazoottt.top/03-领域/后端/python/python100 1-15)
- [x] 刷题
- [ ] 整理周一和周二的资讯
- [ ] 多线程批量跑测试
- [ ] [[AttributeError module 'select' has no attribute 'epoll']]
- [ ] [[jerbrains的ide打不开terminal]]
- [ ] [2024-03-05 刷题](https://notes.kazoottt.top/03-领域/算法/记录/2024-03-05 刷题)
# 打卡
主要在看 Python另外刷了两道算法题。
帮之前部门的人面试了一个前端。​​​
# Inbox
<!-- start of weread -->
<!-- end of weread -->

View File

@ -1,50 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-03-06'
slug: diary-2024-03-06
date: 2024-03-06T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
今天的工作主要集中在解决错误和提交代码上成功地向autogen和notionnext提交了pull
request其中autogen的请求已被合并。同时开通了notion
ai并迁移了部分本地内容到博客上。此外收到了购买的时尚小物品感到非常满意。遗憾的是今天没有进行学习和刷题。计划早点休息为明天做准备。
category: 日记
date_created: 20250104
date_modified: 20250304
---
# 打卡
工作上排了一天的错,本来要做的工作也没有做。
给 autogen 和 notionnext 提了 prautogen 的已经被合并了,这是第二次被 autogen 合并,
🙏非常感谢。
然后开通了 notion ai发现它支持 google pay这点对我来说挺友好的。开通的原因是想用它的自动生成 tags 和 summary 的功能。搭配 notionnext比较方便。然后迁移了一部分本地的内容到博客上去。
买的时尚小垃圾到了,挺喜欢的。
![IMG-20241021113029511](<https://pictures.kazoottt.top/2024/11/20241125-30be30b76c47cff90a88e37b7562e1ed.png>)
![IMG-20241021113029604](<https://pictures.kazoottt.top/2024/11/20241125-15265af8fa83af8ec5365f588256f85b.jpeg>)
![IMG-20241021113029671](<https://pictures.kazoottt.top/2024/11/20241125-c33b78a016b48a6729cb3aa8e939e125.jpeg>)
今天的不足之处是没有学习也没有刷题。
昨天太累了,今天早睡吧。晚安。
# Inbox
<!-- start of weread -->
<!-- end of weread -->

View File

@ -1,27 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
slug: fragmented-notes-2024-10-21-11-17-17
tags:
- 财务管理
- 飞书
- 记账软件
- 碎片
description: 使用飞书作为记账工具,能够有效地记录和管理财务信息。
date_created: 20250104
date_modified: 20250304
title: 2024-10-21 11分17秒 使用飞书来记账
date: 2024-10-21T00:00:00.000Z
author: KazooTTT
category: 碎片
---
使用飞书来记账
![IMG-57FB4A797CCE28DF5413ACAC19610F28](</mdImages/IMG-57FB4A797CCE28DF5413ACAC19610F28.png>)
![IMG-7F9EB8A6DF15D7814E3A8AEBB48D1E6B](</mdImages/IMG-7F9EB8A6DF15D7814E3A8AEBB48D1E6B.png>)

View File

@ -1,51 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
slug: fragmented-notes-2025-02-16-23-41-18
tags:
- 复古相机,摄影爱好者,数字中心
- 碎片
description: >-
Vintage Camera Lab
是专注于复古相机的网站,提供多种型号的详细信息与历史,按品牌、格式和类型分类,便于摄影师、收藏家了解相机的背景与特点。此外,该网站还提供复古相机风格的周边商品。
date_created: 20250104
date_modified: 20250304
title: 2024-10-25 13分02秒 Vintage Camera Lab
date: 2025-02-16T00:00:00.000Z
author: KazooTTT
category: 碎片
---
![IMG-69C73A35AE6AA1B14805360168652323](</mdImages/IMG-69C73A35AE6AA1B14805360168652323.png>)
**Vintage Camera Lab复古相机爱好者的数字中心**
**地址**[Vintage Camera Lab](<https://vintagecameralab.com/>)
**日期**20241025
**摘要**Vintage Camera Lab 是专注于复古相机的网站,涵盖多种型号的详细信息与历史,按品牌、格式和类型分类,便于摄影师、收藏家等了解相机的背景与特点。同时,该网站还提供复古相机风格的周边产品。
**亮点**
- 丰富的相机数据库,包含规格与历史背景。
- 支持按品牌、格式和类型分类。
- 提供复古相机主题的周边商品。
- 面向复古摄影爱好者和相机收藏家。
---
Vintage Camera Lab复古相机爱好者的数字中心
Vintage Camera Lab 是专注于复古相机的网站,涵盖多种型号的详细信息与历史,按品牌、格式和类型分类,便于摄影师、收藏家等了解相机的背景与特点。同时,该网站还提供复古相机风格的周边产品。
亮点:
• 丰富的相机数据库,包含规格与历史背景。
• 支持按品牌、格式和类型分类。
• 提供复古相机主题的周边商品。
• 面向复古摄影爱好者和相机收藏家。

View File

@ -1,31 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
slug: fragmented-notes-2025-02-16-23-40-56
tags:
- 磁带盒设计
- 磁带收藏
- 碎片
- 在线商店
description: >-
Tapedeck.org
为磁带设计提供了丰富的信息和历史记录,包括功能型设计、色彩丰富和形状变化等。网站还支持用户分享自己的磁带收藏,并为此提供了详细的提交指南。此外,网站还提供了在线商店销售与磁带相关的周边产品。
date_created: 20250104
date_modified: 20250304
title: 2024-10-25 13分11秒 Tapedeck
date: 2024-10-25T00:00:00.000Z
author: KazooTTT
category: 碎片
---
![IMG-50A2519769D27745F083E18F4D48FC55](</mdImages/IMG-50A2519769D27745F083E18F4D48FC55.png>)
Tapedeck.org 提供了从 60 年代初的功能型磁带到 90 年代的各种形状变化的磁带盒设计。
- 记录了丰富的磁带设计历史和信息,从早期的功能性设计到后来的色彩丰富和形状变化。
- 网站鼓励用户分享自己的磁带收藏,提供了详细的提交指南。
- 网站还提供了一个在线商店销售与磁带相关的周边。

View File

@ -1,29 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
slug: fragmented-notes-2025-02-19-21-11-13
tags:
- 碎片
- craft第三方链接Office文档
description: Craft 第三方链接解析兼容性更好美观程度也更好。然而Craft提供的免费服务有限仅为试用版本后期需要付费使用。
date_created: 20250220
date_modified: 20250304
title: 2024-10-28 18分05秒 craft原来要收费
date: 2024-10-28T00:00:00.000Z
author: KazooTTT
category: 碎片
---
对于第三方链接的解析craft 的兼容性和美观程度是更好的。
![IMG-C58CD0BCE8298B39A32CF9B5698EF4DC](</mdImages/IMG-C58CD0BCE8298B39A32CF9B5698EF4DC.png>)
![IMG-19B31E2B37A4ADD4C3F65725068BCAC4](</mdImages/IMG-19B31E2B37A4ADD4C3F65725068BCAC4.png>)
![IMG-330ABC2555F1F3E34E3D9FBB55B9C8F9](</mdImages/IMG-330ABC2555F1F3E34E3D9FBB55B9C8F9.png>)
我一直以为 Craft 是免费的,今天才发现是最开始免费 10 个 doc后面每周可以免费创建 2 个 doc。

View File

@ -1,59 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-11-26'
slug: diary-2024-11-26
date: 2024-11-26T00:00:00.000Z
day_of_week: 星期二
author: KazooTTT
tags:
- 日记
- 幸福的具象化
- milklove
description: >-
今天是milklove宣布二搭、三搭的日子。根据截图牛奶爱情已经发展到了很幸福的阶段。有许多视频和 GIFs
表示了他们之间的亲密度和甜蜜。虽然没有具体详细信息但可以看出这对人是非常恩爱的。在这里汇总了一些关键的视频和截图展示了milklove的幸福感和关怀。
category: 日记
date_created: 20250104
date_modified: 20250304
---
很幸福的一天,今天是 milklove 宣布二搭、三搭的日子。
6 月入坑牛奶爱情,不知不觉嗑到现在,从没想过今天这样的发展。
在这里汇总一下今天的一些视频。
[截修](<https://weibo.com/7101901680/P28tdryDc#comment>)
![7101901680_P28tdryDc_3_007KCR3ily1hw00ujf2kdj30ok0wrhdt](<https://pictures.kazoottt.top/2024/11/20241127-146e50893c94f9353d1dc1b4fb57cf9f.jpg>)
![7101901680_P28tdryDc_2_007KCR3ily1hw00uoshooj30ok0wrhdt](<https://pictures.kazoottt.top/2024/11/20241127-2fbf4d6dd6bfbab6f90dc9bb07616302.jpg>)
![7101901680_P28tdryDc_1_007KCR3ily1hw00umrpncj30ok0wrhdt](<https://pictures.kazoottt.top/2024/11/20241127-5ccf20fa63efa8c2cbb5fb96f24a9165.jpg>)
[幸福的具象化](<https://weibo.com/6083416567/P28jkx9MS#comment>)
![IMG-20241127003154185](<https://pictures.kazoottt.top/2024/11/20241127-116eefa7b7e4f45a768949a17c5eb2e1.gif>)
![Pasted image 20241127003452](<https://pictures.kazoottt.top/2024/11/20241127-05fca095f483c27c58e0f5b092b3d69a.png>)
[girl rule cut](<https://weibo.com/1750538651/P27NfAOja#comment>)
[亲亲](<https://weibo.com/1825971940/P288xfVxF#comment>)
![lJxtFWEflx08jTFnm57i0104120011iE0E010](<https://pictures.kazoottt.top/2024/11/20241127-3f6f17edcb438269258e15de9e0a885d.gif>)
[二搭 预告片 婉司姬](<https://weibo.com/1753015991/P27pq9oJU#comment>)
![Pasted image 20241127003346](<https://pictures.kazoottt.top/2024/11/20241127-cec219a8dbcaef9195964df8a2775832.png>)
[二搭 预告片 弯弯字幕组](<https://weibo.com/7392264056/P27lQtUnd#comment>)
![Pasted image 20241127003356](<https://pictures.kazoottt.top/2024/11/20241127-80e0bb6d50b0e8356ea53361e771365a.png>)
[Findwichh推介会汇总](<https://weibo.com/6613951279/P29c7fgx9#comment>)

View File

@ -1,48 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-11-27'
slug: diary-2024-11-27
date: 2024-11-27T00:00:00.000Z
day_of_week: 星期三
author: KazooTTT
tags:
- 日记
description: >-
windsurf 赠送了试用的天数,个人发现 windsurf 的 cursor 自动补全速度比其他软件快且更智能。然而volview 中的 store
信息难以理解,而 Crop2D.vue 的文件内容未能解释明了。此外,安装 canvas 时遇到错误,需要参考 node-canvas 的 Windows
安装指导解决问题。
category: 日记
date_created: 20250104
date_modified: 20250304
---
windsurf 赠送了试用的天数
![Pasted image 20241127102521](<https://pictures.kazoottt.top/2024/11/20241129-f78ed74651c9e92353b0b3f88033b873.png>)
个人感觉 cursor 的自动补全速度比 windsurf 快和智能很多
volview 也这么多 store谁能看懂...
![Pasted image 20241127182204](<https://pictures.kazoottt.top/2024/11/20241129-aa7cb1a643a25a79e8726605fd2b1106.png>)
`src\components\tools\crop\Crop2D.vue`
啥意思
![Pasted image 20241127182701](<https://pictures.kazoottt.top/2024/11/20241129-5550cf97c227b40010dffa544417d125.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>)

View File

@ -1,76 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-11-28'
slug: diary-2024-11-28
date: 2024-11-28T00:00:00.000Z
day_of_week: 星期四
author: KazooTTT
tags:
- 日记
description: >-
VSCode加速设置可以提高你的开发效率尤其是对于低端显卡或者集成显卡的机器。打开 VSCode命令面板输入 "Preferences:
Configure Runtime
Arguments"然后添加“disable-hardware-acceleration”true实验发现它确实有助于提高工作效率。但是如果你的
SonarLint 占用内存过高,就会导致卡顿问题。此外,你还遇到了 vite-plugin-checker 的错误,解决方法是安装或重新安装 uv。
category: 日记
date_created: 20250104
date_modified: 20250304
---
[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\xxx.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
![image.png](<https://pictures.kazoottt.top/2024/11/20241128-365eae5fe7493a84658fb9bbfa7555cb.png>)
[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 真好玩
我怎么这么久了才开始玩(谢谢酱紫表的安利)
![CleanShot 2024-11-28 at 23.40.12@2x.png](<https://pictures.kazoottt.top/2024/11/20241128-bde60eeee02f234a59d87d2144a4a4d3.png>)
[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>)

View File

@ -1,69 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-11-29'
date: 2024-11-29T00:00:00.000Z
day_of_week: 星期五
author: KazooTTT
tags:
- 日记
description: >-
Qube可以集成到GitHub上详细了解如何进行集成请参考YouTube上的视频。 如果出现HTTP
409错误首先删除使用该码的容器然后再删除相关容器。 在深度学习工具中Ollama是一个非常好的沉浸式翻译工具。
区分重启和刷新按钮时需要注意到不同操作的差异。在Windows系统上虽然没有macOS类似的窗口管理工具但仍可以使用Raycast等第三方应用进行任务
automation。 Adobe Express可以帮助我们将图片转换为SVG格式并提供了一个简单易用的工具。
在使用ECharts时Canvas和SVG两个渲染器的选择主要取决于软硬件环境、数据量和功能需求。在需要优化性能的问题场景下尝试结合实验来确定使用哪种渲-render器更合适。
只有在你熟悉用canvas手搓图表时你才能在网页上创建这种图。 最近的工作包括编辑器图片上传重构、移动端应用程序的开发以及学习VTK和图形学。
slug: diary-2024-11-29
category: 日记
date_created: 20250104
date_modified: 20250304
---
qube 如何集成到 github:
[GitHub Integration | Mapping your organization into SonarQube - YouTube](<https://www.youtube.com/watch?v=6zvBuZr8CeI>)
Image HTTP code 409 is in use. Delete the container that's using it and try again.
先删除 container 再删除 volume
沉浸式翻译使用 ollama
如何区分重启和刷新按钮
windows 有没有像 macos 一样的窗口管理工具loop raycast 之类的
[Adobe Express](<https://new.express.adobe.com/tools/convert-to-svg>)
covnert image to svg (需要登录)
![image.png](<https://pictures.kazoottt.top/2024/11/20241129-771df278cae6c89066af0a9a882f3ff9.png>)
[Canvas vs. SVG - 最佳实践 - 使用手册 - Apache ECharts](<https://echarts.apache.org/handbook/zh/best-practices/canvas-vs-svg/>)
> [!note]
> 选择哪种渲染器,我们可以根据软硬件环境、数据量、功能需求综合考虑。
>
> - 在软硬件环境较好,数据量不大的场景下,两种渲染器都可以适用,并不需要太多纠结。
> - 在环境较差,出现性能问题需要优化的场景下,可以通过试验来确定使用哪种渲染器。比如有这些经验:
> - 在需要创建很多 ECharts 实例且浏览器易崩溃的情况下(可能是因为 Canvas 数量多导致内存占用超出手机承受能力),可以使用 SVG 渲染器来进行改善。大略的说,如果图表运行在低端安卓机,或者我们在使用一些特定图表如 [水球图](<https://ecomfe.github.io/echarts-liquidfill/example/>) SVG 渲染器可能效果更好。
> - 数据量较大(经验判断 > 1k、较多交互时建议选择 Canvas 渲染器。
我什么时候可以做到用 canvas 手搓这种图
![image.png](<https://pictures.kazoottt.top/2024/11/20241129-60d83ca2693fd5e9774743f352039c2b.png>)
最近可以做的事情:
编辑器图片上传重构
编辑器高度修改
行间高度调整
用 rn 重写移动端
ml 资源整合
vtk、图形学学习
obsidian 插件 ollama generate slug tags

View File

@ -1,38 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-11-30'
date: 2024-11-30T00:00:00.000Z
day_of_week: 星期六
author: KazooTTT
tags:
- 日记
description: >-
为了更快地启动 Visual Studio CodeVSCodeextention先按下 Ctrl+Shift+P或Cmd+Shift+P进入
Command Pallete。然后输入“Startup Performance”并选择相关选项完成后记得激活功能以保持其设置。
如果存在占用特定端口的程序请使用命令“lsof -i :<PORT>”识别端口对应的进程IDPID再使用命令“kill -9
<PID>”终止该进程。也可以使用更方便的方式“kill -9 $(lsof -t -i :<PORT>)”,即直接杀死占用端口的进程。
slug: diary-2024-11-30
category: 日记
date_created: 20250104
date_modified: 20250304
---
vscode extention 启动时间
按下 Ctrl+Shift+PWindows/Linux或 Cmd+Shift+PmacOS输入 “Startup Performance” 并选择该选项。 关注Finish Activate
kill 端口为 x 的进程
```
lsof -i :<PORT>
kill -9 <PID>
```
```
kill -9 $(lsof -t -i :<PORT>)
```

View File

@ -1,47 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-12-11'
date: 2024-12-11T00:00:00.000Z
day_of_week: 星期三
author: KazooTTT
tags:
- 日记
description: >-
我上周忙得满不在乎wakatime 的数据显示,我加班的时间直接进入了全球前 100。主要是做 vtk.js
的开发花了很多时间,不仅没有做到原先计划的需求,还对 polydata
的变化感到困惑。虽然我耐下了心理压力,能清晰地理解项目里的复杂数据流转,但是写文档还是头昏眼花,一时起走神来。除了上周加班外,我也试用了
react-scan 和安卓视频下载软件,好看的个人主页让我感动。
slug: diary-2024-12-11
category: 日记
date_created: 20250104
date_modified: 20250304
---
终于没有那么忙了,上周忙成狗了,加班加的 wakatime 时长直接进入全球前 100 了
![image.png](<https://pictures.kazoottt.top/2024/12/20241210-c47db55ce8a5198e2eafb096444aab6f.png>)
![image.png](<https://pictures.kazoottt.top/2024/12/20241210-a064bc9e2410f0bfba01ba7323277e64.png>)
上周在忙什么?主要是做 vtk.js 的开发花了很多时间,不然后续的需求查漏补缺我不会做的这么着急。
对于 vtk.js 的掌握程度还是太低了,甚至连 polydata 的变化要怎么写都是临时掌握的。不过好在上周耐心理了一下项目里复杂的数据流转,清晰了很多。
![image.png](<https://pictures.kazoottt.top/2024/12/20241211-20241211214029.png>)
然后今天主要再写文档,写得头昏眼花的,好容易走神。
---
react-scan 让页面的 rerender 一眼便知 [React Scan](<https://react-scan.com/>),试了下确实好用(比浏览器的开发者工具里面的 rerender 监视器好用),后面项目优化有事做了。
安卓的视频下载软件 [GitHub - JunkFood02/Seal: 🦭 Video/Audio Downloader for Android, based on yt-dlp, designed with Material You](<https://github.com/JunkFood02/Seal>)
好看的个人主页 [CAICAI - A Product Manager](<https://www.caicai.me/>)
![image.png](<https://pictures.kazoottt.top/2024/12/20241210-bc4eadb59b028a2fac538771dae2c303.png>)

View File

@ -1,111 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-12-12'
date: 2024-12-12T00:00:00.000Z
day_of_week: 星期四
author: KazooTTT
tags:
- 人工智能
- 日记
- 数据可视化
- 图表生成
description: >-
这一天的碎片化记录包含了对深Seek
API和其新版聊天功能的感想以及工作、生活中的各种感受和体验。作者在这段时间内进行了一些个人思考和记录包括购买了智能工具Diagen感受到了一种计算收益的模式并且在思考自己的精神层面希望能够创作出更能让自己满意的作品。
slug: diary-2024-12-12
category: 日记
date_created: 20250104
date_modified: 20250304
---
之前只用过 deepseek 的 api这几天的 deepseek 的 chat 用的比较多,发现两者都挺好用的
目前 todo 全部都移到滴答清单里面去记录和更改,这里单纯记录一些想法,不要 all in one
## 碎片化记录
10:55这次去看演出要用肩带夹录一个第一人称的记录
10:54把另外一把键盘带去公司了
感受是打字很舒服 但是打久了累
12:37活成了做什么都下意识计算收益的样子
13:05状态怎么样别人能很明显看出来…
还是对自己好点吧,现在这种状态实在太差了
13:18买了一个新手机壳就能玩很久
13:13总之先做一个出来
性能差就差,总比没有好
13:36转发微博
- 转发 @爱可可 - 爱生活:【Diagen一键生成数据图表的智能工具通过 AI 技术将复杂数据转化为美观的图表,支持多种图表类型,让数据可视化变得简单快捷】'diagen - Generate beautiful, reflective diagrams from your data with a single command.' GitHub: github.com/SouthBridgeAI/diagen #数据可视化# #人工智能# #图表生成#
13:35这下谁能看出 h 和 p 标签记录的啥
13:33//@KITATAIKOI: 跟去年相比产量确实是直接腰斩了,也跟我在思索一些关于精神层面的议题、把精力更多的花在工作上和尝试去改变自己有关。也很庆幸并没有在“向内批判自己”这件事上花太长的时间,我成功地走出了很大一部分源于过去的阴霾。 总之感谢大家的支持与认可,新的一年,咱会再接再厉,努力创作更能让自己满意,同时也更能深入人心的作品的!这样~
- 转发 @KITATAIKOI:*+2024 年终总结 +*
又到了一年一度的% かΘΛ……(省略一大堆感言)今年除工作外一共产图 110 张~~~
14:49//@绯音喵: 有病吗//@婉司姬: 干什么//@矮周迅: 这是真不敢//@王太弱: 我连上一秒的都不敢看//@巴斯小板: 我不想回忆。//@美困外卖: 那年今日就可以看到
- 转发 @CharlieDurian2 号: 没见过傻逼的可以看看自己几年前发的朋友圈
16:00要散了
19:50我怎么就活成这个样子了
20:05这辈子都不想做前端了
20:02于是我又打开 boss 直聘
我不会又要去上海吧
20:13逛商场好解压身心舒畅
20:12好想配这种镜框
感觉聪明的人带更聪明
笨的人带更笨
20:50幻想一下就能笑出声 好好养活
20:50如果买“保健品”可以让自己开心适当买点又怎么了
21:04谁教他把 blender 缩写成 bl 的
21:15//@碎片粘合區:………//@2048 种子选手: 我//@摩斯盖斯: 我磕 cp
- 转发 @推拿熊: 在现在的时代来说,你愿意持之以恒做一件事情,从早上醒来在想,做了一天后睡觉前也在琢磨,能沉浸其中,不觉得烦,已经是极大的正反馈了
21:27今天像吃了一顿空气
虽然有活动 但什么都没吃到
22:55这个号烂的别人给我点赞我都看不到提示😳
23:03- 转发 @奶制品 -: 人无法同时拥有青春和对青春的感受 18 岁的和 24 岁的 loverrukk 又有了共同的感受
23:03转发微博
- 转发 @月照废墟:milklove
人如何学会语言。
热带雨
23:44好喜欢这篇 (「・ω・)「
- 转发 @月照废墟:milklove
人如何学会语言。
热带雨
23:42浪费时间…
23:56声生不息的滤镜怎么把人脸搞得蜡黄蜡黄的
23:51靠一些不切实际的信念感在往下走
但是感觉明年就该清醒了

View File

@ -1,142 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2024-12-19'
date: 2024-12-19T00:00:00.000Z
day_of_week: 星期四
author: KazooTTT
tags:
- 日记
description: null
slug: diary-2024-12-19
category: 日记
date_created: 20250104
date_modified: 20250304
---
## 值得记录的事情
帮朋友单糊了一个大模型应用,被她和她的领导夸好,超开心的。
之前在公司做项目的时候被 leader 夸说我写的真的很快,有的事情没我搞不定。
听到这种被认可的话,就会觉得更有动力。
今天写好了一个 [合并多个PDF](/notes/merge-pdfs) 的小项目,写完之后用了合并功能在微信读书已经看上了杂货铺的中文翻译✌️
[PDF文件合并工具 - 在线免费合并PDF文档](<https://pdf.kazoottt.top/>)
![739C4785-E7F0-412D-B4CC-BC3EA1A7BD7A_1_105_c.jpeg](<https://pictures.kazoottt.top/2024/12/20241220-789854cabb309452d0dd3ef21f666e62.jpeg>)
## 碎片化记录(基于 n8n + rss + 飞书 webhook 生成)
11:53昨天的打卡
12:27这个真的很好用
不打游戏,办公够了
安利安利
13:1121 牛爱能闪耀运动会吗
13:39今夜你会不会来
15:17如果使用 remix然后用 cloudflare 进行部署。
通过 remix 的官方脚手架创建,在 Workers 和 Pages 中直接 import 仓库然后部署是无效的。部署完成后点击对应的域名访问,会无响应。
正确的做法是:
参考 cloudflare>) 的文档,使用 cloudflare + remix 的模板创建
shell
pnpm create cloudflare@latest my-remix-app --framework=remix
然后再在 Workers 和 Pages 中 import 你对应的 git 仓库,然后构建设置选择 remix它会帮你填好默认的配置保留该配置即可。
参考
Remix + Vite: assets not generated in /public - Developers / Cloudflare Pages - Cloudflare Community
16:18黄金和纳斯达克都跌了感觉今天亏的能抵半个月赚的
16:15忙了一下午点开社交平台什么新物料的没有
16:20昨天在看曼谷旅居一个月的开销
感觉涉及到省钱,真的离不开搭子
吃饭,住房很多地方都是两个人性价比更高
但是我现生哪里去找这样的搭子
18:32朋友要处理一些数据但是比较敏感所以只能用本地大模型。
花了点时间,帮写了一个 ollama 安装运行脚本(离线拷贝的,因为感觉大概率会碰到 pull 不下来的问题),然后还把 excel 的处理也写了,最后做了个简单的 gui 方便操作。
19:17忙的时候遭不住闲的时候又不乐意了
19:12以前用豆包觉得回复好慢
现在快了好多
(用来水字数还可以,输出贼多
19:33回家吃完饭刚好 8 点
8 点有事情要核对一下
好匆忙
19:59想给别人发大文件除了网盘还有什么方法
阿里和百度都限速
20:10是不是可以
把 gameobject 理解为 elements container
然后 component 对应的就是 container 中的各种 element
prefab 才对应的是 component
20:03给别人分享网盘链接结果对方没会员下载很慢的时候很想把账号借给对方
但是真的存了很多不方便分享的东西,好烦好烦,删了可惜,不删借不出账号又焦虑
20:00牛爱两人还认识吗
20:16大二的时候大创报错类型了报了商业型项目
当时的想法是通过 vr 治疗幽闭恐惧症(我也忘了为什么要做这个)
我是负责人,拉着队友们写了几天申报书,商业计划书,寒假的时候每天在家学 unity学到骨骼和动画的时候就开学了
结果去立项答辩的时候被卡了(商业型项目很严格…),给我留下了很深的阴影,从那之后再也没碰过 unity 和 vr
回头想想那个时候有点封闭自己,虽然最后没做下去,但也应该请队友们吃个饭,或者感谢一下的
没想到过了 6 年,又要重操旧业了
20:28明天把那个 stl 打一下
看看什么效果
20:31买了个显示器支架希望稳一点
22:46学到了虽然用不上
- 转发 @曝猛: 以防你想了解用手机直播的技巧……
22:57拉了几下 v 字把手就这样了
23:03转发微博
- 转发 @全是狗狗啊: 只要一碰小狗狗的鼻子,狗狗就会自动地吐舌头!这也太可爱了吧!啊啊啊啊我能玩一天 全是狗狗啊的微博视频

View File

@ -1,37 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: 2024-12-23 星期一 学习 unity day01
date: 2024-12-23T00:00:00.000Z
day_of_week: 星期一
author: KazooTTT
tags:
- 日记
description: null
slug: diary-2024-12-23
category: 日记
date_created: 20250104
date_modified: 20250304
---
学习 unity day01
今天看了唐老师的 unity 入门课程(感谢网友的推荐,这门课真的质量很高,思路清晰且容易看进去),搭配豆包和哔哔君看视频学习也比较高效了。
看了 mrtk2 的一些 demos个人的感受是学 unity 的一个方法是可以试着复刻一些常用的 prefab 或者 class方便自己也能增加熟练度。比如前端封装 sliderunity 中也封装 slider
最后就是直接阅读后续要上手的项目代码并学习使用 remote app 快速看效果。
其实在大学的时候有参加过 VR 的社团,当时看过 B 站上一个虚拟小屋的教学视频也体验过 VR 设备。后来大创也申报过 VR + 医疗相关的项目,不过被砍后已经很久没有接触过 unity。
然后去年和同担一起有策划过一个模拟经营类的游戏,但是因为我太忙并且主动性不高这个项目搁置了。希望能通过这次好好学一下 unity 并把这个项目重新做起来。(做到一定阶段再跟别人说,而不是还没开始就大范围告诉他人,我觉得我一直都是这种喜欢给自己画饼之余也爱给别人画饼的,这样的缺点真的需要改)
今天同组同事也跟我聊了一下,教了我一些技巧,有句话对我来说印象比较深刻就是“你就是缺了迈出去的那一步。”
不管怎么样实践和学习总是没错,不要抵触新的事物,先做一个垃圾出来至少也算是做出来了。
![image.png](<https://pictures.kazoottt.top/2024/12/20241224-2c04f98a1db13b96bed1735f7fc684e6.png>)

View File

@ -1,241 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: 2024-W03-AI专题
slug: 2024-W03-ai-topics
category: 周报
description: >-
本期AI专题聚焦于2024年第三周的AI领域最新动态包括Google推出的Circle to
Search功能智谱AI发布的国产大模型GLM4及其GLMs商店元象开源的XVERSE-Long-256K模型以及OpenAI对GPT
Builders文档的完善。此外还介绍了彭博推出的IB Connect服务以及多个AI应用如WhisperSpeech和AutoGen
Studio。推荐阅读部分涵盖了AI创业案例、GPT-4的技术分析、Prompt工程指南等内容为读者提供了丰富的AI知识和应用实例。
date: 2024-06-26T10:26:54.033Z
finished: true
tags:
- AIGC
- application
- model
- prompt
- Q&A
- RAG
- report
- research
- scene
- study
- text
date_created: 20250104
date_modified: 20250304
---
[2024-W03](/posts/2024-W03)
# 2024-W03-AI 专题
## 模型动态
### [Google 推出 Circle to Search 划圈搜索](<https://blog.google/products/search/google-circle-to-search-android/>)
2024-01-17
![img_80.png](<https://pictures.kazoottt.top/2024/01/20240119-be50f9aad8ddea1ed678b0d46a11b38a.webp>)
介绍Circle to Search 是一种通过简单手势在手机上搜索任何内容的新方式,无需切换应用程序。
Circle to Search 将于 1 月 31 日在部分高端 Android 智能手机Pixel 8、Pixel 8 Pro 和全新三星 Galaxy S24 系列)上推出,支持所有语言和可用地区。
应用场景举例:
在社交平台上看到一张带有一些独特配料的美味玉米狗的图片,只需绕着玉米狗转一圈,问一个问题,比如“为什么这些如此受欢迎?您很快就会知道这些甜味和咸味的零食是韩国玉米狗,以及受欢迎的具体原因。
### [智谱AI发布国产最强大模型GLM4理解评测与数学能力接近GPT-4还有对标GPTs商店的GLMs商店与开发者分成计划](<https://mp.weixin.qq.com/s?__biz=Mzg2MTIzNDcyNQ==&mid=2247485533&idx=1&sn=ed17d859d5ec67b13357ebe43de395c7&chksm=ce1b7b17f96cf201b1592ab73a0db6a596aa902cc9fc1f4b351d62224ed102654bf1d3eacaf4&mpshare=1&scene=1&srcid=0116V0BlzHfimamtoVj6d95h&sharer_shareinfo=7738639018d07fae5fd03f5387508b22&sharer_shareinfo_first=7738639018d07fae5fd03f5387508b22#rd>)
2024-01-16
![img_16.png](<https://pictures.kazoottt.top/2024/01/20240119-05cc41e89e5243dd0f5bfef9c5fabcee.webp>)
这篇文章详细介绍了智谱 AI 发布的国产大模型 GLM4 的能力,并且介绍了 GLMs 商店与开发者分成计划。
[GLM-3,GLM-4体验地址](<https://chatglm.cn/main/detail>)
![img_18.png](<https://pictures.kazoottt.top/2024/01/20240119-0f421e32fab4915dd9055b29e38cbc7d.webp>)
GLMs 商店截图如下:
![img_17.png](<https://pictures.kazoottt.top/2024/01/20240119-d1f2ea2c654b0d579e44fd76f77fd6bf.webp>)
### [全球最长开源元象开源大模型XVERSE-Long-256K无条件免费商用](<https://mp.weixin.qq.com/s?__biz=Mzg3MDU3ODAwMw==&mid=2247495059&idx=1&sn=017a09e47bbe418bcaa09b2eb49e5256&chksm=ce890faff9fe86b9a3a2c5b869811e91cabbd7aa113f98874619c213276348294d442a622b3d&mpshare=1&scene=1&srcid=0116UnuW06Aj1Iz0CBEPPwyq&sharer_shareinfo=9d54a9350b83b80b8b62a31ed267fad6&sharer_shareinfo_first=9d54a9350b83b80b8b62a31ed267fad6#rd>)
2024-01-16
元象发布全球首个上下文窗口长度 256K 的开源大模型 XVERSE-Long-256K支持输入 25 万汉字,让大模型应用进入“长文本时代”。该模型全开源,无条件免费商用,且附带手把手训练教程,让海量中小企业、研究者和开发者更早一步实现“大模型自由”。
![img_7.png](<https://pictures.kazoottt.top/2024/01/20240119-2052e7acb15df8f56ed9210b68dc5442.webp>)
这篇公众号文章详细地介绍了元象所发布的模型,并且给出了一个简单的实践教程。
### OpenAI 完善了 GPT Builders 的文档
2024-01-13
[文档地址](<https://platform.openai.com/docs/actions/introduction>)
![img_75.png](<https://pictures.kazoottt.top/2024/01/20240119-648909543d858cae67655cf7bbe5a186.webp>)
### 继 BloombergGPT 之后,彭博推出了 IB Connect 以改善数字化转型
2023-12-09
彭博自己所发布的新闻:[Bloomberg Welcomes Intra-Firm Chatbots to IB](<https://www.bloomberg.com/company/press/bloomberg-welcomes-intra-firm-chatbots-to-ib/>)
相关新闻报道:[After BloombergGPT, Bloomberg Launched IB Connect to Improve Digital Transformation](<https://multiplatform.ai/after-bloomberggpt-bloomberg-launched-ib-connect-to-improve-digital-transformation/>)
新闻报道中的总结如下:
- 彭博推出 IB Connect 服务,使用户能够将专有聊天机器人整合到 IB 聊天室中。
- 公司内部聊天机器人可从内部系统中提取关键信息,从而增强内部商业智能。
- IB Connect 促进了彭博终端与内部工作流程工具之间的无缝集成。
- 通过双向集成,客户可以利用自然语言处理功能将 IB 聊天室与其内部系统连接起来。
- 客户可以使用软件开发工具包定制聊天机器人,为其技术堆栈提供灵活性。
- 提供两种类型的聊天机器人:公司内部问答聊天机器人和公司内部通知聊天机器人。
- BloombergGPT 是早先介绍过的一种专门的金融语言模型,但它面临着一些限制,如只能使用英语和潜在的偏见。
## 优秀应用
### WhisperSpeech - 文本转语音
[官网地址](<https://collabora.github.io/WhisperSpeech/>)
[github地址](<https://github.com/collabora/WhisperSpeech>)
![img_84.png](<https://pictures.kazoottt.top/2024/01/20240119-0e898ee941f76379e1b3d67be3e95d1b.webp>)
### AutoGen Studio
AutoGen Studio 是一个基于 autogen 的 web ui, 支持多个 agent、多模态。
<https://microsoft.github.io/autogen/blog/2023/12/01/AutoGenStudio/>
![img_83.png](<https://pictures.kazoottt.top/2024/01/20240119-5c4e05baa13c3a077e6fa5428a381c2d.webp>)
构建流程构建
1. 配置技能:技能是描述如何解决任务的函数(如 Python 函数)。一般来说,一个好的技能有一个描述性的名称(如 generate_images、大量的文档说明和良好的默认设置如将文件写入磁盘以实现持久化和重复使用。您可以通过提供的用户界面向 AutoGen Studio 添加新技能。在推理过程中,这些技能将在助理代理处理您的任务时提供给他们。
2. 配置 agent
3. 配置 agent 工作流:代理工作流程是一组代理的规格说明,这些 agents 可以共同完成一项任务。最简单的版本是设置两个 agents-- 一个 assistant agent一个 user agent.
### [Moodboard Creator —— AI 生成情绪板](<https://www.moodboardcreator.de/>)
![img_60.png](<https://pictures.kazoottt.top/2024/01/20240119-24f846ee004afa05b0117c185d358ff9.webp>)
[推特地址](<https://twitter.com/ftium4/status/1746419029961814098?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
### [AI Gateway](<https://github.com/Portkey-AI/gateway>)
![img_6.png](<https://pictures.kazoottt.top/2024/01/20240119-a687b322e7ca8a9198bc9bfaf75efb14.webp>)
✅ 极速性能(速度是常规的 9.9 倍),同时只占极小存储空间(安装后约 45kb
✅ 实现跨多个模型、服务提供商及密钥的负载均衡
✅ 具备故障回退功能,确保应用的高可用性
✅ 支持自动重试,并默认使用指数级延迟策略
✅ 可按需添加中间件
✅ 经过超过 1000 亿个 Token 的实战检验
## 推荐阅读
### [AI创业新典范Monica.im如何用浏览器插件撬动商业价值| 万字长文](<https://mp.weixin.qq.com/s/tfQWfHaYq56PcWCPvGsoOA>)
[monica应用链接](<https://monica.im/>)
Monica 是一个使用最先进的 AI 模型GPT-4、Claude、Bard 等)帮助你对话、搜索、写作、翻译的一站式 AI 助手并且提供多种图片、视频、PDF 处理的工具。
![img_15.png](<https://pictures.kazoottt.top/2024/01/20240119-111fd19ddec3b21191907a90fcc518fa.webp>)
### [AI创业新典范Monica.im如何用浏览器插件撬动商业价值| 万字长文](<https://mp.weixin.qq.com/s/tfQWfHaYq56PcWCPvGsoOA>)
这篇公众号的文章详细地介绍了 Monica.im主要内容如下
1. 是什么以及用户对它的评价
2. 研究 Monica 的成功秘诀
3. Monica 的未来方向
可以阅读一下,从中学习参考该团队的经验。
### [GPT-4 Architecture, Infrastructure, Training Dataset, Costs, Vision, MoE](<https://www.semianalysis.com/p/gpt-4-architecture-infrastructure>)
![img_19.png](<https://pictures.kazoottt.top/2024/01/20240119-9d32c1cea255a5e5ceee86823e076cdd.webp>)
本文对 OpenAI 的工程能能力做出了很高的评价作者认为“OpenAI 最持久的护城河是,他们的产品拥有最广的使用率、领先的工程人才,并且可以继续在未来的模型中领先于其他模型。”
然后对“模型架构、训练基础架构、推理基础架构、参数数量、训练数据集组成、标记数量、层数、并行策略、多模态视觉适应、不同工程折衷背后的思考过程、独特的实施技术,以及他们如何缓解与巨型模型推理相关的一些最大瓶颈。”等方面进行了详细的分析。
如果你想了解 GPT-4 的一些细节,可以阅读一下这篇文章。
### [ChatGPT Prompt Engineering](<https://www.promptingguide.ai/models/chatgpt>)
这个网站主要与提示词工程有关,它介绍了大模型相关的基础知识,并且根据各种维度(例如技术、应用、模型、风险与误用、大模型研究成果以及各种工具等)分别介绍了相关的技巧。
在近期的更新中,他们新增了针对不同模型的提示词技巧的教程。
![img_21.png](<https://pictures.kazoottt.top/2024/01/20240119-d32ddbbc1e3117f7fd60cb3f43202393.webp>)
与此同时,这也是一个开源的教程,如果感兴趣,也可以参与到这个项目中来。
[github地址](<https://github.com/dair-ai/Prompt-Engineering-Guide>)
### [fuxiang对于【devv.ai团队分享的RAG原理】的再整理](<https://twitter.com/fuxiangPro/status/1747242297975062666>)
![img_38.png](<https://pictures.kazoottt.top/2024/01/20240119-020bd33e057f6a0642ead0b113320c5f.webp>)
[devv.ai团队分享的RAG原理原文](<https://twitter.com/Tisoga/status/1731478506465636749>)
### [dify的博客](<https://dify.ai/blog>)
![img_39.png](<https://pictures.kazoottt.top/2024/01/20240119-1aa4faeddea36ea5424971865d97adff.webp>)
博客的 Developer 栏目会介绍一 Dify 的技术实现,例如 [他们是如何提升RAG精确度的](<https://dify.ai/blog/hybrid-search-rerank-rag-improvement>)。
![img_40.png](<https://pictures.kazoottt.top/2024/01/20240119-d59e03ba71cc20bccae57832bc27febc.webp>)
### [艾瑞咨询2023年AIGC场景应用展望研究报告](<https://waytoagi.feishu.cn/record/VQtLrDQWeehexvcTWxJcmSjMnPc>)
![img_41.png](<https://pictures.kazoottt.top/2024/01/20240119-682d05781766550c93e92c5cf6f1dbb5.webp>)
该报告从技术角度、产业角度、经典企业案例、优秀 AI 场景应用四个方面对 2023 年的 AIGC 场景做出了总结。
### [Prompt技巧](<https://weibo.com/1727858283/Naqzz5TOc#comment>)
![img_63.png](<https://pictures.kazoottt.top/2024/01/20240119-f9161fafd4a7679a7c486676ddb56307.webp>)
这篇微博汇总了 Prompt 的基础、进阶、高级技巧,并且推荐了几个 Prompt 开源项目。
- Prompt 提示工程指南:网页链接
- Prompt 编写模式:<http://github.com/prompt-engineering/prompt-patterns>
- Awesome ChatGPT Prompts
<https://github.com/f/awesome-chatgpt-prompts>
<https://github.com/PlexPt/awesome-chatgpt-prompts-zh>
- Learn Prompt<https://www.learnprompt.pro/>
### 论文《表格链:推理链中不断演变的表格,促进对表格的理解》
Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understanding
[微博地址](<https://weibo.com/1727858283/4988866724102248?wm=3333_2001&from=10DC293010&sourcetype=weixin&s_trans=7796753876_4988866724102248&s_channel=4>)
![img_64.png](<https://pictures.kazoottt.top/2024/01/20240119-a1cb841d8427cdf6a7d8e53471be0f57.webp>)
[论文地址](<https://arxiv.org/abs/2401.04398v1>)
### [推荐阅读:文本分割的五个层次](<https://weibo.com/1727858283/4989256960836646?wm=3333_2001&from=10DC293010&sourcetype=weixin&s_trans=2100889127_4989256960836646&s_channel=4>)
![img_66.png](<https://pictures.kazoottt.top/2024/01/20240119-054e11be2362f9722ece258927e79777.webp>)
[译文](<https://baoyu.io/translations/rag/5-levels-of-text-splitting?continueFlag=61db114b5bb3eda119c3b0a42a3f0791>)
[视频](<https://www.youtube.com/watch?v=8OJC21T2SL4>)
[Notebook](<https://github.com/FullStackRetrieval-com/RetrievalTutorials/blob/main/5_Levels_Of_Text_Splitting.ipynb?continueFlag=61db114b5bb3eda119c3b0a42a3f0791>)
### [温故而知新:大模型RAG问答研发的7个失分点及MOE专家组合模型的若干浅析](<https://mp.weixin.qq.com/s/1p2VtmU-ClPQP1jEchGpGQ>)

View File

@ -1,70 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: 2024-W03-应用推荐篇
slug: 2024-W03-application-recommendations
category: 周报
description: >-
2024 年第 3 周应用推荐包括1. [cmd-wrapped](<https://github.com/YiNNx/cmd-wrapped>),一个在
GitHub 上开源的项目详细信息可通过推特链接查看。2. [Input Source
Pro](<https://inputsource.pro/zh-CN>)一款自动切换输入法并提供适时提示的工具提升输入效率。3.
[outline](<https://github.com/outline/outline>),专为成长型团队设计的知识库应用,支持实时协作和
Markdown官网为 [getoutline.com](<https://www.getoutline.com/>)。4. 一个帮助用户一次性提交到
100 多个目录站的服务,应用地址为 [affordhunt.com](<https://www.affordhunt.com/>)。5.
[whimsical](<https://whimsical.com/>),一款画图工具,详细信息可通过推特链接获取。这些应用覆盖了从输入法优化到团队协作工具,再到图形设计的多方面需求。
date: 2024-06-26T10:26:54.034Z
finished: true
tags:
- 画图
- 目录站
- 输入法
- 应用推荐
- 知识库
date_created: 20250104
date_modified: 20250304
---
# 2024-W03- 应用推荐篇
## [cmd-wrapped](<https://github.com/YiNNx/cmd-wrapped>)
[推特地址](<https://twitter.com/hitw93/status/1745801804204666924?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
![img_77.png](<https://pictures.kazoottt.top/2024/01/20240118-9306b3afea23596aa44c711d2d347eec.webp>)
## [Input Source Pro](<https://inputsource.pro/zh-CN>)
自动切换输入法加上适时的提示,让每一次输入都游刃有余。
![img_51.png](<https://pictures.kazoottt.top/2024/01/20240118-8b12e8b151eb4a1863bf7a4d7db66fc3.webp>)
## [outline 一个知识库应用](<https://github.com/outline/outline>)
为成长型团队提供最快的知识库。美观、实时协作、功能丰富且兼容 Markdown。
![img_28.png](<https://pictures.kazoottt.top/2024/01/20240118-69d1a63e120ba577b39ac7928984b010.webp>)
[官网地址](<https://www.getoutline.com/>)
特点:
- 一个极快的编辑器,具有 Markdown 支持、斜杠命令、交互式嵌入等。.....
- 与团队成员实时协作处理文档。评论和话题使对话井井有条。
- 将文档嵌套在层次结构中,自动构建反向链接网络,并在几毫秒内搜索所有内容。
- 在不离开聊天的情况下搜索、共享和提问您的文档。文档更新时,将通知发布到频道。
- 通过链接公开共享文档,或与团队私下共享文档。使用您自己的品牌颜色、徽标和域名。
## [一个帮你一次提交 100 多个目录站的目录站](<https://twitter.com/readyfor2025/status/1747297388476395636?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
[应用地址](<https://www.affordhunt.com/>)
![img_29.png](<https://pictures.kazoottt.top/2024/01/20240118-7939a74326a18689d6d580b22a393763.webp>)
## [画图工具 - whimsical](<https://whimsical.com/>)
[推特地址](<https://twitter.com/blackanger/status/1747582658052522089?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
![img_36.png](<https://pictures.kazoottt.top/2024/01/20240118-9a461344df3bced078f11d2cc132a592.webp>)

View File

@ -1,97 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: 2024-W03-推荐阅读篇
slug: 2024-W03-recommended-readings
category: 周报
description: >-
本周推荐阅读包括多个领域的精选内容:从[r/SideProject](<https://www.reddit.com/r/SideProject/>)的创意项目分享,到[推荐一本行动之书,醍醐灌顶](<https://twitter.com/hiyuekun/status/1747085105037021670?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)的启发性书籍推荐;从[玩转苹果流量生态解锁App流量新密码](<https://x.com/liuyi0922/status/1747792720750682143?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)的市场策略,到[科技爱好者周刊(第
286
期):蓝色指示灯的解决方案](<https://www.ruanyifeng.com/blog/2024/01/weekly-issue-286.html?continueFlag=61db114b5bb3eda119c3b0a42a3f0791>)的技术讨论。此外,还有关于[fuxiang对于【devv.ai团队分享的RAG原理】的再整理](<https://twitter.com/fuxiangPro/status/1747242297975062666>)的深度分析,以及[HackerNews
趋势, Github 趋势, Google
趋势](<https://chasetrend.news/zh>)的最新动态。这些内容覆盖了技术、市场、个人成长等多个方面,适合各类读者深入探索。
date: 2024-06-26T10:26:54.035Z
finished: true
tags:
- 网络安全,信息聚合
- action书
- App流量生态
- sideproject
date_created: 20250104
date_modified: 20250304
---
# 2024-W03- 推荐阅读篇
## [r/SideProject](<https://www.reddit.com/r/SideProject/>)
![img_4.png](<https://pictures.kazoottt.top/2024/01/20240118-34e9f10d1d8eec956fc4194448cd4a76.webp>)
## [推荐一本行动之书,醍醐灌顶](<https://twitter.com/hiyuekun/status/1747085105037021670?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
![img_3.png](<https://pictures.kazoottt.top/2024/01/20240118-49ea3a464df0ab2caafb0537c4c794ba.webp>)
## [玩转苹果流量生态解锁App流量新密码](<https://x.com/liuyi0922/status/1747792720750682143?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
![img_23.png](<https://pictures.kazoottt.top/2024/01/20240118-d98a6cbfcf54d08ef37f30c37f5d0ace.webp>)
## [科技爱好者周刊(第 286 期):蓝色指示灯的解决方案](<https://www.ruanyifeng.com/blog/2024/01/weekly-issue-286.html?continueFlag=61db114b5bb3eda119c3b0a42a3f0791>)
作者:阮一峰
![img_34.png](<https://pictures.kazoottt.top/2024/01/20240118-32886b96d21732072e52b5ed6c487cd5.webp>)
![img_33.png](<https://pictures.kazoottt.top/2024/01/20240118-61d3ac9d6f707faf8a82c12b026bb844.webp>)
## [fuxiang对于【devv.ai团队分享的RAG原理】的再整理](<https://twitter.com/fuxiangPro/status/1747242297975062666>)
![img_38.png](<https://pictures.kazoottt.top/2024/01/20240118-020bd33e057f6a0642ead0b113320c5f.webp>)
[devv.ai团队分享的RAG原理原文](<https://twitter.com/Tisoga/status/1731478506465636749>)
## [HackerNews 趋势, Github 趋势, Google 趋势](<https://chasetrend.news/zh>)
![img_48.png](<https://pictures.kazoottt.top/2024/01/20240118-25370cd9e4dc25874ab14859930bc8b9.webp>)
## [使用自动化工作流聚合信息摄入和输出](<https://reorx.com/blog/sharing-my-footprints-automation/#new-tweet-to-telegram>)
![img_49.png](<https://pictures.kazoottt.top/2024/01/20240118-7557245c55da389558862a155932c527.webp>)
作者使用 n8n 来进行信息聚合,并在文中做了详细的介绍,以及 n8n 工作流开源。
## [Airing -姗姗来迟的 2023 年终总结](<https://blog.ursb.me/posts/summary-2023/>)
![img_58.png](<https://pictures.kazoottt.top/2024/01/20240118-13bf430a8615552a0a914a805c05a828.webp>)
## [对 React 团队工作经历的思考](<https://gist.github.com/mondaychen/3c530604e44b9cd15e4f69735d99fef4>)
![img_61.png](<https://pictures.kazoottt.top/2024/01/20240118-2bea379994d9f34ea9655eac74e6a958.webp>)
[推特地址](<https://twitter.com/monday_chen/status/1740612924740137285?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
## [CSS 小教程:在网格型选择工具上添加渐变背景](<https://blog.meathill.com/tech/fe/css/css-tutorial-a-grid-select-component-with-multiple-linear-gradient.html>)
![img_65.png](<https://pictures.kazoottt.top/2024/01/20240118-a255cb507b88fc1675ce614b7502e17b.webp>)
## [Flutter完整开发实战详解](<https://guoshuyu.cn/home/wx/?continueFlag=61db114b5bb3eda119c3b0a42a3f0791>)
![img_67.png](<https://pictures.kazoottt.top/2024/01/20240118-1c3b1725c08e70c867c4bd3628152fbd.webp>)
## [《Tw93-我的开源成长之旅》](<https://tw93.fun/2024-01-12/open.html>)
![img_73.png](<https://pictures.kazoottt.top/2024/01/20240118-25810db413c96d9eb2efa0cb6cf6cda6.webp>)
## [𝗛𝗼𝘄 𝗗𝗡𝗦 𝗪𝗼𝗿𝗸𝘀?-DNS是如何工作的](<https://twitter.com/milan_milanovic/status/1745796543322435885?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
![img_74.png](<https://pictures.kazoottt.top/2024/01/20240118-1c6e85b671affc27859c09cbf47e51be.webp>)
## [从第一天起就在全球范围内稳步发展Linktree 的故事](<https://startupnation.com/start-your-business/bootstrapped-global-linktree/>)
![img_76.png](<https://pictures.kazoottt.top/2024/01/20240118-66593c51fe9a8d08b11687d40f3da559.webp>)
## [API Vs SDK.](<https://twitter.com/alexxubyte/status/1745847854961492384?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
## [FFmpeg 教程](<https://wklchris.github.io/blog/FFmpeg/>)

View File

@ -1,48 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: 2024-W03-设计篇
slug: 2024-W03-design
category: 周报
description: >-
本周设计资源精选包括AIDesign 提供免费 Logo 设计服务;嘉文钱分享 Blender 和 3D
相关教程及作品阿文推荐可商用的德拉黑体字体svghub 提供免费 SVG 素材Orange Free Sounds
提供免费声音效果、音乐和循环;以及通过 Framer
赚钱的方法。这些资源涵盖了设计、字体、素材和创收等多个方面,为设计师和创意工作者提供了丰富的工具和灵感。
date: 2024-06-26T10:26:54.035Z
finished: true
tags:
- 设计 logo
- blender
- svg
date_created: 20250104
date_modified: 20250304
---
# 2024-W03- 设计篇
## [AIDesign 免费设计 Logo](<https://ailogo.qq.com/guide/brandname>)
## [嘉文钱-分享 blender、3d 相关的教程、插件、自己的作品](<https://weibo.com/1774015623/4989689027105782?wm=3333_2001&from=10DC293010&sourcetype=weixin&s_trans=7796753876_4989689027105782&s_channel=4>)
![img_69.png](<https://pictures.kazoottt.top/2024/01/20240118-4cea36f07c4a42cf9af7e1bc39a5efb0.webp>)
## [阿文推荐:德拉黑体 可商用字体](<https://weibo.com/1757693565/NBWrw00hq#comment>)
![img_50.png](<https://pictures.kazoottt.top/2024/01/20240118-5aaeb4c0f4ba7d137f3ad58a08913c98.webp>)
## [svghub 免费 svg 素材](<https://svghub.vercel.app/>)
![img_44.png](<https://pictures.kazoottt.top/2024/01/20240118-61c37e76ded44826cb90966d86864711.webp>)
## [Free Sound Effects, Music, Loops | Orange Free Sounds - 免费声音素材](<https://orangefreesounds.com/>)
![img_43.png](<https://pictures.kazoottt.top/2024/01/20240118-20ec17828fb963700d1b336b0c4728b4.webp>)
## [通过 framer 赚钱](<https://twitter.com/hxmzaehsan/status/1747562036962181210?s=12&t=UKmYswdLBh4dGuqwtKAXUA>)
![img_25.png](<https://pictures.kazoottt.top/2024/01/20240118-8af5dcf63737d5ac269e4cdabffd75cb.webp>)

View File

@ -1,41 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: '2025-01-06'
date: 2025-01-06T00:00:00.000Z
day_of_week: 星期一
author: KazooTTT
tags:
- 工作
- 日记
- 压力
description: null
slug: diary-2025-01-06
category: 日记
date_created: 20250106
date_modified: 20250304
---
最近一直都很忙,忙到有时候怀疑自己从上海回成都是否是好的决定。
但又觉得换了工作后,个人能力确实有提升,眼界也开拓了一些。所以目前仍在纠结阶段,要明确未来的方向得先想清楚我到底要什么,不能再草率做决定了。
之前也提过,想把那个搁置的项目重新写起来,因为现在也在学 unity 了,靠这个来进一步提升学习的动力是很好的方向。而且前期队友们都做了那么多准备了,感觉没有落地比较可惜。
我个人的想法是我先做一个框架出来,把流程跑通。资源部分使用文本或者简单的图片占位替代。
之前在电视投影仪ar 眼镜之间纠结,今天试用同事买的 ar 眼镜,有些被劝退了,对于近视人群的佩戴体验不是很好。戴上去比较费劲,且容易反光。
最近的状态有点像高三,从早忙到晚,专注时间比较长,回到家脑子里还有点兴奋
很喜欢黑客松的感觉,外部压力下短时间内快速实现想法,动力满满
## 备忘
dhcp 切换器
新版布局

View File

@ -1,101 +0,0 @@
---
toAstro: true
astroType: null
published: false
toWexin: null
toJuejin: null
toZhihu: null
title: 2025-02-24 星期一
date: 2025-02-24T00:00:00.000Z
day_of_week: 星期一
author: KazooTTT
tags:
- 插件
- 日记
- dicom
- obsidian
- thino
description: null
slug: diary-2025-02-24
category: 日记
date_created: 20250224
date_modified: 20250302
---
## 资料收集
0:38 - 📖《Early Retirement Extreme》
4:17 - 📖《权力的 48 条法则》
6:05 - 📖《创造力的修行》
10:16 - 📖《SHOW YOUR WORK》
11:40 - 📖《非暴力沟通》
## 打卡
``` dataview
list file.ctime
from ""
where dateformat(file.ctime, "yyyy-MM-dd") = "2025-02-24"
sort file.ctime desc
```
## memos
- 14:59
最应该反复阅读的一句话:
「能够对抗消极的不是积极,而是专注;能够对抗焦虑的不是安慰,而是具体;能够对抗迷茫的不是方法,而是行动。」
- 22:23
想要自己养成的习惯:
在床上不要用电脑,有需要用到电脑的场景,请你马上起身去到电脑桌前面
- 22:31 电脑还是不能太长时间不关机
- 22:48
obsidian-reveal-active-file 插件与 thino 冲突
同时开启会出现 thino 和之前激活的 tab 之间反复切换的情况
两者只能开启一个才正常
另外如果 obsidian 的也支持 vscode 一样的二分查找法排查插件问题就好了,这样就不用手动一个个去点击关闭。
(不过想到一个方法是用代码来手动控制插件启用情况,不过这样需要手动运行和重启 obsidian
#obsidian #thino #插件
![IMG-D00ECA1A03C7ED8C2D3C6B2350F49493](</mdImages/IMG-D00ECA1A03C7ED8C2D3C6B2350F49493.png>)
- 23:01
1 月份都一直在用 deepseek v3 当翻译 api,便宜又好用
![IMG-C904F87DB6FF60DE95982CB164FE976A](</mdImages/IMG-C904F87DB6FF60DE95982CB164FE976A.png>)
2 月份几乎没调通过 😭
![IMG-52AB966C8BE3F1DE7D2F91B261A9CF8A](</mdImages/IMG-52AB966C8BE3F1DE7D2F91B261A9CF8A.png>)
![Pasted image 20250224234657](</mdImages/Pasted image 20250224234657.png>)
- 23:06 我是真的看不懂老牛说话
- 23:21
#dicom
之前一直都想错了方向,维度指的并不是 rgb,rgba
![CleanShot2025-02-2423](</mdImages/CleanShot2025-02-2423.21.29@2x.png>)
- 23:24
备忘一下
手表无法充电大概是因为插头不对或者电压不对
- 23:28 超级讨厌那种动不动就震惊吊打失业已死的博主的

View File

@ -1,53 +0,0 @@
---
toAstro: true
astroType: null
published: false
toWexin: null
toJuejin: null
toZhihu: null
title: 2025-02-25 星期二
date: 2025-02-25T00:00:00.000Z
day_of_week: 星期二
author: KazooTTT
tags:
- 日记
description: null
slug: diary-2025-02-25
category: 日记
date_created: 20250225
date_modified: 20250302
---
## 今天要做的事情
- [ ] [[dicom压缩 jpeg2000 1]]
- [ ] [[oss 上传 1]]
## memos
- 12:06
原来 deepseekr1 的提示词是公开的
这么看也不复杂
https://github.com/deepseek-ai/DeepSeek-R1#official-prompts
![IMG-2CBB4266E3AABE21E9AF0FCAF7F00469](</mdImages/IMG-2CBB4266E3AABE21E9AF0FCAF7F00469.png>)
- 12:08 就这么大的池子 像个宝一样盯着也是挺搞笑的
- 13:46 我是玻璃心😭
- 19:27
最近喜欢坐地铁通勤
回去的路上还能吃点路边摊
- 19:54 不吃火锅就吃烤匠 这个宣传语好洗脑
- 20:57 bun 还是省心的
- 23:44 为什么就这么让人不省心
- 23:56
做什么都觉得挺无聊的
该让自己吃点苦了
- 23:56
有什么事情是躺在床上也能做
然后对自己有帮助的或者算是有意义产出的

View File

@ -1,70 +0,0 @@
---
toAstro: true
astroType: null
published: false
toWexin: null
toJuejin: null
toZhihu: null
title: 2025-02-27 星期四
date: 2025-02-27T00:00:00.000Z
day_of_week: 星期四
author: KazooTTT
tags:
- 笔记软件
- 工作流
- 前端
- 日记
- 写作
- gingko
- Milanote
- obsidian
description: null
slug: diary-2025-02-27
category: 日记
date_created: 20250227
date_modified: 20250307
---
## memos
- 00:38 重要时刻 iphone 发热卡死的话真的很急
- 10:52
感觉 cherry studio 的设计会比 chatwise 更好
而且它是开源的
- 11:01
![IMG-A057E6D98847314E2A2742FB44382803](</mdImages/IMG-A057E6D98847314E2A2742FB44382803.png>)
![IMG-C4F896C16386AFFB89F1ED856D4D8319](</mdImages/IMG-C4F896C16386AFFB89F1ED856D4D8319.png>)
这个网站的设计好好看
[Stripe Press — Ideas for progress](<https://press.stripe.com/>)
- 14:40
觉得 arc 或者很多浏览器都不支持很完美的插件同步
这一点还挺可惜的
- 14:41 Yak shaving 是一种 adhd 症状也说不定
- 14:46 如何实现比较好的字段转化(映射) #前端
- 23:47
使用 milanote 规划的输入输出工作流 希望可以实践起来
大体思路社交平台作为最随意的入口,通过 n8n + rss 定时获取内容调接口写入到 raindrop 和 子弹笔记里面(目前用 thino 比较多),然后用 milanote 筛选一层,然后记录比较详细的个人的脑洞和想法,然后输出为项目或者企划,做进一步详细规划。
如果输出的形式是项目的话,就按照项目管理的形式去走
如果输出的形式是长文,那么还是放到 obsidian 里面去写(搭配 lineage 插件),最后 git 提交后触发 github actions 部署到 cloudflare另外如果要录视频就在长文的基础上改一版视频稿。
---
我个人感觉主动筛选这一层比较重要,如果碎片化的记录太多或者随手收集的东西太多,其实不容易留下印象,有效的信息太少了。
 #Milanote  #工作流
![IMG-2025-02-27-9CB204EEDBCD1BCF3D2EDFBD6744C8D0](</mdImages/IMG-2025-02-27-9CB204EEDBCD1BCF3D2EDFBD6744C8D0.png>)
![IMG-2025-02-27-E106A5338A221E70CFCC67E397E2E7D4](</mdImages/IMG-2025-02-27-E106A5338A221E70CFCC67E397E2E7D4.png>)

View File

@ -1,135 +0,0 @@
---
toAstro: true
astroType: null
published: false
toWexin: null
toJuejin: null
toZhihu: null
title: 2025-02-28 星期五
date: 2025-02-28T00:00:00.000Z
day_of_week: 星期五
author: KazooTTT
tags:
- 日记
description: null
slug: diary-2025-02-28
category: 日记
date_created: 20250228
date_modified: 20250307
---
## memos
- 11:17
其实可以写一个面向于粉丝的教程
![Pasted image 20250228111717](</mdImages/Pasted image 20250228111717.png>)
- 14:29 希望 cherry studio 导入目录的时候支持忽略文件
- 15:37
不能直接通过 `git diff > 剪贴板` 这样的命令实现,因为重定向 `>` 只能用于文件。但是,您可以使用一些工具和命令组合来实现将 `git diff` 的输出直接复制到剪贴板,而无需先写入文件。
以下是几种常见的方法,适用于不同的操作系统:
**1. 使用 `clip` (Windows)**
Windows 系统自带 `clip` 命令,可以将标准输入的内容复制到剪贴板。
```bash
git diff | clip
```
**2. 使用 `pbcopy` (macOS)**
macOS 系统自带 `pbcopy` 命令,可以将标准输入的内容复制到剪贴板。
```bash
git diff | pbcopy
```
**3. 使用 `xclip` 或 `xsel` (Linux)**
Linux 系统通常没有自带的剪贴板工具,需要安装 `xclip` 或 `xsel`。
- **`xclip`**:
```bash
git diff | xclip -selection clipboard
```
或者,如果 `xclip` 不可用:
```bash
git diff | xclip -in -selection clipboard
```
- **`xsel`**:
```bash
git diff | xsel --clipboard --input
```
或者简写:
```bash
git diff | xsel -bi
```
**安装 `xclip` 或 `xsel` (Linux)**
如果您的 Linux 系统上没有安装 `xclip` 或 `xsel`,可以使用以下命令安装:
- **Debian/Ubuntu:**
```bash
sudo apt-get update
sudo apt-get install xclip
```
或者
```bash
sudo apt-get install xsel
```
- **Fedora/CentOS/RHEL:**
```bash
sudo yum install xclip
```
或者
```bash
sudo yum install xsel
```
**总结**
根据您的操作系统选择相应的命令,并将其添加到您的 shell 配置文件(例如 `.bashrc` 或 `.zshrc`)中,以便您可以方便地使用它。例如,您可以创建一个别名:
```bash
alias gdiffclip='git diff | pbcopy' # macOS
alias gdiffclip='git diff | clip' # Windows
alias gdiffclip='git diff | xclip -selection clipboard' # Linux (xclip)
alias gdiffclip='git diff | xsel -bi' # Linux (xsel)
```
然后,您就可以使用 `gdiffclip` 命令将 `git diff` 的输出直接复制到剪贴板。
由于题目没有提供操作系统信息,以上提供了各种操作系统下的方案,请根据实际情况选择。
- 17:10
- 17:58
![Pasted image 20250228175738](</mdImages/Pasted image 20250228175738.png>)
调用 grop 调不通,然后发现官方 dev console 也直接 404 了
![Pasted image 20250228175843](</mdImages/Pasted image 20250228175843.png>)
![Pasted image 20250228180112](</mdImages/Pasted image 20250228180112.png>)

View File

@ -1,54 +0,0 @@
---
toAstro: true
astroType: null
published: false
toWexin: null
toJuejin: null
toZhihu: null
title: 2025-03-04 星期二
date: 2025-03-04T00:00:00.000Z
day_of_week: 星期二
author: KazooTTT
tags:
- 日记
description: null
slug: diary-2025-03-04
category: 日记
date_created: 20250304
date_modified: 20250307
---
## memos
- 13:59
已经把 cherrystudio 里面的所有的默认模型改成 gemini 2 flash 了
![IMG-B1FFDA204911256BC9A3C0BC465FE803](</mdImages/IMG-B1FFDA204911256BC9A3C0BC465FE803.png>)
- 14:01
[Developer Roadmaps - roadmap.sh](<https://roadmap.sh/>)
学习路线图
- 14:22
Groq 的 dev console 以及 api 调用报 404 的解决方法:
使用非香港地区的代理
- 14:23
Zen browser 如果出现了一些奇怪的网络问题,请去: `about:preferences#searchResults` 开启代理。
![IMG-3E1B27318067CBA0326348E9A3CD245A](</mdImages/IMG-3E1B27318067CBA0326348E9A3CD245A.png>)
![IMG-182545B738A61E339A98C367918487E2](</mdImages/IMG-182545B738A61E339A98C367918487E2.png>)
- 14:26
[LINUX DO - 新的理想型社区](<https://linux.do/>)
感觉是个不错的社区一些有用的解决方法都是从这里找到的
- 18:35 满怀期待等来的是失望真的会哭
- 19:06 其实感觉这些 vscode like ide 体验不如 vscode 的一点是不支持 profile 同步

View File

@ -1,61 +0,0 @@
---
toAstro: true
astroType: null
published: false
toWexin: null
toJuejin: null
toZhihu: null
title: 2025-03-05 星期三
date: 2025-03-05T00:00:00.000Z
day_of_week: 星期三
author: KazooTTT
tags:
- 日记
description: null
slug: diary-2025-03-05
category: 日记
date_created: 20250305
date_modified: 20250307
---
## memos
- 10:16
坚果云免费版对于 cherry studio 频繁同步的场景不太够用
感觉得找个别的支持 webdav 的网盘
![IMG-4E7CA2B2820C13BC264E9520D61AEA71](</mdImages/IMG-4E7CA2B2820C13BC264E9520D61AEA71.png>)
![IMG-CEE59951BA3BB4CA797AE4C3A79CF229](</mdImages/IMG-CEE59951BA3BB4CA797AE4C3A79CF229.png>)
![IMG-0ED8EABB243959CF7C1FD45311857231](</mdImages/IMG-0ED8EABB243959CF7C1FD45311857231.png>)
- 10:37
其实一直分不清楚 last name, first name
有什么记忆的方法吗
**Last name 是姓, First name 是名**
- 13:52
如果视频没有泰语字幕
Huggingface 的 whisper 可以直接输入油管的链接
![IMG-8CB8741AA4B7D8C9DBCD3251DECF4F5C](</mdImages/IMG-8CB8741AA4B7D8C9DBCD3251DECF4F5C.png>)
或者可以先下载音频、视频转音频。
另外 groq 有免费的 whisper 模型可以使用,加速后转译成字幕更加快速。
![IMG-FCDEC2838ACED54D21628E731B7A18FA](</mdImages/IMG-FCDEC2838ACED54D21628E731B7A18FA.png>)
8 MB 超限了切分一下就可以(怕切到中间了可以 lossless cut 看着波形图剪,最后可以导出带有 index 后缀的音频)
还是不满意再用 whisperX, 功能更丰富,识别更准确(得本地下载 whisper 模型
![IMG-E24439522EA08DF76BD98B66DBD7ED54](</mdImages/IMG-E24439522EA08DF76BD98B66DBD7ED54.png>)
![Pasted image 20250305135535](</mdImages/Pasted image 20250305135535.png>)
- 14:14
- [ ] 写一个油猴脚本快速切换微博的版本

View File

@ -1,57 +0,0 @@
---
toAstro: true
astroType: null
published: false
toWexin: null
toJuejin: null
toZhihu: null
title: 2025-03-06 星期四
date: 2025-03-06T00:00:00.000Z
day_of_week: 星期四
author: KazooTTT
tags:
- 日记
description: null
slug: diary-2025-03-06
category: 日记
date_created: 20250306
date_modified: 20250306
---
## 今天要做的事情
- [ ] 性能优化
- [ ] OSS 加密算法的 key 重新生成一下
- [ ] 检查一下在线模式下的直接开始手术
- [ ] Vue flow 练习
## memos
- 10:23 如何配置 lint 让 vscode 编辑 md 的时候实现在英文的前后有空格。使用 pangu 插件
- 15:01
Picgo + cloudflare R2 报错
[renmu123/obsidian-image-auto-upload-plugin: auto upload image with picgo](<https://github.com/renmu123/obsidian-image-auto-upload-plugin>)
```
\Uncaught TypeError: Cannot read properties of null (reading 'getValue')
at Helper. GetValue (plugin: obsidian-image-auto-upload-plugin:6133:23)
at imageAutoUploadPlugin. UploadAllFile (plugin: obsidian-image-auto-upload-plugin:6585:35)
at Object. CheckCallback (plugin: obsidian-image-auto-upload-plugin:6416:30)
at pW (app. Js:1:1967020)
at t.onChooseItem (app. Js:1:2614262)
at t.onChooseSuggestion (app. Js:1:1796358)
at t.selectSuggestion (app. Js:1:1795828)
at e.useSelectedItem (app. Js:1:1378470)
at Object. Func (app. Js:1:1375868)
at e.handleKey (app. Js:1:773817)
```
结果发现只是因为 token 到期了
![Snipaste_2025-03-06_14-51-41](</mdImages/Snipaste_2025-03-06_14-51-41.png>)
- 15:09 把 cursor 的订阅停掉了,试用一下免费的 copilot

View File

@ -1,38 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
slug: fragmented-notes-2025-02-19-21-11-25
tags:
- 环境变量
- 碎片
- vite
description: >-
为了防止环境变量泄漏Vite 提供了一个机制,即只有以 VITE_为前缀的变量才会被暴露给经过 Vite
处理的代码。这样可以有效地控制变量的泄露,避免意外的安全问题。
date_created: 20250104
date_modified: 20250304
title: 241029 1144 vite环境变量
date: 2025-02-19T00:00:00.000Z
author: KazooTTT
category: 碎片
---
为了防止意外地将一些环境变量泄漏到客户端,只有以 `VITE_` 为前缀的变量才会暴露给经过 vite 处理的代码。例如下面这些环境变量:
``` .env
VITE_SOME_KEY=123
DB_PASSWORD=foobar
```
只有 `VITE_SOME_KEY` 会被暴露为 `import.meta.env.VITE_SOME_KEY` 提供给客户端源码,而 `DB_PASSWORD` 则不会。
``` js
console.log(import.meta.env.VITE_SOME_KEY) // "123"
console.log(import.meta.env.DB_PASSWORD) // undefined
```
[环境变量和模式 | Vite 官方中文文档](<https://cn.vite.dev/guide/env-and-mode#env-variables>)

View File

@ -1,39 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
date_created: 20250131
date_modified: 20250304
slug: blender-macos-steam-version-limitations
tags:
- Apple Silicon
- Blender
- macOS
- Software Compatibility
- Steam
description: >-
Important considerations when installing Blender via Steam on macOS for Apple
Silicon devices
title: Blender on macOS - Steam Version Limitations for Apple Silicon Devices
date: 2025-01-31T00:00:00.000Z
author: KazooTTT
finished: true
category: 3D Modeling
---
## 1. Steam Version Benefits
Key advantages of using Steam version:
- Automatic updates
- Usage time tracking
## 2. macOS Version Considerations
![IMG-F705691552F356BAFA7C7FEB418ED0B4](<https://pictures.kazoottt.top/2025/01/20250131-IMG-F705691552F356BAFA7C7FEB418ED0B4.png>)
- Steam provides **Intel-chip compatible version** only
- If you are Apple Silicon user, the performance may be affected

View File

@ -1,87 +0,0 @@
---
toAstro: true
astroType: null
published: true
toWexin: null
toJuejin: null
toZhihu: null
title: ChainForge简单介绍
date: 2024-05-22T00:00:00.000Z
author: KazooTTT
tags:
- 工具
- chainforge
- llm
finished: true
category: AI
slug: chainforge-intro
description: >-
ChainForge is a visual programming environment designed for prompt
engineering, allowing users to evaluate and test prompts for large language
models (LLMs). It supports various use cases such as assessing prompt
effectiveness, conducting adversarial testing, and evaluating model
performance. The platform also facilitates the customization of LLMs through
its documentation on adding custom providers. Users can find practical
examples and tutorials on the ChainForge website and GitHub repository,
including a case study on Twitter and a video demonstrating LLM prompt
injection attacks and vulnerability testing. Additionally, ChainForge is
working on enhancing its functionality by enabling internal and proxy network
environments.
NotionID-notionnext: 40ec4f8d-2030-4ce1-b8c7-c1c9f56ef55b
link-notionnext: 'https://kazoottt.notion.site/ChainForge-40ec4f8d20304ce1b8c7c1c9f56ef55b'
date_created: 20250104
date_modified: 20250304
---
# ChainForge 简单介绍
![Pasted image 20240417222811](<https://pictures.kazoottt.top/2024/05/20240522-c31876b89dcb822e411af1ef7992eb49.png>)
官网:
[ChainForge: A visual programming environment for prompt engineering](<https://chainforge.ai/>)
github 地址:
[GitHub - ianarawjo/ChainForge: An open-source visual programming environment for battle-testing prompts to LLMs.](<https://github.com/ianarawjo/ChainForge>)
## 简介
![Pasted image 20240417223400](<https://pictures.kazoottt.top/2024/05/20240522-a9e96bff073602718c11943e61bcf758.png>)
## 使用场景
评估提示词
攻击性测试
评估模型
评估某项指标
## 实践
![Pasted image 20240417231517](<https://pictures.kazoottt.top/2024/05/20240522-5fea389ac9bca4a43c076dc442d374e6.png>)
这两个例子单独拿出来讲
## TODO
1. 内部环境运行
2. 内网环境 proxy [Add Custom Providers - ChainForge Documentation](<https://chainforge.ai/docs/custom_providers/> 提供了自定义 llm
## 参考
使用案例:
[X](<https://twitter.com/9hills/status/1772467763165958602>)
自动化 Prompts
[\[2402.10949\] The Unreasonable Effectiveness of Eccentric Automatic Prompts](<https://arxiv.org/abs/2402.10949>)
相关的视频
[LLM Prompt Injection Attacks & Testing Vulnerabilities With ChainForge - YouTube](<https://www.youtube.com/watch?v=x1_uEnoxvNs>)
使用 ChainForge 进行 LLM 提示注入攻击和漏洞测试

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