xf.is blog

vlan bridges in netplan

Published in linux.

Took me a while to figure this one out in the netplan yaml syntax: Bonus .vimrc settings for yaml

Pipe cron to syslog/journald

Published in linux.

Simple way to pipe cron script output to journalctl / syslog gives following in journalctl

Convert PostgreSQL cluster to use page checksums

Published in postgresql.

When upgrading PostgreSQL cluster from one major version to another you cannot use pg_upgrade tool to upgrade/convert cluster with page checksums disabled to a cluster with page checksums enabled. Instead you have to do dump and restore. On Debian/Ubuntu based systems this is made easier using the pg_createcluster / pg_dropcluster commands. Here I’m converting a […]

View CPU microcode revision from powershell

Published in windows.

A small powershell snippet to show what CPU microcode revision is running and what microcode revision the BIOS provides. Example output:

Blacklist bad memory addresses in Windows

Published in windows.

Update: Following guide might not work since Predictive Failure Analysis (PFA) memory settings are not working in Windows 10 2004 and 20H2 releases. See discussion here. I recently experienced random MEMORY_MANAGEMENT BSOD on my personal computer. When consulting Microsoft Dev Center for the error code it indicated a issue with the RAM. The computer is […]

« Previous Page