Today I Learned
A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies. These are things that don't really warrant a full blog post.
57 TILs and counting...
- Bash
- Docker
- Git
- GitHub
- lang-cs
- lang-python
- linux
- macOS
- Naming Conventions
- Powershell
- Regular Expressions
- rsync Recipes
- SSH
- TLS
- Unix
- wget Recipes
- Appending and Composing Arrays
- Arrays of strings and lines of text
- Display a string as hex or escaped characters
- Find command with variable paths list
- How to create and safely use a temporary directory
- How to return a value from a function
- Make an array containing the files in a directory
- Pass arguments to a command alias
- Test whether a command exists
- Trim whitespace from variable
- Adding a tag to an existing image
- List the mounted volumes of a container
- Listing images with a specific label
- Listing the labels of an image (or container or task)
- Open a shell in a running container
- Remove orphaned images
- Add a submodule repository
- Add a remote for the original repo of a forked repo
- Compare two branches
- Compare working file with another branch
- Copy file from another branch
- Git steps after completing a topic branch
- List the files in a commit
- Merge file from another branch
- Remove large objects from a git repo
- Copy a new upstream remote branch to the origin remote
- Delete a topic branch
- Push a new local branch to a remote Git repository and track it too
- Push an existing repo to GitHub
- HTTPie: Verify HTTPS connection with system CA bundle
- Produce console output from a unit test
- Setting up the Flask development server to use HTTPS
- Keeping an Ubuntu system patched
- Listing installed packages on Ubuntu
- Ubuntu Desktop keyboard shortcuts HUD
- Pairing a Logitech wireless mouse on Ubuntu Desktop
- Giving a standard user account SUDO rights
- Preventing Spotlight from indexing removable thumb drives
- (ssh client) Associate a pseudo-hostname with an SSH key
- (ssh server) Permit only SSH key authentication
- Add a CA certificate to the OS X keychain
- Add CA certificate to Firefox
- Add CA certificates to Linux system CA certificate store
- Create a CA cert on local machine
- Create server certificate (using local CA)
Inspired by jbranchaud/til who "shamelessly stole this idea from thoughtbot/til".
© 2016 Dave Hein
© 2017 Dave Hein
This work by Dave Hein is licensed under a Creative Commons Attribution 4.0 International License.