Skip to content

Instantly share code, notes, and snippets.

lothar schulz lotharschulz

Block or report user

Report or block lotharschulz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lotharschulz / lotharschulz-hellogo:build.docker-cache–0.2.91 CVEs
Created Oct 5, 2018
lotharschulz/hellogo:build.docker-cache–0.2.91 CVEs identified with Clair and klar
View lotharschulz-hellogo:build.docker-cache–0.2.91 CVEs
║ CVE ║ Found in ║
lotharschulz / docker images build, push, pull time
Created Oct 5, 2018
Docker base image sizes & push and pull times as of circleCi hellogodocker build 91
View docker images build, push, pull time
║ base image ║ Docker build category ║ command ║ image build (circleCI) ║ image size ║ image size compressed ║ push to Dockerhub (from circleCI) ║ pull from Dockerhub (from circleCI) ║
║ golang:1.11 ║ default ║ docker build ║ 3.025s ║ 783 MB ║ 299 MB ║ 4.618s ║ 21.271s ║
║ golang:1.11 ║ default ║ docker
lotharschulz / numberString2individualCharacters.kt
Last active Aug 5, 2018
Kotlin: sample code that converts individual characters of a string to Integers
View numberString2individualCharacters.kt
fun main(args: Array<String>) {
val someText = "ABC1234567890"
for (i in (0 .. (someText.length-1))){
println(" number[$i]: ${someText[i]}")
println("(number[$i] is Char): ${(someText[i] is Char)}")
/* toInt return ascii dev code of a Character,
_not_ the Character as Int in case of numbers */
println(" number[$i].toInt(): ${someText[i].toInt()}")
println(" number[$i].toString().toIntOrNull(): " +
lotharschulz /
Last active Jul 21, 2018
my lightroom favourite shortcuts

my favourite lightroom shortcuts (mac)

  • dev module

    • previous button

      alt + cmd + v

    • sync button

View kubeflow deployment
# Create a namespace for kubeflow deployment
# start kubernetes cluster using minikube
minikube start
# create the kubeflow namespace
kubectl create namespace ${NAMESPACE}
# ksonnet package versions
View aboutme
name: Lothar Schulz
work: REACH NOW (Daimler/BMW)
location: Berlin
slide decks:
View minikube loadbalancer and ingress
# prerequsites: scala, sbt, docker, minikube, kubectl, local registry, project's docker images in local registry
kubectl create -f minikube-deployment-config.yaml
kubectl expose deployment akkahttpplayground-deployment --type="LoadBalancer" --port=8181 -target-port=8181
minikube service akkahttpplayground-deployment # opens browser window
minikube addons enable ingress
kubectl create -f minikube-ingress.yaml
echo "$(minikube ip)" | sudo tee -a /etc/hosts
# check the service
View ghe-backup-kms-policy-sample
"Version": "2012-10-17",
"Statement": [
"Sid": "Stmt1441892073456",
"Effect": "Allow",
"Action": [
"Resource": [
lotharschulz / ghe-backup-senza-yaml
Created Feb 22, 2016
ghe backup sample senza.yaml file
View ghe-backup-senza-yaml
# basic information for generating and executing this definition
StackName: hello-world
- ImageVersion:
Description: "Docker image version of hello-world."
# a list of senza components to apply to the definition
# this basic configuration is required for the other components
- Configuration:
You can’t perform that action at this time.