mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-22 10:11:29 +08:00
Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2
This commit is contained in:
@ -1,243 +0,0 @@
|
||||
---
|
||||
title: 2023 bw汇报
|
||||
date: 2024-01-07
|
||||
author: KazooTTT
|
||||
tags:
|
||||
- "2023"
|
||||
- bw
|
||||
- hanser
|
||||
published: true
|
||||
slug: bw2023
|
||||
description: >-
|
||||
本文详细记录了作者在2023年参加BW活动的经历,从20号到23号的活动日程,包括与队友的互动、周边包装、场地布置、直播观看以及与粉丝的交流等。文章中穿插了作者的个人感受和对活动的反思,展现了从懵懂到逐渐融入圈子的成长过程,以及对未来职业选择的思考。此外,还提到了与队友的友情和团队合作的重要性,以及活动结束后的情感落差和回忆。整体上,这是一篇充满情感和细节的活动回顾。
|
||||
category: 生活
|
||||
toAstro: true
|
||||
date_created: 2024-09-03T21:00:57+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
---
|
||||
|
||||
# 2023bw 汇报
|
||||
|
||||
这是我第二次去 bw,上一次去是 2021 年,刚来上海工作的年份。时间过得真的好快,我也发生了很多变化。
|
||||
|
||||
21 年的时候,感觉自己对于这个圈子很懵懂,一直处于观察状态没有可以交流的人。但是到了 23 年,已经认识了许多观点契合的同好,可以一起交流真的很开心。
|
||||
|
||||
与本次 bw 有关的回忆从 20 号中午持续到 23 号晚上,直接从时间顺序开始汇报吧。情感整体比较平淡,一些私人的情绪和想法就留在私底下吧,不想公开去聊这些东西。
|
||||
|
||||
## 一、20 号
|
||||
|
||||
提前一天请了 20 号下午的假,中午一下班就打车前往酒店与小伙伴们汇合。其实去的路上已经开始狂风暴雨甚至路上积水了,但完全沉浸在出行的兴奋中,没有想太多,更没有想过自己明天要经历什么。
|
||||
|
||||

|
||||
|
||||
1 点半达到酒店后,和队友们见了面打了招呼,虽然从未在现实中见过他们,但是猜 id 和记住 id 一点也不困难。并且对于我这种社恐来说,没有感受到任何不适和紧张感,就像在网上相处一样放松。
|
||||
|
||||
然后还吃了主播安利的黯然销魂饭,确实是挺好吃的,bw 结束之后我还自己又单独点了一次外卖。吃完饭稍微休息了一会儿,便开始工作,工作内容也就是包周边,前期包周边的过程是一个人走一圈然后拿一圈周边包一份,这样会有一些走动和下蹲起立的动作,还是挺累的,在空调房里已经出汗了。当时甚至感觉是今年最大的运动量了(后来才发现是我太乐观了)。
|
||||
|
||||
包了一阵子周边后就和打工毛怪们一起去看了展馆场地的情况,还拉了下围栏,非常乐观地模拟了下 21 号排队的样子。当时看完场馆,最大的感想就是为什么员工入口到 8.1 馆那么远,以及为什么 vr 站台在 8.1 的最里面!好难走,好容易迷路。
|
||||
|
||||

|
||||
|
||||
看完场地后又回到了酒店,发现队友们都到齐了~
|
||||
|
||||
一进房间就看到了大咩和卡密,然后走上去不自觉地和大咩老师来了一点身体接触,感觉很亲切!(但是为什么会这样呢 🤔)
|
||||
|
||||
打了招呼后,又继续开始包周边,一直工作到饭点时间,一起出门去吃了一家本帮菜。这也是我第一次吃响油鳝丝,店里的可乐竟然只有百事的,惊了怎会如此!
|
||||
|
||||
吃完饭又继续开始包周边,装箱封箱,约了货拉拉,把要准备的东西都搞定后就回自己房间休息了。
|
||||
|
||||
顺带一提,感觉关上灯后和 73 老师聊天就跟在 yy 聊天一样。
|
||||
|
||||
## 二、21 号
|
||||
|
||||
### 上午
|
||||
|
||||

|
||||
|
||||
这一天早早地起了床,按约好的时间(6 点)到酒店大厅集合。由于货车只能停在停车场,无法开进场馆,所以我们在停车场开始卸货。由于我们只有 5 张可以提前入场的证(2 张参展证,3 张 cos 证),所以只能由我们 5 个人把几大箱周边从员工入口全部运进场 QAQ。然后上午前前后后跑了四趟。
|
||||
|
||||

|
||||
|
||||
第一趟:
|
||||
|
||||
虽然有提前预想到需要使用推车帮忙搬运,主播也提前帮忙买了两个推车,但是万万没想到的是我们在运第一批货进场的时候,其中一个推车的轮子就被磨损到无法正常使用了,大大降低了运输的速度。并且员工入口到 8.1 馆的距离实在太远了,过程十分艰辛。
|
||||
|
||||
第二趟:
|
||||
|
||||
气喘吁吁运完第一趟后,我又抱着推车跑去场馆外接第二批货,结果更是没想到刚把获取搬到仅剩的一个推车上时候,轮子直接脱落了,怎么装也装不上去,最后实在没办法,只能让 ask 和安可先人工把东西抱进去,我留在原地照看剩下的周边。
|
||||
|
||||
我一边在路边尝试组装车轮,一边查看工作群的消息,发现由于 VIP 提前放人,摊位那边已经有人聚集,并且由于除了 173,其他基本都在路上运周边。再后来看到消息,就是场馆那边觉得摊位人聚集太多,要求我们强制发放周边了…
|
||||
|
||||
看着群里的消息焦虑的同时,我选择放弃组装车轮,直接用三轮车 + 手压改变重心的方式运输货物,勉强可以运输动。就先和 ask 一起把东西运进去了。
|
||||
|
||||
这个时候场馆里可以说是水泄不通,寸步难行,没走几步都要喊一句“可以让一下吗,谢谢”“麻烦让一下谢谢”
|
||||
|
||||
第三趟:
|
||||
|
||||
然后和第二趟类似的,把三轮车抱出来和安可一起再把东西运进去。
|
||||
|
||||
第四趟:
|
||||
|
||||
安可先出去接了卡套,但是放身份证的包放在摊位了,没有身份证无法进场,于是我拿着他的包又去了一次场馆外和他一起进来。卡套比较重,虽然提出和安可一起搬,但他拒绝了还是想一个人搬。于是我就在大群里开始摇人,让其他人来 8.1 门口帮我们搬。
|
||||
|
||||
在 8.1 门口见到了星谜和迟到,发现我对声音并不是很敏感,单纯听声音不太能分清楚谁是谁,并且他们的发型和整个人给我的感觉都挺像的,听了他们的自我介绍后,终于分清楚了矮一点的是迟到,高一点是星谜。
|
||||
|
||||
终于忙完回到摊位的时候已经差不多 11 点了,开始帮来摊位的人发憨憨报和专辑兑换卡,偶尔帮忙收一下要交给主播的信件。印象很深的一个 id 是德古马都·绝帝,应该是他来交了信件然后送了咖啡糖。(虽然我不怎么混圈,也不怎么和其他毛怪聊天,但那种线上有印象,然后线下见到真人的感觉还是挺令人开心的。)
|
||||
|
||||
陆陆续续有人过来问周边发放的事情,跟他们解释后,他们也表示谅解然后离开了,感觉挺多人还是很友善的。
|
||||
|
||||
快中午 11 点半的时候,摊位突然又拥堵了起来,发生了一些不太愉快的插曲。和去年同时间段的某些事情带给我的感受还挺类似的,但不想过多展开。
|
||||
|
||||
到了中午才意识到原来自己没吃早饭也没吃午饭,但一点没有不适的感觉,或许是肾上腺素在帮助我高强度运作吧。
|
||||
|
||||
### 下午
|
||||
|
||||
主播的互动节目是下午 1 点,互动地点就在我们摊位的背后,不过我们一群人还是在摊位上看的直播(这也算一个小成就吧,在现场看直播 hhh)
|
||||
|
||||

|
||||
|
||||
其实这一天的心情一直都挺压抑的,虽然我主要时间是花在往返员工入口和 8.1 运东西这块了,忙完摊位附近的拥堵和混乱已临近尾声,没有直面那样的场景。但即使这样心里还是很焦虑和压抑。看主播直播的时候,虽然网络很卡,好几次卡到黑屏,但还是把这些情绪压下去了,那时候觉得还挺开心的。(看主播真的能续命=、=)
|
||||
|
||||
### 晚上
|
||||
|
||||
看完直播后便一起装箱,等仓库空出来把周边搬进仓库。快闭馆的时候,突然听说场馆外开始下雨了。bw 散场很难打车这点我之前有体会过,但加上下暴雨甚至水淹场馆的体验,还是第一次。
|
||||
|
||||
很疲惫地走到出口,开始打车,前面排了几十号人,加价很多也没司机接单。无奈前往便利店先吃点东西垫肚子然后坐着休息一下。
|
||||
|
||||
然后主播突然发消息说帮我们找了一辆 up 主小镇的大巴,于是我们又一起赶往对应地点。
|
||||
|
||||
去的过程中,我突然想到 bw 的门票没抢到 cos 证是主播搞的,打车打不到大巴车也是主播帮忙联系的,觉得主播好厉害,就下意识感叹了一句“主播好厉害啊,我好没用。”(类似于感叹“大手”的说法)。
|
||||
|
||||
没想到这句话让其他人联想到了这一天的工作状况然后影响到了他们的心情,真的不好意思 555。
|
||||
|
||||
见到对接人后,对接人对我们很友好说让我们先在休息区休息,有问题可以找他。
|
||||
|
||||
在 up 主小镇坐下后,感觉像进入了一个光鲜靓丽的新世界吧,有好多 up 主也在那边一起玩一起大笑后来甚至还去舞台那边表演节目跳舞等。
|
||||
|
||||
一开始我坐在位置上耍手机。刷着刷着抬头发现好像对面的好几个 up 主都在直播,有时候还会把镜头对着我们。后来去翻了录播,发现确实有出现在别人的直播里 hhh。
|
||||
|
||||

