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 […]

Debian – How to change language

Today, I worked on a new Debian 10 (Buster) installation. While I configured the system I saw that the system was initially installed with the German language pack. To change the locale is pretty easy. You need to run the following command: A window opens and asks you, which locale files you want to create. […]

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 […]

How to connect guest VM and host in Oracle VM Virtual Box

I work with the Oracle VM VirtualBox to switch quickly development projects. Most of them are e-commerce projects and run on a Linux OS. One time I got a ticket to fix an issue with the Internet Explorer. To reproduce the issue I need to connect guest VM with my Windows host. There are several […]

Could not resolve host on Windows machine for curl call

Today I got a curl snippet, which was built initially in Linux. I copied it and put it into my Cmder console. Then I was a little bit surprised about the upcoming errors: I took a second look into the curl command and I was wondering why the curl was throwing the error messages: After […]

What are Java 8 Streams

Streams are a sequence of elements from a source like collections which supports aggregate operations. They have been introduced in Java 8 and they are providing a functional programming interface, which follows the Monad design pattern. Basically, it gets rid of the iteration boilerplate code and creates a chain of query methods to get the […]

« Previous PageNext Page »