Author Archives: Andrej Buday

How to convert private key DER to PEM file type

In this article I will show you quick work around how to turn .pem file type into the .der file type on Windows. Continue reading

Posted in Tips & tricks | Tagged , , , | Leave a comment

Create PostgreSQL database for integration testing with Docker

In this article, we will explore the idea of creating a PostgreSQL database Dockerfile. We can, for example, use it for creating integration tests in a separate CI/CD workflow. Continue reading

Posted in Solutions | Tagged , , , , , | Leave a comment

How to print current project classpath

This article is a short explanation of a classpath and a single line of Java code that will help you print out your classpath. Continue reading

Posted in Tips & tricks | Tagged , , | Leave a comment

How to calculate median from an array in Java

In this short article, we will see how to compute median in Java. Continue reading

Posted in Computer Science | Tagged , , , , | Leave a comment

How to set custom configuration for your local Git project repository

Suppose you do not want to have the same configuration for your local repository as you have your global Git settings. Or you need to fix identity information for commits that are already made in Git commit history. In that case, this article will show you a few Git commands on how to set up the custom configuration for your local Git repository or how to fix past mistakes. Continue reading

Posted in Tips & tricks | Tagged , , , | Leave a comment

Verify method was called n-times with Mockito

Mockito Verify example for n-times calls using various verification modes. Continue reading

Posted in Testing | Tagged , , , | Leave a comment

How to check if two lists are equal in Java

A short article focused on a widespread problem in testing if two list instances are identical, or rather say if they contain the same elements in the same order. Continue reading

Posted in Testing | Tagged , , , , | Leave a comment

How to convert a Map to an Array in Java

This tutorial is about several approaches to converting Java’s Map interface implementations into the Java array. Continue reading

Posted in Language basics | Tagged , , , , , , , | Leave a comment

How to connect Jira with IntelliJ IDEA

This tutorial will show you how to connect your IntelliJ IDEA with the Jira ticketing system. Continue reading

Posted in Tutorials | Tagged , , | Leave a comment

How to sort a map with Java 8

This tutorial shows how to sort Java Map implementations with Java 8 streams by map’s key or value properties. Continue reading

Posted in Tutorials | Tagged , , , , , , | Leave a comment