7 different ways how to get NumberFormatException in Java

If you get NumberFormatException in Java, it is highly probable because of the following reasons. This article will uncover the NumberFormatException, how you are getting it and what you should do to handle the exception properly.

Continue reading

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

How to figure out if a character in a string is a number

This article will show how to figure out if a character in a string is a number. You might be wondering how to do it. There are multiple ways to determine if an individual or series of characters in the string classify as a number. So let’s look at various approaches for determining if the character is a number.

Continue reading

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

Developer Notes 001

This article selects a few developer notes collected during the software development, which were unfortunately not enough for a self-standing article.

Continue reading

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

How To Turn Number To String With Padded Space or Zeroes

This article will show us how to turn numbers into the String with padded space or numbers.

Continue reading

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

Flattening Stream Collections in Java

This article is about Java 8 stream feature flatMap. If we have a List<List<Object>>, how can we turn the list of lists into a single list that contains all the elements from the lists in the same streamflow using the features of Java 8?

Continue reading

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

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 , , , , , , , | 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. If you want to remove anything you do not want on your site during web-scraping, you came to the right Selenium tutorial.

Continue reading

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

How to join List String elements with a comma

This article will show three different ways to print string elements of the list into one coherent text.

Continue reading

Posted in Language basics | Tagged , | Leave a comment

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