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 October 17, 2024 08:25
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 12, 2024 04:39
Password cracking in the cloud
@taskylizard
taskylizard / fmhy.md
Last active November 7, 2024 13:52
/r/freemediaheckyeah, in one single file (view raw)