Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Minikube

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

Microk8s is a more lightweight solution than Minikube (even thought Microk8s is only for Linux.)

Installation

  1. Install kubectl

  2. Install Minikube

  3. Start minikube.

    minikube start --vm-driver=hyperkit
    
  4. Check status of minikube.

    minikube …

Tips on Git Submodule

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

git submodule init
git submodule add git@github.com:dclong/docker_image_builder.git
git submodule update --recursive --remote

To remove a Git submodule.

git rm submodule

Module Already Exists in Index.

in …

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 …

Vim Keybindings in Firefox Using Tridactyl

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

:mode ignore: temporarily disables Tridactyl on a page. ctrl + alt + esc: toggle ignore on/off on Mac ctrl/cmd + g: next search result shift + ctrl/cmd + g: previous search result

Tricks …