Ben Chuanlong Du's Blog

It is never too late to learn.

Shortcuts in macOS

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

Table of keyboard shortcuts lists comparisons of shortcuts on Windows, macOS and Linux.

  1. Unless you have a full Mac keyboard, you will not have the Home/End keys. Fn + Left/Right …

Tips on MacPorts

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

sudo port selfupdate
port search pkg
sudo port install pkg

MacPorts behind Firewall

  1. Use http instead of rsync. Open the file /opt/local/etc/macports/sources.conf and replace the line …

Remove System Applications in macOS

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

The macOS has some system applications (e.g., Numbers, Keynotes, etc.) come installed by default. You cannot uninstall them from Application in Finder. However, there's one way to remove those applications …

Quickly Open a Directory in Terminal in Mac

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

OpenInTerminal is a Finder Toolbar app for macOS to open the current or selected directory in Terminal, iTerm, Hyper or Alacritty.

Installation and Configuration

  1. Install OpenInTerminal

    brew cask install openinterminal
    
  2. Launch …