Raspian | Upgrade from Stretch to Buster

I use my Raspberry PI 4 Model B for different kind of private projects. Today I want to upgrade it to the new Buster version. This is the first time I do it for the Raspberry, but not for a Debian distribution at all. See my article Upgrade Debian from Jessie to Stretch. Why should […]

Git | How to squash commits into one

In Git you have the possibility to squash commits. This is really useful to have a clean log-tree. If your process involves a code reviewer your commit isn’t split into several pieces of code snippets, because you need to do changes during the testing. To achieve the squash we will use the interactive rebase. The […]

Spring message tag | Argument Separator

Today, I worked on a Spring application. I had to change some small frontend things. One of them was to create a label containing a price. To follow the internationalization (I18N) concept I used the Spring message tag. The text I had to insert had some variables, which should be inserted during the runtime. I […]

How to install an SSH server on Debian

On Debian, it’s quite easy to install an SSH server to get access from remote machines. Before we want to install the SSH server we will update your apt repository cache with the following command: Now we can install the SSH server by installing the openssh-server package. As soon as the installation is completed, your […]

How to create a SSH Tunnel

Today, I wanted to debug an application, which is not running on my local machine. My first shoot was to change the host in the configuration for remote debugging. Of course, the port was blocked and I got the following error message: That’s the point where the SSH tunnel comes into play. It’s possible to […]

Maven Wrapper

The Maven wrapper is a great tool to use a specific version of Maven. Usually, every developer has a specific Maven version installed. But some of us are updating Maven more often than other ones. If you want to share your project with somebody who has a different version installed, it could run into some […]

How to create alias commands in Linux

The terminal is a powerful tool, which can be customized to your needs with the alias command. The most used example is to override the remove command rm. The remove command deletes files without a prompt. You can create an alias for the remove command and add the -i option to add a prompt before […]

Shared clipboard doesn’t work between Host and Guest in VM VirtualBox

Today, a popup occurs as I opened the VirtualBox. A new version of VirtualBox is available. Of course, I clicked on the update button and waited until the update is done. Then I started my machine and wanted to copy a text from my guest and paste it into the text editor of my host. […]

Configure username and email for Git commits

If you want to change your username or email address in Git you can do it for an individual repository or as default property. One time I had to do as I changed my mail address. Another time I had to do it for a project where I got a mail address from the customer. […]

Oracle VM VirtualBox – How to auto resize display

If you’re running a virtual machine, you may wonder why the screen of the guest VM is not auto resizing by changing the size of the window. The first step is to update and upgrade the OS. Now, install the guest additions. You find it in the menu bar in the Oracle VM. Go to […]

« Previous PageNext Page »