Skip to content

Blog

Reopen the Last Closed Tab in your Browser

Multiple tabs in a web browser are great. If they persist a restart of your browser, you quickly use them as a read-later list. In such a case you don’t want to close the wrong tab. Unfortunately, this happens more often than you want. But there is a simple way to reopen the last closed Tab that works in most browsers.

/etc/hosts on Windows and Mac

The /etc/hosts (or hosts file) is a small text file that maps (domain-) names to IP addresses. It's especially helpful when you want to use an easy to remember name for a computer in your home network. Another good reason to use it is for development purposes. With an entry in hosts file you can check if your website works long before the DNS system has distributed the new IP address.

Passwordless Backup with Synology DiskStation

The network attached storage appliances from Synology, called DiskStation, are great backup devices. They come in various sizes and don’t need much maintenance. The only thing that is a bit annoying is the password prompt whenever I use rsync to backup my files. With public key authentication over SSH that problem can be solved without risking the security of my data.

Allowing Self-Signed Certificates on Localhost with Chrome and Firefox

HTTPS for web applications is soon no longer an option, but a must-have. When you develop your application on your local machine, you may want to use a self-signet certificate. They cost you nothing and tools like Visual Studio create them on the first run in IIS Express. Everything would be great if current web browsers wouldn’t show you an error page like this one:

The Problem

Fixing Unicode Characters When Using DbUp

DbUp is a great tool to manage your database migrations. As I wrote here, it’s simple and easy to use. However, when it comes to edge cases like the German umlauts, that simplicity can have its downside. With neither a flag to change the encoding nor a way to interfere with the execution, it seems as if DbUp isn’t up for the task.

But don’t jump too early to this conclusion. It’s wrong and the source of the error is SQL Server, not DbUp.

How to Verify the integrity of a Downloaded File – on Windows, Mac & Linux

When you move files over a network, then there is always the possibility of something going wrong. Even when no error is reported, the file may be corrupt or incomplete. To be sure that everything is correct, you should check the checksum of the file. This can be done with pre-installed tools on nearly every operating system and this article is going to show you how it’s done.

Simple Database Migrations with DbUp

Keeping your database up-to-date with your code is an important task. There are many different approaches and even more tools to support you. However, they often come with a price you may not be willing to pay.

A different way goes DbUp. This little tool helps you to update your database in a simple, understandable manner. It can’t do everything, but what it can works great. Let’s have a deeper look at DbUp.