Skip to content

Instantly share code, notes, and snippets.


Vlad Barboni barboni

  • Finanzchef24
  • Munich, Germany
View GitHub Profile
barboni / 0_reuse_code.js
Created Aug 9, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View s3Helpers.js
if (sse) {
headers = {
"x-amz-server-side-encryption-customer-key": btoa(privateKey),
"x-amz-server-side-encryption-customer-key-MD5": md5b64(privateKey),
"x-amz-server-side-encryption-customer-algorithm": "AES256"
function md5b64(data) {
return CryptoJS