Skip to content

Instantly share code, notes, and snippets.

View aliscco's full-sized avatar
🐋
I may be slow to respond.

Ali mazloum aliscco

🐋
I may be slow to respond.
View GitHub Profile
@aliscco
aliscco / base-stack-vpc-rds-cloud-9.ts
Created July 13, 2021 03:08 — forked from fourgates/base-stack-vpc-rds-cloud-9.ts
AWS CDK Stack - VPC ,4AZ, 1NG, Secret Manager, AWS Aurora replication, Clouud9
import * as cdk from '@aws-cdk/core';
import * as ec2 from '@aws-cdk/aws-ec2';
import * as secretsManager from '@aws-cdk/aws-secretsmanager';
import * as ssm from '@aws-cdk/aws-ssm';
import { ISecurityGroup, SecurityGroup } from '@aws-cdk/aws-ec2';
import * as rds from '@aws-cdk/aws-rds';
import * as cloud9 from '@aws-cdk/aws-cloud9';
export interface CdkBaseStackProps extends cdk.StackProps {
stage: string,
@aliscco
aliscco / playground.rs
Created June 21, 2021 23:28 — forked from rust-play/playground.rs
Code shared from the Rust Playground
fn mock<T: Into<String>, I: IntoIterator<Item = T>>(_: I) {}
struct Merchant<'a> {
name: &'a str,
billing_portal: &'a str,
billing_period: &'a str,
stripe_id: Option<&'a str>,
}
fn merchant() -> Merchant { unimplemented!(); }