lubomyr myronyuk B7ZA7c6aPyM unsplash scaled - ZALANDO LOGBOOK
Java, Micronaut, Ops


Do you need http request and response logging without it polluting your business code? Use Zalando Logbook and add this aspect to your stack! In this post we will add logging for all http requests and play around with the configurations. For more in depth…

elena mozhvilo rxh2BtiSOFM unsplash scaled - UPX IMAGE
Docker, Java


Do you want smaller images with a faster startup time? Use UPX to compress your executable inside your image. Use a UPX image! For more information on the internals of UPX take a look at their website here. Or at the source code of UPX…

daniel kuruvilla tSJc5U6f1M4 unsplash scaled - JIB MAVEN PLUGIN
Docker, Java


Do you need a simple way to build docker images for your java with maven applications? Use the jib maven plugin and let maven do the heavy lifting! For a complete overview of all capabilities of the jib maven plugin take a look at the…

sander lenaerts Ywew42 sa0E unsplash scaled - NATIVE IMAGE
Docker, Micronaut


Are you looking for a way to build super fast starting images with a low memory footprint? Use GraalVM’s native image and make the difference! To skip the details on when building a native image is possible we will use a framework that advertises with…

wonderlane T MX9AIaLvU unsplash scaled - MAVEN ARCHETYPE
CI/CD, Java


Are you copying an old maven project every time you need a new one? Maybe a maven archetype is the solution for you! In this post we will create a maven archetype to quickly create a micronaut graphQL API. A different guide on how to…

hans reniers lQGJCMY5qcM unsplash scaled - MICRONAUT TESTING
gRPC, Java, Micronaut


Having trouble testing your micronaut application? Or just interested on my take on micronaut testing? Just read along! In this post we will make some integration and unit tests for a micronaut gRPC API. For a wider view of the micronaut testing capabilities look at…

age barros Xb745p9PdA4 unsplash scaled - JGITVER
CI/CD, Git


Are you looking for a easy way to handle versioning of your maven projects? Use the jgitver maven plugin! In this post we will setup the plugin and show some of the main features. For a complete overview of the plugin and its workings please…

clint adair BW0vK FA3eg unsplash scaled - GRAPHQL WITH MICRONAUT
GraphQL, Micronaut


Are you working around the clock creating new REST endpoints for you clients? Are the requirements constantly changing? Use graphQL with micronaut and give more control to the client. The graphQL website is a great place to start reading. Also the tutorial by micronaut on…

juan davila P8PlK2nGwqA unsplash - GRPCURL
gRPC, Micronaut


Are you looking for an easy way to test your gRPC endpoints? Use gRPCurl from the command line and see the result in Json. It’s basically curl for gRPC endpoints. In this post we will explore my method of exploratory testing a gRPC server. The…

paz arando AzV7Ek6gap8 unsplash scaled - GRPC WITH MICRONAUT
gRPC, Java, Micronaut


Are you sick of writing client libraries for all your clients? Do you have trouble sticking to a contract-first approache with REST? Use gRPC! Specifically gRPC with micronaut! To get familiar with micronaut check out this previous post on micronaut. The complete code for this…

taylor kiser frV94Ygm7nY unsplash - TRUFFLE SUITE


Do you want to publish smart contracts on the Ethereum blockchain? We are going to use the Truffle suite to deploy our first! In this post we are going to build a trust fund holder where you can release funds to someone after a set…

matt hardy 6ArTTluciuA unsplash scaled - FLUENT
Cloud, Docker, Helm, Kubernetes, Ops


Are you sick of going into a Kubernetes cluster to look at the logs of an application? Do you want a clear overview of the access logs over several pods? Use these tools for a fluent log experience. We are going to use fluent-bit, fluentd,…

rebecca prest aIIExV9TyxM unsplash scaled - CONTAINER SECURITY


Are you writing secure Dockerfiles? Are you scanning for security vulnerabilities of the base images you use? Use hadolint and trivy to upgrade your container security! We are going to explore two tools for writing better and more secure images: hadolint (code here on github)…

greg rakozy oMpAz DN 9I unsplash scaled - KUBECTL TOOLS


Are you tired of typing the namespace in every kubectl command? Do you keep forgetting the command for switching the kubectl context? Speed up your kubectl process with these kubectl tools! I am refering to the tools that come with kubectx. Installation On macOS I…

ivan henao 2DK CP WAuw unsplash scaled - TRAVIS CI
CI/CD, Cloud, Micronaut


Looking for a free and easy way to build your open source projects? Travis CI enables you to build, test and deploy your code in minutes! In this post we will setup a Travis CI build to get you going quickly. For a complete overview…

kristof van rentergem wpJzHTg2UA8 unsplash scaled - E2E TESTS WITH CYPRESS


Are you looking for a developer friendly end-to-end framework for your Angular projects? Create your e2e tests with Cypress! In this post we will get started with Cypress and create our first e2e test for an example angular project. For a more information on all…

henry co pjJdOE2XBRU unsplash scaled - OAS3 AND SPRING BOOT
Java, Spring Boot


