2025
em vs rem in CSS
In CSS, em and rem represent relative units that display the scalable and responsive results.
Hugo partialCached
Allows for caching of partials that do not need to be re-rendered on every invocation.
苏轼《饮湖上初晴后雨》
《饮湖上初晴后雨》是宋代文学家苏轼的组诗作品。这两首诗写于诗人任杭州通判期间,旨在赞美西湖美景。
苏轼《定风波》
三月七日,沙湖道中遇雨。雨具先去,同行皆狼狈,余独不觉,已而遂晴,故作此词。
读《今日简史》
人类命运大议题。 今天的世界正在发生什么事?各种事件背后的深层含义又是什么?
Emacs Garbage Collection
gcmh(aka “Garbage Collection Magic Hack”) is useful and easy to handle garbage collection for GNU Emacs.
Generate Fuse Index With Node.js
Fuse.js is a lightweight fuzzy-search, in JavaScript, with zero dependencies.
Integrate Harper With Emacs
Harper is a grammar checker designed to run anywhere there is text (so really, anywhere).
DIY Modus Themes
Each Modus theme specifies a color palette that declares named color values and semantic color mappings.
3D Rotations
A basic 3D rotation (also called elemental rotation) is a rotation about one of the axes of a coordinate system.
CSS Combinators
A combinator is a sign that explains the relationship between selectors.
CSS Selectors
CSS selectors are used to “find” (or select) the HTML elements you want to style.
Shortcodes
Rather than writing all your site pages from scratch, Hugo lets you define and use shortcodes.
Rotation Matrix and Rotation Vector
A rotation vector is a convenient and most compact representation of a rotation matrix (since any rotation matrix has just 3 degrees of freedom).
Mermaid Support
Mermaid lets you create diagrams and visualizations using text and code.