What kind off patterns can I use in zsh parameter expansion?

In my zsh shell script I use regexp-replace nname “_{2,}” “_” successfully to reduce multiple “_”s to a single one, but when I try ${nname//_{2,}/’_’} zsh doesn’t seem to match the pattern. man zshexpn is. not clear. It mentions globbing patterns but evidently other POSIX 1003.2 regular expressions such as in ${name//[^[:alnum:]]/”_”} work OK in…

Details

Network Manager plugin for Strongswan won’t show pre shred key authentication option

this was originally the second part of my question here How to start a swanctl.conf configured tunnel automatically Environment: Debian 10, KDE, Full desktop # ipsec –version Linux strongSwan U5.7.2/K4.19.0-6-amd64 # swanctl –version strongSwan swanctl 5.7.2 # systemctl status strongswan ● strongswan.service – strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf Loaded: loaded (/lib/systemd/system/strongswan.service; enabled; vendor preset:…

Details

Puppet Package class can’t detect installed package when multiple versions are present

I am trying to install the kernel-devel package matching the running kernel version. My guess was: package { ‘kernel-devel’: ensure => “${facts[‘kernelrelease’]}”, } but it doesn’t work if more than one kernel-devel package are already installed. This is the error I get: Error: Could not update: Failed to update to version 3.10.0-957.21.3.el7.x86_64, got version 3.10.0-957.21.3.el7;…

Details

Error: peer certificate cannot be authenticated with given ca certificates NGINX, TOMCAT 8 and GOGS with CA certificate

I’m trying to configure a VPS on Ubuntu Server 18.04 which I hace installed GOGS, JENKINS and TOMCAT. With Nginx, I only allow to make https requests but when I make from Insomnia to an api web service deployed in Tomcat I’m getting the message “peer certificate cannot be authenticated with given ca certificates “.…

Details