Compare commits

..
3 Commits
Author SHA1 Message Date
0xa0 222d3e54c2 Xitter
Deploy / deploy (push) Successful in 3s
2026-07-22 19:31:17 +02:00
0xa0 d4901ec329 regexing as God Intended
Deploy / deploy (push) Successful in 3s
2026-07-22 16:40:04 +02:00
0xa0 3a96bc8f25 minor changes
Deploy / deploy (push) Successful in 3s
2026-07-22 16:37:54 +02:00
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -1,11 +1,14 @@
<?php $build = trim((string) @file_get_contents(__DIR__ . '/../build.txt')) ?: 'dev'; ?>
<?php
$build = trim((string) @file_get_contents(__DIR__ . '/../build.txt'));
$build = preg_match('/[0-9a-f]{7,40}/i', $build, $m) ? $m[0] : ($build ?: 'dev');
?>
<?php require_once __DIR__ . '/buttons.php'; ?>
</main>
<footer>
<div class="buttons88x31">
<?= render_buttons_88x31() ?>
</div>
<small>&copy; <?= date('Y') ?> · <a href="<?= htmlspecialchars(REPO_URL) ?>">build <?= htmlspecialchars($build) ?></a></small>
<small>&copy; <?= date('Y') ?> · build: <a href="<?= htmlspecialchars(REPO_URL) ?>"><?= htmlspecialchars($build) ?></a></small>
</footer>
</body>
</html>
+1 -1
View File
@@ -13,7 +13,7 @@
<?php $age = (new DateTime('2002-11-07'))->diff(new DateTime('today'))->y; ?>
<p>I'm a <?= $age ?>-year-old developer (I know I'm unc), I hold a bachelor's degree in computer science (BUT Informatique) and I'm also a 42 school student.</p>
<p>if you wanna see what I'm building, feel free to check out my <a href="https://github.com/0xa00">GitHub</a> !</p>
<p>if you wanna see what I'm building, feel free to check out my <a href="https://github.com/0xa00">GitHub</a> or follow me on <a href="https://x.com/0xa0_">Twitter</a> !</p>
<section class="posts-widget">
<h2>recent posts</h2>