Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓
meh!

ABHAY MANIYAR abhaymaniyar

🤓
meh!
View GitHub Profile
@vaskoz
vaskoz / builder.go
Last active Oct 25, 2020
Golang Builder pattern
View builder.go
package main
import "strconv"
import "fmt"
type Color string
type Make string
type Model string
const (
@RyanBalfanz
RyanBalfanz / upload.py
Last active Nov 14, 2020
[Heroku] Direct to S3 File Uploads in Python
View upload.py
"""
Fix for some issues with the original code from Heroku:
https://devcenter.heroku.com/articles/s3-upload-python
This example is also designed for use with Django, not Flask as in the original.
"""
import base64
import hashlib
import hmac
You can’t perform that action at this time.