|
||||
|
||||
后来看到 ask 和安可都去看 up 的表演了,我也跟着去了,好像大部分都是舞蹈区 up 主,我不太认识,但听到有人讲四川话和听到有人放三无唱的《花月成双》,还是觉得很亲切的。
|
||||
|
||||
与此同时,突然看到队友的房间漏水的视频,真的很好笑。
|
||||
|
||||

|
||||
|
||||
等了一段时间后我们便登了上回程的大巴,对接人跑过来的时候问我们“你们五位是 hanser 吗?”,那一刻觉得有点尴尬又很好笑 hhh。虽然回程路上也因为暴雨而堵车,但是速度比我们自己打车快太多了啦,在 10 点钟回到了酒店。
|
||||
|
||||
回到酒店先吃了个饭,队友们已经差不多把预约信息审核好了,大家又继续开始发送第二天预约的消息。忙到差不多 2 点才休息。
|
||||
|
||||
这是这天的步数数据
|
||||
|
||||

|
||||
|
||||
## 三、22 号
|
||||
|
||||
### 白天
|
||||
|
||||

|
||||
|
||||
其实一直都有惦记着合照的事情,但前一天时间不够没来得及合照,所以这一天在到摊位收拾好后拍了一张合照。
|
||||
|
||||

|
||||
|
||||
基于第一天的经验,我们又购买了白板和喇叭,用于写告示和提醒他人。以及由于有预约机制,这一天的工作轻松了许多,没有出什么问题。不过还是有一些小插曲的。↓
|
||||
|
||||
由于 173 带了主播同款的眼镜,可能身高也比较符合别人对主播的身高的想象吧(但是主播真的没那么矮),再加上是在 bw 这样的地方,每个人对于主播的熟悉程度和理解不太相同,于是有部分人把 173 认成了主播。
|
||||
|
||||
有时候抬头能看到周围有人指指点点,或者拿手机拍照…
|
||||
|
||||
甚至有人来拿周边,他朋友来问我“我没有预约,可以和 hanser 拍照吗?”,我回复他说:“那个不是 hanser,那是工作人员。”,那一刻感觉更尴尬的是我自己。
|
||||
|
||||
### 晚上
|
||||
|
||||
然后这天晚上有聚餐活动,去的是一家烧烤店。其实我是不太能喝酒的类型,喝了酒就头昏犯困。可能是提前叮嘱过酒的度数不要太高,所以那天晚上我喝了几杯酒都没有想睡觉的感觉,反而变得很亢奋。
|
||||
|
||||
那时候大咩老师坐在我旁边,醉酒表现真的好可爱!一直要我点歌让她唱,笑死。
|
||||
|
||||
比较巧的时,我前几周才学会剥小龙虾,感觉就是专门为这次吃饭学的!(不是)
|
||||
|
||||
不过把狼宝和 91 认混了 555,对不起
|
||||
|
||||
吃饭差不多吃完了,大伙儿就在场地内开始唱歌和玩击鼓传花接歌词 + 真心话大冒险。
|
||||
|
||||
## 四、23 号
|
||||
|
||||
### 上午
|
||||
|
||||

|
||||
|
||||
最后一天可以稍微晚一点到场馆,并且因为剩下的份数不算太多,所以也可以早点下班了。
|
||||
|
||||
帮忙把预约的便利贴发出后,后面发周边主要还是 73 和 ask 在搞,我偶尔维护一下秩序。
|
||||
|
||||
后来闲下来后,我坐在折叠凳上开始刷各个平台的动态,有看到一些不太好的言论,那个时候已经有点挤不出笑了。(明明平时天天给自己喂垃圾,按理来说承受能力很强的,不至于影响心情的)
|
||||
|
||||
然后后来又刷到主播的帖子,心里更压抑了,一个人捏着手机盯着空处发呆。不知道为什么越想越难受,又觉得在公共场合应该控制好自己情绪,两种心情在打架。
|
||||
|
||||
但真的抑制不住,最开始还好只是有点红眼眶,后来就直接哭了。不过我觉得我应该掩饰得挺好的,只在想要纸巾的时候找卡密帮忙了一下,其他时间都在低着头捂着眼睛。
|
||||
|
||||
那时候安可还过来问我“还好吗,要不要先回酒店”,感觉我给人的感觉应该只是身体不适 hhh
|
||||
|
||||
哭完后心里舒服多了(可能哭真的很解压=、=),然后中午收拾完下班后和队友们一起合照了。
|
||||
|
||||

|
||||
|
||||
### 下午和晚上
|
||||
|
||||
回到酒店后,先是吃了顿饭,然后看了主播的直播,后来看到卡密说冰淇淋蛋糕再不吃要化了!又一起去吃冰淇淋蛋糕了~
|
||||
|
||||
没有拍照,偷个图
|
||||
|
||||

