-
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…
-
AWS: ReInvent. Performing chaos engineering in a serverless world
Thanks to my current employer New10 I was lucky to get to AWS:ReInvent conference this year in Las Vegas. I would like to share my notes on the talks I'm joining, while my memory is "fresh". My first talk was "Performing chaos engineering in a serverless…
-
Fixing GPG Error Code 2 on Mac OS
Recently i was trying to publish a new version of my fabricator library. I haven't touched it in a while and it appeared that my setup got a bit outdated. I had to update GPG agent and client, so when i tried to do sbt clean publishSigned i suddenly got…
-
How to fix "Could not execute the lambda function. Make sure you have given CloudWatch Logs permission to execute your function" error in AWS
I've been banging my head around this Could not execute the lambda function. Make sure you have given CloudWatch Logs permission to execute your function error for couple hours. Was trying to update IAM role for the lambda with different combination, but no luck. After couple times reading documentation i…