The Amazed Coder
@amazedcoder
Amazing code snippets and articles
Vous pourriez aimer
For a decade, I thought Airbnb would protect us if something went wrong. That was until the life of my son was in play and they sided with the host. If you trust @Airbnb, don't learn the hard way like I did. Here's my story:
Ojo con promos multiempresa. Ofrecian 2x3 días de Lolla y un voucher de Samsung, pero solo me dieron 2x1 día y nada del voucher. Como eran 3 empresas, se pasaron la bola entre ellas y nadie sabe nada. Ya estoy con la denuncia en el COPREC. @PersonalFlow_At @PersonalAr @SamsungArg
Just tried Bun on a Next.js app. Installing node_modules with a warm cache is 13x faster than npm. Super impressive.
Computer Networking Notes
Tip: In @ChromeDevTools you can now hide network requests from Chrome extensions! 😍 Huge for focusing on just your code when profiling performance.
Tip: @ChromeDevTools now shows human-readable HTTP status codes! Useful to 👀 what happened to a network request much quicker.
Heres another neat use case for CSS :has() When you hover over a table cell, select the other table cells in that column.
Did you know CSS has a previous element selector? You can use :has() to select items when the the next item is in a specific state. Here we select the elements before and after the currently hovered row. Nifty 👌
Which programming language has the worst syntax???
I will admit, TS enums are kind of useful. But only for one specific case. Let's say you only want to log a message if it's a warning or error: You get to use the beautiful `level > LogLevel.Debug` to express it - which is real tasty. You can, of course, do this with a normal…
How To Access Incognito History
This joke might only land with frontend developers 😂
WinRAR Flaw Lets Hackers Run Programs When You Open RAR Archives it.slashdot.org/story/23/08/18…
❌ You 𝗺𝗶𝗴𝗵𝘁 not need a react form library ✅ Instead you can use the FormData API's
What is the output of the following Python code?
Google is launching their own online dev environment called IDX and I just got access It looks like hosted VS Code + VM. Similar to stackblitz, replit, Github Codespaces, codesandbox etc.. At what point we move to "thin client" and start doing our dev remotely?
Did you know TypeScript <Generics> don't always need to be explicitly set? You can infer their types by the type of data being passed! Super powerful approach when writing library or util code.
United States Tendances
- 1. Mets 34.2K posts
- 2. Diaz 76.5K posts
- 3. Dodgers 38.5K posts
- 4. GeForce Season 3,544 posts
- 5. Stearns 11.1K posts
- 6. Kentucky State University 1,648 posts
- 7. Rashford 12.8K posts
- 8. Philip Rivers 42.6K posts
- 9. Schwarber 18K posts
- 10. Alonso 62.4K posts
- 11. Kounde 25.1K posts
- 12. Gittens 5,686 posts
- 13. Atalanta 34.3K posts
- 14. Reds 18K posts
- 15. Cohen 11.7K posts
- 16. Fofana 5,698 posts
- 17. #TrumpInflationCrisis 9,680 posts
- 18. Acheampong 8,075 posts
- 19. Soto 14.8K posts
- 20. Enzo Maresca 6,696 posts
Something went wrong.
Something went wrong.