|
||||
|
||||
下午吃完蛋糕后,大家都陆陆续续要走了 😣 其实一直都很期待聊天八卦环节,这次由于太忙了所有人都一直处于高强度工作状态,没有时间聊天,还是挺可惜的。
|
||||
|
||||
虽然定了 4 天房,但我周一要工作,所以也在周日也就是 23 号晚上选择了回家。
|
||||
|
||||
那一刻心里落差还蛮大的吧,虽然 bw 这三天的经历也很累但挺快乐的,一想到明天只要回归日常工作,而且不知道下次线下是什么时候,也不知道自己还能不能去,就觉得挺失落的。
|
||||
|
||||
bw 结束后开始了差不多为期一周的后遗症,症状是脑袋空白,总是回忆起那几天发生的事实,无法好好工作。😶
|
||||
|
||||
## 五、一些想法
|
||||
|
||||
这三天的流水账差不多就结束了,心里也有挺多感想的。
|
||||
|
||||
很感谢主播,让我有机会体验到另一种岗位是什么样的,这种体验给了我未来职业选择的一些指导性。或许以后不做程序员,做点其他的也挺好的?
|
||||
|
||||
也从和他人共事的过程中学到了一些东西,例如确认内容有没有传达清楚的时候,使用先讲内容然后营造一个具体场景询问解决方案的方式,这样既可以确认是否讲清楚也可以加深别人的认知。这样的方法在平时也能用到。
|
||||
|
||||
然后也意识到自己线下的表达真的很差,很多时候话说到一半就不知道自己在说啥了,几年前练好了一点现在又还回去了。
|
||||
|
||||
然后也很谢谢队友们吧,大家都很好,在一起很愉快。
|
||||
|
||||
有时候常常在想生活的意义是什么,现在觉得大家大部分时间过着平淡的生活偶尔有些盼头让大家聚在一起,这也算是意义之一吧。
|
||||
|
||||
## 六、备忘
|
||||
|
||||
一些相关的记录
|
||||
|
||||
1. 73 老师的汇报
|
||||
|
||||
[姗姗来迟的 BW 流水账~](https://2550505.com/postDetails/113481)
|
||||
|
||||
2. bw 邮件环节录播(bw 回忆录)
|
||||
|
||||
[hanser】有盼头才有动力生活/2023.8.9](https://www.bilibili.com/video/BV1n44y1A7j8/)
|
||||
|
||||
[hanser】加播 邮件念完~/2023.8.10](https://www.bilibili.com/video/BV1j44y1c7nh/)
|
||||
|
||||
3. 大咩老师的 vlog
|
||||
|
||||
[BW 毛怪 vlog 大咩视角喵=^\_^=](https://www.bilibili.com/video/BV1TV4y1q7Nr/)
|
||||
|
||||
4. 91 的 vlog
|
||||
|
||||
[2023bw 之旅](https://www.bilibili.com/video/BV1RV411g7xq/)
|
||||
|
||||
---
|
||||
|
||||
你也可以在 craft 上访问这篇博文。
|
||||
|
||||
[2023bw 汇报](https://www.craft.me/s/8xGTFTpuCQi3uD)
|
@ -16,7 +16,7 @@ description: >-
|
||||
previewing and generating Open Graph meta tags for better social media
|
||||
sharing.
|
||||
NotionID-notionnext: 96e4d436-6fd9-4fec-865c-ac2d80b06be0
|
||||
link-notionnext: 'https://kazoottt.notion.site/open-graph-intro-96e4d4366fd94fec865cac2d80b06be0'
|
||||
link-notionnext: "https://kazoottt.notion.site/open-graph-intro-96e4d4366fd94fec865cac2d80b06be0"
|
||||
rinId: 17
|
||||
category: 前端
|
||||
toAstro: true
|
||||
|
@ -15,7 +15,7 @@ tags:
|
||||
- 自动更新播放量
|
||||
finished: true
|
||||
published: true
|
||||
category:
|
||||
category:
|
||||
slug: use-google-sheet-api-to-get-youtube-playbacks-on-a-regular-basis
|
||||
description: "在 MilkLove 的二搭剧 Whale Store xoxo 的 YouTube 预告片中,使用 Google Sheets 脚本可以定时获取视频播放量并存入表格。脚本主要包括以下步骤: 1. **检查是否有 access token**: 脚本首先检查是否存在 access token。如果不存在,则会返回一个错误信息。 2. **获取 video 的统计数据**: 脚本使用 YouTube API 来获取视频的统计数据,包括播放量等。若统计数据成功则将播放量返回给脚本。 3. **记录播放量和时间到表格中**:如果在获取播放量后没有发生错误,则会向表格中插入一行,其中包含当前时间和播放量。 因此,通过这个脚本,可以定时地获取 YouTube 视频的播放量并存入 Google Sheets 表格。"
|
||||
toAstro: true
|
||||
@ -37,9 +37,9 @@ date_modified: 2025-01-22T13:39:19+08:00
|
||||
|
||||
第一步,在 sheet 中的原始模板是这样的:
|
||||
|
||||
| 链接 | 视频 id | 时间 | 播放量 |
|
||||
| ------------------------------------------------------------------------------------------ | ---------------------------------------------------------- | --- | --- |
|
||||
| [https://www.youtube.com/watch?v=Eia_Sh_ZTyQ](https://www.youtube.com/watch?v=Eia_Sh_ZTyQ) | =MID(A2, FIND("v=", A2) + 2, LEN(A2) - FIND("v=", A2) - 1) | | |
|
||||
| 链接 | 视频 id | 时间 | 播放量 |
|
||||
| ------------------------------------------------------------------------------------------ | ---------------------------------------------------------- | ---- | ------ |
|
||||
| [https://www.youtube.com/watch?v=Eia_Sh_ZTyQ](https://www.youtube.com/watch?v=Eia_Sh_ZTyQ) | =MID(A2, FIND("v=", A2) + 2, LEN(A2) - FIND("v=", A2) - 1) | | |
|
||||
|
||||
在第一列写上要监听的油管的链接,然后视频的 id 通过公式直接计算出来。
|
||||
|
||||
@ -53,73 +53,75 @@ date_modified: 2025-01-22T13:39:19+08:00
|
||||
|
||||
第三步,把代码复制到 Code.gs 中,效果如图:
|
||||
|
||||
``` js
|
||||
```js
|
||||
function onOpenFunc() {
|
||||
PropertiesService.getScriptProperties().setProperty("accessToken", ScriptApp.getOAuthToken());
|
||||
PropertiesService.getScriptProperties().setProperty("accessToken", ScriptApp.getOAuthToken())
|
||||
}
|
||||
|
||||
function getVideoViews(videoid) {
|
||||
var accessToken = PropertiesService.getScriptProperties().getProperty('accessToken');
|
||||
|
||||
var accessToken = PropertiesService.getScriptProperties().getProperty("accessToken")
|
||||
|
||||
// Check if the access token exists
|
||||
if (!accessToken) {
|
||||
Logger.log('No access token found.');
|
||||
return 'Error: No access token';
|
||||
Logger.log("No access token found.")
|
||||
return "Error: No access token"
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
var videoStatsResponse = YouTube.Videos.list('statistics', {
|
||||
'id': videoid,
|
||||
'access_token': accessToken
|
||||
});
|
||||
|
||||
var videoStatsResponse = YouTube.Videos.list("statistics", {
|
||||
id: videoid,
|
||||
access_token: accessToken,
|
||||
})
|
||||
|
||||
// Check if the response contains the expected data
|
||||
if (videoStatsResponse.items && videoStatsResponse.items[0] && videoStatsResponse.items[0].statistics) {
|
||||
return videoStatsResponse.items[0].statistics.viewCount;
|
||||
if (
|
||||
videoStatsResponse.items &&
|
||||
videoStatsResponse.items[0] &&
|
||||
videoStatsResponse.items[0].statistics
|
||||
) {
|
||||
return videoStatsResponse.items[0].statistics.viewCount
|
||||
} else {
|
||||
Logger.log('No statistics found for video ID: ' + videoid);
|
||||
return 'Error: No statistics';
|
||||
Logger.log("No statistics found for video ID: " + videoid)
|
||||
return "Error: No statistics"
|
||||
}
|
||||
} catch (error) {
|
||||
Logger.log('Error fetching statistics for video ID ' + videoid + ': ' + error.toString());
|
||||
return 'Error: ' + error.toString();
|
||||
Logger.log("Error fetching statistics for video ID " + videoid + ": " + error.toString())
|
||||
return "Error: " + error.toString()
|
||||
}
|
||||
}
|
||||
|
||||
function recordYouTubeViewCount() {
|
||||
// 获取活动表格
|
||||
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
|
||||
|
||||
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet()
|
||||
|
||||
// 获取第二行的 ID
|
||||
var videoId = sheet.getRange(2, 2).getValue();
|
||||
|
||||
var videoId = sheet.getRange(2, 2).getValue()
|
||||
|
||||
// 获取当前时间
|
||||
var currentTime = new Date();
|
||||
|
||||
var currentTime = new Date()
|
||||
|
||||
try {
|
||||
// 获取播放量
|
||||
var viewCount = getVideoViews(videoId);
|
||||
|
||||
var viewCount = getVideoViews(videoId)
|
||||
|
||||
// 获取当前表格的最后一行
|
||||
var lastRow = sheet.getLastRow();
|
||||
|
||||
var lastRow = sheet.getLastRow()
|
||||
|
||||
// 在最后一行之后插入新行,并填写时间和播放量
|
||||
sheet.insertRowAfter(lastRow);
|
||||
sheet.getRange(lastRow + 1, 3).setValue(currentTime); // 设置时间
|
||||
sheet.getRange(lastRow + 1, 4).setValue(viewCount); // 设置播放量
|
||||
sheet.insertRowAfter(lastRow)
|
||||
sheet.getRange(lastRow + 1, 3).setValue(currentTime) // 设置时间
|
||||
sheet.getRange(lastRow + 1, 4).setValue(viewCount) // 设置播放量
|
||||
} catch (error) {
|
||||
// 错误处理
|
||||
Logger.log('Error processing video ' + videoId + ': ' + error.toString());
|
||||
|
||||
Logger.log("Error processing video " + videoId + ": " + error.toString())
|
||||
|
||||
// 如果发生错误,记录错误信息
|
||||
var lastRow = sheet.getLastRow();
|
||||
sheet.insertRowAfter(lastRow);
|
||||
sheet.getRange(lastRow + 1, 3).setValue(currentTime); // 设置时间
|
||||
sheet.getRange(lastRow + 1, 4).setValue('Error: ' + error.toString()); // 设置错误信息
|
||||
var lastRow = sheet.getLastRow()
|
||||
sheet.insertRowAfter(lastRow)
|
||||
sheet.getRange(lastRow + 1, 3).setValue(currentTime) // 设置时间
|
||||
sheet.getRange(lastRow + 1, 4).setValue("Error: " + error.toString()) // 设置错误信息
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
|
||||

|
||||
|
@ -9,13 +9,13 @@ finished: true
|
||||
published: true
|
||||
category: 项目
|
||||
slug: merge-pdfs
|
||||
description:
|
||||
description:
|
||||
toAstro: true
|
||||
date_created: 2024-12-19T10:15:23+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
||||
|
||||
地址:
|
||||
地址:
|
||||
|
||||
[PDF文件合并工具 - 在线免费合并PDF文档](https://pdf.kazoottt.top/)
|
||||
|
||||
@ -35,4 +35,4 @@ date_modified: 2025-01-22T13:39:24+08:00
|
||||
|
||||
## 鸣谢
|
||||
|
||||
使用了 [GitHub - nbesli/pdf-merger-js](https://github.com/nbesli/pdf-merger-js) 这个库来进行 pdf 的合并
|
||||
使用了 [GitHub - nbesli/pdf-merger-js](https://github.com/nbesli/pdf-merger-js) 这个库来进行 pdf 的合并
|
||||
|
@ -12,7 +12,7 @@ slug: >-
|
||||
description: >-
|
||||
用户在使用oneapi部署服务并接入deepseek翻译模型时遇到错误,错误信息显示域名未被列入@connect列表。通过查询,了解到@connect是油猴脚本的一个标签,用于允许脚本跨域请求特定配置的域名。解决方法包括手动添加域名到@connect列表、使用通配符*简化配置、在油猴脚本设置中添加域名到用户域白名单,或使用浏览器插件直接配置匹配所有URL的模式。
|
||||
NotionID-notionnext: 26f6fc5b-4286-45e2-8e83-e178f45c1ae0
|
||||
link-notionnext: 'https://kazoottt.notion.site/OPENAI-26f6fc5b428645e28e83e178f45c1ae0'
|
||||
link-notionnext: "https://kazoottt.notion.site/OPENAI-26f6fc5b428645e28e83e178f45c1ae0"
|
||||
rinId: 56
|
||||
category: 软件
|
||||
toAstro: true
|
||||
|
@ -14,15 +14,16 @@ description: >-
|
||||
文章中作者分享了多个餐饮体验,包括奶茶店“薄荷森林”的薄荷生打椰,以及“野台风”的圆规和dirty咖啡。在“seven
|
||||
bus”尝试了杏仁牛油果冰淇士。正餐方面,作者品尝了“野草莓”的高性价比美食,以及“宴遇1/2”的酸菜鱼、火焰黑椒安格斯小牛肉等。此外,还体验了“叽叽扎扎烤肉”和“七星西鹭鸭胫店”的特色菜肴。最后,作者在“傲客夜食”尝试了麻辣烤鱼和冰粉。整体上,作者对所尝试的食物给予了积极的评价,并表达了对某些美食的特别喜爱。
|
||||
rinId: 113
|
||||
category: 生活
|
||||
category: 旅行
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-12-02T11:03:22+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
date_modified: 2025-02-05T21:48:36+08:00
|
||||
---
|
||||
|
||||
# 奶茶与咖啡
|
||||
## 奶茶与咖啡
|
||||
|
||||
## 薄荷森林
|
||||
### 薄荷森林
|
||||
|
||||
喝到了主播推荐的薄荷森林的薄荷生打椰,确实有一点薄荷牙膏的味道,但是很好喝,很清爽不腻~
|
||||
|
||||
@ -30,7 +31,7 @@ date_modified: 2025-01-22T13:39:20+08:00
|
||||
|
||||

|
||||
|
||||
## 野台风
|
||||
### 野台风
|
||||
|
||||

|
||||
|
||||
@ -68,15 +69,15 @@ date_modified: 2025-01-22T13:39:20+08:00
|
||||
|
||||

|
||||
|
||||
## Seven Bus
|
||||
### Seven Bus
|
||||
|
||||
去了 seven bus,点的是杏仁牛油果冰淇士。
|
||||
|
||||

|
||||
|
||||
# 正餐
|
||||
## 正餐
|
||||
|
||||
## 野草莓
|
||||
### 野草莓
|
||||
|
||||

|
||||
|
||||
@ -88,7 +89,7 @@ date_modified: 2025-01-22T13:39:20+08:00
|
||||
|
||||
野草莓确实是好吃不贵,性价比超级高。
|
||||
|
||||
## 宴遇 1/2
|
||||
### 宴遇 1/2
|
||||
|
||||

|
||||
|
||||
@ -130,7 +131,7 @@ date_modified: 2025-01-22T13:39:20+08:00
|
||||
|
||||
感觉都挺好吃的,特别喜欢的是鲜奶布丁和姜母鸭。第一次体验博饼,最后中的里面都是鲜奶布丁 hhh。
|
||||
|
||||
## 叽叽扎扎烤肉
|
||||
### 叽叽扎扎烤肉
|
||||
|
||||
然后去了叽叽扎扎烤肉,由于路程太堵,打车速度极慢,我们选择了骑车前往(感觉我们的技术都还不错 hhh)小插曲是 73 的手机没电了,然后在快要到店里的时候走了另一条路,我们以为她跟丢了然后分头去找,没想到她在没有导航的情况下直接到了店里,强!
|
||||
|
||||
@ -150,7 +151,7 @@ date_modified: 2025-01-22T13:39:20+08:00
|
||||
|
||||
味道都很不错,值得一提的是它每道菜的调味都不太一样,不像有的烤肉店虽然菜品不同但调味类似,很有各自的特色,很棒。
|
||||
|
||||
## 七星西鹭鸭胫店
|
||||
### 七星西鹭鸭胫店
|
||||
|
||||
味道非常合我胃口,超级下饭,吃了好几碗。
|
||||
|
||||
@ -182,7 +183,7 @@ date_modified: 2025-01-22T13:39:20+08:00
|
||||
|
||||
醋肉和炒时蔬忘记拍了。总之就是,好吃好吃好吃。
|
||||
|
||||
## 傲客夜食
|
||||
### 傲客夜食
|
||||
|
||||

|
||||
|
||||
@ -198,6 +199,6 @@ date_modified: 2025-01-22T13:39:20+08:00
|
||||
|
||||

|
||||
|
||||
# 最后
|
||||
## 最后
|
||||
|
||||

|
@ -13,14 +13,13 @@ slug: national-day-trip-to-xiamen-and-hangzhoupicture-bed-version
|
||||
description: >-
|
||||
国庆期间,作者记录了从上海出发前往厦门和杭州的旅行经历。在厦门,作者体验了当地的美食,如汉堡王、七星西鹭鸭胫店、宴遇1/2等,并游览了鼓浪屿,感受了当地的夜生活和自然风光。此外,作者还尝试了野草莓餐厅和叽叽扎扎烤肉,体验了不同的餐饮文化。在杭州,作者参观了联动店铺,并尝试了方老大的面食。整个旅程中,作者不仅享受了美食,还体验了当地的文化和生活方式,感受到了旅行的乐趣。
|
||||
rinId: 114
|
||||
category: 生活
|
||||
category: 旅行
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-09-10T19:38:05+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
date_modified: 2025-02-05T21:51:45+08:00
|
||||
---
|
||||
|
||||
# 国庆厦门&杭州之行
|
||||
|
||||
## 2023-09-30
|
||||
|
||||
我们买的高铁时间是 6 点多,由于虹桥火车站并不允许过夜,于是我选择了睡到 4 点半,然后打车前往虹桥火车站。国庆出行的人确实很多,在 5 点多的时候,已经开始堵车了。
|
@ -11,13 +11,15 @@ published: true
|
||||
slug: 2023-crossing
|
||||
description: 2023年跨年,作者与群友相约成都庆祝。由于年假已用完,选择29号和1号晚上的飞机以最大化游玩时间。在飞机上体验了有屏幕的座位,并观看了电影《小妇人》。抵达后,与朋友们在KTV聚会,感受四川话的亲切。30号品尝了跷脚牛肉和桌游店的乐趣,晚上享用了陶德砂锅的肥肠。31号,一起吃了谭豆花和火锅,晚上在玉林路喝酒庆祝跨年。1号在川大望江附近吃了冒烤鸭后前往机场。此行让作者感慨成都美食众多,决心今年回成都工作。
|
||||
finished: true
|
||||
category: 生活
|
||||
category: 旅行
|
||||
banner: https://pictures.kazoottt.top/2024/10/20241017-5eef043c1bc397df87b6be5f1a4aaa3e.png
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-09-03T21:00:57+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
---
|
||||
**# **2023 成都跨年****
|
||||
|
||||
**# **2023 成都跨年\*\*\*\*
|
||||
|
||||
一时兴起和群友约好了去成都跨年。
|
||||
|
@ -14,6 +14,7 @@ description: >-
|
||||
rinId: 83
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
@ -17,6 +17,7 @@ description: >-
|
||||
rinId: 84
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
@ -13,6 +13,7 @@ description: >-
|
||||
rinId: 85
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
@ -5,7 +5,7 @@ author: KazooTTT
|
||||
tags: []
|
||||
published: true
|
||||
category: 周报
|
||||
link: 'https://kazoottt.notion.site/2023-11-19-44471ea2c7914a0198198df9f3f5b509'
|
||||
link: "https://kazoottt.notion.site/2023-11-19-44471ea2c7914a0198198df9f3f5b509"
|
||||
notionID: 44471ea2-c791-4a01-9819-8df9f3f5b509
|
||||
slug: 2023-W46
|
||||
description: >-
|
||||
@ -13,6 +13,7 @@ description: >-
|
||||
rinId: 86
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
@ -5,7 +5,7 @@ published: true
|
||||
category: 周报
|
||||
description: >-
|
||||
在2023年第48周,作者经历了一次工作转岗,从Web前端开发转变为类似于提示词工程师的角色。这次转岗让作者意识到自己对大语言模型的理解不足,但也重拾了Python编程,并计划将学习重心放在LLM研究上。同时,作者的父母来上海探望,作者在忙碌的工作之余,抽空陪伴他们游览了城隍庙和豫园等地。此外,作者还分享了关于资讯收集方式的变化,从使用Twitter和Cubox转变为使用Telegram和Discord,以及一些关于设计和编程的资讯收集。
|
||||
date: '2024-07-11T02:17:53.450Z'
|
||||
date: "2024-07-11T02:17:53.450Z"
|
||||
rinId: 87
|
||||
finished: true
|
||||
tags:
|
||||
@ -24,6 +24,7 @@ tags:
|
||||
- stockcharts
|
||||
- Obsidian
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
@ -10,20 +10,19 @@ tags:
|
||||
- 个人流水账
|
||||
- 毛怪
|
||||
- 小缘
|
||||
- '2024'
|
||||
- "2024"
|
||||
finished: true
|
||||
published: true
|
||||
category: 生活
|
||||
category: 旅行
|
||||
slug: bw-record-personal-notes
|
||||
description: 记录了 KazooTTT 在 BW 活动中的个人体验和感受,包括与朋友和偶像的合照、工作餐和摊位的点滴。
|
||||
rinId: 1
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-09-03T21:00:57+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
---
|
||||
|
||||
# BW 记录 - 个人向流水账版
|
||||
|
||||

|
||||
|
||||
左边是 2023 去酒店的路上,右边是 2024 年的,虽然是一样的雨天,但是心情与去年不太相同,去年比较紧张和激动,今年是期待和快乐。
|
@ -9,14 +9,13 @@ slug: a-very-abrupt-trip-to-hong-kong
|
||||
description: >-
|
||||
作者在生日假期冲动地决定去香港旅行,提前一周购买机票和预订酒店。旅程中遇到了一些小插曲,如机票信息错误和插头转换器购买错误,但都顺利解决。在香港,作者体验了当地的美食,如一兰拉面和各种点心,并与久未见面的高中同学共进午餐,享受了愉快的时光。尽管行程紧凑,但这次旅行给作者留下了深刻的印象和美好的回忆。
|
||||
rinId: 112
|
||||
category: 生活
|
||||
category: 旅行
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-09-10T19:38:05+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
date_modified: 2025-02-05T21:48:37+08:00
|
||||
---
|
||||
|
||||
# 一次很突然的香港之行
|
||||
|
||||
趁着生日假去了一趟香港,虽然因为某些业务需求一直都想去一趟,也在去年就办好了通行证。但是真正做决定到买机票订酒店只提前了一周,算是非常冲动的决定。
|
||||
|
||||
出发的时间是周三晚上,下班后坐地铁去了机场,吃了一顿不太划算的意面。
|
@ -11,19 +11,18 @@ tags:
|
||||
- live
|
||||
finished: true
|
||||
published: true
|
||||
category: 生活
|
||||
category: 旅行
|
||||
slug: yukari-2024-live
|
||||
description: 前往武汉参加小缘810线下live的流水账式vlog。
|
||||
NotionID-notionnext: 7c90f788-efe1-4ae1-b314-3bf7acb6b21e
|
||||
link-notionnext: https://kazoottt.notion.site/2024-vlog-7c90f788efe14ae1b3143bf7acb6b21e
|
||||
banner: https://pictures.kazoottt.top/2024/09/20240902-41822c72da727100ce156e6e15d1eed6.jpeg
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-09-03T21:00:57+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
---
|
||||
|
||||
# 2024 小缘永不完结的冒险 武汉线下 vlog
|
||||
|
||||

|
||||
|
||||

|
@ -11,17 +11,16 @@ tags:
|
||||
- 端午节
|
||||
finished: true
|
||||
published: true
|
||||
category: 生活
|
||||
category: 旅行
|
||||
slug: duanwu-guangzhou-trip
|
||||
description: 在端午节期间,我和朋友们相约去广州,参观了大咩老师的毕业展,品尝了各种美食,体验了广州的文化和风景。这次旅行充满了美好的回忆,让我感受到了广州的独特魅力。
|
||||
rinId: 5
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-09-10T19:38:05+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
---
|
||||
|
||||
# 端午去广州玩了
|
||||
|
||||
2024-07-08 提前致歉🙇♀️流水账难产了,而且记忆模糊,好多吃的名字都不记得了,所以内容写的真的很水。后面想起来了再慢慢补充吧。
|
||||
|
||||
这次广州之行主要是和朋友们约好趁着端午去看大咩老师的毕业展,然后在广州吃吃喝喝。
|
||||
@ -248,13 +247,13 @@ date_modified: 2025-01-22T13:39:20+08:00
|
||||
|
||||
闭馆的时候,很多人来给玩偶拍照~
|
||||
|
||||
.png)
|
||||
.png>)
|
||||
|
||||
%201.png)
|
||||
%201.png>)
|
||||
|
||||
合照~
|
||||
|
||||
.png)
|
||||
.png>)
|
||||
|
||||
结束后我们在广美拍了合照,虽然毕业了几年了,但还是觉得自己是学生...
|
||||
|
@ -23,6 +23,7 @@ description: >-
|
||||
rinId: 88
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
@ -8,7 +8,7 @@ description: >-
|
||||
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'
|
||||
date: "2024-06-26T10:26:54.033Z"
|
||||
rinId: 89
|
||||
finished: true
|
||||
tags:
|
||||
@ -26,6 +26,7 @@ tags:
|
||||
- scene
|
||||
- application
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
||||
@ -237,4 +238,4 @@ Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understanding
|
||||
|
||||
[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)
|
||||
### [温故而知新:大模型RAG问答研发的7个失分点及MOE专家组合模型的若干浅析](https://mp.weixin.qq.com/s/1p2VtmU-ClPQP1jEchGpGQ)
|
@ -11,7 +11,7 @@ description: >-
|
||||
[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'
|
||||
date: "2024-06-26T10:26:54.034Z"
|
||||
rinId: 90
|
||||
finished: true
|
||||
tags:
|
||||
@ -21,6 +21,7 @@ tags:
|
||||
- 知识库
|
||||
- 画图
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
@ -9,7 +9,7 @@ description: >-
|
||||
期):蓝色指示灯的解决方案](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'
|
||||
date: "2024-06-26T10:26:54.035Z"
|
||||
rinId: 91
|
||||
finished: true
|
||||
tags:
|
||||
@ -18,6 +18,7 @@ tags:
|
||||
- App流量生态
|
||||
- 网络安全,信息聚合
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
||||
@ -91,4 +92,4 @@ date_modified: 2025-01-22T13:39:23+08:00
|
||||
|
||||
## [API Vs SDK.](https://twitter.com/alexxubyte/status/1745847854961492384?s=12&t=UKmYswdLBh4dGuqwtKAXUA)
|
||||
|
||||
## [FFmpeg 教程](https://wklchris.github.io/blog/FFmpeg/)
|
||||
## [FFmpeg 教程](https://wklchris.github.io/blog/FFmpeg/)
|
@ -8,7 +8,7 @@ description: >-
|
||||
it图片生成应用、AI生成情绪板、开源用户界面元素、1000个令人激动的网站等。此外,还介绍了如remotion视频制作工具、TypeScript-Node-Starter示例、Konva
|
||||
Canvas框架等技术资源。同时,提供了多个个人主页和博客推荐,以及关于REST
|
||||
API与GraphQL的讨论。这些资源和工具覆盖了前端开发、UI设计、视频制作等多个领域,适合编程爱好者和技术开发者参考和学习。
|
||||
date: '2024-07-11T02:17:53.450Z'
|
||||
date: "2024-07-11T02:17:53.450Z"
|
||||
rinId: 92
|
||||
finished: true
|
||||
tags:
|
||||
@ -24,6 +24,7 @@ tags:
|
||||
- node
|
||||
- gameboy style portfolio
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
||||
@ -188,4 +189,4 @@ Konva.js 是一个 HTML5 Canvas JavaScript 框架,它通过为桌面和移动
|
||||
|
||||

|
||||
|
||||
## [使用 HTML、CSS 和 JavaScript 👨🏻💻 创建 3D 产品卡片](https://twitter.com/flexipletech/status/1745455790667030581?s=12&t=UKmYswdLBh4dGuqwtKAXUA)
|
||||
## [使用 HTML、CSS 和 JavaScript 👨🏻💻 创建 3D 产品卡片](https://twitter.com/flexipletech/status/1745455790667030581?s=12&t=UKmYswdLBh4dGuqwtKAXUA)
|
@ -7,7 +7,7 @@ description: >-
|
||||
本周设计资源精选包括:AIDesign提供免费Logo设计服务;嘉文钱分享Blender和3D相关教程及作品;阿文推荐可商用的德拉黑体字体;svghub提供免费SVG素材;Orange
|
||||
Free
|
||||
Sounds提供免费声音效果、音乐和循环;以及通过Framer赚钱的方法。这些资源涵盖了设计、字体、素材和创收等多个方面,为设计师和创意工作者提供了丰富的工具和灵感。
|
||||
date: '2024-06-26T10:26:54.035Z'
|
||||
date: "2024-06-26T10:26:54.035Z"
|
||||
rinId: 93
|
||||
finished: true
|
||||
tags:
|
||||
@ -15,6 +15,7 @@ tags:
|
||||
- blender
|
||||
- svg
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
@ -8,7 +8,7 @@ description: >-
|
||||
Pro、outline知识库应用等,以及开发工具如头像生成网站和Moodboard Creator。此外,还介绍了多个技术博客和教程,如REST API
|
||||
vs GraphQL的比较、Astro自动生成Open
|
||||
Graph图片的方法,以及Docker入门实践等。这些资源和教程旨在帮助开发者提高效率,优化工作流程,并探索新技术。
|
||||
date: '2024-07-11T02:17:53.451Z'
|
||||
date: "2024-07-11T02:17:53.451Z"
|
||||
rinId: 94
|
||||
finished: true
|
||||
tags:
|
||||
@ -32,6 +32,7 @@ tags:
|
||||
- hackernews
|
||||
- chase-trend
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
||||
@ -313,4 +314,4 @@ Konva.js 是一个 HTML5 Canvas JavaScript 框架,它通过为桌面和移动
|
||||
|
||||
### [API Vs SDK.](https://twitter.com/alexxubyte/status/1745847854961492384?s=12&t=UKmYswdLBh4dGuqwtKAXUA)
|
||||
|
||||
### [FFmpeg 教程](https://wklchris.github.io/blog/FFmpeg/)
|
||||
### [FFmpeg 教程](https://wklchris.github.io/blog/FFmpeg/)
|
@ -10,11 +10,12 @@ category: 周报
|
||||
published: true
|
||||
slug: 2024-W08
|
||||
NotionID-notionnext: 61b4cedd-4f34-4650-8926-c025c339d384
|
||||
link-notionnext: 'https://kazoottt.notion.site/2024-W08-61b4cedd4f3446508926c025c339d384'
|
||||
link-notionnext: "https://kazoottt.notion.site/2024-W08-61b4cedd4f3446508926c025c339d384"
|
||||
description: >-
|
||||
在2024年第8周,推荐两款实用的软件:AltTab和Tickeys。AltTab是一款可以替代macOS默认切换窗口功能的软件,提供更便捷舒适的体验。Tickeys则是一款为打字添加炫酷音效的软件,让打字体验更加有趣。
|
||||
rinId: 82
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
@ -22,13 +22,14 @@ description: >-
|
||||
Flow等技术平台。此外,还推荐了阅读材料,如《控糖革命》和计算机知识的动画讲解。设计相关内容包括Figma插件和文本转壁纸生成器。AI领域则涵盖了ARAGOG的评估调研、GPT-4
|
||||
Turbo的视觉功能升级、Mistral 8X22B的开源等最新动态。整体内容丰富,涉及个人成长、技术发展和设计创新等多个方面。
|
||||
NotionID-notionnext: c7bb3914-766f-4884-b884-55b16d01547b
|
||||
link-notionnext: 'https://kazoottt.notion.site/2024-W15-1-c7bb3914766f4884b88455b16d01547b'
|
||||
link-notionnext: "https://kazoottt.notion.site/2024-W15-1-c7bb3914766f4884b88455b16d01547b"
|
||||
noteId_x: 14
|
||||
create_time: '2024/4/12 20:41:55'
|
||||
update_time: '2024/4/12 20:47:54'
|
||||
publish_time: '2024/4/12 20:46:23'
|
||||
create_time: "2024/4/12 20:41:55"
|
||||
update_time: "2024/4/12 20:47:54"
|
||||
publish_time: "2024/4/12 20:46:23"
|
||||
rinId: 95
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
@ -18,9 +18,10 @@ description: >-
|
||||
周报内容主要分为三个部分:编程相关资讯、关于自身的工作、编程和生活内容。在编程相关资讯部分,作者介绍了 Nitro
|
||||
和一个开源的聊天虚拟人项目。在关于自身的部分,作者介绍了自己恢复了打卡的习惯,每天记录工作、编程和生活的内容。在工作方面,作者分享了自己的工作感悟和对后端的疑惑;在编程方面,作者提到了自己对状态管理和数据结构的不足;在生活方面,作者记录了自己的饮食和娱乐等日常生活。
|
||||
NotionID-notionnext: 6fda550f-4dcb-4f15-bbc6-38ef98227143
|
||||
link-notionnext: 'https://kazoottt.notion.site/2024-W16-6fda550f4dcb4f15bbc638ef98227143'
|
||||
link-notionnext: "https://kazoottt.notion.site/2024-W16-6fda550f4dcb4f15bbc638ef98227143"
|
||||
rinId: 96
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
@ -18,6 +18,7 @@ description: >-
|
||||
3的微调教程和大规模预训练语言模型的理论基础。这些更新和资源为AI领域的研究者和开发者提供了丰富的工具和知识。
|
||||
rinId: 97
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
@ -13,6 +13,7 @@ description: >-
|
||||
Alice研究周报第21期发布,涵盖了Claude控制台的升级信息以及阿里通义千问2.5的最新进展,该版本宣称在性能上超越了GPT-4。日期范围为2024年5月6日至5月12日。
|
||||
rinId: 98
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
@ -15,6 +15,7 @@ description: >-
|
||||
出现了。端午去广州过节,感受了中秋节的热闹氛围。同时,工作也取得了一些进展,发出了年终奖,并在工作相关项目上取得了一些重要的成就,包括 Gemini
|
||||
上下文缓存功能和 Claude 3.5 Sonnet 的发布。
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
---
|
@ -14,8 +14,9 @@ finished: true
|
||||
published: true
|
||||
category: 项目
|
||||
slug: milklovemuv
|
||||
description:
|
||||
description:
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-06T10:02:35+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
||||
@ -24,15 +25,15 @@ date_modified: 2025-01-22T13:39:24+08:00
|
||||
|
||||
## 介绍
|
||||
|
||||
方便后续回顾,写了一个 [#muv家元旦24h限定食堂#](https://s.weibo.com/weibo?q=%23muv%E5%AE%B6%E5%85%83%E6%97%A624h%E9%99%90%E5%AE%9A%E9%A3%9F%E5%A0%82%23) 的汇总网站。
|
||||
方便后续回顾,写了一个 [#muv家元旦24h限定食堂#](https://s.weibo.com/weibo?q=%23muv%E5%AE%B6%E5%85%83%E6%97%A624h%E9%99%90%E5%AE%9A%E9%A3%9F%E5%A0%82%23) 的汇总网站。
|
||||
|
||||
点击卡片内的微博图标可以跳转到对应的微博,点击蓝色的外链图标可以直接跳转至查看文章或者视频的平台。
|
||||
点击卡片内的微博图标可以跳转到对应的微博,点击蓝色的外链图标可以直接跳转至查看文章或者视频的平台。
|
||||
|
||||
非常感谢各位老师的产出
|
||||
|
||||

|
||||
|
||||
---
|
||||
---
|
||||
|
||||
## 开发
|
||||
|
@ -13,6 +13,7 @@ description: >-
|
||||
rinId: 32
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
category: 年报
|
||||
date_created: 2025-01-04T11:34:09+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
@ -13,6 +13,7 @@ description: >-
|
||||
rinId: 33
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
category: 年报
|
||||
date_created: 2025-01-04T11:34:09+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
@ -97,6 +98,7 @@ date_modified: 2025-01-22T13:39:23+08:00
|
||||
一些数据
|
||||
|
||||
1. 微信读书
|
||||
|
||||
1. 2020 122h
|
||||
2. 2021 32h
|
||||
3. 2022 29h
|
||||
@ -113,6 +115,7 @@ date_modified: 2025-01-22T13:39:23+08:00
|
||||
4. 2019 195h
|
||||
5. 2018 327h
|
||||
6. 2017 30h
|
||||
|
||||
3. github contributions
|
||||

|
||||
|
@ -13,6 +13,7 @@ description: >-
|
||||
rinId: 34
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
category: 年报
|
||||
date_created: 2025-01-04T11:34:09+08:00
|
||||
date_modified: 2025-01-22T13:39:23+08:00
|
||||
@ -97,6 +98,7 @@ date_modified: 2025-01-22T13:39:23+08:00
|
||||
一些数据
|
||||
|
||||
1. 微信读书
|
||||
|
||||
1. 2020 122h
|
||||
2. 2021 32h
|
||||
3. 2022 29h
|
||||
@ -113,6 +115,7 @@ date_modified: 2025-01-22T13:39:23+08:00
|
||||
4. 2019 195h
|
||||
5. 2018 327h
|
||||
6. 2017 30h
|
||||
|
||||
3. github contributions
|
||||

|
||||
|
@ -12,6 +12,7 @@ description: >-
|
||||
Agent的研究与开发。在这一年中,作者还开始担任面试官并参与其他公司的面试,体验了面试的双重角色。技术方面,作者的GitHub热力图逐渐变绿,参与了多个开源项目,并与朋友一起参加了AI相关的比赛,获得了奖项和奖金。此外,作者还分享了技术栈的偏向性,包括前端使用nextjs,后端使用nextjs/flask,设计使用figma和canva。最后,作者总结了去年的目标完成情况,并设定了新一年的计划,包括继续学习blender、每周至少产出一次技术向内容等。
|
||||
finished: true
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
category: 年报
|
||||
date_created: 2025-01-04T11:34:09+08:00
|
||||
date_modified: 2025-01-30T14:21:50+08:00
|
@ -18,6 +18,7 @@ category: 年报
|
||||
slug: 2024-annual-summary
|
||||
description: 2024年个人成长全记录,包含职业转型到成都的历程、Blender技能提升、兴趣发展轨迹、年度消费评估,以及对未来职业道路的深度思考与规划。
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
noteId_x: 18
|
||||
create_time: 12/30/2024, 5:18:07 PM
|
||||
update_time: 1/30/2025, 9:18:33 PM
|
@ -13,8 +13,9 @@ finished: true
|
||||
published: true
|
||||
category: frontend
|
||||
slug: how-to-generate-the-path-like-router-config-in-vite-react-react-router-project
|
||||
description:
|
||||
description:
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-14T17:31:35+08:00
|
||||
date_modified: 2025-01-22T13:39:19+08:00
|
||||
---
|
||||
@ -37,26 +38,26 @@ how to use it?
|
||||
|
||||
step 1. in the vite + react + react-router project, install the `vite-plugin-pages` package.
|
||||
|
||||
``` shell
|
||||
```shell
|
||||
pnpm install vite-plugin-pages --save-dev
|
||||
```
|
||||
|
||||
step 2. add the `vite-plugin-pages` plugin in the vite config file.
|
||||
|
||||
``` ts
|
||||
import Pages from "vite-plugin-pages";
|
||||
import { defineConfig } from "vite";
|
||||
```ts
|
||||
import Pages from "vite-plugin-pages"
|
||||
import { defineConfig } from "vite"
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
// ...
|
||||
Pages({
|
||||
dirs: 'src/views',
|
||||
})
|
||||
dirs: "src/views",
|
||||
}),
|
||||
// ...
|
||||
],
|
||||
});
|
||||
})
|
||||
```
|
||||
|
||||
the default dirs of the `vite-plugin-pages` plugin is `src/pages`, you can change it by the `dir` option.
|
||||
@ -69,14 +70,12 @@ it has some other options, you can see the [official docs](https://github.com/ha
|
||||
|
||||
step 3. get the path like router config for the target path dir.
|
||||
|
||||
``` tsx
|
||||
import routes from "~react-pages";
|
||||
```tsx
|
||||
import routes from "~react-pages"
|
||||
|
||||
function App() {
|
||||
const routeElements = useRoutes(routes);
|
||||
return (
|
||||
<MainLayout>{routeElements}</MainLayout>
|
||||
);
|
||||
const routeElements = useRoutes(routes)
|
||||
return <MainLayout>{routeElements}</MainLayout>
|
||||
}
|
||||
```
|
||||
|
||||
@ -84,25 +83,25 @@ then we can view the target path which is related to the target path dir.
|
||||
|
||||
step 4. (optional) generate the sidebar to show the levels of the path.
|
||||
|
||||
``` tsx
|
||||
import { useState } from "react";
|
||||
import { RouteObject, useLocation, useNavigate } from "react-router-dom";
|
||||
import routes from "~react-pages";
|
||||
```tsx
|
||||
import { useState } from "react"
|
||||
import { RouteObject, useLocation, useNavigate } from "react-router-dom"
|
||||
import routes from "~react-pages"
|
||||
|
||||
function Sidebar() {
|
||||
const [isCollapsed, setIsCollapsed] = useState(false);
|
||||
const navigate = useNavigate();
|
||||
const location = useLocation();
|
||||
const [isCollapsed, setIsCollapsed] = useState(false)
|
||||
const navigate = useNavigate()
|
||||
const location = useLocation()
|
||||
|
||||
const renderMenuItem = (route: RouteObject) => {
|
||||
const isActive = location.pathname === "/" + route.path;
|
||||
const isActive = location.pathname === "/" + route.path
|
||||
|
||||
return (
|
||||
<div
|
||||
key={route.path}
|
||||
onClick={() => {
|
||||
if (route.path) {
|
||||
navigate(route.path);
|
||||
navigate(route.path)
|
||||
}
|
||||
}}
|
||||
className={`p-2 cursor-pointer ${
|
||||
@ -111,8 +110,8 @@ function Sidebar() {
|
||||
>
|
||||
{route.path}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<div
|
||||
@ -133,10 +132,10 @@ function Sidebar() {
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
export default Sidebar;
|
||||
export default Sidebar
|
||||
```
|
||||
|
||||
## 2. combine the self config and automatically generated config together
|
||||
@ -145,15 +144,15 @@ since the dirs of the `vite-plugin-pages` plugin is `src/views` (we config it in
|
||||
|
||||
we need to create a dir which is not in the `src/views` dir(such as `src/pages`)
|
||||
|
||||
``` tsx
|
||||
import routes from "~react-pages";
|
||||
import HomePage from 'src/pages/home/index.tsx';
|
||||
```tsx
|
||||
import routes from "~react-pages"
|
||||
import HomePage from "src/pages/home/index.tsx"
|
||||
|
||||
const pathsRouterConfig = routes
|
||||
const pathsManualConfig = [
|
||||
{
|
||||
path: '/home',
|
||||
component: <HomePage/>,
|
||||
path: "/home",
|
||||
component: <HomePage />,
|
||||
},
|
||||
]
|
||||
|
||||
@ -164,14 +163,12 @@ const finalRouterConfig = [...pathsRouterConfig, ...pathsManualConfig]
|
||||
|
||||
the use way is the same as the react-router
|
||||
|
||||
``` tsx
|
||||
import routes from "~react-pages";
|
||||
```tsx
|
||||
import routes from "~react-pages"
|
||||
|
||||
function App() {
|
||||
const routeElements = useRoutes(routes);
|
||||
return (
|
||||
<MainLayout>{routeElements}</MainLayout>
|
||||
);
|
||||
const routeElements = useRoutes(routes)
|
||||
return <MainLayout>{routeElements}</MainLayout>
|
||||
}
|
||||
```
|
||||
|
@ -15,6 +15,7 @@ category: 随笔
|
||||
slug: ollama-excel-processor-development-summary
|
||||
description: 最近帮朋友写了一个 ollama + excel 处理器,写完后发现类似于飞书多维表格的 ai 功能。在开发和沟通过程中有一些感受。
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-07T23:09:15+08:00
|
||||
date_modified: 2025-01-22T13:39:22+08:00
|
||||
---
|
@ -18,6 +18,7 @@ description: >-
|
||||
2fa插件来实现iPhone和mac信息同步和自动复制验证码。最近发现作者删库了,我现在找到了一种快速获取验证码的方法。使用方法是在获取到验证码之后访问iMessage
|
||||
2fa插件,然后可以看到当前接收到的验证码,敲回车复制验证码到粘贴板。但这种方法缺点是没有messAuto方便,多了额外的步骤。
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-12-11T20:27:36+08:00
|
||||
date_modified: 2025-02-01T23:35:42+08:00
|
||||
---
|
||||
@ -37,7 +38,7 @@ date_modified: 2025-02-01T23:35:42+08:00
|
||||
使用方法:
|
||||
|
||||
1. 在获取到验证码之后,访问 imessage 2fa 插件。
|
||||

|
||||

|
||||
|
||||
2. 可以看到目前接收到的含有验证码的消息,敲回车复制验证码到粘贴板。
|
||||
|
@ -11,6 +11,7 @@ category: 生活
|
||||
tags:
|
||||
- 受骗经历,强制消费,欺诈行为
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-10-08T18:06:08+08:00
|
||||
date_modified: 2025-01-22T13:39:20+08:00
|
||||
---
|
@ -19,6 +19,7 @@ NotionID-notionnext: c6b6e2f5-9da1-43f9-b531-b07d974815ed
|
||||
link-notionnext: https://kazoottt.notion.site/macos-focusee-c6b6e2f59da143f9b531b07d974815ed
|
||||
rinId: 42
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-12-17T13:34:45+08:00
|
||||
date_modified: 2025-01-22T13:39:19+08:00
|
||||
---
|
@ -11,10 +11,11 @@ tags:
|
||||
- github
|
||||
finished: false
|
||||
published: true
|
||||
category:
|
||||
category:
|
||||
slug: hanser-repository
|
||||
description: 收集与hanser相关的开源项目
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-12-18T13:20:01+08:00
|
||||
date_modified: 2025-01-22T13:39:21+08:00
|
||||
---
|
||||
@ -23,7 +24,7 @@ date_modified: 2025-01-22T13:39:21+08:00
|
||||
|
||||
🔗 [GitHub - ColinLeung-NiloCat/UnityURPToonLitShaderExample: A very simple toon lit shader example, for you to learn writing custom lit shader in Unity URP](https://github.com/ColinLeung-NiloCat/UnityURPToonLitShaderExample)
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||
@ -35,7 +36,7 @@ date_modified: 2025-01-22T13:39:21+08:00
|
||||
|
||||

|
||||
|
||||
📚 教程 BV1AA411A7RR
|
||||
📚 教程 BV1AA411A7RR
|
||||
|
||||
## 毛怪俱乐部分享卡片
|
||||
|
@ -14,6 +14,7 @@ finished: true
|
||||
published: true
|
||||
category: 软件
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-02-05T12:56:51+08:00
|
||||
date_modified: 2025-02-05T12:58:40+08:00
|
||||
---
|
120
src/content/post/五一 上海-重庆-成都流水账.md
Normal file
120
src/content/post/五一 上海-重庆-成都流水账.md
Normal file
@ -0,0 +1,120 @@
|
||||
---
|
||||
slug: may-1st-shanghai-chongqing-chengdu-flow-account
|
||||
title: 五一 上海-重庆-成都流水账
|
||||
date: 2024-11-12
|
||||
author: KazooTTT
|
||||
type: Post
|
||||
status: Published
|
||||
tags:
|
||||
- 旅行
|
||||
- 重庆
|
||||
- 成都
|
||||
finished: false
|
||||
published: false
|
||||
category: 旅行
|
||||
description: >-
|
||||
这次五一,上海、重庆、成都的旅途就要开始了。4月30号下班回家后发现浦东机场有办公桌可以使用,并且充电。接着,我们抵达重庆,并前往成都。沿途我们顺带吃了美蛙鱼头和豆花饭,晚上妈妈做的菜很好吃。出发前忘记在候车厅拿包子,这次是赶紧去取了。到成都后与朋友聚会,
|
||||
afterwards我们去了天府红逛了,顺便吃了一顿超大份的自贡菜,也去了烤羊肉店。最后我们去南川看望了老家,很遗憾时间不多了。
|
||||
date_created: 2024-11-30T13:40:05+08:00
|
||||
date_modified: 2025-02-05T21:51:35+08:00
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
---
|
||||
|
||||
时间范围:4.30 -5.5
|
||||
|
||||
## 4.30 下班回家
|
||||
|
||||
不太想早起于是浦东机场的时候发现他们提供了一整片的办公桌,并且可以充电。
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
到重庆了
|
||||
|
||||

|
||||
|
||||
## 5.1 和爸妈吃美蛙鱼头,下午出发去成都
|
||||
|
||||
中午爸妈带我去吃了美蛙鱼头(家附近的小店,不过也挺好吃的)
|
||||
|
||||

|
||||
|
||||
这个价格,豆花饭只要 8 元,羡慕哭了。
|
||||
|
||||

|
||||
|
||||
然后在家吃了晚饭,妈妈做的菜是真的好吃
|
||||
|
||||

|
||||
|
||||
然后吃完晚饭就出发去坐动车了,在月台上掏出相机拍了一张,突然发现身后轻飘飘的,才意识到自己的包放在候车厅了,赶紧跑出去拿了包=、=
|
||||
|
||||

|
||||
|
||||
然后就到成都啦
|
||||
|
||||
先和星谜汇合了,然后去和 173、ask 吃了夜宵。
|
||||
|
||||

|
||||
|
||||
## 5.2 超大份的自贡菜,逛天府红,烤羊肉
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
吃完了饭就去天府红了,天府红的人知道的好多。
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
然后晚饭去吃了烤羊腿
|
||||
|
||||

|
||||
|
||||
## 5.3 吃拌菜
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
买了 mstand 的咖啡 + 卡套套餐,刚好可以装下主播的卡套。
|
||||
|
||||

|
||||
|
||||
## 5.4 去南川
|
||||
|
||||
其实已经很久没有去过南川了,之前也答应好幺爸要去的,所以从成都回来后还是去了一趟南川。
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 5.5
|
||||
|
||||
吃了午饭就出发去机场了,又要回上海上班了。
|
||||
|
||||

|
@ -23,6 +23,7 @@ description: >-
|
||||
信息决定是否需要将其复制到目标仓库中。它还支持从特定目录忽略某些文件或文件夹。
|
||||
该 Action 的主要功能是自动化 blog 内容的更新和复制,确保 content ALWAYS 是最新的。
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:44:53+08:00
|
||||
date_modified: 2025-01-22T13:39:19+08:00
|
||||
---
|
||||
@ -31,7 +32,7 @@ date_modified: 2025-01-22T13:39:19+08:00
|
||||
|
||||
目标仓库以及具体目录可以根据自己的项目来定
|
||||
|
||||
``` yaml
|
||||
```yaml
|
||||
name: Update Docs
|
||||
|
||||
on:
|
||||
@ -105,7 +106,6 @@ jobs:
|
||||
fi
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||
|
||||
```
|
||||
|
||||
PAT_TOKEN 申请
|
||||
@ -129,9 +129,9 @@ status: Published
|
||||
tags: []
|
||||
finished: false
|
||||
published: false
|
||||
category:
|
||||
category:
|
||||
slug:
|
||||
description:
|
||||
description:
|
||||
notAstro:
|
||||
---
|
||||
|
||||
@ -147,7 +147,7 @@ npm install gray-matter
|
||||
|
||||
可以配置一些不想同步的文件夹
|
||||
|
||||
``` js
|
||||
```js
|
||||
const fs = require("fs").promises
|
||||
const fsSync = require("fs")
|
||||
const path = require("path")
|
||||
@ -307,5 +307,4 @@ async function main() {
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
```
|
@ -11,7 +11,9 @@ finished: false
|
||||
published: true
|
||||
slug: blogs-worth-reading
|
||||
description: 本文推荐了多个技术博客,涵盖了JavaScript、ES6、React等前端技术,以及AI相关的资源。其中包括冴羽的GitHub博客,LogRocket的产品团队资源,React官方博客,Socket的开发博客,Stefan Judis的个人网站,Builder.io的博客,以及Dan Abramov的博客overreacted。此外,还介绍了GitHub的AI标签下的工程化分享,Hugging Face的每日论文推荐,AssemblyAI的AI语音技术博客,Google Labs员工Dale的AI博客,以及Dify的大模型应用生成平台的技术博客。最后,提到了机器之心提供的企业人工智能服务。这些资源适合对前端开发和AI技术感兴趣的读者。
|
||||
category: 推荐
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:39:22+08:00
|
||||
---
|
@ -12,6 +12,7 @@ rinId: 64
|
||||
category: 项目
|
||||
description: 自动化微博浏览顺序脚本,快速轻松调整微博的浏览顺序。
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-12-02T11:03:24+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
@ -12,10 +12,11 @@ tags:
|
||||
- 最小粒度原则
|
||||
finished: true
|
||||
published: true
|
||||
category:
|
||||
category: 前端
|
||||
slug: zustand-use-record
|
||||
description: zustand 是一个状态管理库,简单易用。它可以通过使用 single selector 或 shallow 来获取 state,避免所有组件都重新渲染。当 state 更新时,可以通过 useShallow 来只获取需要的数据。同时,应该遵循最小粒度原则,只获取需要的数据,而不是使用多个 store 去存储不同的 state。另外,与 UI 无关的 state 不需要通过 selector 获取,正确的做法是直接在 handleSave 方法内部访问 store。
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:44:53+08:00
|
||||
date_modified: 2025-02-03T19:30:01+08:00
|
||||
banner: https://pictures.kazoottt.top/2025/02/20250201-og-1738417688145.png
|
||||
@ -33,7 +34,7 @@ banner: https://pictures.kazoottt.top/2025/02/20250201-og-1738417688145.png
|
||||
|
||||
这是之前的写法以及对应的组件,useGlobalStore 中有不只 uploadToServerProgress, uploadStatus 两个 state。
|
||||
|
||||
``` tsx
|
||||
```tsx
|
||||
const ComponentA = () => {
|
||||
const { uploadToServerProgress, uploadStatus } = useGlobalStore()
|
||||
return (
|
||||
@ -43,7 +44,6 @@ const ComponentA = () => {
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
当 uploadToServerProgress 或者 uploadStatus 更新的时候,UploadStateContainer 会重新渲染。(符合预期)
|
||||
@ -54,7 +54,7 @@ const ComponentA = () => {
|
||||
|
||||
其实是解构赋值的简写,等价于
|
||||
|
||||
``` tsx
|
||||
```tsx
|
||||
const globalStore = useGlobalStore()
|
||||
const { uploadToServerProgress, uploadStatus } = globalStore
|
||||
```
|
||||
@ -63,44 +63,46 @@ const { uploadToServerProgress, uploadStatus } = globalStore
|
||||
|
||||
写法 1 single selector
|
||||
|
||||
``` ts
|
||||
const uploadToServerProgress = useGlobalStore(state => state.uploadToServerProgress)
|
||||
const uploadStatus = useGlobalStore(state => state.uploadStatus)
|
||||
```ts
|
||||
const uploadToServerProgress = useGlobalStore((state) => state.uploadToServerProgress)
|
||||
const uploadStatus = useGlobalStore((state) => state.uploadStatus)
|
||||
```
|
||||
|
||||
写法 2 使用 useShallow
|
||||
|
||||
``` ts
|
||||
const { uploadToServerProgress, uploadStatus } = useGlobalStore(useShallow(state => ({
|
||||
uploadToServerProgress: state.uploadToServerProgress,
|
||||
uploadStatus: state.uploadStatus,
|
||||
})))
|
||||
```ts
|
||||
const { uploadToServerProgress, uploadStatus } = useGlobalStore(
|
||||
useShallow((state) => ({
|
||||
uploadToServerProgress: state.uploadToServerProgress,
|
||||
uploadStatus: state.uploadStatus,
|
||||
})),
|
||||
)
|
||||
```
|
||||
|
||||
## 错误用法 2 使用 selector 的时候颗粒度不够
|
||||
|
||||
cameraData 是通过订阅其他的服务获取的,内部包含包括相机图像、相机 id 等数据。其中相机图像是高频更新的数据。
|
||||
|
||||
``` tsx
|
||||
import React from 'react';
|
||||
```tsx
|
||||
import React from "react"
|
||||
|
||||
export interface CameraData {
|
||||
cameraBase64: string; // base64 encoded image
|
||||
cameraId: number;
|
||||
cameraBase64: string // base64 encoded image
|
||||
cameraId: number
|
||||
}
|
||||
|
||||
const CurrentCamera: React.FC = () => {
|
||||
const cameraData = useGlobalStore(state => state.cameraData);
|
||||
const cameraData = useGlobalStore((state) => state.cameraData)
|
||||
|
||||
return <CurrentCameraId cameraId={cameraData.cameraId} />;
|
||||
};
|
||||
return <CurrentCameraId cameraId={cameraData.cameraId} />
|
||||
}
|
||||
```
|
||||
|
||||
如果这样写,虽然这里也是 single selector,但是当 cameraBase64 更新的时候,cameraData 会更新,CurrentCameraId 也会重新渲染。
|
||||
|
||||
因此这里还是遵循最小粒度原则,只获取需要的数据。
|
||||
|
||||
``` tsx
|
||||
```tsx
|
||||
import React from "react"
|
||||
|
||||
export interface CameraData {
|
||||
@ -113,7 +115,6 @@ const CurrentCamera: React.FC = () => {
|
||||
|
||||
return <CurrentCameraId cameraId={cameraId} />
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## 错误用法 3 使用了多个 store 去存储不同的 state,而不是使用 slice 把不同的 state 分组
|
||||
@ -122,15 +123,15 @@ const CurrentCamera: React.FC = () => {
|
||||
|
||||
> [!quote]
|
||||
> Recommended patterns 推荐模式
|
||||
>
|
||||
>
|
||||
> Single store 单一存储
|
||||
>
|
||||
>
|
||||
> Your applications global state should be located in a single Zustand store.
|
||||
>
|
||||
>
|
||||
> 你的应用程序的全局状态应该位于一个单一的 Zustand 存储中。
|
||||
>
|
||||
>
|
||||
> If you have a large application, Zustand supports splitting the store into slices.
|
||||
>
|
||||
>
|
||||
> 如果你有一个大型应用程序,Zustand 支持将存储拆分为切片。
|
||||
|
||||
## 错误用法 4 与 UI 无关的 state 通过 selector 获取
|
||||
@ -147,7 +148,7 @@ const ComponentA = () => {
|
||||
useShallow((state) => ({
|
||||
state1: state.state1,
|
||||
state2: state.state2,
|
||||
}))
|
||||
})),
|
||||
)
|
||||
|
||||
const handleSave = () => {
|
||||
@ -156,7 +157,6 @@ const ComponentA = () => {
|
||||
|
||||
return <SaveButton onClick={handleSave} />
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
在组件 B 中,我通过操作改变了 state1,但是由于我在 A 中获取了 state1,state1 的变化会导致 A 组件重新渲染。
|
@ -24,6 +24,7 @@ rinId: 51
|
||||
date_created: 2025-01-04T11:34:08+08:00
|
||||
date_modified: 2025-01-22T13:25:22+08:00
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
---
|
||||
|
||||
# 前端入门的项目
|
||||
@ -51,7 +52,7 @@ toAstro: true
|
||||
[静かな森 - 致虚极,守静笃。](https://innei.in/)
|
||||
|
||||
1. gpt 的套壳的话目前比较火。现在 google gemini api、groq api 都是可以免费使用的。可以看一下别人是怎么接入它的,以及流式和非流式是怎么解析和展示的。比较经典的例子是:
|
||||
<https://github.com/babaohuang/GeminiProChat>(比较简洁)
|
||||
<https://github.com/babaohuang/GeminiProChat>(比较简洁)
|
||||
|
||||
[GitHub - lobehub/lobe-chat: 🤯 Lobe Chat - an open-source, modern-design LLMs/AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Perplexity / Bedrock / Azure / Mistral / Ollama ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT chat application.](https://github.com/lobehub/lobe-chat)(大杂烩比较复杂)
|
||||
|
@ -11,8 +11,9 @@ finished: true
|
||||
published: true
|
||||
category: 随笔
|
||||
slug: plain-and-simple-is-true
|
||||
description:
|
||||
description:
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-12T23:58:48+08:00
|
||||
date_modified: 2025-01-22T13:39:19+08:00
|
||||
---
|
@ -9,10 +9,11 @@ slug: how-to-render-iframes-in-markdown
|
||||
description: >-
|
||||
本文介绍了如何在Markdown中渲染iframe的两种方法。第一种方法是通过直接在Markdown中嵌入iframe标签,需要使用`rehypeRaw`插件来实现HTML内容的嵌入。第二种方法是通过重写Markdown中的`a`标签,将其转换为iframe,这种方法可以根据链接内容进行定制化处理,例如将特定链接转换为iframe展示。文中还提供了相关的代码示例和项目源代码链接,以及一个演示地址供参考。
|
||||
NotionID-notionnext: a63f5e28-352a-48cc-8c89-f9dd5b5a18ac
|
||||
link-notionnext: 'https://kazoottt.notion.site/markdown-iframe-a63f5e28352a48cc8c89f9dd5b5a18ac'
|
||||
link-notionnext: "https://kazoottt.notion.site/markdown-iframe-a63f5e28352a48cc8c89f9dd5b5a18ac"
|
||||
rinId: 19
|
||||
category: 前端
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2025-01-04T11:44:53+08:00
|
||||
date_modified: 2025-02-01T21:51:32+08:00
|
||||
---
|
@ -17,10 +17,11 @@ published: true
|
||||
slug: auto-sync-folder-to-album
|
||||
description: 通过自动操作实现将指定文件夹中的图片自动导入到iCloud相册中
|
||||
NotionID-notionnext: d451ee94-44f7-44af-83c0-a6e8a30d26c8
|
||||
link-notionnext: 'https://kazoottt.notion.site/d451ee9444f744af83c0a6e8a30d26c8'
|
||||
link-notionnext: "https://kazoottt.notion.site/d451ee9444f744af83c0a6e8a30d26c8"
|
||||
rinId: 44
|
||||
category: 软件
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-12-17T13:34:45+08:00
|
||||
date_modified: 2025-01-22T13:39:19+08:00
|
||||
---
|
||||
@ -73,6 +74,6 @@ date_modified: 2025-01-22T13:39:19+08:00
|
||||
|
||||
如果想要删除文件夹操作,可以前往以下路径:
|
||||
|
||||
``` shell
|
||||
```shell
|
||||
/Users/{这里替换为你的用户名}/Library/Workflows/Applications/Folder Actions
|
||||
```
|
@ -16,6 +16,7 @@ status: Published
|
||||
finished: true
|
||||
category: 软件
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
banner: "https://pictures.kazoottt.top/2025/02/20250205-studio-807114e82b6ab5567962eacee314c872-bhdbpvle.jpg"
|
||||
---
|
||||
|
@ -14,8 +14,9 @@ category: 项目
|
||||
slug: wechat-reading-web-version-copy-shortcut
|
||||
description: 微信读书网页版新增复制快捷键,油猴脚本实现。使用`Ctrl + C`或`Cmd + C`即可复制内容。下载地址和源代码在提供的链接中。
|
||||
NotionID-notionnext: a4cf2259-fba8-4b72-9513-083a74b1ada1
|
||||
link-notionnext: 'https://kazoottt.notion.site/a4cf2259fba84b729513083a74b1ada1'
|
||||
link-notionnext: "https://kazoottt.notion.site/a4cf2259fba84b729513083a74b1ada1"
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-12-17T13:34:45+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
@ -16,6 +16,7 @@ finished: true
|
||||
rinId: 125
|
||||
category: 项目
|
||||
toAstro: true
|
||||
astroType: "post"
|
||||
date_created: 2024-12-02T11:03:24+08:00
|
||||
date_modified: 2025-01-22T13:39:24+08:00
|
||||
---
|
Reference in New Issue
Block a user