// the find
barretlee/snippets
Code Snippets
A personal snippet library by a Chinese frontend developer, deployed as a static Jekyll site with a search UI. It's a collection of CSS tricks, JS utilities, HTML boilerplate, htaccess configs, and a handful of Node snippets — the kind of stuff you'd bookmark circa 2015.
The categorization is clean: css, javascript, html, sass, nginx, nodejs all live in their own folders as plain markdown files, making it easy to browse or grep locally. The search is client-side and instant. Some of the CSS snippets (triangle, hexagon, clearfix, shake animation) are genuinely useful references. The contribution flow is straightforward — fork, add a .snippet file, PR.
Abandoned since 2020 and effectively frozen in 2015-era web dev — Flash embedding, IE detection, Windows Phone viewport hacks, and 'add to favorites IE' are dead artifacts. The JavaScript snippets predate ES6 entirely; no modules, no async/await, nothing post-ES5. The hosted site URL is dead. There are only ~6 Node snippets and they're thin; this is really a CSS/HTML cheat-sheet padded with a few other categories.