June 27, 2022

Ubuntu Versions Cheat Sheet

about versions, names, even more versions and dates version code name python go debhelper end of standard support eol 16.04 xenial xerus 3.5 ? 9 04/2021 04/2026 18.04 bionic beaver 3.6 ? 11 04/2023 04/2028 20.04 focal fossa 3.8 1.13 + 1.14 12 04/2025 04/2030 22.04 jammy jellyfish 3.10 ? 13 04/2027 04/2032 24.04 noble numbat 3....

November 3, 2021

How to Compare Two Directories on Linux

While migrating a couple of Bazaar repositories to git, I experienced some problems with one Bazaar repository, or let’s say the exporter did not work properly on one of its commit. In order to find out what exactly happened, I needed to compare both the tip of the git and the Bazaar repository. Turns out, diff can not only compare files, but also directories… recursively! $ diff -qr bzr/wadllib/ git/wadllib/ Only in bzr/wadllib/: ....

July 6, 2021

How to Debug Network Issues

Unlike I stated earlier today… It’s not DNS There’s no way it’s DNS It was DNS … this time it was not DNS. But let’s start from the beginning. two lonely OpenSUSE virtual machines I inherited two OpenSUSE VMs from a departing colleague. After changing passwords and cataloging what services are installed, I tried to update the VMs… and got the following errors… # zypper refresh Problem retrieving files from 'Haupt-Repository (NON-OSS)'....

June 9, 2021

What Is the True Order of Files in a Directory

This week I faced a very odd bug at work. A build process failed - on one machine, but not on the other. Identical setup - of course :-/ The build script consists of a bash script, which wraps a call to the C binary. The bash script was innocent. When I had a closer look at the C source code, it turned out there were about 30 lines of code, just dealing with traversing directories and copying files and folders....

January 19, 2021

How Can You Convert an Adobe Illustrator File (AI) to an Encapsulated Postscript File (eps)

One of my web applications is using RML to render PDFs. For one PDF document template I received a new logo file which was produced with Adobe Illustrator (file extension .ai). The RML library cannot handle ai-files, but eps-files. In order to convert the file I used Ghostscript as following: gs -dNOPAUSE -dBATCH -sDEVICE=eps2write -sOutputFile=out.eps input.ai where -dNOPAUSE means “no pause after page” -dBATCH means “exit after last file” -sDEVICE selects the device -sOutputFile is the name of the - you can guess it - output file P....

August 25, 2020

How to Sort Files and Folders in Nautilus So Folders Are Shown First

update settings gsettings set org.gtk.Settings.FileChooser sort-directories-first true check settings gsettings get org.gtk.Settings.FileChooser sort-directories-first via https://askubuntu.com/questions/1064482/