摘要: 错误原因: windows默认编码格式是GBK,macOS,linux是utf-8。 当使用windows且代码内有GBK不支持的字符集的时候,就会报错。 解决方法: 方法一 在python文件的顶部加上编码格式 # -*- coding: utf-8 -*- 方法二 在python3.7以及之后, 阅读全文
posted @ 2023-12-12 11:22 KazooTTT 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 请求头中和响应头的Cache-Control title: 请求头中和响应头的Cache-Control date: 2023-10-16T00:00:00.000Z author: KazooTTT tags: - 前端 - 缓存 - Cache-Control - 浏览器 published: false link: https://kaz 阅读全文
posted @ 2023-10-17 11:21 KazooTTT 阅读(80) 评论(0) 推荐(0) 编辑
摘要: title: arm64和x64与苹果芯片的关系备忘 date: 2023-10-16T00:00:00.000Z author: KazooTTT tags: - 备忘 published: true link: https://kazoottt.notion.site/arm64-x64-b52 阅读全文
posted @ 2023-10-16 17:25 KazooTTT 阅读(78) 评论(0) 推荐(0) 编辑
摘要: title: ant design的form的validate需要注意的点 date: 2023-10-16 author: KazooTTT tags: - ant design published: true ant design的form的validate需要注意的点 <Form.Item n 阅读全文
posted @ 2023-10-16 17:23 KazooTTT 阅读(85) 评论(0) 推荐(0) 编辑
摘要: CommonJS简介 CommonJS简介 Tags: JavaScript, Node.js, commonjs Published: 2023/09/26 什么是commonjs commonjs是module的一种类型(规范) 使用场景 CommonJS is mainly used in server-side 阅读全文
posted @ 2023-09-26 22:57 KazooTTT 阅读(92) 评论(0) 推荐(0) 编辑
摘要: messauto + imessage 实现iphone和mac信息同步和自动复制验证码 然后在对应的mac的信息中设置-iCloud信息设置中启用iCloud云端“信息”,需要注意的是你登录iphone和mac的icloud账号是需要相同的。设置完成,就已经实现了信息的同步,在mac的信息里可以看到iphone的短信。我个人比较推荐的设置是勾选【自动粘贴】和【登录时启动】。如果你是iPhone + mac用户,则可以使用messauto + imessage的方式来同步和自动复制验证码的操作。在iphone的设置-信息-短信转发中,勾选你要转发信息的mac设备。 阅读全文
posted @ 2023-09-25 00:40 KazooTTT 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 快速获取telegram chatId然后实现消息通知的方法 给telegram账户设置username 搜索@RawDataBot,给它发送一条消息。它会返回账户相关的信息给你。格式如下:chat.id就是所需要的chatId 然后就能结合telegram bot + apprise做消息通知了。 阅读全文
posted @ 2023-09-14 23:50 KazooTTT 阅读(225) 评论(0) 推荐(0) 编辑
摘要: title: 资讯周报-2 date: 2023-03-19 author: "KazooTTT" tags: 周报 资料收集 chatgpt 设计 figma vercel 时间范围:2023-03-12-2023-03-19 来源:github、twitter、微博、b站 一、浏览器插件&油猴脚 阅读全文
posted @ 2023-03-29 21:33 KazooTTT 阅读(26) 评论(0) 推荐(0) 编辑
摘要: title: "资讯周报-1" date: 2023-03-12 author: "KazooTTT" tags: 周报 资料收集 周报@1 时间范围:3.6-3.12 信息来源: twitter、微博 zed,速度比较快的编辑器 公司官方:Zed - Code at the speed of th 阅读全文
posted @ 2023-03-29 21:31 KazooTTT 阅读(6) 评论(0) 推荐(0) 编辑
摘要: hanser-mgclub-evolve 通过拦截请求,实现展示毛怪俱乐部每条帖子的最新回复时间。 源代码 https://github.com/KazooTTT/hanser-mgclub-evolve 脚本下载 https://greasyfork.org/zh-CN/scripts/46270 阅读全文
posted @ 2023-03-29 21:26 KazooTTT 阅读(61) 评论(0) 推荐(0) 编辑