techdoc

From time to time I upload technical documentation that I wrote for use in personal projects.

recently added

psqlrc - the psql config file

created onOctober 8, 2025
last modified onOctober 9, 2025
The configuration file for psql is psqlrc. There are several options for the location of the system-wide psqlrc: ...

ANSI escape codes

created onOctober 8, 2025
ANSI escape codes (more formally, ANSI escape sequences) are in-band signaling codes to control cursor location, color, and a bunch of other options on command line terminals. ...

dhcpcd setup

created onOctober 7, 2025
dhcpcd is the demon responsible for querying a DHCP server (i.e., ISC kea) and configure the machine for the network it is about to join from the lease it receives from the DHCP server. A DHCP lease contains ...

issues and fixes

created onAugust 29, 2025
starting gitea with another user than defined in gitea.conf results in: ... routers/init.go:74:mustInitCtx() [F] code.gitea.io/gitea/modules/git.InitFull(ctx) failed: failed to set git global config diff.algorithm, err: exit status 255 - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied error: could not lock config file /home/rudolf/.config/git/gitconfig: Permission denied - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied error: could not lock config file /home/rudolf/.config/git/gitconfig: Permission denied the fix is to run unset GIT_CONFIG_GLOBAL before running gitea. ...

recently modified

psqlrc - the psql config file

created onOctober 8, 2025
last modified onOctober 9, 2025
The configuration file for psql is psqlrc. There are several options for the location of the system-wide psqlrc: ...

psql

created onJanuary 8, 2022
last modified onOctober 8, 2025
some useful psql commands for daily work with PostgreSQL...

ANSI escape codes

created onOctober 8, 2025
ANSI escape codes (more formally, ANSI escape sequences) are in-band signaling codes to control cursor location, color, and a bunch of other options on command line terminals. ...

XDG Base Directory Specification

created onMarch 29, 2023
last modified onOctober 7, 2025
XDG stands for X Desktop Group, a project to work on interoperability for free-software desktop environments for the X Window System (X11) and Wayland on Linux and other Unix-like operating systems. It eventually evolved into freedesktop.org. freedesktop.org produces specifications for interoperability, but it is not a formal standards body. Projects are not required to implement the specifications and there is no certification. ...