Skip to content

Instantly share code, notes, and snippets.

View hansenz42's full-sized avatar
🤗
Happy Coding!

Hansen浩森 hansenz42

🤗
Happy Coding!
View GitHub Profile
@hansenz42
hansenz42 / AGENT.md
Last active July 28, 2026 07:48
程序员 agent insructions

通用约束

非常重要:安全规则!

你永远不能:

  • reset git 和 database 的任何数据和表结构
  • 任意删除我文件系统中的文件
  • 任何不可逆的删除操作

你可以在操作完成后的总结中告诉我需要清理哪些内容,但不要直接操作

@hansenz42
hansenz42 / hammerspoon自动切换输入法.lua
Last active February 4, 2021 13:35 — forked from ibreathebsb/hammerspoon自动切换输入法.lua
加入了启动应用时切换输入法的代码
local function Chinese()
-- 简体拼音
hs.keycodes.currentSourceID("com.apple.inputmethod.SCIM.ITABC")
end
local function English()
-- ABC
hs.keycodes.currentSourceID("com.apple.keylayout.ABC")
end