Today I Learned
This is a collection of short notes of the things I have learned on the daily while working on different technologies. I share these notes as I learn in public.
113 TILs and counting...
You can follow along by watching my GitHub repository.
- 2024-01-28Send analytics data using the Beacon API
- 2024-01-03TypeScript: ElementRef for React.useRef
- 2024-01-02Null is a billion-dollar mistake
- 2024-01-01TypeScript: exactOptionalPropertyTypes
- 2023-12-27Use Zod to validate File input
- 2023-12-21Smart App Banners
- 2023-12-18GPTBot is OpenAI’s web crawler
- 2023-12-10GitHub Issue Forms
- 2023-12-07SvelteKit Sync
- 2023-11-21Recursively delete .DS_Store
- 2023-10-25Emulate a focused page in DevTools
- 2023-10-11JavaScript Barrel File
- 2023-09-18Nginx Nested Locations
- 2023-07-20Git: push --force-with-lease
- 2023-06-16Automatically handle `updated_at` column
- 2023-06-05How to Stop All Docker Containers
- 2023-05-04JavaScript: Tagged Template Literals
- 2023-04-13EditorConfig Glob Expressions
- 2023-03-23TypeScript Exact Types
- 2023-03-17Show contents of Git stash
- 2023-03-14Copy a function in JavaScript
- 2023-03-12Add to previous Git commit
- 2023-03-06The Mark Text element
- 2023-02-28Git: Work with multiple accounts
- 2023-02-27Fetch Response.statusText
- 2023-02-26Signals
- 2023-02-25Math.random() vs Crypto.getRandomValue()
- 2023-02-24Next.js statically typed links
- 2023-02-22CSS.escape()
- 2023-02-21JavaScript: scrollend event
- 2023-02-20JavaScript Symbol.iterator
- 2023-02-19Docker: Copy files from another image
- 2023-02-18Module Federation
- 2023-02-17Microfrontend using single-spa
- 2023-02-16TypeScript narrow Array.includes()
- 2023-02-15JavaScript Import Map
- 2023-02-14TypeScript: Callable interface
- 2023-02-12JSON.parse reviver parameter
- 2023-02-11JavaScript WeapMap
- 2023-02-10JavaScript Map
- 2023-02-09Cypress cy.clock()
- 2023-02-08Add custom config to Axios requests
- 2023-02-07Implementing a custom RTK Query baseQuery
- 2023-02-05Remove React app from the DOM
- 2023-02-04setTimeout(): Node.js vs Web
- 2023-02-03Astro's image integration
- 2023-02-01import.meta
- 2023-01-31Spaces vs tabs: It's an accessibility issue
- 2023-01-30X-Robots-Tag
- 2023-01-29npm disable audit in .npmrc
- 2023-01-28npm using latest version of package
- 2023-01-27CSS pseudo-classes and pseudo-elements
- 2023-01-26CSS ::first-letter pseudo-element
- 2023-01-24TypeScript: Satisfies operator
- 2023-01-23Get current page URL in Astro
- 2023-01-22TypeScript: Type-only imports and exports
- 2023-01-20Deep clone object with structuredClone()
- 2023-01-19Delete files by modified date
- 2023-01-18Checkout previous branch in Git
- 2023-01-17Remove debugger statements in Vite
- 2023-01-16Add an object to existing JSON using jq
- 2023-01-15TypeScript Assertion Functions
- 2023-01-14CSS :is() pseudo-class
- 2023-01-13Redirect stderr to stdout using 2>&1
- 2023-01-12JavaScript: Negative Zero (-0)
- 2023-01-11There are actually 50 CSS length units
- 2023-01-10CSS :has() pseudo-class
- 2023-01-09CSS property: font-variant-numeric
- 2023-01-08There are 44 CSS length units
- 2023-01-07Create a release in GitHub using API
- 2023-01-06Delete lines in vi
- 2023-01-05TypeScript Template Literal Types
- 2023-01-04Push Docker image to self-hosted registry
- 2023-01-03Rename an AWS Lightsail instance
- 2023-01-02List the files with the most disk usage
- 2023-01-01Restore a deleted file in Git
- 2022-12-22User-defined type guard in TypeScript
- 2022-11-30Using the `tar` command
- 2022-11-05Git Remove All Commits
- 2022-11-02Using Nunjucks Macros in Eleventy
- 2022-11-01Netlify Node.js Version
- 2022-10-29Extending HTML Element Types in React 18
- 2022-10-16Accessing stdin with file descriptor 0
- 2022-10-13The Details disclosure element
- 2022-10-08ESLint's `no-restricted-syntax` rule
- 2022-09-22Inferring the types from a Remix loader
- 2022-09-20Today I Learned: PHP
- 2022-08-16JSON.stringify replacer parameter
- 2022-08-15TypeScript: @ts-expect-error
- 2022-07-23TypeScript Config: noUnCheckedIndexAccess
- 2022-06-28Proxying using Netlify Redirects
- 2022-06-23Add color using FORCE_COLOR
- 2022-06-01Hex color notation have an alpha channel
- 2022-04-16Using GitHub Actions to push changes
- 2022-01-28Buttons can have a value like input elements
- 2022-01-18The Idiomatic Text element
- 2022-01-10Type declarations for a Vite app