Ernesto blogas Posts

If you want to run Docker Compose with Kafka and Zookeeper, you could use the following code:

Programavimas

Turbūt visi girdime, kas vyksta Baltarusijoje. Beklausant naujienų pranešimų, man pradėjo kirbėti galvoje, kad situacija primena kažką. Ir tikrai – prisiminiau ką. Ir vėlgi, kaip ir straipsnio apie Melą ir dezinformaciją atveju, tai man priminė skaitytas knygas apie Šaltąjį karą arba laikotarpį po…

Uncategorized

Turiu tokį hobį – mėgstu skaityti knygas. Ir nemažai laiko praleidau skaitydamas, kaip veikia įvairios žvalgybos tarnybos Šaltojo karo metu. Kas keisčiausia – tie “seni” veiklos principai labai puikiai veikia ir šiuolaikiniame pasaulyje. Norite pavyzdžio? Tai, kas dabar vadinama “fake news”, lietuviškai verčiamos…

Uncategorized

I had a slight issue, of how to start MySQL server by using Docker Compose. So, I came up with the following configuration: Works 🙂

Programavimas

I have just started working with a Gradle project, that needs a simple way of incrementing its version. And I came up with a simple solution. Project’s version is following the standard: major.minor.patch. So, first of all create a version.properties file that looks…

Programavimas

In order to run GitLab and GitLab Runner on your local PC, simplest way is to create docker-compose.yml file and add the following content to it: Once it’s up and running, you can access GitLab via http://localhost/ by using username root and the…

Programavimas

Programavimas

One day I got tired of entering ssh mycoolusername@my.awesome.server.com Because my username is the same on all the servers. So, what I did – I’ve created a file and added a default username for the servers: $ cat ~/.ssh/configCanonicalizeHostname yesHost *.my.awesome.server.com User mycoolusername…

Programavimas

You create a tag in GIT, accidentally pushed it into remote repository. But after some time you understood that you don’t want it. So, how can you remove a tag in GIT? You can do this easily by:git tag -d NAME_OF_YOUR_BAD_TAGgit push origin…

Programavimas

You have edited one file in GIT version control system and you want to reset (revert) changes in this file. How can you do that? Everything is simple: use checkout — in the command line. For instance:

Programavimas