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

I have recently been working on a refactoring of a 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 on the bug fix task, which aimed to solve an extraordinary issue at first sight. In the monolithic Angular-Spring application, I choose a specific date at the front end with an Angular calendar datepicker. However, the database suddenly saved one day before the initially selected 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 was sometimes also storing image description on image removal.

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

Continue reading

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

Git – How to remove folder recursively from Git

This article contains several clever commands to remove unwanted files in your git repository.

Continue reading

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

How do you kill the port on Windows?

How do you set a port free that is assigned to a particular process or application? This tutorial shows how to kill the port in the Windows operating system.

Continue reading

Posted in Solutions | Tagged , | Leave a comment

Simple Scala Methods for finding Sum and Maximum

I am learning Scala. I have been confronted with the simple task of creating functions for finding the sum and maximum in the list of numbers. A precondition is that both functions should be solved recursively.

Continue reading

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

Convert varchar to text in PostgreSQL

If you work with PostgreSQL, you will get into the situation when you want to change the data type for the text fields in your tables. This article is about simple way how to convert VARCHAR data type to TEXT data type.

Continue reading

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