Skip to content

Instantly share code, notes, and snippets.

View jskeates's full-sized avatar

Jake Skeates jskeates

View GitHub Profile
@jskeates
jskeates / README.md
Last active September 30, 2019 22:06
JupyterHub Demo Files

These are the configuration files used to setup the video demo shown in the presentation.

They use eksctl to setup a Kubernetes cluster with AWS EKS, and then Helm v2 to setup cluster components.

Note the cluster is hard-coded to eu-west-1a region & availability zone for simplicity, but this is not be suitable for a production setup.

@jskeates
jskeates / Dockerfile
Created December 4, 2015 13:49
Swift Dockerfile
FROM ubuntu:15.10
MAINTAINER Jake Skeates <jake.skeates@os.uk>
RUN apt-get update \
&& apt-get install -y clang curl libpython2.7 libicu55 \
&& mkdir /opt/swift \
&& curl https://swift.org/builds/ubuntu1510/swift-2.2-SNAPSHOT-2015-12-01-b/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10.tar.gz \
-o /opt/swift/swift.tar.gz \
&& tar xzf /opt/swift/swift.tar.gz -C /opt/swift --strip-components=1 \
&& rm /opt/swift/swift.tar.gz \
@jskeates
jskeates / rename.py
Last active August 29, 2015 14:10 — forked from snodnipper/rename.py
#! /usr/bin/python
import os, os.path, re
counter = 0
for root, _, files in os.walk("./"):
for f in files:
fullpath = os.path.join(root, f)
replaced = re.sub("_OST50GRID\w*", "", f)