Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Google Gemini CLI

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

Tips & Traps

  1. Gemini CLI is extremely useful as it doesn't requires your favorite IDE to have integration with LLM tools. You can use whichever IDE you like. What you need is …

Tips on Gh

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

https://cli.github.com/

https://github.com/cli/cli

https://cli.github.com/manual/gh_secret

https://cli.github.com/manual/gh

https://github.com/topics/gh-extension

Tools for Differencing Text Files

General Tips

  1. If 2 files are formatted differently, you can first format them and then check the differences between them. An extreme way is to get rid of all white spaces in the 2 files and then compare them.
    sed -i 's/ //g' file_1 file_2
    

Command-line Tools

git-diff

git diff …