Skip to content

Instantly share code, notes, and snippets.

View aa2kb's full-sized avatar
Serverless

Amin Ahmed Khan aa2kb

Serverless
View GitHub Profile

Keybase proof

I hereby claim:

  • I am aa2kb on github.
  • I am aminsudofy (https://keybase.io/aminsudofy) on keybase.
  • I have a public key ASDCqjhZbddBnnfTtf8E1azb1-y4QNk8Cf3RWINDc2Aubgo

To claim this, I am signing this object:

var AWS = require('aws-sdk');
exports.handler = async (event) => {
try {
var snsParameters = {
TopicArn: process.env.SNS_TOPIC,
Message: JSON.stringify(event,null,2)
};
return await new AWS.SNS({ apiVersion: '2010-03-31' }).publish(snsParameters).promise();
}
@aa2kb
aa2kb / AWS-(CSA-ASC & CSA-PRO).md
Last active February 17, 2018 06:32 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


@aa2kb
aa2kb / cards.js
Created February 13, 2017 15:14
Cards-class
var numbers = ['ace','two','three','four','five','six','seven','eight','nine','ten','jack','queen','king'];
var suit = ['clubs','diamonds','hearts','spades'];
var deckSize = numbers.length * suit.length;
var $thedeck = [];
var playerSet = [];
const deck = class cardSet {
constructor() {
this.cards = [];
this.dealt = [];
@aa2kb
aa2kb / app.css
Created February 13, 2017 15:13
react-Commenting-System
.App {
text-align: center;
}
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 80px;
}
.App-header {