
KDE Plasma6 禁用全局菜单,恢复正常应用菜单
前情提要 不知道从什么时候开始,KDE Plasma 默认启用类似 macOS 的全局应用菜单。 即应用窗口标题栏下方不显示菜单,而是移动到顶部菜单栏中“全局菜单”小组件中。 但问题是,Linux 桌面生态生态复杂,X11 Wayland Qt GTK 等等技术太过复杂,很难保证常用软件都能够正常显示全局菜单。 ...

前情提要 不知道从什么时候开始,KDE Plasma 默认启用类似 macOS 的全局应用菜单。 即应用窗口标题栏下方不显示菜单,而是移动到顶部菜单栏中“全局菜单”小组件中。 但问题是,Linux 桌面生态生态复杂,X11 Wayland Qt GTK 等等技术太过复杂,很难保证常用软件都能够正常显示全局菜单。 ...

引言 2026 年初,一个名为 Moltbot(前身为 Clawbot)的开源 AI 代理(Agent)框架席卷了开发者社区。该框架允许用户将强大的 AI 模型(例如 OpenAI 的 GPT 系列、Anthropic 的 Claude 等)与 WhatsApp、Telegram、Discord 等日常通讯工具集成,从而通过聊天即可操控电脑、执行任务、获取信息。特斯拉前 AI 主管 Andrej Karpathy 的推荐更是使其迅速走红,其 GitHub 项目在短时间内获得了超过 60,000 个星标。 ...

TL;DR 默认情况下 Windows 安装的 Claude Code 会从这个位置读取配置: C:\Users\<YOUR_NAME>\.claude 其他系统则类似的找到 ~/.claude 路径。 官方流程在安装结束后就完成了,可以直接登录使用。如果需要修改配置将 Claude Code 接入第三方 API,就需要修改这里的 settings.json 配置文件,可以使用 CC-Switch 或是手动编写,但是修改后会发现不生效。 ...

今天终于跑通了 Windows 下运行 Claoude Code 的全流程,不借助 WSL ,原生运行。起因是自己需要一个可以长期运行任务的云桌面,这方面还是 Windows 最好用。不得不说相比于 Linux/macOS ,Windows 下运行 Claude Code 实在太多坑了。 ...

若没有特别说明,默认使用 AiLoft 提供的 Nano Banana Pro 模型生成。 本次带来《城市星球》系列,先看效果图: Refs: https://x.com/TechieBySA/status/1999577563295826208 提示词如下: Create a hyperrealistic miniature planet showcasing [GuangZhou] with famous landmarks seamlessly curving around the spherical surface. Position bold 3D white text ”[CITY]” naturally integrated across the lush green central parkland with realistic shadows and dimensional depth. Capture from a top-down orbiting angle that emphasizes the dramatic planet curvature. Use soft golden hour daylight filtering through partly cloudy skies, casting gentle shadows on emerald grass and surrounding trees. The background should blend into a swirling atmospheric sky. Apply vibrant greens, warm earth tones, and soft blues. Render in polished photorealistic style with fine architectural detail. 可以讲示例中的 GuangZhou 换成其他城市,例如: ...

若没有特别说明,默认使用 AiLoft 提供的 Nano Banana Pro 模型生成。 本期封面图: 3D Q 版迷你概念商店 Refs: https://x.com/dotey/status/1995190286775881780 说明: 🍌 nano banana prompt 3D chibi-style miniature concept store of {Brand Name} 提示词: 3D chibi-style miniature concept store of {Brand Name}, creatively designed with an exterior inspired by the brand's most iconic product or packaging (such as a giant {brand's core product, e.g., chicken bucket/hamburger/donut/roast duck}). The store features two floors with large glass windows clearly showcasing the cozy and finely decorated interior: {brand's primary color}-themed decor, warm lighting, and busy staff dressed in outfits matching the brand. Adorable tiny figures stroll or sit along the street, surrounded by benches, street lamps, and potted plants, creating a charming urban scene. Rendered in a miniature cityscape style using Cinema 4D, with a blind-box toy aesthetic, rich in details and realism, and bathed in soft lighting that evokes a relaxing afternoon atmosphere. --ar 2:3 Brand name: Starbucks 效果图: Starbucks ...

如果你在一台阿里云服务器安装并启动了 tailscale,大概率会出现阿里云服务器无法上网的问题,根本原因为阿里云服务器默认DNS与tailscale网段产生冲突。 ...

macOS 系统配置“自然滚动”,虽然鼠标和触控板都可以配置,但是两个控制是同步的,更改任意一个另一个都会跟着动。 一直是这样,也没有要更改的意思。 使用 LinearMouse 这个软件可以实现单独为触控板开启自然滚动,鼠标不开启自然滚动。 ...

TL;DR 某个项目 mod 托管在 gitcode,无法拉取。git 登陆也不行,需要配置 git 针对 gitcode 默认走 ssh 协议: git config --global url."ssh://git@gitcode.com".insteadOf "https://gitcode.com" 在网上查到比较多的是针对 gitlab 或 github 的: # gitlab git config --global url."ssh://git@gitlab-company".insteadOf "https://gitlab.xxx.cn" # github的同理 git config --global url."ssh://git@github-company".insteadOf "https://github.com" 配置后就可以正常 go mod tidy 了。 ...

TL;DR # 下面两种写法二选一 git checkout dev -- path/to/config.yaml git restore --source=dev -- path/to/config.yaml 以上命令都做了一件事情:假设我当前在 main 分支,希望将 path/to/config.yaml 恢复到 dev 分支的状态。