Amazing code snippets and articles

Joined April 2010
Photos and videos
The Amazed Coder retweeted
Mar 31
🚨 CRITICAL: Active supply chain attack on axios -- one of npm's most depended-on packages. The latest axios@1.14.1 now pulls in plain-crypto-js@4.2.1, a package that did not exist before today. This is a live compromise. This is textbook supply chain installer malware. axios has 100M weekly downloads. Every npm install pulling the latest version is potentially compromised right now. Socket AI analysis confirms this is malware. plain-crypto-js is an obfuscated dropper/loader that: • Deobfuscates embedded payloads and operational strings at runtime • Dynamically loads fs, os, and execSync to evade static analysis • Executes decoded shell commands • Stages and copies payload files into OS temp and Windows ProgramData directories • Deletes and renames artifacts post-execution to destroy forensic evidence If you use axios, pin your version immediately and audit your lockfiles. Do not upgrade.
541
4,021
16,153
12,406,993
The Amazed Coder retweeted
24 Jul 2025
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:
1,364
2,821
52,736
8,504,435
Kimi K2 seems smarter than Grok 4 already
1
1
1
283
The Amazed Coder retweeted
Vibe coding in 2005

42
83
679
56,746
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
129
The Amazed Coder retweeted
Just tried Bun on a Next.js app. Installing node_modules with a warm cache is 13x faster than npm. Super impressive.
1
7
71
13,143
The Amazed Coder retweeted
9 Sep 2023
$ git push -force
102
1,792
9,729
570,893
The Amazed Coder retweeted
Computer Networking Notes
97
1,845
10,047
983,202
The Amazed Coder retweeted
Tip: In @ChromeDevTools you can now hide network requests from Chrome extensions! 😍 Huge for focusing on just your code when profiling performance.
28
239
1,410
164,031
The Amazed Coder retweeted
Tip: @ChromeDevTools now shows human-readable HTTP status codes! Useful to 👀 what happened to a network request much quicker.
16
94
748
79,042
The Amazed Coder retweeted
23 Aug 2023
Heres another neat use case for CSS :has() When you hover over a table cell, select the other table cells in that column.
8
19
306
42,844
The Amazed Coder retweeted
23 Aug 2023
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 👌
16
118
1,071
157,545
The Amazed Coder retweeted
Which programming language has the worst syntax???
1,061
74
1,280
399,941
The Amazed Coder retweeted
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 'as const'. But in this situation, I'll choose the enum.
40
46
558
170,085
The Amazed Coder retweeted
How To Access Incognito History
20
501
2,111
334,924
The Amazed Coder retweeted
This joke might only land with frontend developers 😂
50
238
1,873
251,470
The Amazed Coder retweeted
❌ You 𝗺𝗶𝗴𝗵𝘁 not need a react form library ✅ Instead you can use the FormData API's
17
89
660
81,593
The Amazed Coder retweeted
18 Aug 2023
What is the output of the following Python code?
73
50
484
135,711
The Amazed Coder retweeted
18 Aug 2023
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?
238
307
2,676
682,402