AWS – Writing better code in Node.js for Lambda functions

Hey, Been a while but finally its time to post some of technical information I accumulated since my last post. Today we will focus on improvements in code from the time you released something aka version 1 into a code […]

Serverless REST api for Amazon SNS

Hi! So it has been a while since I posted some technical posts. Now … this is something that touches us all – the lack of time in the jungle of ongoing projects 🙂 However today we will look into […]

AWS – API Gateway returning 502 from Lambda proxy

Hey, If you have been scratching your head why does API Gateway returns 502 and within your code there are no exceptions ? Does your API gateway response contain something like below ?   Then make sure that you are […]

.Net core JWT authentication using AWS Cognito User Pool

While working with .net core I needed to create API. For this what I aimed to have was proper authentication. Therefore I decided to use JSON Web Token (JWT) authentication. However I wanted to avoid creating any of this logic […]

Letsencrypt – simple renew in bash

Simple renew routine in bash to renew certificates with let’s encrypt.

And then just call renew using certbot and specify script as parameter for renew

  Add this to your crontab and ur done! Doing it differently ? Share […]

PKI infrastructure using Hashicorp Vault

So today we will quickly go through setting up vault as our PKI backend. Capabilities of vault are much more to what is shown here as we are just touching several out of many more options from Hashicorp Vault. Idea […]

PCEngines – APU Board and nct5104d gpio driver

The board 🙂 Today I will explain you how I managed to write my own custom driver for nct5104d under Centos running on PCEngines APU board . But before we go any further wanted to share my “big wow” to the […]

PowerShell – Creating PSObject from template

When working with PowerShell I have came across really cool way to work with PSObjects. It’s being simple as creating one of the underlying object methods. But first things first – let’s create one template object

  Thats really […]

HAproxy – backend and domain management using map

This is quick write up how to use single line for easy backend mapping within HAproxy. This has been showed to me by my buddy while challenging current configuration which started to grow. The first thing you will need to […]

STM32 Adventures – Communication using I2C

When working with STM32 using registries only it is important that you have REFERENCE MANUAL and DATASHEET available. We will use them a lot 🙂   Today we start with I2C communication protocol. Configuration of it might be a bit of […]