Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Preview in macOS

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

https://discussions.apple.com/thread/2031602

Install Packages Using Homebrew on macOS and Linux

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

Installation

macOS

By default, Homebrew is installed to the location /opt/homebrew. You can add the command brew into $PATH by adding the following configuration into your shell configuration (e.g …

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 …

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. iTerm2 is the best termimal application in Mac.

  3. You can use Homebrew to install applications in Mac similar to the command …

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 …