til
📝 Figma styles not present in the API response
TIL: Why Figma returns empty styles in API and how to fix it
📝 Authentication with wget
TIL: How to provide username and password for simple authentication when downloading files using wget
📝 How to make non-capturing groups in RegEx
TIL: What are non-capturing groups and how we can use them
📝 India's national aquatic animal
TIL: India has a species of dolphin as its national aquatic animal.
📝 List files updated in a git commit
TIL: How to see a list of files updated in a git commit
📝 Centering elements with CSS
TIL: How to center (horizontally and vertically) elements with CSS.
📝 Resizing images from command-line
TIL: Resizing images from command-line while centering them and adding a transparent background.
📝 Comparing two BigDecimal instances
TIL: Turns out that 7.5.toBigDecimal() and 7.50.toBigDecimal() are not equal
📝 Castle Under Threat
TIL: You cannot castle your king in chess if king's path is under threat
📝 Ugh fields
TIL: What are "ugh fields" and why everyone should atleast know about them.
📝 Opening current terminal command in $EDITOR
TIL: Ctrl+X followed by Ctrl+E opens the command you are currently editing in your $EDITOR program
📝 Google gives refresh token only once
TIL: Google doesn't return refresh token on subsequent authentication after the first one.
📝 JavaScript can "throw" the table
TIL: JavaScript can throw anything
📝 CSS support for browser dark-mode preference
TIL: How to support dark-mode preference of browser via CSS