Ben Chuanlong Du's Blog

It is never too late to learn.

mkShell vs buildFHSUserEnv in Nix

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

The following content is edited based the answer generated by Google AI Studio using the prompt "buildFHSUserEnv vs mkShell".

mkShell (and nix-shell, nix develop)

Purpose: The standard way to create a …

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 …