-
Using pytest fixtures in parametrized tests
Currently i'm working on a project that is supposed to consume all AWS Cloudwatch logs and send them to Datadog. But before sending them to Datadog i need to make series of manipulations with this logs(formatting, sensitive information obfuscating and other nice things). Since Datadog already has serverless forwarder…
-
Markdown + Mindmap = ♥️
Couple times i was trying to start using mind maps for different purposes. Every time i was failign measerably because of software available on Mac OS for this purpose. Not sure why, but every tool i tried was not really intuitive and useful. Today i found out that you can…
-
How to list all lambda subscription filters to every Cloudwatch log group that you have
Recently i was working on a project that was listening to all our projects cloduwatch log groups and was forwarding them to Datadog. This adapter was doing some data enrichments of the log records and was also doing some obfuscation of sensitive data. At some point i wanted to find…
-
How to check with AWS cli if file exists in S3
Today i was working on adding history trends feature from Allure report to our Integration API Tests Framework and in order to do that i need to implement simple algorithm: Check if folder for specific group of tests history exists If it exists, copy this folder to allure-results folder Generate…
-
Fixing Docker Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup i/o timeout on Mac
I was working on a project and at some point needed to run a new docker image that wasn't on my machine. When i tried to run it I got this error: docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on…
-
How to switch between split screens in Intellij products with shortcut
I love Intellij Products. I love working in Distraction free mode with splitted screens. It can be very handy on big screens. I also love shortcuts and one of the reasons why i love Intellij products is that mostly everything i can do from keyboard and mouse becomes unnessesary in…