All things learnt
Sorted chronologically.
January 2021
- You can arbitrarily chain Python comparison operations on
- How to pipe an argument list into Vim on
- How to copy the current filepath to the system clipboard in Vim on
-
How to search for fixed strings with
grep
andripgrep
on - How to easily disable a CircleCI workflow on
- BBC Sounds only works on Alexa if the language setting is UK English on
- How temporary files are removed on MacOS on
December 2020
-
You can define custom file-type filters in
ripgrep
on - How to enable Docker BuildKit in MacOS Docker Desktop on
-
You can specify the file-type for
bat
on -
About
envsubst
on - How to add project-specific Vim settings on
-
You can stack
pytest
’sparametrize
decorators on - About YAML’s node anchors and aliases on
- You can label parameterized fixtures with pytest on
- Universal Ctags can index more things than I realised on
-
A better way of configuring
mypy
on - How to spell-check markdown repos on CircleCI on
-
How to set per-project
ripgrep
andfzf
exclude rules on - Vim-markdown has some useful commands on
- GSuite’s “Groups Admin” role can read any group email on
November 2020
- How to run Jekyll in a Docker container on
-
About how to use
keywordprg
effectively on -
How to configure
ctags
to parse Terraform files on - You can easily share 1Password items via a link on
- You can convert a Slack group direct message chat into a private channel on
- How to use Bandit with Vim’s quickfix list on
- Exuberant-ctags has been superceded by Universal-ctags on
-
About
column
on - You can hide night-time hours in Google calendar on
-
You can run
:grep
without using parent shell process on -
There’s a
QuickFixCmdPost
event in Vim on
October 2020
- You can jump to previous quickfix lists in Vim on
- How to embed markdown content in a Github code block on
- You can create QR codes for WiFi networks on
-
fd
has an option for searching filepaths on -
datetime.datetime
is a subclass ofdatetime.date
on - The keyboard shortcut for grabbing a MFA code in 1PW on
- How to use AWS profiles that require MFA on
- About the difference between minimising and hiding windows in MacOS on
-
About
readonly
Bash variables on -
About
shellcheck
on -
About
pip-licenses
on - About Bash’s DEBUG signal on
- How to resolve Git rebase conflicts on renamed files on
- There is a “Bongcloud” chess opening on
September 2020
-
How to use
xargs
withprintf
on - AWS ASGs have an ‘instance refresh’ feature on
- The MacOS keybinds for en- and em-dashes on
- How to read from one buffer to another in Vim on
- SSH config supports multiple host patterns in one block on
- There’s a Chrome extension for switching AWS IAM roles on
- YAML has several string-parsing gotchas on
-
Javascript’s unary
+
operator castsnull
to zero on - How to count lines of code in a Git repo for a given commit on
-
About Vim’s
:helpgrep
command on - Vim recommends using Emacs-style key bindings in command mode on
- How to conditionally include items in a Terraform list on
-
You can change the font in Slack with
/slackfont $font
on - You can display the typed text in Alfred in a huge typeface on
- Python 3.7 supports postponed evaluation of annotations on
- Vim doesn’t create the persistent undo folder automatically on
-
How to use type annotations with Python’s
csv
module on - How to configure Alfred’s Bear workflow to open notes in the main window on
August 2020
- About better YAML file folding in Vim on
- OpenDNS provide free porn-blocking DNS servers on
- AWS Availability Zones have counter-intuitive IDs on
- You can rate-limit issues using a Sentry DSN on
- How to list pages with matching tag in Hugo on
-
About
:help macvim
on -
About Vim’s
:diffthis
command on - About the stationery pad feature in Finder on
-
About
pngcrush
on - Asana has some magic search terms on
- You can have SASS asset pipelines in Hugo on
- About text fragments on
July 2020
- Renaming a Terraform module is dangerous on
-
Where authentication for the
ubuntu
user on a EC2 instance is defined on - About the phrase “Parking downhill” on
-
About the MacOS
screencapture
utility on - About Quitter on
- About Alfred’s snippet collections on
- About Alfred’s clipboard history feature on
-
About Twitter’s
min_faves
search filter on