JQ to filter JSON by value
The article explains how to use the `jq` command-line tool to filter JSON data by a specific value. It provides the syntax `cat <filename> | jq -c '.[] | select( .<key> | contains("<value>"))'` and no…
The article explains how to use the `jq` command-line tool to filter JSON data by a specific value. It provides the syntax `cat <filename> | jq -c '.[] | select( .<key> | contains("<value>"))'` and no…
The article summarizes Robert C. Martin's principles for writing "clean code," which is code that is easily understood, read, and enhanced by any developer on a team. It lists numerous specific practi…
This article provides a beginner's guide to writing a comprehensive README file for a software project. It recommends including sections for a project overview, motivation, build status, code examples…
The article provides a cheat sheet for using the terminal multiplexer tmux, including commands to start sessions, manage windows and panes, and select text using modifier keys. It also explains how to…
The article provides a summary of server commands for the CMaNGOS (Classic MaNGOS) game server emulator, listing each command's name, required account level, and syntax. Commands include account manag…
This article provides a curated list of computer science resources, including books and PDFs, covering topics from basic computer hardware and software principles to advanced subjects like compilers, …
The article provides an alphabetical list of subreddits that have over 50,000 subscribers. The file contains hidden or bidirectional Unicode text, which may appear differently than intended and requir…
The article explains how to add transparency to hexadecimal color codes by appending a two-character value representing the alpha channel. For example, to achieve 40% opacity on black (#000000), the c…
This is a configuration file for clang-format, a code formatting tool, created by Ingmar Delsink. It specifies formatting rules for C++ code, including a tab width and indent width of 4, no tab charac…
This article provides a factual summary of system design principles, emphasizing the importance of clarifying scope, identifying constraints, and managing trade-offs. It outlines key steps including h…
This article provides a comprehensive list of direct download links for various macOS versions, ranging from OS X Mavericks (10.9.5) to macOS Sequoia (15.3), along with their corresponding build numbe…
This article explains how to configure Git to use a proxy server, which is necessary when encountering errors while cloning or fetching from remote repositories. It provides commands for setting a glo…
The article describes a Python script that generates an animated GIF of a jellyfish-like, pulsating blobby shape. The code creates multiple layered blobs that vary in size and phase, using random offs…
This article provides a cheatsheet of keyboard shortcuts for iTerm2, clarifying that capital letters in shortcuts do not imply the Shift key unless explicitly stated. It distinguishes between shortcut…
Comprehensive list of JavaScript properties and methods that trigger forced synchronous layout (reflow) in browsers, a common performance bottleneck. It explains that accessing layout metrics like `of…
The article explains two methods to view the source code of a Chrome extension. The first method involves using a command-line tool to download and unzip the extension's CRX file directly from Google'…
This article provides a script to remove files from a Git repository that were committed before a `.gitignore` file was added. The commands use `git ls-files` to identify and un-track files matching t…
This article provides a cheatsheet of Vim commands for creating, navigating, and managing text folds. It lists commands for creating folds by line count or search string, moving between folds, and ope…
This article demonstrates how to create a library in Rust and call it from Python (both CPython and PyPy) using the C Foreign Function Interface (CFFI), which offers lower call overhead than ctypes an…
The article describes a JavaScript plugin called `noUiSliderA11y.js` that adds an accessibility layer to the noUiSlider range slider. It enhances the slider by adding ARIA attributes (such as `role="s…