使用echo $XDG_SESSION_TYPE
即可得知是x11
還是wayland
。
KDE登入畫面SDDM左下角點選Plasama (Wayland)
工作階段
GNOME 42後已預設使用GNOME,登入時GDM右下角齒輪會有GNOME
與GNOME on Xorg
的選項。
diff --git a/lib/libzsync/zsync.c b/lib/libzsync/zsync.c | |
index b425db9..02c47ad 100644 | |
--- a/lib/libzsync/zsync.c | |
+++ b/lib/libzsync/zsync.c | |
@@ -40,6 +40,8 @@ | |
#include <unistd.h> | |
#include <string.h> | |
#include <ctype.h> | |
+ | |
+#define __USE_XOPEN 1 |
Work-in-pogress
Ref: cloudflare/homebrew-cloudflare#21
# Clean up any old version of curl you may have already tried to install
brew remove -f curl
# Download the curl ruby install script provided by cloudflare
Inspired By: grafana/loki#333
version: "3"
networks:
loki:
Sample config files to demonstrate seup that creates and updates free SSL certificates from Let's Encrypt given that the domains are maintained at CloudFlare service.
Certbot verifies domains ownership by accessing CloudFlare API that adds temporary TXT DNS records. To enable it You must provide your CloudFlare API token. More details in documentation for dns-cloudflare Certbot plugin.
Certbot saves created certificates in Docker volume certbot_etc
. Pay attention to output of the certbot run - it mentions path to the created certificates.
More recent resolution: | |
1. cd ~/../../etc (go to etc folder in WSL). | |
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line). | |
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line). | |
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian). | |
5. cd ~/../../etc (go to etc folder in WSL). | |
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file). | |
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and | |
secondary. |
#!/bin/bash | |
## Account details | |
auth_email='fred@blogs.com' | |
auth_key='00000000000000000000000000000000' | |
## Record to update | |
zone_name='domain.com' | |
record_name='domain.com' |
GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016 | |
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio | |
By default, volume licensed versions of Office 2019 and Office 2016 are installed with a Generic Volume License Key (GVLK). | |
The GVLK enables Office to automatically discover and activate against your KMS host computer or Active Directory infrastructure. | |
Important | |
These license keys can't be used to activate your personal copy of Office. |
Taken from https://keestalkstech.com/2018/03/install-nano-with-entware-on-synology-nas-dsm6/.
# create a home for Entware
mkdir -p /volume1/@Entware/opt
# go on as root