1
0
Fork 0
isopod.cool/stats/index.php
will bfdd89595a Various changes
- New journal post
- New article in da blog
- Moved /uses, /music, and /greenhouse to top-level directories
- Added some new guys to the landing page
- Replaced background PNGs with JXLs with JPG fallback
- Added mothvertisement
- Added my isopod quiz results to /etc
- Hid a broken webgarden
- Fixed a bug where /guestbook was wider than the screen on mobile due to bad text wrapping\
- Link to my art page has been moved from /links to top navbar
- Added to /links:
  - My revolt account
  - Unapothecary Link Directory
- Removed my tumblr account from /links, at least for the time being. I quit posting for the bit, you see
- Added a randomized MBTI type to /stats
- Probably some other stuff I forgor
2023-08-21 08:46:34 -06:00

231 lines
6.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Stats</title>
<link href="../style.css" rel="stylesheet" type="text/css" media="all">
<style>
#statstable {
width: 100%;
border-collapse: collapse;
}
#statstable td {
width: 50%;
padding: 0.3rem;
}
#statstable tr:nth-child(2n+1) {
background-color: #ffffff11;
}
@media only screen and (hover: none) {
#statstable td {
width: initial;
}
#statstable td:first-child {
font-weight: bold;
}
}
</style>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/seasonal.php'); ?>
</head>
<body>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/nav.php'); ?>
<h1>stat tracker</h1>
<h2 id="caption">100% RealTrue&#8482; statistics</h2>
<table id="statstable">
<tbody><tr>
<td>Height</td>
<td>194cm</td>
</tr>
<tr>
<td>Storage space</td>
<td>4.9TiB</td>
</tr>
<tr>
<td>Packages</td>
<td><?php echo file_get_contents("packages.txt"); ?></td>
</tr>
<tr>
<td>Desktop environment</td>
<td>XFCE</td>
</tr>
<tr>
<td>Layout</td>
<td>ANSI 75% + Knob + External numpad</td>
</tr>
<tr>
<td>Switches</td>
<td>Keychron K Pro Brown</td>
</tr>
<tr>
<td>Firmware</td>
<td>QMK</td>
</tr>
<tr>
<td>RGB</td>
<td>Yes</td>
</tr>
<tr>
<td>CDs owned</td>
<td>120</td>
</tr>
<tr>
<td>Consoles modded</td>
<td>1</td>
</tr>
<tr>
<td>Computers upgraded</td>
<td>2</td>
</tr>
<tr>
<td>Computers downgraded</td>
<td>1</td>
</tr>
<tr>
<td>Websites</td>
<td title="This one, deeptwisty.com, and a secret companion website for my minecraft server">3</td>
</tr>
<tr>
<td>Web services</td>
<td title="That's three websites, Akkoma, Calckey, SearXNG, RSS-Bridge, Forgejo, Matrix, Mumble, Nextcloud, and Radicale.">12</td>
</tr>
<tr>
<td>Domains owned</td>
<td title="deeptwisty.com, isopod.cool, isopod.zone, and bathynomus.xyz">4</td>
</tr>
<tr>
<td>Talent</td>
<td style="font-family: mono; color: red;">[Integer overflow error]</td>
</tr>
<tr>
<td>Bitches</td>
<td>0</td>
</tr>
<tr>
<td>Species</td>
<td><i>Bathynomus Giganteus</i></td>
</tr>
<tr>
<td>Pronouns</td>
<td><?php echo file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/pronouns.txt'); ?></td>
</tr>
<tr>
<td>Gender</td>
<td><?php
$boogeraids = array(
'Unclear',
'404 Not Found',
'502 Bad Gateway',
'I dropped it behind the sofa, sorry',
'invalid null pointer',
'what does that mean',
'You fuckin\' figure it out',
'Not my problem lol',
'[]',
'I lost it in the accident',
'Listed <a href="https://genders.wtf">here</a>',
'AMD Ryzen 7 5700G, 32GB DDR4-3600 RAM, AMD Radeon RX 6600XT GPU, 500GB NVMe SSD, 1TB SATA SSD, 4TB HDD',
'I forgor 💀',
'<i>Bathynomus Giganteus</i>',
'I\'ll figure it out later'
);
echo $boogeraids[array_rand($boogeraids)];
?></td>
</tr>
<tr>
<td>3.5mm headphone jack</td>
<td>yes</td>
</tr>
<tr>
<td>Audio channels</td>
<td>mono</td>
</tr>
<tr>
<td>Font family</td>
<td style="font-family: mono, monospace;">mono</td>
</tr>
<tr>
<td>Sodium glutamate</td>
<td>7.1 surround</td>
</tr>
<tr>
<td>Drop rates</td>
<td style="white-space:nowrap;">1-3 bags of Doritos - 80% <br>Wired earbuds - 10% <br>Random Linux install media - 1%</td>
</tr>
<tr>
<td>Efficiency rating</td>
<td>80+ Gold</td>
</tr>
<tr>
<td>Home address</td>
<td>12h 28m 24.97s, +31° 28 37.7″</td>
</tr>
<tr>
<td>Time playing Space Engineers</td>
<td>610 hours</td>
</tr>
<tr>
<td title="Since this bit was added, anyway">Page views</td>
<td>
<?php
$num = (int) filter_var(file_get_contents("views.txt"), FILTER_SANITIZE_NUMBER_INT);
$num++;
file_put_contents("views.txt", $num);
echo $num;
?>
</td>
</tr>
<tr>
<?php
$booger = array(
"arch",
"bogos",
"Hotel",
"blood"
);
$aids = array(
"btw",
"binted",
"Trivago",
"inside (we think)"
);
$poopaids_copy = array_rand($booger);
$boogeraids = $booger[$poopaids_copy];
$aidsbooger = $aids[$poopaids_copy];
echo "<td>$boogeraids</td><td>$aidsbooger</td>";
?>
</tr>
<tr>
<td>Number I'm thinking of</td>
<td><?php echo rand(0, 69420); ?></td>
</tr>
<tr>
<td>Personality</td>
<td><?php
$ei = array(
"E",
"I"
);
echo $ei[array_rand($ei)];
$sn = array(
"S",
"N"
);
echo $sn[array_rand($sn)];
$tf = array(
"T",
"F"
);
echo $tf[array_rand($tf)];
$jp = array(
"J",
"P"
);
echo $jp[array_rand($jp)];
?></td>
</tr>
</tbody></table>
<div id="leftsidebg" style="background-image: url(bg.jxl), url(bg.jpg); --distancefromcenter: -10%;" title="Pictured: A graph. I don't know what it's measuring. I hope the top line's the housing market."></div>
</body>
</html>