mudssky's recent timeline updates
mudssky

mudssky

V2EX member #513702, joined on 2020-10-20 18:49:11 +08:00
mudssky's recent replies
感觉国内小红书刷到的 ai 是最多的
业务代码效率提升 20%左右,但是额外帮你执行了单元测试,写文档和脚本。
Mar 18, 2025
Replied to a topic by boyzhang JavaScript 吐槽一下 Trae
我碰到的问题,不能针对工作区禁用插件
Dec 11, 2024
Replied to a topic by LZYMichael 程序员 眼睛好痛,大家编辑器用的什么主题
一直用 quiet light
我 5600g 升级 win11 也有问题,会卡顿,还原 win10 就正常了。

amd 的 6800h 和 8845h 装 win11 没有碰到问题。
mpv 几年前我开始用的时候就支持 js 脚本了,我写 mpv 脚本都是用 ts 然后编译到 es5 就可以了。
我好像最近一直没遇到过这个问题,可能是因为我用的是 powershell core
有服务器和域名肯定用动态,服务器资源放着浪费。
我目前还是用 github pages ,github actions 自动部署已经很方便了,也不求别人看。单纯满足自己的。
Feb 17, 2023
Replied to a topic by 1054850490 PowerShell 这个 powershell "比对”命令能优化吗?
避免多次读取和写入同一个文件。可以将已存在的文本内容加载到变量中,并将新内容添加到变量中,然后一次性将变量写入文件。这样可以减少磁盘 I/O 操作,提高执行速度。例如:

$content = Get-Content 888.txt -Raw
Get-ChildItem -Path "C:\Path\To\Directory" -Recurse -ErrorAction SilentlyContinue | ForEach-Object {
if ($_.Attributes -ne "Directory") {
$newContent = Get-Content $_.FullName -Raw
if ($newContent -notin $content) {
$content += $newContent
}
}
}

Set-Content 888.txt -Value $content -Encoding utf8


帮你查的
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   958 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 20:47 · PVG 04:47 · LAX 13:47 · JFK 16:47
♥ Do have faith in what you're doing.