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 …

Tips on Housing

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

Good Sources of Learning

https://www.youtube.com/@richard0501

Things to Consider When Purchasing a House

  1. whether it is a new house or not and facilitaties

  2. radiation, etc., whether it is …

Tips on Insurance

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

  1. Geigo is good choice for people who do not have good driving history but a bad choice for people with good driving history. Geigo charges about 18% for cancelling policy, which …

Tips on Shell Commands

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

explainshell.com

  1. command-not-found - Suggest installation of packages in interactive bash sessions

  2. nohup, disown

  3. nautilus-open-terminal

Configuration

https://github.com/thoughtbot/til/blob/master/bash/bash_profile_vs_bashrc.md#:~:text=bashrc%20is%20sourced%20on%20every …

Tips on Python Module

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

Import a Module

  1. There are 3 different ways to import Python modules.

    import module_name
    import module_name as alias
    from module import pkg_mod_or_fun
    
  2. The module importlib.resources (since Python 3.7+) leverages …