Skip to content

Instantly share code, notes, and snippets.

View surenachiron's full-sized avatar
🔥

mohammad surenachiron

🔥
View GitHub Profile
@surenachiron
surenachiron / .cspell.json
Last active October 13, 2024 12:30
full DevTools configuration
{
"version": "0.2",
"language": "fa,en", // if you use Persian
"language": "en", // if you don't use Persian
"useGitignore": true,
"import": ["@cspell/dict-fa-ir/cspell-ext.json"], // delete this line if you don't use Persian lan
"ignorePaths": ["node_modules"],
"dictionaryDefinitions": [
{
"name": "keywords",
@dhoeric
dhoeric / 0_README.md
Last active December 7, 2025 23:50
Google Calendar - Public Holiday Calendars
@domenic
domenic / promises.md
Last active November 4, 2025 20:27
You're Missing the Point of Promises

This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.

You're Missing the Point of Promises

Promises are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:

getTweetsFor("domenic", function (err, results) {
 // the rest of your code goes here.