Skip to content

2020

How to Change the HTTPS Certificate in IIS Express

Visual Studio creates a self-signed certificate for your web application that allows you to access your site over HTTPS. As long as you do not need to change anything, this magical configuration works like a charm. Unfortunately, when you need to change something, it is incredibly hard and the magic turns into a curse.

How to Snapshot Your Windows Container in Docker

Saving the state of a container in Docker is an anti-pattern. You should create your containers in a way that you can throw them away and start with a new one. However, there are some use-cases in which a snapshot of your current container is of great help.

One such use-case is creating a snapshot of your database container for integration testing. Instead of creating a fresh database from scratch and adding the seed data before every test run, I could do that once and reuse this known good starting point. This will save a lot of time and I get the feedback of my tests faster.

Little Git Tricks: Change the Author of a Commit

Git tracks the author of every commit. If you do not modify anything, the global settings will be used. That is great for the day-to-day use, but it may not be what you want in all situations.

If you do pair-programming, you may want to make the commits as a team. If you commit your code on the command line, you can use this option with your commit:

git commit --author="John Doe <[email protected]>"