LEDCircleClock Revisited

LEDCircleClock Revisited

A good friend of mine (Milo) was featured last year on Hackaday with a post about building a circular LED clock. See Milo’s GitHub repository for the original code/version and build instructions. I did build his project, and added some more effects / animations / features. For this new extended version, see my GitHub repository: https://github.com/atkaper/LEDCircleClock . I did not 3d-print the proper case for the clock yet. For now I just put it in a picture frame, with a…

Read More Read More

Macro Keypad

Macro Keypad

I thought that since working from home those last two years, it would be a nice gadget to have a toggle button to enable/disable the microphone when using MS-Teams for online video meetings. But a macro keypad with just one button is a bit silly, so I decided to go for 8 buttons. I did not really think too deep, and came to these functions for now:  toggle microphone in ms-teams.  toggle video in ms-teams.  open a…

Read More Read More

Kubernetes: Isolate Crashed Pod

Kubernetes: Isolate Crashed Pod

Introduction If you are running your pod (services / containers) on a Kubernetes cluster, and the pod runs into problems, you can decide to take it out of the load, but keep the pod running for further investigations. TL;DR; See the notes section on this site for the short summary; Note: Kubernetes Isolate Crashed Pod Kubernetes Recap Lets start with a summary of the Kubernetes components which are involved, here is a small (simplified) recap of how the parts fit…

Read More Read More

Vikeying

Vikeying

Description Enable special functions on the CAPS-LOCK key, to support VI users 😉 This script was created by me as a sort of “study” object, not for any serious use. A colleague of mine has created a Linux kernel module to modify his keyboard behaviour to what is described in this document. I was just wondering if it would be possible to create the complex logic he needed, without having to make a kernel module. As maintaining a kernel module…

Read More Read More

GoLang – htmlcoder utility

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