Category: <span>Programavimas</span>

Programavimas

Programavimas

In order to know how long it takes to get a response from external system, we could use curl: If you don’t need to see response, add -o parameter: curl -o /dev/null -s -w ‘Total: %{time_total}s\n’ ‘http://www.example.net/some/url/here’

Programavimas

You have two versions of JDK – let’s say Java 11 and Java 17 installed on your Mac. And you want to switch between default version – how could you do that? It’s simple. First of all, let’s figure out what Java versions…

Programavimas

Programavimas

I use Kafka in my Docker Compose file. My docker-compose.yaml looks like this: Unfortunately, when I start and restart Kafka’s instance in Docker Compose I was constantly getting random errors. After some googling, I found that KAFKA_ADVERTISED_HOST_NAME is deprecated – please see https://github.com/wurstmeister/kafka-docker/wiki/Connectivity…

Programavimas

Programavimas

I have just posted an article on Zedge blog on Medium about Kotlin’s extension functions. If you’re interested, please take a look: https://medium.com/zedge/extension-functions-in-kotlin-44563d7880f5

Programavimas

I have just posted a blog in Zedge blog on Medium about using PostgreSQL databases in Live environments. If you want to know how to add a column to PostgreSQL database and not cause a downtime of the database, please take a look…

Programavimas

You have a running Kubernetes deployment with pods and want to restart all of them. How could you do that? If you have Kubernetes 1.15, simply try:

Programavimas