Skip to content

Instantly share code, notes, and snippets.

@jrothman
jrothman / all_email_provider_domains.txt
Created September 30, 2023 15:35 — forked from ammarshah/all_email_provider_domains.txt
A list of all email provider domains (free, paid, blacklist etc). Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
0-mail.com
007addict.com
020.co.uk
027168.com
0815.ru
0815.su
0clickemail.com
0sg.net
0wnd.net
0wnd.org
@jrothman
jrothman / index.js
Created January 7, 2022 05:36 — forked from amiantos/index.js
Zip Multiple Files from S3 using AWS Lambda Function
// Lambda S3 Zipper
// http://amiantos.net/zip-multiple-files-on-aws-s3/
//
// Accepts a bundle of data in the format...
// {
// "bucket": "your-bucket",
// "destination_key": "zips/test.zip",
// "files": [
// {
// "uri": "...", (options: S3 file key or URL)
@jrothman
jrothman / . GetCognitoTokenOnDemand.js
Last active September 13, 2021 16:44 — forked from antstanley/.env
Get Cognito User Token
// get cognito token on demand
@jrothman
jrothman / main.py
Last active July 25, 2020 13:42
Testing DynamoDB ConditionExpression
import boto3
from boto3.dynamodb.conditions import Attr
test1 = {
"PK": "ITEM#1",
"SK": "v0#ACTIVE#20200724T07:08:09Z",
"data": "random stuff"
}
test2 = {
@jrothman
jrothman / index.ts
Created July 3, 2020 08:15
AWS CDK ECS Sample
import * as cdk from "@aws-cdk/core";
import * as ec2 from "@aws-cdk/aws-ec2";
import * as ecs from '@aws-cdk/aws-ecs';
import * as ecs_patterns from '@aws-cdk/aws-ecs-patterns';
import { config } from "dotenv";
config();
class EcsGoAPIStack extends cdk.Stack {
constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps){
super(scope, id, props);