mac os programming
打开身份不明的程序
1 | sudo spctl --master-disable |
Use homebrew to install htop. First install brew
1 2 3 4 | /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew update # make sure Homebrew is up to date brew doctor # make sure your system is ready to brew export PATH= "/usr/local/bin:$PATH" # add Homebrew's location to your $PATH in your .bash_profile or .zshrc file |
Then install htop
1 | brew install htop |
使用快捷键 Command+M,可以实现快速最小化当前窗口的目的。使用快捷键 Command+Option+H,可以实现快速隐藏除当前应用程序之外所有程序窗口的目的。
How to stop getting a reminder to update to Big Sur in MacOS
-
Launch System Preferences and click Software Update.
-
Click Advanced.
-
Uncheck the first three boxes: Check for Updates, Download New Updates When Available, and Install macOS Updates.
-
Click OK.
-
Now launch Applications > Utilities > Terminal.
-
Enter the following commands below, copying each line and pasting it, then pressing Return at the end.
1 2 3 4 5 | sudo softwareupdate --ignore "macOS Big Sur" defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 killall Dock |
The first item disable updates for macOS Big Sur; the second and third prevent the red badge in System Preferences and restart the Dock (without affecting the rest of your system) to reset the state of the System Preferences icon.
The red badge will return, however, every time macOS checks for updates. Opening the Software Update preference can trigger that check, which then causes the badge to reappear!
To set the language of Microsoft office as Chinese, run the following commands in terminal and restart the applications
defaults write com.microsoft.Word AppleLanguages '("zh-cn")' defaults write com.microsoft.Excel AppleLanguages '("zh-cn")' defaults write com.microsoft.Powerpoint AppleLanguages '("zh-cn")'
Find Mac Processor Details & CPU Speed via Command Line with sysctl
1 | sysctl -n machdep.cpu.brand_string |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 智能桌面机器人:用.NET IoT库控制舵机并多方法播放表情
· Linux glibc自带哈希表的用例及性能测试
· 深入理解 Mybatis 分库分表执行原理
· 如何打造一个高并发系统?
· .NET Core GC压缩(compact_phase)底层原理浅谈
· 手把手教你在本地部署DeepSeek R1,搭建web-ui ,建议收藏!
· 新年开篇:在本地部署DeepSeek大模型实现联网增强的AI应用
· Janus Pro:DeepSeek 开源革新,多模态 AI 的未来
· 互联网不景气了那就玩玩嵌入式吧,用纯.NET开发并制作一个智能桌面机器人(三):用.NET IoT库
· 【非技术】说说2024年我都干了些啥