How to use a here documents to write data to a file in bash script allow here-documents within shell scripts to be indented in a natural fashion using EOF<<- command <<-EOF msg1 msg2 $var on line EOF Disabling …
Links
All posts
Upgrade database failed after ugrade to Zabbix 5… Upgrade Zabbix (4.0, 4.2, 4.4) to 5.0 / 5.2 | Step by Step Guide
High Performance Go Workshop
Bypass X-Frame-Options with Nginx The X-Frame-Options HTTP response header tells the browser whether a page can be displayed inside <frame>, <iframe>, <embed>, or <object>. Sites can prevent clickjacking by …
Setting up JWT Authentication Nginx 实现 JWT 验证-基于 OpenResty 实现
SSH failing with Error : fatal: daemon() failed: No such device /var/log/secure Oct 10 10:58:05 vps sshd[23799]: fatal: daemon() failed: No such device # rm -vf /dev/null removed `/dev/null` -bash-3.2# mknod …
Enable GitLab project integration: Mattermost slash commands
Nginx SSL/TLS configuration with TLSv1.2 and TLSv1.3 - ECDHE and strong ciphers suite (Openssl 1.1.1) ssl.conf ## # SSL Settings (TLSv1.2 and TLSv1.3) ## ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers …
Let Zsh read macOS system proxy settings and set env vars $ system_profiler SPNetworkDataType # get full network configuration $ networksetup -listallnetworkservices # list all network services $ networksetup …
WSL 2 .wslconfig configuration explained Release Notes for Windows Subsystem for Linux | Microsoft Docs - Build 18945 Install WSL 2 on Windows 10 Build a multi-Linux development environment with WSL 2 Steps to …
Day 19 BGP Protocol (1) Day 20 BGP Protocol (2)
Style PowerShell with oh-my-posh # This downloads and installs the posh-git and oh-my-posh modules from PowerShell Gallery. # The former shows Git info in the prompt, and the latter provides the themes. …