zoukankan      html  css  js  c++  java
  • mac常见使用

    Mac 使用总结

    安装 Homebrew

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    

    安装 Homebrew cask

    brew tap caskroom/cask
    

    之后安装大部分软件只需要用 Homebrew 和 Homebrew cask 即可。

    需要破解版的应用的话可以去 这里找

    推荐软件

    alfred
    bartender
    cheatsheet
    google-chrome
    istat-menus
    iterm2
    licecap
    manico
    moon
    oh-my-zsh
    snap
    the-unarchive
    vanilla
    visual-studio-code
    

    brew cask 升级软件

    brew tap buo/cask-upgrade
    
    brew cu
    
    Usage: brew cu [CASK] [options]
    -a, --all             Include apps that auto-update in the upgrade.
    --cleanup         Cleans up cached downloads and tracker symlinks after
    updating.
    -f  --force           Include apps that are marked as latest
    (i.e. force-reinstall them).
    --no-brew-update  Prevent auto-update of Homebrew, taps, and formulae
    before checking outdated apps.
    -y, --yes             Update all outdated apps; answer yes to updating packages.
    -q, --quiet           Do not show information about installed apps or current options.
    

    QQ登不上清理网络缓存

    sudo killall -9 networkd
    

    重置图标

    defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
    

    拷贝 Finder 文件路径

    Cmd + Opt + C
    

    显示隐藏文件

    defaults write com.apple.finder AppleShowAllFiles -bool true ; killall Finder
    

    或者在 Finder 中 Cmd + Shift + .

    隐藏隐藏文件

    defaults write com.apple.finder AppleShowAllFiles -bool false ; killall Finder
    

    或者在 Finder 中 Cmd + Shift + .

    Finder 底部显示路径

    Cmd + Opt + P
    

    Finder 顶部显示路径

    defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
    

    host 文件路径

    /etc/hosts
    

    快捷锁屏

    系统偏好设置 -> 安全性与隐私 -> 通用 -> 可设置进入睡眠或开始屏幕后多久需要输入密码

    OS X 10.9 以上 短按 Power(此为 Sleep,会断网) 或者

    Ctrl + Shift + Power: 关闭屏幕
    Cmd + Opt + Power: 睡眠
    Cmd + Ctrl + Power: 重启
    Cmd + Ctrl +Opt + Power: 关机
    

    或者

    系统偏好设置 -> 桌面与屏幕保护程序 -> 屏幕保护程序 -> 触发角
    

    或者

    Afread -> lock/sleep/screen saver


    原文:
    https://blankj.com/gitbook/
  • 相关阅读:
    将DotNetBar添加到工具箱中
    C#写的CRC16检验算法
    C# 递归程序 获取某个节点下的全部子节点
    软件著作权申请中源代码文档的编辑方法
    c#使用Flash控件AxShockwaveFlash
    国内银行CNAPS CODE 查询
    中国版权保护中心-无法注册的解决办法
    jquery weui做的三级联动
    Validation of viewstate MAC failed 解决办法
    OllyDbg 介绍
  • 原文地址:https://www.cnblogs.com/cheflone/p/13221707.html
Copyright © 2011-2022 走看看