How to Ubuntu
среда, 6 ноября 2024 г.
NGINX redirect for non whitelisted IPs
›
fixing an infinity loop issue map $remote_addr $notwhitelisted_ip { default 1; # VPN 1.2.3.4 0; } server { ... set $ma...
четверг, 3 октября 2024 г.
Bash check process status and restarting
›
#!/bin/bash PROCESS_NAME="queue:consumers:start specificName" START_COMMAND="/usr/bin/php8.2 /var/www/project/html/bin/mage...
четверг, 26 сентября 2024 г.
Siege with Basic Http Auth
›
https://gist.github.com/rob-murray/dd77778b1770f32c46e8 # Basic auth; auth=$(echo -n 'username:password' | openssl base64) siege -t...
пятница, 9 августа 2024 г.
550 5.7.64 TenantAttribution; Relay Access Denied [No TLS]
›
Troubleshooting: 1) create/enable 'Connector' in 'Exchange' Show all > Exchange > EAC (Exchange Administrative Contro...
среда, 7 августа 2024 г.
Linux Rsync with particular extension
›
rsync -zarv --prune-empty-dirs --include "*/" --include="*.gif" --exclude="*" ./ ../gifs/
четверг, 18 апреля 2024 г.
Linux Bash rsync remote to remote with forwarding keys
›
We need it for loading files directly from one remote server to another one where we have SSH access. SSH access from a Workstation -> Se...
среда, 14 июня 2023 г.
Linux Bash remove old files more than 10 if exists
›
if [ $(expr $(ls -1 /test/111 | wc -l | tr -d ' ')) -gt 10 ]; then rm $(ls -d -1 -At /test/111/* | tail -n $(expr $(ls -1 /test/111 ...
›
Главная страница
Открыть веб-версию