Today I Learned (TIL)
A collection of quick notes and snippets that I’ve learned day to day. These are small discoveries, tips, and insights that I find worth remembering.
2025
March
25-03-2025
- Rails Testing: Learned about
rails test -p
for parallel test execution
20-03-2025
- Bevy: Explored Material Extensions for enhanced rendering capabilities
19-03-2025
- Homebrew: Discovered
Brewfile
for managing package dependencies
18-03-2025
- Ruby: Learned about
each_cons
method on arrays for consecutive element iteration
16-03-2025
- Rust: Discovered
retain
method on Vectors for in-place filtering
February
13-02-2025
- CSS Tools: Found css.oddbird.net - a great resource for CSS utilities and tools
2024
November
21-11-2024
- LaTeX: Used SciPoster template for discrete math cheat sheet
- LaTeX: Created Hasse Diagrams with tikzpicture
18-11-2024
- GitHub: Discovered Slash commands for GitHub Pull Requests automation
12-11-2024
- Vim: Learned to sort lines and remove duplicates using
sort u
- Bitbucket: Found the beta syntax highlighting feature
11-11-2024
- Ruby Documentation: Learned about the
@see
directive for better docs - Ruby: Discovered the
.new.tap
method for cleaner object initialization - Vim: Copy current file path to clipboard:
let @+ = expand("%:p")
05-11-2024
- Git: How to use commit templates for standardized commit messages
- Postman: Import curl commands directly into Postman
October
26-10-2024
- Vim: Mastered folding commands
zo
(open) andzc
(close)
23-10-2024
- Ruby: Explored ECS (Entity Component System) architecture patterns
16-10-2024
- Git: Using
!
in.gitignore
to include specific files:/.env* !/.env*.erb !/.env.example
02-10-2024
- 1Password CLI: How to list and create items using the OP CLI
- SSH: Explored different SSH key formats and their use cases
01-10-2024
- Google Docs: Creating collapsible sections using pageless mode
September
18-09-2024
- Git: During rebase, deleted lines can cause commits to be dropped
- Ruby:
nil.class
returnsNilClass
(obvious but good to remember)
16-09-2024
- HTML: Deep dive into the
<colgroup>
element (MDN docs) - Rails: Difference between
validates_presence_of
andvalidate :foo, presence: true
13-09-2024
- TMUX: Enter copy mode with
CTRL+S + [
- Vim/Clipboard:
"+y
yanks text into the system clipboard
10-09-2024
- Database Tools: dbdiagram.io for designing database diagrams
- Development: Snapplet seed tool for database seeding
January
03-01-2024
- Shell:
ls -Am
for comma-separated listing format