Basic Python: split string into list and slice it (Examples)

A very common problem in programming is splitting a string or a stream into it’s elements, convert it to a list and then take parts of that list for further processing. Using Python – this is a piece of cake. Anyway in my daily work I often see sysadmins and engineers writing shell scripts utilizing […]


What are the best Python books in 2016? 1

So you think about learning Python? Stop thinking about it – start doing it! Many beginners ask themselves: What would be a good programming language to start with!? Wouldn’t it be better to learn Java – since many enterprises are developing their apps in Java!? What about Ruby? What about Go / C++ / C# […]


What is Ansible? A short DevOps Introduction 1

Welcome to my short Video Introduction about Ansible. A simple yet powerful system to automate deployments and releases, to orchestrate services and to practice configuration management in a simple DevOps way. In my opinion one of the best DevOps Tools available today …     Ansible is used for: Configuration Management … It helps you […]


howto use ansible to setup a node.js gaming application 1

As IT systems become more complex and the need for better solutions to manage hundreds and thousands of services and applications increases, administrators have realized that using traditional operational methods to manage scalable systems are not working any more. Tools for configuration management and automation become essential. Such tools can be used to install a […]


Centralized Logging with ELK, Beaver and Swarm 1

The ELK stack is a powerful centralized logging solution, that can store and analyse tons of logs from different services located on multiple hosts. This can save you hours of debugging and troubleshooting, when something gets screwed. It can be compared to powerful solutions like splunk – but it is completely open source.   In […]


enterprise money burning

This will be the first post in a series about simple IT concepts. Many people are talking about DevOps today. I think the reason for this is, that the concepts and work flows in IT organizations just became far to complex. As a freelancer I have been working in big international enterprises – I have […]


rsync remote port

If you are running ssh on a non standard port you can still use rsync over ssh with the following syntax. rsync is a powerful tool to create simple backup and deployment workflows. Here are some examples with common rsync use cases … Copy files from remote to local The options “-av” are the most […]


python yum check-update howto

If you are running an rpm based Linux system like CentOS you might want to automatically and regularly check if security-updates are available. You can use existing commandline tools or python scripts. This article is about checking if linux host is up-to-date with python yum module – without scraping the cli tool. The yum commandline […]


python call constructor of parent class

python call super constructor

If you want to call the constructor of a parent class you have a couple of options. For example: In this first example we are talking about “new-style” classes. Basically these are classes that inherit from “object” ( class Parent(object) ). In this case you can call the super() method with a reference to Child […]


sed delete line

In this article I want to explain how you can use sed to automatically delete a line from a file or a stream. This can be useful in the following cases: delete the first line of a file to implement a simple resource pool (e.g. available IP addresses can be managed in a simple text […]