My Today I Learned snippets. Inspired by simonw/til.
- Generate a random secret - 2022-07-07
- Kill command after a timeout - 2022-06-14
- Load environment variables from file - 2022-11-10
- Template shell script - 2022-11-19
- Masonry layout with a clean bottom edge - 2022-07-29
- Play and pause animations on hover - 2023-03-27
- Find the creation date of a file in a repository - 2022-03-29
- Checkout the full history of a repository - 2022-03-29
- Load secret environment variables using dotenv - 2022-06-14
- Run Python script in GitHub actions - 2022-03-28
- Run action in a templated repository only - 2022-06-14
- Sync compressed files to Google Cloud Storage - 2022-11-19
- Write temporary files from Cloud Functions - 2022-11-10
- Import data from a table within an HTML page - 2022-10-08
- Run javascript code on Google sheets via Apps Script - 2022-03-29
- Remove whitespace between inline elements - 2022-04-15
- Render a javascript object in pretty format - 2022-03-30
- Assign default values when destructuring an object or array - 2022-04-16
- Copy to clipboard - 2022-10-06
- Execute code privately using IIFEs - 2022-03-29
- Get computed styles of an element on the page - 2022-12-23
- Make everything on a website editable - 2022-04-16
- Store data in local storage - 2022-09-30
- Rendering Bing tiles with MapLibre - 2022-12-22
- Import CSV data into SQLite - 2022-03-29
- Custom transform that removes units - 2022-06-14
- Type component parameters when spreading
$$restProps
- 2022-12-09