Greg Babula (@gregbabula) header
Greg Babula (@gregbabula) profile picture

Senior Software Engineer / Technical Lead @disneyplus

New York
Joined November 2009
Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)Photo by Greg Babula (@gregbabula)
Hey so if you're debugging memory leaks be VERY CAREFUL with console.log() as stuff going into the console will remain in memory. I'm feeling a bit silly right now.
20
28
4
348
Assuming top-level `await` is enabled, do you know what this snippet logs in the console?
32
35
3
293
Greg Babula retweeted
🚨😍 New Zine, and guess what It's XSS today. 🚨 Learn XSS by drawing. This Zine is free and under pay as you like. Grab a copy and read with coffee. Share if you like. Zine: securityzines.com/zines/xssz… #infosec #security #bugbountytips #bugbountytip #zines #appsec
4
79
2
267
Greg Babula retweeted
RIP Chrome downloader app
Microsoft is finally retiring Internet Explorer in 2022 trib.al/Pd1gUst
772
10,374
379
88,514
I wanted to quickly check how many colours were in an image, and it turned out easier than I thought:
17
110
7
1,330
Did you know that it’s actually possible for you to say, “I don’t know enough about this to have an opinion”
1,848
59,372
4,096
348,031
Greg Babula retweeted
Sometimes I think about this guy starting a project in 1996
59
1,500
168
11,166
Greg Babula retweeted
What Linux or Unix command you wish discovered years earlier in your terminal life?
342
105
35
892
Greg Babula retweeted
The `gap` CSS property is a convenient way to set the spacing between not only the grid but also flex items! And now, with the just-released Safari 14.1, you can use it in every major browser! 🥳
19
231
29
1,173
So... I wrote this article a couple of weeks ago, without any of the context of what's happening now. It's just by chance it's coming out now, but it's actually pretty timely. Your Team is Not "Them" css-tricks.com/your-team-is-…
8
121
20
539
Greg Babula retweeted
New JavaScript features in Node.js v16 (compared to the latest v14): ➡️ String.prototype.replaceAll ➡️ Promise.any + AggregateError ➡️ logical assignment ➡️ RegExp match indices ➡️ Atomics.waitAsync v8.dev/features/tags/node.js…
1
55
227
Do you want to stream a HUGE #GoPro video file with @fastifyjs ? Here the nicest and easier way with #nodejs #stream!
3
26
2
128
HTML power to the rescue! 💪 Use lazy loading by just adding the attribute loading="lazy". The distance threshold varies depending on: - Image type - Effective connection type - Whether Lite mode is enabled on Chrome for Android
14
97
3
484
Greg Babula retweeted
Tip: You can name capture groups for Regular Expressions in JavaScript. Define a named capture in angle brackets <> and they get returned under .groups.
23
651
56
3,321
Greg Babula retweeted
The next 24 tweets will prove how powerful HTML is Thread 🧵👇🏻
44
382
11
1,538
Greg Babula retweeted
Just discovered a CSS selector I had no idea existed 🤯 :in-range and :out-of-range allow you to select an input whose value is within/outside the min and max attributes 🔥
41
1,079
62
5,738
Greg Babula retweeted
Starting ECMAScript 2019 Array.prototype.sort is now stable by the specification! Find what does it mean for a sorting algorithm to be stable below ✨
3
42
1
224
"Programming is not about typing, it's about thinking." - Rich Hickey
80
1,184
85
5,864