Circle Image

Simon Pirschel

DevOps Specialist
@Karlsruhe, Germany
ubuntu

Docker version pinning for Kubernetes on Ubuntu

Kubernetes supports the container engine Docker only up to a specific version (currently 17.03). For that it needs to be ensured that apt wouldn’t update Docker to any unsupported version. The base installation of Docker...

format_align_left Read Article
python

Python 3 type checking and data validation with type hints

Type hints are one of my favorite features in Python 3. Starting with Python 3.0 PEP 3107 – Function Annotations introduced function annotations and was later enhanced by PEP 484 – Type Hints in Python...

format_align_left Read Article
python

Azure ActiveDirectory OAuth2 JWT Token Validation with Python

Just finished integrating Azure ActiveDirectory OAuth2 with a Python Web API using the following authentication scenario. The JWT token is requested through a web application and passed to the Web API for resource access. The...

format_align_left Read Article
automation

How to create an Ubuntu 16.04 AWS EC2 AMI with Salt Minion pre-installed

Creating your own AMIs with AWS EC2 is pretty simple. You basically create a new EC2 instance, based on some image, modify the instance to your liking, shutdown the instance and create an AMI based...

format_align_left Read Article
tools

Save credentials for Git HTTP/HTTPS auth with credential.helper

Recently I was annoyed by typing in my credentials for Git HTTP/HTTPS auth all the time. On my search for a solution I found the credential.helper. With the git-credential-cache Git will cache your credentials for...

format_align_left Read Article
python

ciso8601 vs mxDateTime vs udatetime

In my last performance comparison I compared libraries with non performance goals with datetime and udatetime, to illustrate the impact of your library choice. Arrow, Pendulum and Delorean are awesome choices when it comes to...

format_align_left Read Article
python

datetime vs Arrow vs Pendulum vs Delorean vs udatetime

The big alternatives to Python datetime all share similar goals. These goals are ease of use, simplicity and intelligent/user friendly API design. Awesome goals and I love those libraries for investing a lot of effort...

format_align_left Read Article
python

udatetime now with ultra fast PyPy support

I just finished the performance optimized pure Python implementation of my RFC3339 date-time library udatetime for PyPy and Python 3.5. The benchmark say PyPy is now officially the fastest with udatetime. Again it’s astonishing how...

format_align_left Read Article
python

udatetime a fast RFC3339 compliant date-time Python library

Working with date-time formats can be pretty upsetting because of the variate of different formats people can come up with. date-times are used everywhere not just only logging or meta data in database entries and...

format_align_left Read Article
ubuntu

Fix Ubuntu 16.04, external monitor flickering and turning off on Intel i915.

If you experience constant screen flickering and your external monitor turning off every other 3-5 seconds on a Intel i915, here is how I fixed the issue. Update kernel First get and install the current...

format_align_left Read Article