Ben Chuanlong Du's Blog

It is never too late to learn.

Recommendation of Credit Card Usage

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

Tips and Traps

  1. Avoid AMEX as it is nutorious for closing many customers' credit cards without valid reasons.

  2. Costco is a wholesale. It is not considered as a grocery or supermarket …

Tips on fd

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

Tips & Traps

  1. fd is much faster compared to find.

Installation

wajig install fd-find

The install binary is fdfind.

Example Usages

  1. Find all directories under $dir.

    fdfind --type d . $dir
    
  2. Find all …

Ruff Is An Extremely Fast Python Linter Written in Rust

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

Use ruff In a uv Managed Python Project

uv run ruff check 
uv run ruff format .

Use ruff Standalone

The most convenient way to use run ruff standalone is via uvx …