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

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

Tips on WSL 2

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

Installation & Update

Run the following command in an command window with administrator privileges to install WSL 2.

wsl --install

Run the following command to check the version of WSL.

wsl -l …

Baidu Yun Tips

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

  1. Baidu cloud is a good backup solution but not a good synchronization solution. Do not try to synchronize your devices via Baidu cloud.

Alternatives

Tampermonkey + Greasy Fork

References

https://github.com …

Query and Monitor OS Information using osquery

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

  1. List all tables.

    .\osqueryi .tables

  2. Check the schema of a table (e.g., "process").

    .\osqueryi ".schema processes"

Querying System Information

.\osqueryi.exe "select * from system_info"

Querying Docker

Please refer to Manage …

Tips on AnBox

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

  1. AnBox CANNOT be run on macOS.

  2. There was a limited support of ARM-only app on x86-based Linux OS. However, Android 11+ images are capable of running ARM apps on x86-based machines …