Pagalvojau, kad laikas išsikepti ką nors naujo ir skanaus. Pavyzdžiui, naują šašlykų receptą. Bandome: Supjaustome svogūnus griežinėliais, sumetam į indą, užbarstome druskos (nepagailėkit). Rankomis TVIRTAI suspaudome svogūnus, kol jie taps minkštoki ir tokie šlapi – reiškia, išsispyrė sultys. Gerai. Paimame petražoles, nupjaustome blogus…
Author: <span>Ernestas Kardzys</span>
TestContainers is a great tool if you want to run integration tests and require a database. They even have support for MongoDB. This MongoDB support works for simple use cases. But what if you want to run MongoDB with username and password? Unfortunately,…
In the world of coding, there’s a common puzzle – should you try to fix a problematic software or just start over from scratch? It’s a question that bugs developers on the regular. Let’s dive into the whole fixing versus rewriting dilemma that…
I am working on a project, which has some issues with tests. Basically, they all run quite slow and I was curious, how can I improve the performance of these tests? Well, one improvement is simple – run tests in parallel. Of course,…
If you use Liquibase in your project, at some point you might want to add index to your tables. Something like: But you would get an error, saying that “CREATE INDEX CONCURRENTLY cannot run inside a transaction block”. After some googling you find…
I want to install Home Assistant on my Raspberry Pi and I have followed the official instructions: https://www.home-assistant.io/installation/raspberrypi/#install-home-assistant-core However, I had very little luck. So, I had decided to make my own instructions on how to install Home Assistant on Raspberry Pi. First…
A while ago I’ve written an article about Git and semantic versioning. All is cool and nice, but what if you don’t need that much complex stuff and just need a simple, minor version increase ? Well, you can do like this: Simple…
If you want to split unit and integration tests in Kotlin and Gradle, do the following: And, that’s it 🙂 If unit tests fail, integration tests won’t be run. Problem solved 🙂
Norisi ko nors aštriau prie šašlykų? Galime pasidaryti ar nusipirkti padažo. Tačiau galime ir pasimarinuoti aštrių svogūnų. Pabandykime, tikrai verta. Rezultatas atrodys maždaug taip: Mums reikės: Svogūnus supjaustyti pusžiedžiais, papriką supjaustyti griežinėliais (nepamirškite išimti sėklų), sudėkite juos į stiklainį sluoksniais (aš naudojau stiklainį…