-
New Jul 28, 2026
Keyboard Shortcuts for Jumping and Deleting in iTerm2
How to configure familiar keyboard shortcuts for common navigation and edit actions in the iTerm2 command prompt, such as jumping to the start or end of a word or...
-
New Jul 28, 2026
Assertion Functions in TypeScript
TypeScript 3.7 implemented support for assertion functions in the type system. An assertion function is a function that throws an error if something unexpected happens. Using assertion signatures, we...
-
New Jul 28, 2026
Optional Chaining: The ?. Operator in TypeScript
TypeScript 3.7 added support for the ?. operator, also known as the optional chaining operator. We can use this operator to descend into an object whose properties potentially hold the values null or...
-
New Jul 28, 2026
How to Squash the First Two Commits in a Git Repository
Git 1.7.12 introduced the --root flag for the rebase command that lets you rewrite all the history leading to a specific commit down to the root...
-
New Jul 28, 2026
Nullish Coalescing: The ?? Operator in TypeScript
TypeScript 3.7 added support for the ?? operator, which is known as the nullish coalescing operator. We can use this operator to provide a fallback value for a value that might be null or...
-
New Jul 28, 2026
Declaring Global Variables in TypeScript
Different approaches for declaring a global variable in...
-
New Jul 28, 2026
Concatenating Arrays in JavaScript
In JavaScript, there are different approaches to concatenating multiple arrays into a single one. A comparison of push(), concat(), and spread...
-
New Jul 28, 2026
The Omit Helper Type in TypeScript
TypeScript 3.5 added an Omit helper type that lets us create an object type that omits specific properties from another object type....
-
New Jul 28, 2026
Fast Searching with ripgrep
In this post, I want to introduce you to ripgrep, a smart and fast command line search tool that I find myself using all the time when...
-
New Jul 28, 2026
Const Assertions in Literal Expressions in TypeScript
With TypeScript 3.4, const assertions were added to the language. A const assertion is a special kind of type assertion in which the const keyword is used instead of a type...