Skip to content

Instantly share code, notes, and snippets.

Matt Fuller matthewdfuller

Block or report user

Report or block matthewdfuller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cloudsploit_cla.txt
To: CloudSploit, LLC (“Recipients”): I, the undersigned, hereby irrevocably assign all of my right, title and interest in and to my past, present and future contributions to the CloudSploit Open Source Project ( (“Contributions”) to Recipient, and irrevocably waive and release all rights and claims in respect thereof (including all moral rights or similar rights), without the right to receive any compensation or royalties.
I hereby represent and warrant that I am the sole author of the Contributions, which are my original creations, that I have the legal right to make the assignment set forth above, and that no Contributions are subject to any claim of ownership or otherwise by my employer or any other organization with which I may be affiliated in any way.
matthewdfuller / formatDate.js
Last active Nov 6, 2015
Formats a JavaScript date with leading zeros
View formatDate.js
var date = new Date();
var dateString = date.getFullYear() + '/' + ('0' + (date.getMonth()+1)).slice(-2) + '/' + ('0' + date.getDate()).slice(-2) + ' ' + ('0' + date.getHours()).slice(-2) + ':' + ('0' + date.getMinutes()).slice(-2) + ':' + ('0' + date.getSeconds()).slice(-2);
matthewdfuller / awsDownloadFilesInBucket.js
Created Mar 20, 2015
List and download all files in a given S3 bucket
View awsDownloadFilesInBucket.js
/* Installation:
* npm install aws-sdk
* npm install async
* node awsDownloadFilesInBucket.js
var AWS_KEY = '';
var AWS_SECRET = '';
var BUCKET = '';
matthewdfuller / awsSSLv3.js
Last active Aug 29, 2015
Queries AWS for all load balancers and iterates through each, checking if they support SSLv3 to protect against POODLE
View awsSSLv3.js
// Created in response to the POODLE SSLv3 security vulnerability
// To use, node/npm is required, then run:
// npm install aws-sdk
// npm install async
// node awsSSLv3.js
var AWS = require('aws-sdk');
var async = require('async');
matthewdfuller / callingCodesSorted.json
Last active Aug 29, 2015
JSON object mapping of country calling codes sorted by code
View callingCodesSorted.json
"US": "+1",
"EG": "+20",
"ZA": "+27",
"GR": "+30",
"NL": "+31",
"BE": "+32",
"FR": "+33",
"ES": "+34",
"HU": "+36",
matthewdfuller / callingCodes.json
Created Aug 18, 2014
JSON object mapping of countries to calling codes
View callingCodes.json
"AD": "+376",
"AE": "+971",
"AF": "+93",
"AG": "+1268",
"AI": "+1 264",
"AL": "+355",
"AM": "+374",
"AN": "+599",
"AO": "+244",
matthewdfuller / slowdown.js
Created May 7, 2014
Demonstrate what a loss of net neutrality could mean for users by adding this simple script to your website
View slowdown.js
var SPEED = 40;
var TEXT = 'Site loading slowly? Without net neutrality, this could become the norm. Learn more at <a href=""></a>.'
var overlay = document.createElement('div');
overlay.innerHTML = '<p>' + TEXT + '</p>';
var docHeight = document.body.scrollHeight; = 'block'; = "fixed"; = "0px";
You can’t perform that action at this time.