Today I Learned
Inspired by others I've seen do this and by the idea of Learning in public, I've created this repo to share TILs (Today I learned). I'm hoping this will motivate me to more consistently post things so feel free to poke me if it's been a while. I've been doing web dev for over a decade and still feel like I'm regularly learning things I "should have known" so hopefully this serves as a reminder that we're all just constantly learning.
119 TILs and counting...
- Use ChatGPT to explain bash scripts - 2023-07-05
- Use ChatGPT to help you write architectural decision records - 2023-11-03
- Chain-of-Thought Prompting - 2024-09-20
- ASP.NET max upload file size - 2024-08-30
- Awesome AZD templates - 2023-08-10
- Press
ctrl+enter
to submit a comment on Azure DevOps - 2023-07-19 - Highlight text in markdown - 2023-09-22
- Conditional logic in pipelines YAML - 2023-10-16
- Shell Check - 2024-03-12
- lazydocker - 2023-07-24
- Podman is a nice alternative to Docker - 2024-04-18
- Ternary in C# string interpolation - 2023-08-23
- Calling an extension method on a null instance - 2023-10-19
- Collection expressions - 2023-12-14
- Raw string literals in C# 11 - 2024-11-18
- Stacking context affects z-index - 2023-06-30
- CSS accent-color property - 2023-09-07
- CSS Nesting - 2023-09-14
lh
andrlh
units - 2023-11-09- Flow spacing and the lobotomized owl - 2023-11-29
- Smooth scrolling - 2024-01-08
- Dynamically darken or lighten a color in CSS - 2024-01-15
- font-variant-numeric - 2024-02-01
- Logical Properties - 2024-02-15
- The viewport scroll bar problem - 2024-05-28
- :has selector - 2024-07-12
- View transitions API - 2024-10-22
- Use the Chrome devtools recorder to automate UI testing - 2023-07-11
- Find all CSS changes in Chrome DevTools - 2023-08-15
- Emulate page focus - 2023-08-28
- Toggle CSS classes in Devtools - 2023-10-13
- Local overrides in Chrome DevTools - 2023-12-11
- sourceURL pragma - 2024-01-29
- Locally test on old version of Chrome - 2024-05-20
- Penpot - 2024-05-22
- Chrome devtools ignores form resubmission - 2024-06-12
- Sequence Diagrams - 2023-07-20
- The C4 model for visualizing software architecture - 2023-08-02
- Zeal offline documentation browser - 2023-10-18
- Git Extensions git client - 2023-07-18
- Git pickaxe - 2023-08-07
- Git reset --keep - 2023-08-09
- Git branch --force - 2023-08-16
- Ignore commits in Git Blame with --ignore-revs-file - 2023-08-17
- Delta pager for Git - 2023-09-05
- --update-refs won't update a ref if it's currently checked out in a working directory - 2023-09-25
- git-absorb - 2023-10-04
- push.autoSetupRemote - 2023-10-03
- Git rerere - 2023-10-05
- Easily reference upstream branch - 2024-01-04
- Git clean interactive - 2024-01-23
- Git Maintenance - 2024-02-12
- DeepGit blame - 2024-01-19
- View the conflicts resolved in a merge commit - 2024-05-29
- Cherry pick a range of commits - 2024-06-04
- Personal git ignore per repository - 2024-11-19
- Selectively restoring changes from another branch or commit - 2024-11-21
- Dependency Review - 2023-11-15
- Specify timestamp in Google Drive video URL - 2023-09-19
- Display the week number in Google Calendar - 2023-12-05
- Add alt text to presentation slides - 2023-12-06
- A hidden button in an HTML form can be submitted - 2023-07-25
- Disabling browser autofill in a form - 2023-09-15
- One-time code autocomplete - 2023-09-27
- SVG sprites - 2023-09-28
- Use the
valueAsNumber
property of html number inputs - 2023-10-02 - Blob URLs - 2023-11-02
- Disabled buttons are bad for accessibility - 2023-11-10
- The
datalist
HTML element - 2023-11-20 - Thin Space - 2024-01-12
- Disable entire form - 2024-01-24
- CSP
connect-src
directive - 2024-01-26 - Preload critical assets - 2024-03-13
- BFCache - 2024-05-21
- Input modes - 2024-07-17
- Drag and drop upload - 2024-07-24
- History API state - 2024-10-07
- SRI integrity hash algorithms - 2024-11-12
- Strong typing with JSDoc and Zod - 2023-07-13
- Javascript Array.prototype.with() - 2023-08-11
- Object.fromEntries - 2023-08-30
- Null values in javascript interpolated strings - 2023-09-01
- Mock service worker - 2023-09-13
every()
returns true for an empty array - 2023-11-01- Javascript Array
with()
method - 2024-01-31 - Number.isInteger() - 2024-02-08
- Nullish Coalescing Operator - 2024-06-03
- Use media queries in javascript with the
matchMedia()
method - 2024-07-10 - Numeric separators - 2024-07-02
- Abort controller - 2024-07-24
- Console.trace() - 2024-10-10
- UUID v7 - 2024-08-21
- Use
URLSearchParams()
to build a query string - 2024-11-07
- Override nested dependencies with npm - 2023-11-06
- Native node import path aliases - 2023-11-08
- Fix package-lock.json merge conflicts - 2024-01-16
- Run a bash script from Powershell - 2023-07-09
- Comment styles in React - 2023-08-08
- Truncate table - 2024-02-20
- Use a table variable to hold a list of values - 2023-07-04
- Hide a table in sql server management studio - 2023-07-06
- Nominal types in Typescript - 2023-08-01
- Pretty Typescript errors Vscode extension - 2023-08-21
- Trim videos without re-encoding - 2023-11-27
- Create new files faster - 2023-07-07
- Visual Studio 2022 can stage individual lines in git - 2023-07-12
- You can save window layouts in Visual Studio - 2023-07-31
- Copy git link extension - 2023-10-11
- Copy Nice Extension - 2024-01-10
- VS code can show the required HTML structure for a CSS selector - 2023-07-21
- Paste a URL as a markdown link - 2023-08-03
- You can easily wrap text with HTML tags - 2023-07-27
- Dev containers - 2023-09-11
- Preserve case with find and replace - 2023-09-29
- HTTP files - 2024-09-13
- Quickly change the end of a line - 2024-08-20
- Windows Dev Drive - 2024-02-26
- Multi-line string in YAML - 2023-08-04