add jammy checker

This commit is contained in:
Ben Harris 2022-04-21 14:30:05 -04:00
parent 04379fb6e6
commit 977a4c753d
2 changed files with 32 additions and 1 deletions

31
jammy/index.php Normal file
View File

@ -0,0 +1,31 @@
<?php
$urls = [
"http://download.opensuse.org/repositories/devel:/languages:/crystal/xUbuntu_22.04/",
"https://deb.nodesource.com/node_16.x/dists/jammy/",
"https://rspamd.com/apt-stable/dists/jammy/",
];
foreach ($urls as $url) {
$headers = get_headers($url);
$found[] = substr($headers[0], 9, 3);
}
?>
<!DOCTYPE html>
<html>
<head>
<title>stuff we need before 22.04</title>
<link rel="stylesheet" href="../gruvbox/gruvbox.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body id="top">
<main>
<h1>jammy updates</h1>
<ul>
<?php for ($i = 0; $i < count($urls); $i++): ?>
<li><?=$urls[$i]?>: <a href="<?=$urls[$i]?>"><?=$found[$i]?></a></li>
<?php endfor; ?>
</ul>
</main>
</body>
</html>

View File

@ -296,7 +296,7 @@ or open a github issue and i'll get back to you as soon as i can.</p>
<div class="feed">
<h3>live feels-sharing:</h3>
<ul>
<li><a href="https://tilde.team/~firepal/blog">~firepal</a> 2022-04-10 at 10:17 (utc+0)</li>
<li><a href="https://tilde.team/~firepal/blog">~firepal</a> 2022-04-16 at 19:19 (utc+0)</li>
<li><a href="https://tilde.team/~tilda/feels/www">~tilda</a> 2022-04-02 at 23:28 (utc+0)</li>
<li><a href="https://tilde.team/~lucas/feels">~lucas</a> 2022-03-03 at 16:41 (utc+0)</li>
<li><a href="https://tilde.team/~gclv/blog">~gclv</a> 2022-01-28 at 16:38 (utc+0)</li>