In psql:
CREATE TABLESPACE mytablespace LOCATION '/Volumes/MyVolume/postgres'; CREATE DATABASE mydatabase TABLESPACE mytablespace;
Kudos to GregHNZ for posting this on StackOverflow.
Continue readingIn psql:
CREATE TABLESPACE mytablespace LOCATION '/Volumes/MyVolume/postgres'; CREATE DATABASE mydatabase TABLESPACE mytablespace;
Kudos to GregHNZ for posting this on StackOverflow.
Continue readingIf you’re considering getting a Thunderbolt 3 dock called WD_BLACK D50 Game Dock (e.g. # WDBA3U0000NBK-EESN) to use with a Mac, think twice.
Continue readingHey fellow Internet dweller, are you worried about the following message appearing during backup of a suspended virtual machine in Proxmox?
...
INFO: suspend vm
INFO: creating archive '...'
Qemu Guest Agent is not running - VM ### qmp command 'guest-ping' failed - got timeout
...
Continue reading A tiny extension for Visual Studio Code, written by me (GitHub).
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 level tasks.
Continue readingProblem: Apple Pro Display XDR not showing its built-in presets in System Preferences > Displays and clicking “Customize…” brings up an empty window.
Continue readingProblem:
... | CORE | WARN | (pkg/logs/input/file/scanner.go:211 in startNewTailer) | open /var/log/nginx/access.log: permission denied
... | CORE | WARN | (pkg/logs/input/file/scanner.go:211 in startNewTailer) | open /var/log/nginx/error.log: permission denied
Continue reading Apparently Datadog fails to retrieve nginx version information when server_tokens directive in nginx configuration is set to off.
Continue readingI’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).