Category Archives: Technical

“Rational” IT related entries.

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

Apple Pro Display XDR: presets not showing up after firmware update

Problem: Apple Pro Display XDR not showing its built-in presets in System Preferences > Displays and clicking “Customize…” brings up an empty window.

Posted in Solutions | Tagged , | Leave a comment

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

Refresh web-browser without leaving VS Code

I’ve created an extension for VS Code which lets you refresh your web-browser (Safari or Chrome) by pressing Cmd-R without leaving VS Code. Meet Refresh Browser (GitHub).

Posted in Releases | Tagged | Leave a comment

Apache Guacamole: RDP printer not working, “error parsing HTTP request header”, “Invalid character found” etc

If you’re using Apache Guacamole 1.0.0 behind an nginx reverse proxy, and Guacamole’s RDP printer doesn’t work, and browser console logs error 400, welcome to read further.

Posted in Solutions | Tagged , | Leave a comment

Apache Guacamole: how to change the default URL path (/guacamole) to something else

Say you want to change Apache Guacamole’s URL from http://server:8080/guacamole to something like http://server:8080/my-hidden-guacamole-instance (or perhaps you’re using nginx to proxy requests to Guacamole / Tomcat and you don’t want any path at all). (See Docker image specific instructions in … Continue reading

Posted in How to’s | Tagged | 10 Comments

macOS High Sierra: Spotlight search not working — “Database mapping failed” error spammed to the system log

Solution can be found here (read the post that starts from “I’ve solved this…” by Design Complex).

Posted in Solutions | Tagged | Leave a comment

macOS High Sierra doesn’t start after updating (stuck on Apple logo) — “failed to unwrap volume key” error

The first thing you want to do when your Mac system doesn’t start is to start up into the verbose mode to see if there any error messages. Don’t try to fix the problem before diagnosing!

Posted in Solutions | Tagged | Leave a comment

Windows Server 2019: RD Session Host — ChangeMode “Invalid operation” exception

If you’re changing the client access licensing mode of your RD Session Host using the PowerShell $obj.ChangeMode(…) command and it fails with an error saying “Exception … Invalid operation”…

Posted in Solutions | Tagged | 4 Comments