Skip to content

Instantly share code, notes, and snippets.

@EhsanCh
EhsanCh / fpm_get_status.php
Created February 19, 2023 10:54
PHP-FPM real-time status page (Single file without the need for web server configuration)
<?php
// Upload to private url or implement authorization...
if (isset($_GET["json"])) {
header("Content-type: application/json");
exit(json_encode( fpm_get_status() ));
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
@scyto
scyto / proxmox.md
Last active August 26, 2026 14:28
my proxmox cluster
@keyz182
keyz182 / unifi-u5g-sms.md
Last active August 21, 2026 19:10
UniFi U5G (UCG-Ultra-5G) โ€” SMS send/receive via SSH

UniFi U5G โ€” SMS via SSH

The UniFi UI exposes no SMS interface for the U5G's built-in 5G modem. This documents how SMS send/receive actually works under the hood, accessed over SSH.

Architecture

The U5G uses a Qualcomm MSM integrated modem. Communication happens over:

  • QRTR (Qualcomm IPC Router) โ€” modem is at node qrtr://3
  • SMD (Shared Memory Driver) โ€” AT command port at /dev/smd7