TIL: Today I Learned

Things I've learned over the years, just in case I (or you!) need it again

All Entries
ai
Parse Codex `jsonl` with `jq`
ansible
Ansible without an inventory file
Viewing available Ansible facts
Setting the apt cache time using Ansible
cowsay and Ansible
Setting up Ansible for hacking
Ansible: module is missing interpreter line
Installing Ansible from source on Ubuntu
Ansible: Installing Google Chrome on Ubuntu
ansible: ImportError: No module named ansible.playbook
archlinux
Update the AUR from GitHub Actions
TP-Link TL-WN823N on Arch Linux
Connecting to a hidden network on Arch Linux
YubiKey on Arch
YouCompleteMe on Arch Linux
Arch Linux: netctl and vpnc (Cisco VPN)
audio
Transcribe audio locally on macOS
Convert .wav to .mp3 and set id3 tags
aws
Using AWS credential_process and 1Password
Create an AWS RDS database
Create an Amazon EKS cluster
Make an S3 bucket public
Find AWS EC2 AMI owner ID
AWS federated login
Fix: s3fs permission issue on remote folders
How to: Make an Amazon AWS instance disk bigger
azure
Create an Azure AKS cluster
Creating an Azure Blob Storage with azure-cli
Using Azure Resource Manager with Terraform
backup
CrashPlan: network blocked
centos
Error while loading shared libraries: libbz2.so.1.0: cannot open shared object file on CentOS 7
Build CentOS 5 generic RPM on CentOS 6
Use SCL packages without bash
Installing Ruby 1.9.3 on CentOS 6
Installing Vim 7.3 on CentOS 5.7
Installing Node.js 0.8 on CentOS 5.7
css
CSS :target selector
docker
Running Scrumdog with Docker
Remove Docker containers by tag
dosage
Downloading webcomics with Dosage
eleventy
Concatenate strings in Nunjucks
Use an Eleventy filter as an `if` statement
Add a Markdown filter to Eleventy
ffmpeg
Take a screenshot of a video using ffmpeg
ffmpeg: Create a video from time-lapse photos
fpm
Building with FPM
gatsby
Gatsby category count
Adding a script tag using Gatsby JS
git
Understanding .gitignore with `git check-ignore`
Show untracked files with `git status`
A better `git blame` with `--ignore-rev`
Retag a Git tag
Restore a file without adding to the index using Git
Show all files deleted since a Git commit
Rename a git branch
Git push
github
Using `GITHUB_TOKEN` as a default `input` value
Pin GitHub issues
Publishing a Ruby gem to the GitHub Package Registry
golang
Golang: Get last character of a string
Golang: How to `go get` private repos
Golang: Using Memcached
golang: Encode/Decode arbitrary JSON
golang: invalid operation: someVar == "" (mismatched types *string and string)
google
Bulk unsubscribe in Gmail
Filter a Google Analytics report
Shared calendars on iOS (Google)
gpg
gpg: connecting dirmngr failed: IPC connect call failed
gpg: can't connect to the agent: IPC connect call failed
Using GPG to securely send a message
Not enough random bytes available. [GPG Signing]
hammerspoon
Display mirroring with Hammerspoon
Presentations on an ultrawide monitor
Workspace layouts with Hammerspoon Grid
macOS power management with Hammerspoon
imagemagick
Convert a PDF to a stacked jpg
javascript
Electron Node module version
Upgrade from Winston 2 to 3 using colors
Using `array.map` with `async/await`
`array.filter` with `async/await`
Map object values .toLowerCase()
Find value of key recursively with JavaScript
jira
Show all issues for an epic in Confluence
Search for inactive users on Jira
Jira Cloud + ScriptRunner
Disabling comment formatting in Jira
jq
Filter for dates before today with `jq`
Get all keys in a list of objects with jq
Set a value in place with `jq`
Group by fields with `jq`
Sum values with jq
Extract keys using jq
Extract substring of specific values with jq
json
JSON semantic diff
keychron
Bind a Hyper/Meh key with Keychron Launcher
kong
Kong Gateway quickstart
kubernetes
kubectl autocomplete with ZSH and aliases
Automatically set MetalLB IP addresses with kind
laravel
Check if a row was created with Laravel `updateOrCreate`
linux
Mount Synology HDD under Linux
Dell XPS13/XPS15 white noise via audio
Using a custom startup script for xmonad
Basic iptables rules
unetbootin - BOOTMGR is missing
macos
jamf stuck on “Locating hardware information (macOS 11.6.5)”
Use a custom `.zshrc` with iTerm2
Mounting msdos USB with permissions on OSX
Solarized with iTerm2
meetings
Who hasn't gone yet?
memcached
Working with Memcached via CLI
mysql
Creating a new user in MariaDB
netlify
Return an image from Netlify Functions
obsidian
Obsidian - daily note + random review
octokit
Fetch all pages with Octokit pagination
php
The class 'APCIterator' could not be found
PHP: return and the HEREDOC syntax
Using the PHP SDK with Google BigQuery
postgres
Upgrade a Postgres DB
puppeteer
Upload an image with Puppeteer
python
Using INI config with python.logger
Introduction to vimrunner-python
alembic - TypeError: Boolean value of this clause is not defined
Python: Dynamically load all modules in a folder
ruby
Output a JSON file with Jekyll
Debug Jekyll with VSCode
Bundler ignoring `BUNDLE_WITHOUT`
`BUNDLE_WITHOUT` not working with `development` group
Jekyll: Failed to build gem native extension
ssh
Administering multiple SSH shells simultaneously with cssh
ssl
Check if SSL certificate is SHA1 or SHA2
systemd
Run `node` processes with `systemd`
terraform
Flatten nested foreach loops with Terraform
testing
Mock `process.env` using `mocked-env`
Ensure all nock mock interceptors are used
Mock require with Jest
ubuntu
Running gpg-agent on Ubuntu
Start PolicyKit on Ubuntu
Installing Vim 7.4 on Ubuntu
Keyboard stops working on Ubuntu - slow-keys
Getting Solarized working on Ubuntu
vagrant
Using vagrant-hostmanager with centos/7
Vagrant: Require installed plugins
varnish
Cache a specific URL with Varnish
vim
vim: Replace literal \n with new line
virtualbox
Use OpenStack img in VirtualBox
vscode
Disable VSCode embedded browser
Run `go test -tags` in VS Code
VSCode only showing one open tab
vue
Update a single item in a list with `vuex`
windows
Windows 8 temporary profile issue
Windows 7 installation: Xbox 360 Wireless Gaming Receiver for Windows
wordpress
Trigger wp_insert_post_data handler on every post in WordPress
youtube-dl
Download multiple videos with youtube-dl
zsh
Minimal vim inspired .zshrc
Installing ZSH 5.0 on CentOS 5.7
ZSH config from scratch