Category Archives: How to’s

Step-by-step guides mostly for general public.

A trick to change card currency in PayPal when there’s no “Update” button

In PayPal, if you’d like to change card currency setting but the “Change” button is missing: The trick is to append /update-currency/ to the page URL and hit Enter.

Posted in How to’s | Tagged | Leave a comment

How to change the order of your names on Facebook today?

This blog is a collection of my technical notes from working with information systems, not intended for the general public. However, Facebook’s user interface has become so convoluted that even simple tasks require a bit of technical knowledge and patience. … Continue reading

Posted in How to’s | Tagged | Leave a comment

Authentik: set custom username for OAuth application (e.g. for Apache Guacamole) via a property mapping

If you use Authentik (https://goauthentik.io/) as an OAuth authentication provider for your Apache Guacamole (https://guacamole.apache.org/) instance and you’d like to customize usernames for Guacamole, here’s how you can achieve this. The steps described below may work for other applications, wired … Continue reading

Posted in How to’s | Tagged , | 1 Comment

Serving acme-challenges from two web-servers sharing the same domain via nginx

Say you have nginx listening on port 80 and sharing a domain with another web-server (e.g. Proxmox web-server) that is listening on a different port, and you want to route HTTP-01 (“acme-challenge”) requests to that second web-server.

Posted in How to’s | Tagged | Leave a comment

Zola + Vite demo

How to neatly wire up Zola (static site generator) with Vite (frontend build tool) without special plugins (a minimal demo).

Posted in How to’s | Tagged , | Leave a comment

Postgres database on a separate drive

In psql: CREATE TABLESPACE mytablespace LOCATION ‘/Volumes/MyVolume/postgres’; CREATE DATABASE mydatabase TABLESPACE mytablespace; Kudos to GregHNZ for posting this on StackOverflow.

Posted in How to’s | Tagged , | 2 Comments

Django + Vue CLI + Webpack demo

How to wire up a Vue CLI app and Webpack to Django templates with routing, hot reload, code-splitting and without any extra plugins (a minimal demo + explanation).

Posted in How to’s | Tagged , , | Leave a comment

VS Code: bind one key to multiple commands without an extension

People wanting to assign multiple commands to a single keybinding in VS Code typically use an extension, such as multi-command or macros. However, there is another, lesser known method to achieve this using built-in functionality of VS Code — user … Continue reading

Posted in How to’s | Tagged | 6 Comments

Datadog: nginx access.log / error.log permission denied

Problem:

Posted in How to’s | Tagged , | Leave a comment

Datadog: “could not retrieve nginx version info”

Apparently Datadog fails to retrieve nginx version information when server_tokens directive in nginx configuration is set to off.

Posted in How to’s | Tagged , | Leave a comment