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

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

Continue reading

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

How to convert int to long in Java?

Simple hint on very often question how to convert int to long or Long in Java.
Continue reading

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

How to use Docker for WordPress development

This article is a simple tutorial on how to start using Docker for WordPress development.
Continue reading

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

Small ideas – quick refactoring of legacy code after couple of years

Recently I have been working on the refactoring of one method when I realized how much I have skilled up as a developer in the last few years. Continue reading

Posted in Refactoring | Tagged | Leave a comment

Refactoring function for the least amount of lines

I had the opportunity to review a small piece of code. From the first look, I knew this is a beautiful example ready for refactoring.
Continue reading

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

Angular calendar datepicker creates incorrect date one day behind the selection

I was working at the bug fix task, which was from first sight very strange. In an Angular-Spring application, at frontend Angular calendar datepicker I choose a specific date. However, the database suddenly saved one day before the initially picked date.
Continue reading

Posted in Bug hunt | Tagged , , | Leave a comment

vim – How to quickly edit readme.md with vim in a terminal?

This article is a small tutorial with a few simple steps on how to quickly edit readme.md with vim editor. Knowledge can be used for a quick edit of any document in the Linux terminal.

Continue reading

Posted in Tutorials | Tagged , , | Leave a comment

SQL – How to use NOT LIKE in SQL?

I had a problem with one column where corrupted data occurred. Column stored images in the base64 form. However, because of the programming error, it sometimes was also storing image description on image removal.

This article will demonstrate at this example usage of SQL’s NOT LIKE command.

Continue reading

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

Git – How to remove folder recursively from Git

From time to time, I accidentally start versioning some folders or files which should be not part of the repository. However, the commit is made, and the content is pushed to Git repository.

This article contains several clever commands for removal of unwanted files in your git repository.

Continue reading

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

Windows – How to kill port at Windows?

How to set port free which is assigned to a certain process/application? This tutorial shows how to kill the port at Windows operation system.

Continue reading

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