Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
furkanmustafa /
Last active June 2, 2019 20:38
Simple Bash Script to download files from your accountUsage: "https://put-io-download-link"
PUTIO_USERNAME="your username"
PUTIO_PASSWORD="your password"
wget --http-user=${PUTIO_USERNAME} --http-password=${PUTIO_PASSWORD} --content-disposition -c $@
supinf / s3-invalidation.js
Last active January 7, 2023 08:57
AWS Lambda script:: CloudFront Invalidations which are triggered by s3 events.
View s3-invalidation.js
console.log('Loading event');
var Q = require('q');
var aws = require('aws-sdk');
var cloudfront = new aws.CloudFront();
exports.handler = function (event, context) {
//_log('Received event: ', event);
var bucket = event.Records[0];
7MinSec /
Last active April 4, 2023 13:58
Password cracking in the cloud