<input type="number" pattern="[0-9]*" inputmode="numeric">
<input type="number" pattern="[0-9]*" inputmode="numeric">
docker stats
https://code-maze.com/top-docker-monitoring-tools/
Если при запуске docker compose ругается
Found orphan containers (app100-rabbitmq, app100-rabbitmq-manager) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Надо запустить его со следующим параметром:
docker-compose up -d --remove-orphans
DirectorySlash Off
# Allow mod_rewrite to function when there is no trailing slash
RewriteOptions AllowNoSlash
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !(.*)/$
# RewriteRule ^(.*)$ $1/ [L,R=301]
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI}/ [L,R=301]
.htaccess:
SetEnvIfNoCase Host s4\.yandex\.ru$ require_auth=true
SetEnvIfNoCase Host s54\.yandex\.ru$ require_auth=true
AuthType Basic
AuthName «Access to the staging site»
AuthUserFile /data/www/yandex.ru/.htpasswd
Require valid-user
# Setup a deny/allow
Order Deny,Allow
# Deny from everyone
Deny from all
# except if either of these are satisfied
Satisfy any
# 1. a valid authenticated user
Require valid-user
# or 2. the «require_auth» var is NOT set
#Allow from env=!require_auth
Allow from env=require_auth
.htaccess:
<Files "sitemap.xml">
AddHandler application/x-httpd-php .xml
</Files>
Проверка сертификата
echo | openssl s_client -showcerts -servername qna.habr.com -connect qna.habr.com:443 2>/dev/null | openssl x509 -inform pem -noout -text | grep "Not After"
Интересный тест прошел, всего на 65% счастлив, хотя такие вопросы там интересные — нуждаетесь ли вы в деньгах? Эм) есть такие кто не нуждается?
https://journal.tinkoff.ru/happiness-test/
<?php
$yourEmail = "you@gmail.com";
$yourEmailPassword = "your password";
$mailbox = imap_open("{imap.gmail.com:993/ssl}INBOX", $yourEmail, $yourEmailPassword);
$mail = imap_search($mailbox, "ALL");
$mail_headers = imap_headerinfo($mailbox, $mail[0]);
$subject = $mail_headers->subject;
$from = $mail_headers->fromaddress;
imap_setflag_full($mailbox, $mail[0], "\\Seen \\Flagged");
imap_close($mailbox);
?>