Skip to content

Instantly share code, notes, and snippets.

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

Rodrigo sykire

🏠
Working from home
View GitHub Profile
@sykire
sykire / utils.py
Last active September 17, 2019 22:07 — forked from cxasper/utils.py
from os.path import basename
class EditImgUploadS3:
def __init__(self):
self.s3 = boto3.resource('s3')
self.region = os.getenv('AWS_STORAGE_REGION')
self.bucket = os.getenv('AWS_STORAGE_BUCKET_NAME')
def upload_object(self, image):
new_image = self.draw_rectangle(image)
@sykire
sykire / 0_reuse_code.js
Last active August 29, 2015 14:06
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