Skip to content

Instantly share code, notes, and snippets.

View sahriarnahid's full-sized avatar
🎯
Focusing

Sahriar Nahid sahriarnahid

🎯
Focusing
View GitHub Profile
@taskylizard
taskylizard / fmhy.md
Last active March 13, 2026 22:06
/r/freemediaheckyeah, in one single file (view raw)
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active March 15, 2026 14:35
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@JamieMason
JamieMason / delete-whatsapp-messages.js
Last active August 27, 2025 10:00
Bulk Delete every WhatsApp Chat Message
// Delete every Chat in WhatsApp, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/f8992ebf95423244b730b2c393c321ef
//
// 1. Go to https://web.whatsapp.com/ and sign in.
// 2. Archive any messages you don't want deleting, you can unarchive them after.
// 3. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 4. Paste this into the Developer Console and run it.
// 5. If it gets stuck, scroll up and down in the list of chats.
// 6. Refresh the page and run again if you have any problems.
// 7. This Script does not Exit Groups or clear messages in them.