lolcommits is a Ruby gem that captures a webcam snapshot (or video/animated GIF) every time you commit code in a Git or Mercurial repository. It installs a post-commit hook that triggers a platform-specific capture (imagesnap on macOS, mplayer on Linux, CommandCam on Windows, ffmpeg for video), then resizes the image, optionally applies text overlays via plugins, and saves it to `~/.lolcommits/<repo-name>/<sha>.jpg`. The CLI provides commands to enable/disable the hook, view the last capture, browse captures, generate timelapse GIFs, and configure plugins. The architecture is a monolith with a plugin system: a `Runner` orchestrates capture and plugin hooks, `Capturer` subclasses handle platform-specific capture, `Configuration` manages per-repo directories and YAML config, and `PluginManager` discovers and loads gem-based plugins. External dependencies include ImageMagick, ffmpeg (optional), and bundled binaries for imagesnap/videosnap/CommandCam. The codebase is well-structured, actively maintained, and includes comprehensive Cucumber feature tests and MiniTest unit tests.
This is a small, well-crafted JavaScript bookmarklet that scans webpage text for common business buzzwords and replaces them with the word 'bullshit' highlighted in red. The code is minimal and elegant: a comprehensive regex dictionary of terms (src/terms.js) and a clever replacement function (src/replace.js) that intelligently handles pluralization, verb forms, and case sensitivity. It uses the `findandreplacedomtext` library for safe DOM text replacement and is built with esbuild into a single minified bundle. The project is a humorous critique of corporate jargon but also a practical, reusable tool. The architecture is a classic client-side bookmarklet pattern: a single script injected into any page. It is well-maintained, with a clean build pipeline, linting, and GitHub Actions CI. The code demonstrates high craftsmanship in its simplicity and effectiveness.