1
0
Fork 0
isopod.cool/stats/index.php
will 9be2f36883 v3.1 - Minor overhaul to the entire site
- Removed some unused files
- Updated the blog post layout to have all the navigation
- Replaced hovertext in blog posts with footnotes
- Seaonal pride captions on homepage
- Updated /etc/quotes/
  - Background color is now actually reminiscent of Discord
- Total overhaul to /uses/
  - Added sub-page for my computer
- New markup for blockquotes that css-tricks.com says is more semantically correct
- More difficult captcha on the guestbook (answer remains unchanged)
- New blog post about DMs on the fediverse
- Blog now has links to each year
- Removed journal. I barely used it and it was redundant anyway
- Removed the TODO list that I wasn't using from /etc/
- CSS overhaul:
  - Cool new hover animation on navigation links
  - Centralized most color definitions to root variables, and a couple other things too
  - Standard font is now B612 mono
  - complies with prefers-reduced-motion
  - Light theme and low contrast mode in the works
  - Made tables more consistent, and the one on /about/ no longer looks like doodoo
  - Accent borders on headings and such-like
  - Main header & caption are now left-aligned instead of center-aligned
  - Isopod letterhead moved from left side of header to right
  - h1 made smaller, h2-6 changed back to default sizes
  - Adjusted a couple background positions to improve readability
  - Got rid of the checkbox-hack dropdown navigation on mobile, because it kind of sucked
  - Regular body text no longer has text-shadow
- probably some other stuff I forgot about
2024-07-08 03:47:39 -06:00

220 lines
6.1 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%;
}
#statstable td:first-child {
padding-left: calc(var(--stdpadding) / 2);
}
#statstable tr:nth-child(2n+1) {
background-color: #ffffff11;
}
@media only screen and (hover: none) {
#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>47TiB</td>
</tr>
<tr>
<td>Desktop environment</td>
<td>GNOME (Wayland)</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>164</td>
</tr>
<tr>
<td>Consoles modded</td>
<td>2</td>
</tr>
<tr>
<td>Computers upgraded</td>
<td>2</td>
</tr>
<tr>
<td>Computers downgraded</td>
<td>1</td>
</tr>
<tr>
<td>Domains owned</td>
<td title="deeptwisty.com, isopod.cool, isopod.zone, bathynomus.xyz, flatfuckfri.day">5</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, 2TB NVMe SSD, 4TB HDD',
'I forgor 💀',
'<i>Bathynomus Giganteus</i>',
'I\'ll figure it out later',
'gay',
'//TODO'
);
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: b612_mono, mono, monospace;"><a href="https://b612-font.com/">mono</a></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>Wattage rating</td>
<td>1000W</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>734 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, 69421); ?></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);" title="Pictured: A graph. I don't know what it's measuring. I hope the top line's the housing market."></div>
</body>
</html>