-
Pages
-
Recent Posts
- How to connect to an EC2 instance over SSH
- Simple algorithm for casting strings to double
- How to make multipart requests with file and object through autogenerated code defined in OpenAPI
- How to make multipart requests with files through autogenerated code defined in OpenAPI
- How to compile and run Java files on Windows
Categories
-
Author Archives: Andrej Buday
Flattening Stream Collections in Java
This article is about flattening the list of element list with use of Java 8 stream feature flatMap and forEach Continue reading
What does the double star operator mean in Python?
In some Python code, you might spot double stars standing next to each other. What do those two stars mean, and what is their job? We will answer all the questions in this article. Continue reading
Posted in Language basics
Tagged **kwargs, double star, double-asterisk, method arguments, power operator, Python, Python functions, two stars
Leave a comment
Selenium – remove html element from the DOM
This article will show you how to remove elements from HTML DOM (Document Object Model) when using automated web-browser framework Selenium. Continue reading
Posted in Tutorials
Tagged drivers, finviz.com, Firefox, Java, Selenium, stocks, time-series, web-scrapper
Leave a comment
How to join List String elements with a comma
In this article, we will see three different ways to print string elements of the list into one coherent text. Continue reading
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
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 CI/CD, Docker, Dockerfile, integration tests, IntelliJ, postgresql
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
How to calculate median from an array in Java
In this short article, we will see how to compute median in Java. Continue reading
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
Verify method was called n-times with Mockito
Mockito Verify example for n-times calls using various verification modes. Continue reading