Ernesto blogas Posts

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…

Programavimas

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…

Uncategorized

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