First try at GoLang – htmlcoder utility

First try at GoLang – htmlcoder utility

See also GitHub: https://github.com/atkaper/htmlcoder-go Intro We want to try using GoLang for some micro services at the office, so a bit of Go study was needed for me. This article shows some of the references I used to start using Go, and it has my first bit of Go code. In the last weeks, I had to decode some html entities, and used an online html decoder web form for this. So I chose to make this html decode into…

Read More Read More

Find Kubernetes Ingress Rules

Find Kubernetes Ingress Rules

Suppose you have a kubernetes cluster, which contains a large set of ingress rules, of which many are used for the same hostname (just using different context-root’s / paths). In this case it can be hard to find out which rule is used for a certain URL. To help out in this situation I have created a Linux script to make a nice overview of paths mapped to what services by which ingress rules. You still have to read through…

Read More Read More

Synology Universal Search CLI

Synology Universal Search CLI

The web-gui on a synology NAS has an application called “Universal Search”. I wanted to be able to use this from the shell command line on the NAS also to find my files, so I set out to find if that would be possible. TL;DR; See https://github.com/atkaper/synology-universal-search-cli for the end result. Or scroll down almost half way, till you find first mention of “synowebapi”. To use Universal Search, you first have to set it up using the web-gui, to index…

Read More Read More

Telephone Microphone To XLR Conversion

Telephone Microphone To XLR Conversion

My brother needed an old telephone handset to be connected to an audio amplifier, to use as microphone for his band. They were aiming for this old (fuzzy) telephone sound to use in one of their songs. After a bit of searching, I came across some instructables (see references at bottom of page), and combined and simplified them a bit, and put the stuff together. Parts list: XLR Male Connector, to connect to a “real” audio microphone cable. Small 600…

Read More Read More

Light Triggered Fan Timer

Light Triggered Fan Timer

Intro: A small weekend project, using my favorite ESP8266 (WeMos D1 Mini) controller – A Light Triggered Fan Timer – to keep the air in the smallest room fresh – but also suitable for a bathroom to remove moist air from the shower.Of course you can buy a ready-made fan, which connects to your light, and will run for half an hour when you turn the light on. But… that’s just too easy / no fun, and when building this…

Read More Read More

Micro-services Architecture with Oauth2 and JWT – Part 6 Oauth2 and Web

Micro-services Architecture with Oauth2 and JWT – Part 6 Oauth2 and Web

The last number of years I have been working in the area of migrating from legacy monolith (web) applications to a (micro) service oriented architecture (in my role of Java / DevOps / Infrastructure engineer). As this is too big of a subject to put in a single blog post, I will split this in 6 parts; (1) Overview, (2) Gateway, (3) Identity Provider, (4) Oauth2/Scopes, (5) Migrating from Legacy, (6) Oauth2 and Web. Oauth2 and Web: To-Do or not…

Read More Read More

Micro-services Architecture with Oauth2 and JWT – Part 5 From Legacy Monolith to Services

Micro-services Architecture with Oauth2 and JWT – Part 5 From Legacy Monolith to Services

The last number of years I have been working in the area of migrating from legacy monolith (web) applications to a (micro) service oriented architecture (in my role of Java / DevOps / Infrastructure engineer). As this is too big of a subject to put in a single blog post, I will split this in 6 parts; (1) Overview, (2) Gateway, (3) Identity Provider, (4) Oauth2/Scopes, (5) Migrating from Legacy, (6) Oauth2 and Web. Introduction Lets start by defining the…

Read More Read More

WebLogic Major Upgrade Without Downtime

WebLogic Major Upgrade Without Downtime

A trip down memory lane… A long time ago, in 2015, we were running an Oracle WebLogic 11G cluster, which needed to be upgraded to 12C. However, Oracle did only support rolling upgrades for minor versions, not for major versions… In the image above, you see a simplified layout of our cluster (there were more servers and instances in the real setup). Traffic comes in from the left, via a load-balancer (and some apache’s). It was spread across the managed…

Read More Read More

Micro-services Architecture with Oauth2 and JWT – Part 4 – Oauth2/Scopes

Micro-services Architecture with Oauth2 and JWT – Part 4 – Oauth2/Scopes

The last number of years I have been working in the area of migrating from legacy monolith (web) applications to a (micro) service oriented architecture (in my role of Java / DevOps / Infrastructure engineer). As this is too big of a subject to put in a single blog post, I will split this in 6 parts; (1) Overview, (2) Gateway, (3) Identity Provider, (4) Oauth2/Scopes, (5) Migrating from Legacy, (6) Oauth2 and Web. Introduction Recap: In the previous articles…

Read More Read More

Glowing Bottle

Glowing Bottle

My daughter is quite artistic (as any proud parent would say), and created a wire animal in a bottle. For this bottle she wanted some lights at the bottom (inside), but… the requirement was that no wire may go through the glass (which would have made everything lots easier of course). By total coincidence, some weeks earlier I did order some wireless power transfer kits. They contain two coils and two little electronics regulator boards to send and receive wireless…

Read More Read More