TIL that creating Markdown from HTML is hard

Today I wanted to take the text of a Confluence page and convert it to Markdown.

Getting the text was rather easy (after some duckduckgoing): Confluence provides a REST-API that returns among other things the content of pages in json. Here’s the curl-command to do this:

curl "https …

more ...

Recovering after a root-partition resize gone wrong

Recently I tried to resize a LVM logical volume with its volume group and the physical disk belonging to the vg. Because the logical volume contained all partitions except for /boot I knew it would be hard.

I also knew that I had no backup and no snapshot of the …

more ...

Debugging issues with libcurl and publickey authentication

Curl has support for sftp and scp, among many other protocols. In one of our php-applications we use libcurl to transfer files via sftp to a remote datacenter.

We recently migrated this application into a docker-container. With it we transferred the private key into the container, so the application can …

more ...

Manage linux servers from a Windows workstation

EDIT: This article was first posted in 2016. As of 2019 I still have to use Windows at work, but now I just use WSL with wsltty.

At work I have to use Windows as operating system on my workstation, even though I manage almost only linux servers. There are …

more ...