zoukankan      html  css  js  c++  java
  • mac os programming

    打开身份不明的程序

    sudo spctl --master-disable
    

    Use homebrew to install htop. First install brew

    /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

    brew install htop
    

      使用快捷键 Command+M,可以实现快速最小化当前窗口的目的。使用快捷键 Command+Option+H,可以实现快速隐藏除当前应用程序之外所有程序窗口的目的。

     How to stop getting a reminder to update to Big Sur in MacOS

    1. Launch System Preferences and click Software Update.

    2. Click Advanced.

    3. Uncheck the first three boxes: Check for Updates, Download New Updates When Available, and Install macOS Updates.

    4. Click OK.

    5. Now launch Applications > Utilities > Terminal.

    6. Enter the following commands below, copying each line and pasting it, then pressing Return at the end.

      

    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!

     Find Mac Processor Details & CPU Speed via Command Line with sysctl

    sysctl -n machdep.cpu.brand_string
    

      

      

  • 相关阅读:
    HZOI20190906模拟38 金,斯诺,赤
    HZOI20190903模拟36 字符,蛋糕,游戏
    HZOI20190902模拟35题解
    HZOI20190829模拟33题解
    HZOI20190828模拟32题解
    HZOI20190823模拟31题解
    HZOI20190823 C magic
    HZOI20190822模拟29题解
    HZOI20190821模拟28题解
    P2925 [USACO08DEC]干草出售Hay For Sale 题解
  • 原文地址:https://www.cnblogs.com/cxxszz/p/12896388.html
Copyright © 2011-2022 走看看