惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
雷峰网
雷峰网
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
G
Google Developers Blog
腾讯CDC
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
博客园_首页
T
Tailwind CSS Blog
C
Check Point Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
Y
Y Combinator Blog
L
LangChain Blog
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

博客园 - 彭成刚

mp4转圆角gif.bat localforage js数据存储 localStorage 替代,可大数据存储 indexdb数据库 文件系统有 happy-opfs "editor.cursorSurroundingLines": 3, 光标周围行数 设置光标在第几行的时候滚动页面滚动条 Prettier - Code formatter BUG 读不到 根目录的 .prettierrc.js prettier.configPath 格式化失效 vue2 mounted后面括号应该没有空格 _.flow 管道函数 lodash 同步函数列表很哇塞啊 _.flow(caozuo1, caozuo2, caozuo3)(my_data) vue2 iview 组件 ref 起名规则 应该用文件名 <shouye_book_left ref="shouye_book_left" /> iview 日期组件 BUG 赋值变量选年度 然后当前年会有个蓝色底, 解决方案 :key="ccValue" ⭐️⭐️⭐️ 自定义组件 表单验证 v-model 自动更新验证 trigger: 'change' 不触发,解决方案 加 <Input v-model="formData.abc" /> vue2 iview ComfyUiApi comfyui_xy 安装-使用 mergeLeft 左合并json函数 alt+k vscode 执行 ccdev - 在editor 和 terminal 之间切换 splitTwo 分割2个元素,主要分割文件名和id等 C盘清理空间软件 c盘没空间了 Wise Disk Cleaner kceve 鼠标2口控制器 kvm 鼠标同步器 穿屏幕 快捷键 是 s + * 操作列css每个按钮a后面加竖线.css operation_class .prettierrc.js 我发现 这个格式化的配置 默认就不建议放全局,都是跟项目走的 grid-gap 在 chrome58 支持,然后chrome58 不支持 gird的gap,不支持flex的gap iview table columns.js 表头 带* 带星 renderHeader alt+F9 设置 open in terminal 打开当前文件terminal vscode idea 都设置成这个快捷键 配合 ccdev使用 ccdev go开发 cli开发 读取本地模版复制到剪切板 where.exe node 查看命令位置 powershell 注意不是 where node (新建了一个ccwhere.bat) vue2 vModel 组件绑定数据写法 ccValue reloadenv 函数 `code $PROFILE` vscode在不关闭下刷新环境变量 volta 安装记录 node多版本控制 && @native-sdk OmniVoice 记录 我觉得音色还原还不错 voiceclone-env 记录 vscode pwsh 全选快捷键 ctrl+a (powershell) ai专属使用 aitree 命令 ai配合重要命令 powershell vscode code $PROFILE 备份,配合conda使用vscode $setHideObjProp 设置js json对象属性 隐藏变量 不可枚举,post的时候不带这个变量
pi.dev 试试这个cli - deepseek-flash-v4
彭成刚 · 2026-08-17 · via 博客园 - 彭成刚

https://pi.dev/

修复powershell

打开powershell 30多秒 太慢了。删掉了 启动配置内容

notepad $PROFILE

删的时候,备份到 c:\mingling 目录了。
以后快捷命令,不要放到 $PROFILE 里面。

安装

npm install -g --ignore-scripts @earendil-works/pi-coding-agent

由于我是多node环境,所以 每次看看,没有pi 再装一下。

PS C:\Users\Reciter\Desktop\pi.dev> node -v
v23.5.0
PS C:\Users\Reciter\Desktop\pi.dev> npm install -g --ignore-scripts @earendil-works/pi-coding-agent
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead

added 131 packages in 26s

17 packages are looking for funding
  run `npm fund` for details
PS C:\Users\Reciter\Desktop\pi.dev>

运行pi报错

npx @earendil-works/pi-coding-agent

还是不行
换个node版本

volta install node@22.12.0
volta pin node@22.12.0
npm install -g --ignore-scripts @earendil-works/pi-coding-agent

还是不行,因为

PS C:\Users\Reciter\Desktop\pi.dev> node -p "require('zlib').createZstdDecompress"
undefined

说官方node支持,所以官网下个最新版试试 node-v24.19.0-x64.msi
安装过程有个勾,默认不勾选,保持默认。勾上会下载vs的好几个G的编译库。
image

C:\Program Files\nodejs

加载个人及系统配置文件用了 1528 毫秒。
PS C:\Program Files\nodejs> node -v
v24.19.0

运行成功

输入你好,用了1.7k token,比codex少多了,codex 你好,用了我9.7k的token
image

添加全局pi命令

由于我用的 volta 做的 多版本node,这里做一个pi命令,强制指向 C:\Program Files\nodejs\node.exe

  1. 启动管理员powershell
  2. 安装命令
npm install -g --prefix "C:\Program Files\nodejs" @earendil-works/pi-coding-agent
  1. mingling/pi.bat
@echo off
chcp 65001 > nul
echo "mingling\pi.bat"

C:\Program Files\nodejs\pi.cmd %*

切换deepseek-flash-v4

进来发现用的 pro的模型,太恐怖了,赶紧切换个便宜的

/model

然后选择 deepseek-flash-v4

image

配置环境变量deepseek

DEEPSEEK_API_KEY="你的API Key"

余额查询

https://platform.deepseek.com/usage

ref

https://juejin.cn/post/7673855455463800847