TIL: Today I Learned

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

Tech Business Power Skills Odds and Ends 🎓 TIL ❤️

All Entries


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

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

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 ZSH 5.0 on CentOS 5.7
Installing Vim 7.3 on Centos 5.7
Installing nodejs 0.8 on CentOS 5.7

css

CSS Target Selector

docker

Remove Docker containers by tag

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 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

Filter 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]

imagemagick

Convert a PDF to a stacked jpg

javascript

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

kong

Kong Gateway Quickstart

kubernetes

kubectl autocomplete with ZSH and aliases
Automatically set MetalLB IP Addresses with kind

laravel

Check if 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 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

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

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