The Amazed Coder
@amazedcoder
Amazing code snippets and articles
Anda mungkin suka
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.
$ git push -force
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 Tren
- 1. Good Wednesday 22.4K posts
- 2. Hump Day 6,779 posts
- 3. Immanuel 2,624 posts
- 4. #wednesdaymotivation 1,773 posts
- 5. percy 26.1K posts
- 6. #MerryChristmasJustin 6,547 posts
- 7. annabeth 7,768 posts
- 8. grover 3,069 posts
- 9. #HumanRightsDay 18.4K posts
- 10. clarisse 1,377 posts
- 11. Oslo 244K posts
- 12. María Corina Machado 195K posts
- 13. Slept 20.3K posts
- 14. Bicycle 5,561 posts
- 15. #bb27 1,211 posts
- 16. Keanu 2,954 posts
- 17. Gowdy 6,264 posts
- 18. Pennsylvania 62.7K posts
- 19. Danity Kane 2,943 posts
- 20. Premio Nobel de la Paz 127K posts
Something went wrong.
Something went wrong.