Skip to content

Instantly share code, notes, and snippets.

@rocLv
rocLv / receiver-demo.html
Created September 17, 2021 13:52 — forked from GitSquared/receiver-demo.html
Use your browser to access a remote terminal.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Remote terminal</title>
<link rel="stylesheet" href="xterm.css" />
<script src="terminal.class.js"></script>
SELECT table,
formatReadableSize(sum(bytes)) as size,
min(min_date) as min_date,
max(max_date) as max_date
FROM system.parts
WHERE active
GROUP BY table