How to use IntelliJ Idea as a text editor

I have recently started to use IntelliJ Idea as my text editor and integrated it into my creative process.

Continue reading

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

Bit manipulation operators in Java

As in many programming languages, Java offers a possibility for bit manipulation with bit operators. While the official documentation is kind of sparse, this article will give you more information about individual operators.

Continue reading

Posted in Language basics | Tagged , , | 1 Comment

How to show first n characters in JavaScript or TypeScript string

To get a substring from a string in JavaScript or TypeScript, you have three different methods to call as an option. Besides TypeScript compiling to JavaScript, the method’s names a behaviour stay the same.

Continue reading

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

How to use IntStream range in Java

I often encounter a situation where I need to loop through a collection in Java. While looping through the collection sequentially, I usually want to use a temporal loop count variable as a variable with which I will be working inside the loop.

Continue reading

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

How to build with Maven without running tests

Do you try to build your app after the slightest change in code, and it takes ages to pass all the tests? What if there would be a workaround to obey all unnecessary tests and significantly shorten the Maven build time. And all that just but simple maven flag.

Continue reading

Posted in Tips & tricks | Tagged , , , , , , , , , , | 2 Comments

Compare all elements in an array against each other in Java

One of the most common requests when processing an array is to compare each element in an array against every other element. You can imagine it as you want to take the 1st array element and compare it with every other element, then take the 2nd array element and compare it with every other element and so on and on.

Continue reading

Posted in Solutions | Tagged , | Leave a comment

How to set a hot-swap on your Java project in IntelliJ Idea

Let’s take a look at how to speed up the development of our Spring Boot app by installing Trava Open JDK and use of hot-swapping.

Continue reading

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

How to create a custom range calendar filter for Angular PrimeNg data turbo table

Let’s look at how to implement the Angular selection range for the newest Angular PrimeNg version. This tutorial was developed on v10.0.0-rc-1 version.

Continue reading

Posted in Tutorials | Tagged , , , , , , | 1 Comment

How to connect Azure Cosmos DB Emulator with Spring Boot app at Windows

This article will look at how to install Azure Cosmos DB Emulator on your Windows machine and how to use the Azure Cosmos DB Emulator for the local development of our Spring Boot application.

Continue reading

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

How to convert int to long in Java?

This article is a simple hint on the often asked question of converting int to long or Long in Java.

Continue reading

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