Developer Tools

PyInstaller Quickstart

PyInstaller Quickstart

Combining python program into single file

Use PyInstaller to package Python programs as standalone executables. It works on Linux, Windows, and Mac.

Not the most efficient way, but usable.

Backup and Restore Gitea server

Backup and Restore Gitea server

Backup and restore Gitea, the right way

Gitea backups touch three moving parts - db, git repos, and app files - and since 2024 the built-in gitea dump command handles all of them in one go.

Gitea SSL with Apache as reverse proxy

Gitea SSL with Apache as reverse proxy

To use container registry in k8s we need it over ssl

We want to host a nice and secure container registry - to push docker images there and our kubernetes cluster would pull them from this registry. So came the idea to use the gitea over ssl.

Reinstall Linux

Reinstall Linux

Regularly happens

Need to have some standard post-install task sequence for the reference, so recording it here.