Looking for an easy way to document your Spring Boot API following the OAS3 specification? Use a Springdoc documentation endpoint, for OAS3 and Spring Boot! In this post we set up Springdoc and add documentation to an example endpoint. The code for the Springdoc project…

daniel dara rhzjHWEMJYU unsplash scaled - ANGULAR WITH JEST


Do you ask yourself if there is a better testing framework for your Angular applications? Use Angular with Jest and make your tests simpler and faster! In this post we migrate an example project and discuss the main advantages I found. Take a look at…

james coleman CTEvFbFpVC8 unsplash scaled - ANGULAR HTTP INTERCEPTOR


Do you need control over all http requests of your app at once? Use an Angular http interceptor for incoming or outgoing http! In this post we will add a api-key header to all outgoing http requests and navigate to the login page for all…

daniel von appen JIb s7 w7Uk unsplash scaled - NG-APIMOCK


Are you looking for a way to mock api calls for your Angular app? Do you want to test different responses locally? Here is ng-apimock! In this post we are going to setup api mocking in a very simple app so you can see what…

marcos mayer 8 NI1WTqCGY unsplash - GPG ENCRYPTION


Do you feel lost when others talk about encryption? In this post we will get you started with GPG encryption and encrypt/decrypt our deepest secrets. We will install the gpg commandline tool to do so. GNU Privacy Guard (GPG) is an implementation of the OpenPGP…

rashid khreiss sDHrgXXCkpU unsplash - ETHEREUM REMIX


Don’t want to install stuff to get started creating smart contracts on the Ethereum blockchain? Use Ethereum remix to create and test your smart contracts! In this post we go over the basic functionalities of remix so you can get started fast. For a local…

aaron burden ob6O xd67O0 unsplash - HEROKU PLAYGROUND
Cloud, Micronaut, Ops


Do you want to deploy your applications instantly to a cloud environment? Heroku offers a free account to get you started right away! In this post we set up our Heroku playground and deploy an app. You can read more on all other possibilities of…

chuttersnap mf o1E7omzk unsplash - ETHEREUM DEVELOPER


Are you interested in blockchain development but you don’t know where to begin? In this series we will get started with developing smart contracts on the Ethereum blockchain. Your first step in becoming a Ethereum developer. The goal of this first post is to get…

ian keefe o51ZmPzv95Q unsplash - ANDROID NAVIGATION
Android, Kotlin


An Android app with only one screen can be kind of dull. Here we learn how to switch between screens with Android Navigation. We take on clicklisteners on a recyclerview, passing arguments and the famous back stack. A great way to start your journey into…

philipp berndt 5i0GnoTTjSE unsplash - ANDROID ROOM
Android, Kotlin


Did you ever consider the users of your app could have no internet connection? Android Room will store data locally enabling a smooth offline experience. In this post we will show how to store data in a Room database and abstract this mechanism away using…

lacey williams Jwh k0K QOM unsplash - ANDROID RECYCLERVIEW
Android, Kotlin


There are a lot of great places where you can get started with Android. In this post we assume you did a tutorial and go from there. We will talk about Recyclerview, ViewModels, Data Binding and more. The place where I started out with Android…

janko ferlic specialdaddy YP3WCRJzPOI unsplash - SPRING AUTOCONFIGURE
Java, Spring Boot


Ever wondered how defining a property in Spring applications can automatically configure functionality? We are going to create this ourselves with Spring autoconfigure. We are going to setup a controller with endpoint with only a dependency and a property. For a more in depth discussion…

annie spratt nob5UTb3nGs unsplash - TERMINAL ARRANGEMENT
Command line


Do you find yourself opening terminals and first resizing and arranging them before starting your commands? In this article we look at some helpful shortcuts for arranging one or multiple terminal windows with iTerm2. Personalise your terminal arrangement. For the full documentation on iTerm2 take…

edgar chaparro r6mBXuHnxBk unsplash - CHROME SESSIONBOX
Freelance, Ops


Ever found yourself opening incognito browser screens just to test your application with another account? The chrome sessionbox extension lets you create multiple sessions in separate tabs! Installing is easy via the google chrome webstore found here. Creating a new session First navigate to your…

yvette de wit NYrVisodQ2M unsplash - REVEAL.JS
Freelance, Ops, Scrum


In this post we look at reveal.js, a presentation framework from code! We discuss the benefits like importing themes and using i-frames inside the presentation. For a complete overview of all the features of reveal take a look at the on github here. Did…

marvin ronsdorf sX9 SHIqH4w unsplash - ANGULAR 8 UPGRADE


It is about time to take on the Angular 8 upgrade. In this post we will see the steps that I needed for this job. In an earlier post we made the Angular 7 upgrade and there are a lot of similarities. Let’s dive into…

sara kurfess 8UP1 Fw7GSA unsplash - PROMETHEUS ALERTING
Cloud, Kubernetes, Ops


In an earlier post we saw how to setup a Prometheus instance in our cluster. Here we create alerts on the Prometheus monitoring for when some action is needed on our pods. No need for constant monitoring with Prometheus alerting. For in depth documentation on…

bryce evans 8V8 zc0ZsZg unsplash - JAVA TO KOTLIN
Java, Kotlin


