AC
acdibble/til
A collection of TILs
TIL
Today I Learned
A collection of concise write-ups on small things I learn day to day across a
variety of languages and technologies. Sometimes I find them by knowing what I'm
looking for. Other times I go looking for anything that will help. Most times I
end up saying "neat" and creating an entry.
These TILs are a mix between "this is a useful thing that I learned that could
help others" and "this is something really annoying that took forever to find
out and I know I'll come across it again at some point so I want it committed
for posterity".
80 TILs across 21 categories and growing!
Categories
- C++
- CSS
- Elixir
- git
- JavaScript
- MySQL
- nginx
- Node.js
- node.js
- PostgreSQL
- Powershell
- Python
- Rails
- ripgrep
- Ruby
- Rust
- TypeScript
- Unix
- vim
- VS Code
- WebAssembly
C++
CSS
Elixir
- Base encoding methods
- Get last value in IEx
- Inspect with labels
- Maximum integer size
- Releases
- Test coverage
- Test setup
- Turn on history in IEx
git
- Avoiding
git-checkout - Copy file between branches
- Find file creation date
- Get list of commits between two tags
- Getting file from another branch
- Push commit with tags
- Set commit message editor
- Sync deleted remote branches
JavaScript
- Chunking a string
- ESLint debug output
- Regular expression flags
- Regular expression non-capture groups
MySQL
nginx
Node.js
Buffer.concatDirents- File system flags in Node
- High resolution timer
- Processing PDF files
- Random integers
- Readable stream async generator
- Readline interface
- Readline interface 2
node.js
PostgreSQL
EXCEPTkeyword- Filter clause
- Finding next primary key for table
- Finding public table names
- Grouping sets
- with clauses
Powershell
Python
Rails
ripgrep
Ruby
Rust
include_str!OptionintoResult- Ranges with a custom step
- Resize vector with fill
- u32 from u8 buffer
- Windows
TypeScript
Unix
- Count matches in file
fileutility- Find process running on port
- Finding size of folder
- Force quit hung ssh
- Killing other ssh connections
- List directories only
mvTips and Tricks- Oh My Zsh Aliases
- Quickly paste clipboard to file
- Return just matched strings with
grep shutdownaliases- Sorting directories by size
- String manipulation
tarwith nested directories- U2F
- Using variables in .env file on the command line
which- Yubico Authenticator on Fedora
zmv
vim
VS Code
WebAssembly
About
I shamelessly stole this idea from
jbranchaud/til.
Other TIL Collections
License
This repository is licensed under the MIT license. See LICENSE for details.
On this page
Languages
TypeScript98.3%Shell1.7%
Contributors
MIT License
Created April 18, 2020
Updated May 22, 2024