1 禁止 Safari 自动唤起 APP
-
选中链接「右键」-> 「Open Link」
-
不选择「Open Link in “bilibili”」下次点击链接就不会直接进入 ios 程序了
还是会老弹窗
2 为单个应用排除暗黑模式
- 首先进入你程序的目录运行终端,查询应用捆绑的id
osascript -e 'id of app "<App-Name>"'
- 为应用写入属性AquaSystemAppearance,将以上返回结果作为参数传入以下的
defaults write <Bundle-Identifier> NSRequiresAquaSystemAppearance -bool YES
# i.e.
defaults write $(osascript -e 'id of app "VisualVM"') NSRequiresAquaSystemAppearance -bool YES
- 重置以上所设属性方法
defaults delete <Bundle-Identifier> NSRequiresAquaSystemAppearance
# i.e.
defaults delete $(osascript -e 'id of app "VisualVM"') NSRequiresAquaSystemAppearance
3 ls 出现问号 “?”
vim ~/.zshrc
添加一行内容:
export LC_ALL=zh_CN.UTF-8
执行命令,使其生效:
source ~/.zshrc
4 P核 和 E核
Alder Lake architecture
Alder Lake CPUs have two different kinds of cores:
- Performance cores (P-cores, also known as Golden Cove) - these run at a higher clock rate than E-cores, and are supposed to be preferable for single threaded, low latency tasks.
- Efficient cores (E-cores, also know as Gracemont) - these run at a lower clock rate than P-cores, but are supposed to be preferable for power constrained tasks, and may be better in multi-threaded scenarios.