For Android developers there is a shift going on from Java to Kotlin. Here we are going to look at some Kotlin features that caught my eye. My overall impression is that it’s Java but more concise and more safe. Let’s have a look. For…

integration web
Angular, CI/CD


As an Angular developer npm install is a well known command. Copying this command to your Continuous Integration pipeline is a bad idea. Use the npm ci command instead. Here is why. We will concentrate on the differences betwee install and ci. For the complete…

sean brown EOQWxAK9aNk unsplash - TREE COMMAND
Command line


Ever been working your way down directories with alternating ls and cd? Not knowing by heart what the whole directory structure looks like can be a pain. But there is a way out with the tree command! This post is part of a series on…

alex loup aX ljOOyWJY unsplash - HTTPIE
Command line


Postman was my go to tool when I considered making a http request. That all changed when I found out httpie gives a very easy and short API precisely for this. In this post I will show why I like httpie. The full documentation can…

alex radelich 2gYsZUmockw unsplash - Z COMMAND
Command line


Working from the command line can be repetitive. Are you sick of typing the same path to a directory over and over again? Are you sometimes opening a finder to see what this path was? Z to the rescue! Now you can jump to this…

jason leung 7rR WSk4HM0 unsplash - FISH SHELL
Command line


As I gain more experience as a software developer I find myself using the command line a lot more. With this growing demand comes a growing need for powerful tools for the command line. In comes fish shell. For a complete documentation and installation guide…

gregory culmer 1330307 unsplash - JACKSON ANNOTATIONS
Java, Spring Boot


Jackson is a helpful tool when building REST API’s. In this post I will explain what Jackson annotations I use all the time. There are of course many more Jackson annotations for all situations (example tutorials here). Here we focus on the things you want…

matt howard 186811 unsplash - KUBERNETES INGRESS
Cloud, Kubernetes


In previous posts on deploying an application to a Kubernetes cluster we used a NodePort to expose the service to the outside world. Kubernetes Ingress is a separate Pod where we can control this exposure via routing, security and rate limiting. In this post we…

cloudvisual 319542 unsplash - RXJS COMBINING


In this post we show some ways to combine observables. I made a stackblitz example project to give you a working example. The RxJS part of the project will be discussed in this post on RxJS combining. Disabled while loading We start out with 2…

andy hall 492246 unsplash - RXJS MULTICASTING


Most of the time you want to do multiple things with data you have. This post is on how to share this data in multiple observables: RxJS multicasting. For more examples on RxJS multicasting got to this learn-rxjs site. Say we have an api call…

jamie street 368704 unsplash - RXJS ERROR HANDLING


Errors are first class citizens in reactive programming. The error flow is adopted as a valid case of all observables. This is an essential and great feature but also one of the less understood parts. In this post we explore some of the most common…

claudia ramirez 1134444 unsplash - MULTIPLE GIT USERS
Freelance, Git


Ever wanted to commit something with a different git user? Maybe your employer provided a user for you? Here are some strategies. For more detailed information of the commands in this post please visit the git config documentation. Switch git user for one repository Suppose…

annie spratt 723013 unsplash - UPGRADING TO ANGULAR 7


Keeping up with the latest version of Angular is good practise. In this post I will take you through the steps I took with my projects upgrading to Angular 7. You could also take a look at this upgrading tool by Angular to help with…

chase clark 509092 unsplash - MOVE A GIT REPOSITORY


This week we moved our git repositories to a new platform used in the company. This operation is simpler than a move from say SVN to git. Still here are some points not to overlook. It is always a good idea to take a closer…

elevate 755033 unsplash - VAT DECLARATION


As a freelancer you are responsible for your own taxes. Some get an accountant to this but there is not much to it if you break it down. Here we discuss the VAT declaration, BTW in dutch. VAT are the taxes you charge on the…

daiga ellaby 154936 unsplash - ANGULAR VIEWCHILD


When you want to control a child component, directive or DOM element from its parent component, you can use the Viewchild decorator in Angular. Viewchild returns the first element that matches a give child component, directive or DOM element and updates it if the reference…

freestocks org 728031 unsplash - GIT CHERRY-PICK


Ever been in the situation where you want a change from another branch but not all? I did… and ended up merging everything and reverting all the things I didn’t need. Turns out git has a command for this! Git cherry-pick. The official documentation can…

jordan harrison 1208586 unsplash - RXJS FLATTENING


From functional programming we all know map and flatMap. With reactive programming just flattening is not enough information. We have to make a decision about what to do when either the observables emit the next element or complete. We have the following choices: mergeMap — deciding not…

erico marcelino 235177 unsplash - ANGULAR 6 TREE SHAKING


Working in reasonably big companies for the last years I’ve come across big Angular projects. As you would expect these projects were modular projects consisting of a bunch of modules. One of the things I never took in consideration was ‘tree shaking’. You can read…

markus spiske 771011 unsplash - NPM PEER DEPENDENCIES


Comming from the java world I realised npm resolves dependencies differently than for example maven. Maven demands one unique version of a dependency amongst who depend on it. This sometimes results in a so called ‘dependency hell’. Here we talk about peer dependencies that come…