new site
This commit is contained in:
52
posts/about.html
Normal file
52
posts/about.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Hex Studios</title>
|
||||
<link rel="stylesheet" href="styles/main.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="page-header">
|
||||
<h1>// Hex Studios</h1>
|
||||
<i>Developer, biker, musician, engineer, and an unapologetic centrist in the deep red south. The real @hexstudios.</i>
|
||||
</div>
|
||||
|
||||
<div id="post-body">
|
||||
<a href="../index.html"><-- Back to home</a>
|
||||
|
||||
<h1>// ABout Hex Studios</h1>
|
||||
|
||||
<h2>// What is this?</h2>
|
||||
<p>Good question. It <i>was</i> my personal portfolio site, used for listing on applications to corporate slop jobs, but over time I just grew into wanting this place to be a space where I can be unapologetically <i><b>me</b></i>. You can still visit the old site <a href="old2/index.html">here</a> if you want. It's pretty cool.</p>
|
||||
<p>So thats what this is. I'll still list my credentials and who I am, but I won't shy away from being me.</p>
|
||||
|
||||
<h2>// Well then, who are you?</h2>
|
||||
<p>My name is Chris. I make stuff, sometimes. By day I'm a software engineer working with C# and unity. I love programming and old technology, I spend my time outside of work learning the ins-and-outs of computers and electronics in general, using C and C++ to mess with native applications and embedded firmware, hoping to one day reclaim the magic of technology from the souless corporate sphere it currently lives in.</p>
|
||||
|
||||
<p>Some of my hobbies include: Making and enjoying music, motorcycles, game development, light gaming (mostly indie games and older titles), homelabbing, poking at old technology</p>
|
||||
|
||||
<p>Oh yeah I also run a small company with my wife called Bellsworne. You should <a href="https://bellsworne.com">check us out.</a></p>
|
||||
|
||||
<h2>// My creds</h2>
|
||||
<h3>Education:</h3>
|
||||
<ul>
|
||||
<li>B.S. Software Engineering</li>
|
||||
<li>A.S. Computer Science</li>
|
||||
<li>CompTIA Project Managment+ Certification</li>
|
||||
</ul>
|
||||
<h3>Professional:</h3>
|
||||
<ul>
|
||||
<li>5+ years of software engineering, primarily in C#/.NET</li>
|
||||
<li>~2 years of electronics repair (phones, laptops, etc)</li>
|
||||
</ul>
|
||||
<i>I was also a barista for two years, who'uld've thunk it</i>
|
||||
<h3>Personal:</h3>
|
||||
<ul>
|
||||
<li>13+ years of linux experience (I use NixOS, btw)</li>
|
||||
<li>10+ years of C/C++</li>
|
||||
<li>10+ years of HTML/CSS</li>
|
||||
<li>Other languages, experience varies: Odin, Python, JS, Java</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
36
posts/about.md
Normal file
36
posts/about.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
title: About
|
||||
date: 2026-08-13
|
||||
tags: about
|
||||
---
|
||||
|
||||
# About Hex Studios
|
||||
|
||||
## // What is this
|
||||
Good question. It *was* my personal portfolio site, used for listing on applications to corporate slop jobs, but over time I just grew into wanting this place to be a space where I can be unapologetically ***me***. You can still visit the old site [here](old2/index.html) if you want. It's pretty cool.
|
||||
|
||||
So thats what this is. I'll still list my credentials and who I am, but I won't shy away from being me.
|
||||
|
||||
## // Well than, who are you?
|
||||
My name is Chris. I make stuff, sometimes. By day I'm a software engineer working with C# and unity. I love programming and old technology, I spend my time outside of work learning the ins-and-outs of computers and electronics in general, using C and C++ to mess with native applications and embedded firmware, hoping to one day reclaim the magic of technology from the souless corporate sphere it currently lives in.
|
||||
|
||||
Some of my hobbies include: Making and enjoying music, motorcycles, game development, light gaming (mostly indie games and older titles), homelabbing, poking at old technology.
|
||||
|
||||
Oh yeah I also run a small company with my wife called Bellsworne. You should [check us out](https://bellsworne.com).
|
||||
|
||||
## // My Creds:
|
||||
### Education:
|
||||
- B.S. Software Engineering
|
||||
- A.S. Computer Science
|
||||
- CompTIA Project Managment+ Certification
|
||||
|
||||
### Professional:
|
||||
- 5+ years of software engineering, primarily in C#/.NET
|
||||
- ~2 years of electronics repair (phones, laptops, etc)
|
||||
*I was also a barista for two years, who'uld've thunk it lol*
|
||||
|
||||
### Personal:
|
||||
- 13+ years of linux experience (I use NixOS, btw)
|
||||
- 10+ years of C/C++
|
||||
- 10+ years of HTML/CSS
|
||||
- Other languages, experience varies: Odin, Python, JS, Java
|
||||
48
posts/list.php
Normal file
48
posts/list.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
header('Content-Type: application/json');
|
||||
|
||||
$dir = __DIR__;
|
||||
$files = array_diff(scandir($dir), ['.', '..', 'list.php']);
|
||||
|
||||
function parseFrontMatter($raw) {
|
||||
if (preg_match('/^---\r?\n(.+?)\r?\n---\r?\n(.*)$/s', $raw, $m)) {
|
||||
$meta = [];
|
||||
foreach (preg_split('/\r?\n/', $m[1]) as $line) {
|
||||
if (strpos($line, ':') === false) continue;
|
||||
[$key, $value] = explode(':', $line, 2);
|
||||
$meta[trim($key)] = trim($value, " \t\"'");
|
||||
}
|
||||
return $meta;
|
||||
}
|
||||
return [];
|
||||
}
|
||||
|
||||
$posts = [];
|
||||
foreach ($files as $file) {
|
||||
$ext = strtolower(pathinfo($file, PATHINFO_EXTENSION));
|
||||
if (!in_array($ext, ['html', 'md'])) continue;
|
||||
|
||||
$path = $dir . '/' . $file;
|
||||
$fallbackTitle = ucwords(str_replace(['-', '_'], ' ', pathinfo($file, PATHINFO_FILENAME)));
|
||||
$created = filectime($path); // fallback if no front matter date
|
||||
|
||||
$meta = [];
|
||||
if ($ext === 'md') {
|
||||
$raw = file_get_contents($path, false, null, 0, 4096); // just need the header
|
||||
$meta = parseFrontMatter($raw);
|
||||
}
|
||||
|
||||
$title = $meta['title'] ?? $fallbackTitle;
|
||||
$date = isset($meta['date']) ? strtotime($meta['date']) : $created;
|
||||
|
||||
$posts[] = [
|
||||
'file' => $file,
|
||||
'title' => $title,
|
||||
'type' => $ext,
|
||||
'created' => $date ?: $created,
|
||||
];
|
||||
}
|
||||
|
||||
usort($posts, fn($a, $b) => $b['created'] - $a['created']); // newest first
|
||||
|
||||
echo json_encode($posts);
|
||||
Reference in New Issue
Block a user