Ben Chuanlong Du's Blog

It is never too late to learn.

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 …

Command Line Tools for Mac File System

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

Note: When work both in Linux and macOS, a painful burden to use command-line is to remember subtle differences between Linux commands and macOS commands. A a matter of fact, GNU …

Proxychains-Ng Issues on Mac

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

ProxyChains-ng does not work on macOS due to System Integration Protection (SIP). There are basically 3 ways to fix/avoid it.

  1. The issue only happens if you execute a system binary …

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 …