Skip to content

Instantly share code, notes, and snippets.

View vinodnimbalkar's full-sized avatar
🎯
Focusing

Vinod Nimbalkar vinodnimbalkar

🎯
Focusing
View GitHub Profile
@joeytwiddle
joeytwiddle / async-await-forEach-alternatives.md
Last active May 30, 2024 14:04
Do not use forEach with async-await

Do not use forEach with async-await

TLDR: Use for...of instead of forEach() in asynchronous code.

For legacy browsers, use for...i or [].reduce()

To execute the promises in parallel, use Promise.all([].map(...))

The problem

@parmentf
parmentf / GitCommitEmoji.md
Last active June 1, 2024 05:39
Git Commit message Emoji
@gokulkrishh
gokulkrishh / media-query.css
Last active June 1, 2024 03:01
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */