Skip to content

Instantly share code, notes, and snippets.

flex-flow:column-reverse wrap-reverse;
justify-content:center;
align-content:space-between;
@jeremypruitt
jeremypruitt / sns-publish
Last active August 19, 2022 18:09
AWS Lambda function to publish to SNS topic
console.log('Loading function');
var AWS = require('aws-sdk');
AWS.config.region = 'us-west-2';
exports.handler = function(event, context) {
console.log("\n\nLoading handler\n\n");
var sns = new AWS.SNS();
sns.publish({
@kevinlin311tw
kevinlin311tw / _readme.md
Last active September 12, 2018 06:15
Deep Learning of Binary Hash Codes CIFAR10
@Su-Shee
Su-Shee / gist:5d1a417fa9de19c15477
Last active April 12, 2024 11:27
Falsehoods Programmers Believe About "Women In Tech"

Falsehoods Programmers Believe About "Women In Tech"

  • We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.

  • We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.

  • We're not laughing about your joke, so we clearly need you explain it to us. In great detail.

  • We're only in tech to find a husband, boyfriend or generally to get laid.

@ktheory
ktheory / dd.log
Last active November 10, 2023 23:41
EC2 EBS-SSD vs instance-store performance on an EBS-optimized m3.2xlarge
# /tmp/test = EBS-SSD
# /mnt/test = instance-store
root@ip-10-0-2-6:~# dd bs=1M count=256 if=/dev/zero of=/tmp/test
256+0 records in
256+0 records out
268435456 bytes (268 MB) copied, 3.26957 s, 82.1 MB/s
root@ip-10-0-2-6:~# dd bs=1M count=256 if=/dev/zero of=/tmp/test
256+0 records in
256+0 records out
@keune
keune / RollingStone Top 500 Song
Created May 25, 2014 16:55
Json list of Rolling Stone's 500 greatest songs of all time
{"lastUpdateDate":"2014-05-25","data":[{"position":"1","artistTitle":"Bob Dylan","songTitle":"Like a Rolling Stone"},{"position":"2","artistTitle":"The Rolling Stones","songTitle":"(I Can\\'t Get No) Satisfaction"},{"position":"3","artistTitle":"John Lennon","songTitle":"Imagine"},{"position":"4","artistTitle":"Marvin Gaye","songTitle":"What\\'s Going On"},{"position":"5","artistTitle":"Aretha Franklin","songTitle":"Respect"},{"position":"6","artistTitle":"The Beach Boys","songTitle":"Good Vibrations"},{"position":"7","artistTitle":"Chuck Berry","songTitle":"Johnny B. Goode"},{"position":"8","artistTitle":"The Beatles","songTitle":"Hey Jude"},{"position":"9","artistTitle":"Nirvana","songTitle":"Smells Like Teen Spirit"},{"position":"10","artistTitle":"Ray Charles","songTitle":"What\\'d I Say"},{"position":"11","artistTitle":"The Who","songTitle":"My Generation"},{"position":"12","artistTitle":"Sam Cooke","songTitle":"A Change Is Gonna Come"},{"position":"13","artistTitle":"The Beatles","songTitle":"Yesterday"