I hereby claim:
- I am stevenewey on github.
- I am stevenewey (https://keybase.io/stevenewey) on keybase.
- I have a public key whose fingerprint is 05E6 A3E4 0A45 B302 041E 09FA 8BB2 4D7F 7BB7 5D65
To claim this, I am signing this object:
diff --git a/Dockerfile b/Dockerfile | |
index aea119a..9c2b433 100644 | |
--- a/Dockerfile | |
+++ b/Dockerfile | |
@@ -4,7 +4,7 @@ WORKDIR /app | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update -qq \ | |
- && apt-get -qqq install --no-install-recommends -y libicu-dev pkg-config gcc g++ \ | |
+ && apt-get -qqq install --no-install-recommends -y git libicu-dev pkg-config gcc g++ \ |
variable "availability_zones" { | |
type = map(string) | |
description = "Availability zones to use, mapped to networks to assign" | |
default = { | |
"us-east-1a" : "172.16.0.0/18", | |
"us-east-1b" : "172.16.64.0/18", | |
} | |
} | |
locals { |
import binascii | |
import struct | |
from cryptography import utils | |
from cryptography.hazmat.primitives.asymmetric import rsa | |
def ssh_public_key(keypair: rsa.RSAPrivateKeyWithSerialization) -> str: | |
eb = utils.int_to_bytes(keypair.public_key().public_numbers().e) | |
nb = utils.int_to_bytes(keypair.public_key().public_numbers().n) |
import json | |
import redis | |
from flask import Flask, g, stream_with_context, Response | |
r = redis.StrictRedis() | |
app = Flask(__name__) | |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# | |
# Regenology interview test | |
# | |
""" | |
# | |
# Try to complete as many of these as you can in the available time. Don't | |
# worry if you can't finish, and move on to the next task if you get stuck. |
Array::summarise = (args) -> | |
count = args?.maximumItems or 3 | |
if typeof args?.property == 'string' | |
temp = [] | |
[temp.push item[args.property] for item in this] | |
else | |
temp = this[...] | |
if temp.length > 1 and temp.length <= count | |
return temp[...-1].join(', ') + ' and ' + temp[-1...] | |
else if temp.length == 1 |
@celery.task(ignore_result=True, max_retries=3) | |
def season(data): | |
competition = mongo.Competition.one({ | |
'opta_competition_id': data['competition_id'], | |
}, ['_id']) | |
if not competition: | |
raise season.retry() | |
import sys | |
raw = [ | |
[' _ ', | |
'| |', | |
'|_|' ], | |
[' ', | |
' |', | |
' |' ], | |
[' _ ', |