How to gracefully shutdown java application

2020-08-23 23:08:13 - No Comments

Shutting down a java application gracefully is required to handle java scaling in kubernetes. Shutdown is handled via a hook in java and I’m doing an live coding example where I add code to wait until process is done.

Read more →

Linux by example – Less, gzip, iproute, make and patch

2020-08-21 23:08:17 - No Comments

We are in our new linux environment and create some more packages. Less – read files gzip – for compression iproute – to change network device configuration make – a build system libpipeline – to give piping functionallity man-db – the manual database.

Read more →

Linux by example – Check, Gawk, Findutils and GRUB

2020-08-17 15:08:29 - No Comments

We are in our new Linux environment and create some more packages. Check – To test C builds Gawk – To manipulate text diffutils – To check for changes findutils – To find files and directories GRUB – The boot manager

Read more →

Quick way to build rest api in python (Swagger / OpenAPI)

2020-08-16 23:08:26 - No Comments

We look at how we can build rest API in python quickly. This quick guide is using FastAPI in order to create a quick API using python and SQL Alchemy. Rest API showing in OpenAPI and even redoc format is a really nice way to document your code.

Read more →

How to create 3d moving pictures using neural network

2020-08-09 23:08:12 - No Comments

We create a moving 3d image from pictures using a neural network. This new machine-learning algorithm uses mannequin videos to create pictures for the network to train on and create a depth map to rotate pictures in 3d.

Read more →

Linux by example – Coreutils, python and build tools

2020-08-07 23:08:22 - No Comments

We are in our new linux environment and create coreutils, python, ninja and meson. Talking about their usages and the importance of the utils in the core of linux.

Read more →

Creating docker image from scratch and adding to local registry

2020-08-02 23:08:17 - No Comments

We will create an image from scratch in docker and add that to a docker registry so we can reuse that image when we create new docker instances, controlling the whole flow. Working with docker and registry First of we install the docker client, server and registry on our debian machine. apt install docker docker.io […]

Read more →

Linux by example – Gettext and OpenSSL

2020-07-31 23:07:21 - No Comments

We are in our new linux environment and create gettext and OpenSSL, talking about internationallization and website security.

Read more →

The complete upgrade debian guide

2020-07-26 23:07:08 - No Comments

We upgrade Debian using a simple guide to go from Jessie to buster and looking at the different upgrade steps required to guide you through the process to get your Debian upgraded. Upgrade from Debian Jessie to Buster First of we ensure that the current installation is as upgraded as possible and that all the […]

Read more →

Linux by example – Automake and Autoconf

2020-07-24 23:07:27 - No Comments

We are in our new linux environment and create automake and autoconf used to generate configuration scripts for building more packages in your system.

Read more →

Install a progressive web app on Android [bubblewrap]

2020-07-19 23:07:04 - No Comments

We use Bubblewrap to install a progressive web app on android. Bubblewrap will create a signed Android APK from the progressive web app manifest and install it on your phone or upload it to Google play store.

Read more →

Linux by example – Grep and Bash

2020-07-17 23:07:26 - No Comments

We are in our new Linux environment and create BASH the Bourne Again SHell that we will use for our command-line environment and grep to find text using regular expressions.

Read more →