Ben Chuanlong Du's Blog

It is never too late to learn.

Fix the CrashLoopBackOff Issue of Pod in Kubernetes

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

Define command as ["/busybox/sh", "-c", "tail -f /dev/null"] instead of ["/busybox/sh", "-c", "tail", "-f", "/dev/null"]

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 MuMu App Player

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

  1. Neither MuMu App Player nor MuMu Game Assistant supports Hyper-V currently. As a matter of fact, all popular Android emulators does not support Hyper-v at this time (as of Aug 22 …

Bat Is a Better Alternative to Cat

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

Installation on Ubuntu

sudo apt-get install bat

Notice that the installed executable is batcat (instead of bat)!

Usage