Run Different Versions of Hugo without Installation via npx

npx lets you run different versions of Hugo without installation. To use it, install Node.js and npm at first. Run different versions The syntax of npx is npx <package-name>@<version>. If @<version> is not specified, the locally installed version or latest version will be used. Here are some examples: 1 2 3 4 5 6 7 8 9 10 # local installed version or latest version npx hugo-extended # Hugo latest npx hugo-extended@latest # Hugo v0.121.0 npx [email protected] npx [email protected] version npx [email protected] server # Hugo v0.99.1 npx [email protected] version Available versions are listed here. Oldest version is 0.63.2. If you want to use the older versions, use hugo-bin package instead.

How to Change Network Configuration on Proxmox VE

When a Proxmox server connects to a new network (e.g. a new router), its network configuration needs to be changed. Edit /etc/network/interfaces and /etc/hosts to change IP address and gateway, /etc/resolv.conf to change DNS. Then reboot the system. 1 2 3 4 # Use nano to edit nano /etc/{network/interfaces,hosts,resolv.conf} # Use Vim to edit vim -p /etc/{network/interfaces,hosts,resolv.conf} 1 reboot

How to Enable Call Recording on Xiaomi / Redmi / MIUI

Call recording in phone: Open Settings -> Apps -> System app settings -> Call settings -> Call recording -> enable “Call recording notification” and “Record calls automatically” Call recording in apps: Open Settings -> Apps -> System app settings -> Recorder -> Voice Call Recorder -> enable “Voice Call Recorder” and “Record calls automatically” (WeChat and QQ are supported) Call Recording may be unavailable on non-China MIUI. This tutorial was tested on Redmi K40s (MIUI and Redmi Note 12 Turbo.