Skip to content

Instantly share code, notes, and snippets.

View IceManNCSU's full-sized avatar

IceManNCSU

View GitHub Profile
@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"
#!/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 $@
@supinf
supinf / s3-invalidation.js
Last active January 7, 2023 08:57
AWS Lambda script:: CloudFront Invalidations which are triggered by s3 events.
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;
@7MinSec
7MinSec / Password_cracking_in_the_cloud.md
Last active August 24, 2023 14:24
Password cracking in the cloud
@taskylizard
taskylizard / fmhy.md
Last active April 25, 2024 08:02
/r/freemediaheckyeah, in one single file (view raw)