Skip to content

Instantly share code, notes, and snippets.

View JWDobken's full-sized avatar
🌻

Joost Döbken JWDobken

🌻
View GitHub Profile
@JWDobken
JWDobken / DeBiltRecords.json
Last active December 4, 2023 18:23
temperature records
[{"year": 1986, "week": 17, "records": [{"type": "heat", "source": "https://knmidata.nl/open-data", "date": "1986-05-03T00:00:00", "tmax_cl": 25.4, "tmax_fa": 77.7, "date_prev": "1928-05-03T00:00:00", "tmax_cl_prev": 24.3, "tmax_fa_prev": 75.7}]}, {"year": 1986, "week": 41, "records": [{"type": "heat", "source": "https://knmidata.nl/open-data", "date": "1986-10-15T00:00:00", "tmax_cl": 20.6, "tmax_fa": 69.1, "date_prev": "1949-10-15T00:00:00", "tmax_cl_prev": 20.2, "tmax_fa_prev": 68.4}]}, {"year": 1986, "week": 49, "records": [{"type": "heat", "source": "https://knmidata.nl/open-data", "date": "1986-12-08T00:00:00", "tmax_cl": 13.1, "tmax_fa": 55.6, "date_prev": "1977-12-08T00:00:00", "tmax_cl_prev": 12.3, "tmax_fa_prev": 54.1}]}, {"year": 1987, "week": 16, "records": [{"type": "heat", "source": "https://knmidata.nl/open-data", "date": "1987-04-24T00:00:00", "tmax_cl": 22.5, "tmax_fa": 72.5, "date_prev": "1930-04-24T00:00:00", "tmax_cl_prev": 21.4, "tmax_fa_prev": 70.5}]}, {"year": 1987, "week": 33, "records
@JWDobken
JWDobken / custom-ranger-server.template
Last active November 13, 2019 13:32
AWS custom templates
{
"Description": "Custom Ranger template for an EMR cluster",
"Parameters": {
"VPC": {
"Description": "VPC ID for creating the EMR cluster",
"Type": "AWS::EC2::VPC::Id"
},
"Subnet": {
"Description": "Subnet ID for creating the EMR cluster",
"Type": "AWS::EC2::Subnet::Id"
apiVersion: v1
kind: Namespace
metadata:
name: dev
---
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: example
namespace: dev
apiVersion: v1
kind: Namespace
metadata:
name: nginx-ingress
#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
rm -rf $SCRIPTPATH/manifests
mkdir -p $SCRIPTPATH/manifests
# RENDER
echo 'RENDER MANIFESTS'
## CERT-MANAGER
cp -r $SCRIPTPATH/charts/00-crds.yaml $SCRIPTPATH/manifests/ # cert-manager CRDs
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
labels:
name: letsencrypt-prod
name: letsencrypt-prod
spec:
acme:
email: EMAIL-ADDRESS
http01: {}
@JWDobken
JWDobken / fetch.sh
Created September 9, 2019 18:52
apply nginx-ingress templates
#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
mkdir -p $SCRIPTPATH/values
# FETCH
echo 'FETCH CHARTS'
## CERT-MANAGER
curl https://raw.githubusercontent.com/jetstack/cert-manager/release-0.10/deploy/manifests/00-crds.yaml -s --create-dirs -o $SCRIPTPATH/00-crds.yaml # cert-manager CRDs
helm fetch \
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JWDobken
JWDobken / gitlab-ci.yml
Created May 18, 2019 07:41
Django .gitlab-ci.yml
image: docker:latest
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_BUILD_REF_SLUG
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest