In Google Docs, change the ruler and image measurements to metric units by setting your Google Account's preferred language to a metric locale (such as UK or Australia) in Personal info > General preferences for the web > Language.
Ось як встановити метричні одиниці вимірювання (кілометри, кілограми тощо) замість імперських у NixOS:
Ключове поле відповідало за те, що називається LC_MEASUREMENT. Це частина налаштувань локалі, яка керує одиницями вимірювання.
У вашому файлі конфігурації (зазвичай /etc/nixos/configuration.nix або у флеш-конфігурації) додайте наступне:
{ config, lib, pkgs, ... }:To redirect your local microphone (audio input) to a remote Windows machine using xfreerdp, use the /microphone flag. You can specify the audio backend (e.g., PulseAudio or ALSA) to ensure compatibility with your local system.
Command Syntax
xfreerdp /audio-mode:0 /microphone:sys:pulse /v:<server_ip>The syntax for a CIFS credentials file requires each field on a separate line with no spaces around the equals sign and no leading byte order mark (BOM). The standard format includes username, password, and an optional domain.
username=your_username
password=your_password
domain=your_domainTo backup your GitHub gists, you can use command-line tools that clone each gist (which is essentially a git repository) to your local machine. GitHub Gists are identified by unique IDs, and backing them up preserves full revision history.
A popular bash script, gist-backup, clones all public and private gists.
- Generate an OAuth Token: Use your GitHub credentials to get a token with
gistscope via the API v3 (note: API v3 requires account password for initial token generation if not using fine-grained PATs, though modern practices prefer personal access tokens). - Store the Token: Set it in your git config:
For SeaBIOS (default), press ESC rapidly during boot to access the temporary boot menu.
For OVMF/UEFI, press F2 or ESC during boot to enter the full firmware setup interface.
If the console is too fast, edit the VM config file (/etc/pve/qemu-server/<VMID>.conf) to add args: -boot menu=on,splash-time=20000, then fully power off and restart the VM to increase the delay.
Sources:
The Windows user startup folder (current user) is located at:
C:\Users\<Username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
To quickly access this folder, press Windows + R, type shell:startup, and press Enter. Alternatively, you can navigate to it via File Explorer using the path %AppData%\Microsoft\Windows\Start Menu\Programs\Startup.
Some headers are not set correctly on your instance - The Strict-Transport-Security HTTP header is not set (should be at least 15552000 seconds). For enhanced security, it is recommended to enable HSTS.
To enable HTTP Strict Transport Security (HSTS) on a Nextcloud Snap installation, you must use the nextcloud.enable-https command with the -s flag, which is available when setting up Let's Encrypt certificates or custom certificates.
- Let's Encrypt: HSTS is automatically enabled when you run
sudo nextcloud.enable-https lets-encrypt. - Custom Certificates: You must explicitly enable HSTS by adding the
-sflag to your command:sudo nextcloud.enable-https custom -s <path/to/cert.pem> <path/to/privkey.pem> <path/to/chain.pem>
- Self-Signed: HSTS is disabled by default for self-signed certificates (
sudo nextcloud.enable-https self-signed) to prevent browser lockouts, and the-sflag is not supported for this method.
To resolve the "no default phone region" warning in Nextcloud Snap, you must set the default_phone_region parameter using your country's ISO 3166-1 code (e.g., 'US', 'GB', 'DE').
You can apply this setting via the command line on your host server using the nextcloud.occ tool:
sudo nextcloud.occ config:system:set default_phone_region --value="XX"