Dev
搜索

Dev

python开发环境多版本管理
发表于2026-08-18
pyenv-win安装1Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1" 查看版本1pyenv install --list 安装1pyenv install 3.12 设置1pyenv global 3.12 临时使用1pyenv shell 3.10.14
opencode自定义模型
发表于2026-06-18
修改配置 ~\.config\opencode\opencode.jsonc 123456789101112131415161718192021222324{ "$schema": "https://opencode.ai/config.json", "model": "Agnes/agnes-2.0-flash", "provider": { "Agnes": { "npm": "@ai-sdk/openai-compatible", "name": "Agnes", "options": { "baseURL": "http...
pdf操作
发表于2026-06-04
pdf按页码截取1gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dFirstPage=1 -dLastPage=19 -sOutputFile=out.pdf source.pdf
pdf按章节拆分到文件
发表于2026-05-03
将pdf按照标题内容等进行切分 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155import fitz # PyMuPDFimport osimport redef sanitize_filename(name): """去除文件名中不允许的字符""" ...
svg转png
发表于2026-04-09
1convert -background none home.svg home.png
taro+tailwind开发记录
发表于2026-04-07
版本 taro 4 tailwind 3 (当前节点我发现ai对3更熟悉) 安装 先安装taro https://docs.taro.zone/docs/GETTING-STARTED 配置tailwind https://tw.icebreaker.top/docs/quick-start/install#taro 注意 当前scss版本不建议使用@import,而应该使用@use引入tailwind的样式
hono js 使用记录
发表于2026-03-31|ts
OpenAPIHono遇到的问题1234567891011121314151617181920const getChatRoute = createRoute({ method: 'get', path: '/chat', request: { query: z.object({ question: z.string().min(1, 'Question is required'), }), }, responses: { 200: { description: '成功返回AI回答', content: { 'application/json': { schema: ChatResponseSchema, }, }, }, },...
cmder使用记录
发表于2026-03-08|cmder
中文字体重叠默认条件下我发现cmder有时候会中文字体重叠 设置-通用-字体取消勾选Compress long strings to fit space
flutter getx使用记录
发表于2026-03-01|flutter
全局注册1234567void main() async { await GetStorage.init(); await Get.put(DeviceController(), permanent: true).ensureInitialized(); Get.lazyPut(() => AuthController()); Get.lazyPut(() => LoginDialogController(), fenix: true); runApp(const MainApp());} fenix参数是让这个控制器销毁后恢复之前的状态,取了一个很好的名字:凤凰 页面注入通过binding可以注入,这样的好处是在页面打开时候他会自动创建,等页面退出他会自动销毁 12345678GetPage( name: AppRoutes.talentApply, page: () => const TalentApplyScreen(), binding: BindingsBuilder(() { ...
统计代码行数
发表于2026-02-27|git
1git ls-files "lib/*.dart" | xargs wc -l 还有专用工具 12sudo apt install cloccloc application/
123…104
avatar
developer
AI相伴的开发者博客
文章
1035
标签
742
分类
36
公告
This is my Blog
最新文章
wslc空间清理2026-11-16
Cmder 跟随 Windows 明暗主题2026-10-28
Intel(R) System Usage Report禁用2026-10-18
压力测试2026-10-16
税务学习记录2026-10-13
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
常用 处理大数组 客户端 乌龟 不准 一键安装 laya 时间格式化的方式 微信支付 对象唯一id 移动端上传 解析字符串 过滤目录和子目录下 开启报错 恋爱 自建vpn WSL2 对话的 恢复 dl 函数 go 大量bug记录 补充 apache2.4 禁止 借助云服务 数据类型 mysql_fetch_array Tue Sep 18 2018 08:00:00 GMT+0800 (China Standard Time) 性能差异 max current_user_can wsl gs mysql 不装逼 女人 正确方法 docker
归档
  • 十一月 2026 1
  • 十月 2026 9
  • 八月 2026 1
  • 六月 2026 2
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
网站信息
文章数目 :
1035
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.2|主题 Butterfly 5.7.0
搜索
数据加载中