Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on macOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Print Mac OS X operating system version information.

    sw_vers -productName
    
  2. You can use Homebrew to install applications in Mac similar to the command apt-get or wajig in Debian series of Linux …

Enable and Disable Key Repeating in macOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Run the following command in terminal and then restart your Mac to enable key repeating by pressing and holding.

    defaults write -g ApplePressAndHoldEnabled -bool false
    
  2. Run the following command in terminal …

Shortcuts in macOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Customize Keybindings

You can customize keybindings by editing the file ~/Library/KeyBindings/DefaultKeyBinding.dict . For example, to disable the system keybinding Alt + e and Alt + . (so that they can be used …

Things to Do After Reimaging Mac

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Install Homebrew.

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  2. Install XCode from the App store.

  3. Install and configure Hyper.js.

    xinstall hyper -ic
    
  4. Install …

Mirroring Screen from iPhone or iPad to Macbook

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

5KPlayer

https://www.youtube.com/watch?v=Zc41jJAhozc

QuickTime

Reflector 2

https://www.airsquirrels.com/reflector

  1. I think there is a way to do it directly ...

AirDroid

Works both for IOS …