Skip to content

Instantly share code, notes, and snippets.

View boxcee's full-sized avatar
🚴
8000 Watt

Moritz Schmitz von Hülst boxcee

🚴
8000 Watt
  • Leipzig, Germany
View GitHub Profile
@boxcee
boxcee / stack.yaml
Created January 29, 2021 21:32
kubernetes/express
---
apiVersion: v1
kind: ConfigMap
metadata:
name: express
data:
index.js: |
const express = require('express')
const app = express();
const port = 3000;
@boxcee
boxcee / rancher-terraform.tf
Created May 19, 2020 07:33
Failed to communicate with API server: Unauthorized
provider "google-beta" {
project = var.gke_project_id
}
data "google_client_config" "google_client_config" {
provider = google-beta
}
provider "kubernetes" {
load_config_file = false
@boxcee
boxcee / dtar.sh
Created October 15, 2019 15:03
run tar from ubuntu docker
#!/usr/bin/env bash
CWD=$(pwd)
docker run --rm -it -v ${CWD}:/${CWD} ubuntu:18.04 /bin/bash -c "cd ${CWD} && tar ${1} ${2} ${@:3} && chmod 006 ${2}"