Skip to content

Instantly share code, notes, and snippets.

View CreetureFeeture's full-sized avatar
🏠
Working from home

Kelly Kuhl CreetureFeeture

🏠
Working from home
View GitHub Profile
@CreetureFeeture
CreetureFeeture / S3 bucket sync
Created May 16, 2018 16:48 — forked from andrewschoen/S3 bucket sync
Python script to sync an S3 bucket to the local file system
# -*- coding: utf-8 -*-
import os
import StringIO
import hashlib
try:
from boto.s3.connection import S3Connection
from boto.s3.key import Key
except ImportError:
raise ImproperlyConfigured, "Could not load Boto's S3 bindings."
@CreetureFeeture
CreetureFeeture / ampscript cheat sheet.txt
Created August 21, 2017 18:12 — forked from FaldoAU/ampscript cheat sheet.txt
Dave's AMPScript Cheat Sheet
// Dave's AMPScript cheat sheet.
// AMPScript is ExactTarget (SFDC Marketing Cloud)'s server side scripting language.
// It's a bit of a pig, plus the docs are numerous and the examples aren't contextual.
// This assumes you don't need hand holding, and just need to get your head around it.
// It's also my reference for the snippets I use all the time (I'm a formatting stickler).
// These examples come from microsites I've written - adapt 'em for use elsewhere.
// Multi line AMPScript %%[contained within delimiters]%% gets interpreted on the server.
@CreetureFeeture
CreetureFeeture / 0_reuse_code.js
Created May 19, 2014 12:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console