Skip to content

Instantly share code, notes, and snippets.

Avatar

Mark remarkablemark

View GitHub Profile
View cell-carrier-to-email-domain.json
{
"Alaska Communications": "msg.acsalaska.com",
"AT&T Wireless": "txt.att.net",
"Bell Mobility": "txt.bell.ca",
"Bell MTS": "text.mts.net",
"Bluegrass Cellular": "sms.bluecell.com",
"Boost Mobile": "myboostmobile.com",
"Cellcom": "cellcom.quiktxt.com",
"Chatr": "pcs.rogers.com",
"Consumer Cellular (AT&T)": "mms.att.net",
View async-rejected.js
(async () => {
try {
await Promise.reject('reason');
} catch (error) {
console.log(error); // 'reason'
}
})();
View async-fulfilled.js
(async () => {
const result = await Promise.resolve('value');
console.log(result); // 'value'
})();
You can’t perform that action at this time.