Skip to content

Instantly share code, notes, and snippets.

View austinbrian's full-sized avatar

Brian Austin austinbrian

View GitHub Profile
import contextlib
import os
import tempfile
half_lambda_memory = 10**6 * (
int(os.getenv('AWS_LAMBDA_FUNCITON_MEMORY_SIZE', '0')) / 2)
@contextlib.contextmanager
@austinbrian
austinbrian / 0_reuse_code.js
Created April 1, 2017 16:41
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