docker-compose.yml
services:
mailhog:
image: mailhog/mailhog
container_name: mailhog
ports:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Email Validation Strict Demo</title> | |
<style> | |
input { | |
width: 320px; | |
padding: 8px; | |
font-size: 16px; |
//nq57.mst.gov.vn | |
function isDeveloperToolsShortcut(e) { | |
const isF12 = e.key === "F12"; | |
const isCtrlShiftKeyCombo = (e.ctrlKey || e.metaKey) && e.shiftKey && ["I", "J", "C"].includes(e.key); | |
const isCtrlU = (e.ctrlKey || e.metaKey) && e.keyCode === 85; | |
return isF12 || isCtrlShiftKeyCombo || isCtrlU; | |
} |
window.addEventListener('beforeunload', function (e) { | |
console.log('Tab is about to be closed'); | |
// Optionally show a confirmation dialog (not supported in all browsers) | |
e.preventDefault(); | |
e.returnValue = ''; | |
}); |
<?php | |
session_start(); | |
//$php_main = 'admin.php'; | |
$host = $_SERVER['HTTP_HOST']; | |
$scriptName = $_SERVER['SCRIPT_NAME']; | |
$atinput_linkUrl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http"); | |
$atinput_linkUrl .= "://$host".$scriptName; |
tranc@DESKTOP-SBDJJJT MINGW64 ~
$ curl -i -X OPTIONS http://192.168.1.33:21680/completed/704_59_0/2025/03/1742835485.ts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 200 OK
Date: Tue, 25 Mar 2025 11:41:19 GMT
Server: Apache/2.4.62 (CentOS Stream)
<?php | |
$data=[ | |
'staus'=>true, | |
'msg'=>'welcome', | |
]; | |
echo json_encode($data); |
{ | |
"version": 1, | |
"author": "Tran Chau", | |
"editor": "wokwi", | |
"parts": [ { "type": "board-esp32-devkit-c-v4", "id": "esp", "top": 0, "left": 0, "attrs": {} } ], | |
"connections": [ [ "esp:TX", "$serialMonitor:RX", "", [] ], [ "esp:RX", "$serialMonitor:TX", "", [] ] ], | |
"dependencies": {} | |
} |