Inspecting Symlink with readlink
There are a few ways to know that a file is a symlink. Here’s one I learned today. ...
There are a few ways to know that a file is a symlink. Here’s one I learned today. ...
I use Ripgrep as my command-line search tool. Something I often want is to return matching filenames only, instead of Ripgrep’s rich colored output, so I can pipe them to xargs. Here’s that flag: rg -l ...
Sometimes I want to iterate on an alias. You can unalias an alias like this: unalias aliasname ...
I’ve been writing some non-printing characters to a file. But when I concatenate, it appears empty. cat log.txt # Nothing here 🥺 cat those non-printing characters with -v: cat -v log.txt jjjj:wq^M% ...
Prettier formats code in fenced code blocks! When I type three backticks and then a code, Prettier evaluates the code in the block and tries to format it per my global .prettierrc. ...
Today, I’d like to dive deeper into a part of my practice: using a persisted text file for jotting things down. In this post, I’ll explain the ‘why’ behind this technique, and provide an updated version of it. ...
Today I’d like to share a small part of my practice: using a persisted scratchpad text file for jotting things down. ...
My development environment depends on several processes running. Here’s how I’ve scripted this setup. ...
I write each post for this blog in Vim. Writing in the terminal makes me feel like a programmer, even when I’m not specifically programming. In this post, I’ll share how I spellcheck in Vim. ...
How does one exit Vim “Ex” mode? But first… how did you even get into “Ex” mode? ...