Skip to content

Instantly share code, notes, and snippets.

Avatar

IceManNCSU

View GitHub Profile
@7MinSec
7MinSec / Password_cracking_in_the_cloud.md
Last active April 4, 2023 13:58
Password cracking in the cloud
View Password_cracking_in_the_cloud.md
@supinf
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].s3.bucket.name;
@furkanmustafa
furkanmustafa / putio.sh
Last active June 2, 2019 20:38
Simple Bash Script to download files from your put.io accountUsage: putio.sh "https://put-io-download-link"
View putio.sh
#!/bin/bash
PUTIO_USERNAME="your put.io username"
PUTIO_PASSWORD="your put.io password"
wget --http-user=${PUTIO_USERNAME} --http-password=${PUTIO_PASSWORD} --content-disposition -c $@