The Amazed Coder
@amazedcoder
Amazing code snippets and articles
Bunları beğenebilirsin
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:
Vibe coding in 2005
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 Trendler
- 1. #IDontWantToOverreactBUT 1,204 posts
- 2. Paramount 33.5K posts
- 3. #GoldenGlobes 81.4K posts
- 4. #MondayMotivation 11.4K posts
- 5. Go Birds 3,559 posts
- 6. #NXXT_NEWS N/A
- 7. NextNRG Inc 1,319 posts
- 8. Victory Monday 2,282 posts
- 9. #NXXT_DOEsupport N/A
- 10. Good Monday 55.7K posts
- 11. Tekken 31.8K posts
- 12. Harada 13.7K posts
- 13. John Lennon 14.3K posts
- 14. JUST ANNOUNCED 15.5K posts
- 15. Will Hall 5,295 posts
- 16. Crockett 19.1K posts
- 17. GOOD MORNING MINTO N/A
- 18. Allred 1,975 posts
- 19. BDAY 28.8K posts
- 20. Immaculate Conception 16.8K posts
Something went wrong.
Something went wrong.