Ben Chuanlong Du's Blog

It is never too late to learn.

Editing PDF Files Using Stirling-PDF

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

It is recommended that you use Stirling-PDF via Docker.

Start a Stirling-PDF Service Using Docker

The following command starts a (local) service of Stirling-PDF at the port 6000.

docker run -d …

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. Costco is a wholesale. It is not considered as a grocery or supermarket for cashback bonus purposes.

  2. Overall, AMEX is great for traveling purchases and restaurants spending.

Glossory …

Take Screenshot in Rust

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

scrap

scrap makes screen capture easy!

captrs

captrs is a library for cross-platform screen capture in Rust. Uses dxgcap for capture on Windows via the Desktop Duplication API, and X11Cap for …

Async in Rust

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

  1. Combining asynchronous code with synchronous code that can cause blocking is never a wise choice. When calling asynchronous code from a synchronous context, use futures::executor::block_on and spawn the async …