Ernesto blogas Posts

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 ­čÖé

Programavimas

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─»…

Maisto receptai

Galvoju, kepame ┼ía┼ílykus ir ┼íalia j┼│ naudojame pomidor┼│ pada┼ż─ů arba ke─Źiup─ů. Galima ir taip… Ta─Źiau turb┼źt visada norisi ko nors geriau, tiesa? Pabandykime susimai┼íyti pada┼ż─ů prie┼í ┼ía┼ílyk┼│ patys! Va tok─»: Mums reik─Śs: Smulkiai smulkiai supjaustykite svog┼źn─ů, sud─Śkite pomidorus, smulkiai smulkiai supjaustykite bazilik─ů ir…

Maisto receptai

Raspberry Pi ships with a bit old version of Python – 3.9. What to do, if you want to upgrade to the newer version? The only way is to download sources and compile ’em. In my case, I want to upgrade to Python…

Programavimas

Home Assistant is a great tool if you want to automate your home. However, there are slight issues with it. Based on official installation instructions, we see that we should run the Docker container or our Raspberry Pi as follows: Note the –network=host…

Programavimas

nvm is a great tool if you want to have multiple NodeJS versions . But what if you want to have nvm as a Docker image and use it? Well, you can do something like this in your Dockerfile:

Programavimas

You want to make some cocktails, but not sure where / how to start? Well, take at these tips: Some basics: If you’re not sure what to do, you can start with: Some misc tips:

Kokteiliai

Are you making a cocktail party? Are you googling for cocktails, their ingredients and proportions? No need, I got you covered. I’ve prepared list of cocktails with their ingredients and recipes in a single, easy to read format. Here you go: Cuba Libre…

Kokteiliai

I have encountered the following problem: Nasty thing. It says, that HikariCP can not acquire a new database connection and it gave up after some 30 seconds. Where is the problem? Let’s try to simulate the problem. We want to query database and…

Programavimas

A while ago we’d created docker-compose.yml for Kafka and Zookeper. Today I’ve noticed the problem with the old configuration – it looks like it does not work properly with Test Containers. So, I have replaced the old configuration with Confluent’s Kafka and Zookeeper:…

Programavimas