Skip to content

Instantly share code, notes, and snippets.

View mgoldbas's full-sized avatar

Maxwell Goldbas mgoldbas

View GitHub Profile
createuser airflow --superuser
import random
import turtle
tina = turtle.Turtle()
tina.speed(0)
#firework color
def pen(colour):
tina.color(colour)
pen('red')
@mgoldbas
mgoldbas / GDPR-v1.sol
Created January 24, 2018 21:00
GDPR Ethereum Smart Contract
pragma solidity ^0.4.11;
contract gdprDataStore{
string firstName;
string lastName;
uint32 age;
bool accessible = true;
address admin;
from pprint import pprint
import requests
postdata = {
"cluster_name": "deploy_test_cluster"
,"spark_version": "3.3.x-scala2.11"
,"node_type_id": "r4.xlarge"
,"autoscale":{
"min_workers": 2,
"max_workers": 4,
0x546343cca7fA583efc33db2Bc71Bd3DF430d6Ebc