Blog

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

Java 8 Interface – Default and static methods

Since Java 8 it’s possible to add default and static methods in interfaces. Due to the new methods, it’s not necessary to implement the method in every class. The interface provides the implementation already. In previous versions, an interface could have abstracts methods only. Default Method The default method has the default signature. It provides […]

How to disable password based login in Linux

It’s quite easy to disable the password based login in the SSH. Before you proceed check if you have prepared the system to logon without password. You have a user other than root, who can enter the remote server. If not, take a look into my article How to disable root login Please check if […]

Configure SSH login without password

Secure Shell (SSH) is a very popular cryptographic network protocol to connect securely to your remote server. One reason why it’s so popular is that it’s so easy to use. E.g. you need to execute three commands, only and you don’t need to enter a password to connect to your remote machine. The first step […]

Disable root login

It’s a bad idea to login with your superuser. There are too many bots running and trying to hijack your server. You don’t need to make it easier for them to take over your server. Therefore you should disable the root login via SSH. The first step is to create a user and a password […]

Upgrade Debian 8 (Jessie) to 9 (Stretch)

Debian 8 LTS ends in mid 2020 and Debian 9 is the latetest production release and Debian 10 is knocking on the door. This is a good time to upgrade the Debian 8 to 9. Important: Do an upgrade locally or via SSH, only. Other services like telnet can be terminated during the upgrade process […]

« Previous PageNext Page »