上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: 好的,这是为你精简后的博客文章,只保留核心概念和解决方案: Go 语言避坑:append 结构体后数据“丢失”的秘密 在 Go 语言中,处理数据分页和聚合时,你可能会遇到一个困惑:为什么我明明往结构体里加了数据,但 append 到切片后,数据却没了? 问题本质:append 的“副本”行为 我的代 阅读全文
posted @ 2025-05-27 13:48 灵火 阅读(55) 评论(0) 推荐(0)
摘要: win + i 进入设置,然后按图操作: 注意: 这样设置可能导致某些软件无法运行或中文乱码。 阅读全文
posted @ 2025-03-27 10:30 灵火 阅读(380) 评论(0) 推荐(0)
摘要: 在 powershell 上 [System.Text.Encoding]::Default 在 cmd 上 chcp 阅读全文
posted @ 2025-03-27 10:26 灵火 阅读(33) 评论(0) 推荐(0)
摘要: 配置文件格式对比表 格式 简单性 性能 复杂数据支持 可读性 生态支持 适用场景 优点 缺点 示例 官网/文档 TOML 中 中 高 高 通用生态 通用配置(如 Rust) 标准化,支持复杂结构和注释 语法稍复杂 [user]\nname = "alice" TOML 官网 JSON 中 高 高 中 阅读全文
posted @ 2025-03-21 15:02 灵火 阅读(210) 评论(0) 推荐(0)
摘要: vscode 通用配置 { "chat.commandCenter.enabled": false, "security.workspace.trust.untrustedFiles": "open", "editor.smoothScrolling": true, "editor.fontFami 阅读全文
posted @ 2025-03-13 23:46 灵火 阅读(29) 评论(0) 推荐(0)
摘要: 打开 user settings.json 在里面加上下面两个值 "terminal.integrated.defaultProfile.windows": "ps7", "terminal.integrated.profiles.windows": { "ps7": { "icon": "term 阅读全文
posted @ 2025-03-13 23:43 灵火 阅读(118) 评论(0) 推荐(0)
摘要: %USERPROFILE\%zf_october_comb.omp.json { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "console_ti 阅读全文
posted @ 2025-03-04 19:55 灵火 阅读(102) 评论(0) 推荐(0)
摘要: https://www.tenforums.com/tutorials/ 阅读全文
posted @ 2025-03-02 16:01 灵火 阅读(17) 评论(0) 推荐(0)
摘要: python ddddocr使用 https://github.com/sml2h3/ddddocr # example.py import ddddocr ocr = ddddocr.DdddOcr() image = open("example.jpg", "rb").read() result 阅读全文
posted @ 2025-02-27 16:58 灵火 阅读(89) 评论(0) 推荐(0)
摘要: 必装工具 git scoop install main/git 添加 buckets scoop bucket add extras scoop bucket add versions scoop bucket add sysinternals scoop bucket add java scoop 阅读全文
posted @ 2025-02-20 20:38 灵火 阅读(496) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 13 下一页