Ben Chuanlong Du's Blog

It is never too late to learn.

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 …

Typing Automatically Using AutoHotkey

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

  1. it is suggested that you put things into

    ```AutoHotkey

    IfWinActive window_condition

    ...

    IfWinActive

    ```

Include

  1. You can use #include file_path to include a AutoHotKey scripts (as if the content of the included file …

Tips on NodeJS

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

Install NodeJS

Install NodeJS on Ubuntu

Upgrade NodeJS

  1. It is suggested that you use n (instead of nvm) to manage different versions of NodeJS.
    n lts
    n latest
    

References

https://davidwalsh …