summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authora73x <[email protected]>2024-12-01 13:27:00 +0000
committera73x <[email protected]>2024-12-01 13:27:00 +0000
commit8358c0765be412b1616aa978667f5d582e9e4901 (patch)
treeacb2e9efb40bb4b92f45020f96b269c89a0827ce /public
parent013d56b78002dec56d8426b24b3a31107f22c7a7 (diff)
feat(css): centered content
Diffstat (limited to 'public')
-rw-r--r--public/ethos.html53
-rw-r--r--public/index.html66
-rw-r--r--public/posts.html53
-rw-r--r--public/posts/2024-08-25-01.html53
-rw-r--r--public/posts/2024-08-25-02.html53
-rw-r--r--public/posts/2024-08-25-03.html53
-rw-r--r--public/posts/2024-08-26-01.html53
-rw-r--r--public/posts/2024-08-31-01.html53
-rw-r--r--public/posts/2024-09-04-01.html53
-rw-r--r--public/posts/2024-09-08-01.html53
-rw-r--r--public/posts/2024-11-09-01.html53
-rw-r--r--public/static/styles.css23
12 files changed, 339 insertions, 280 deletions
diff --git a/public/ethos.html b/public/ethos.html
index d928a6e..c23291e 100644
--- a/public/ethos.html
+++ b/public/ethos.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>ethos</h1>
<h3 id="this-site-has-an-ethos">This Site Has an Ethos</h3>
@@ -78,11 +79,13 @@
<p>The modern web is bloated, intrusive, and corporate-controlled. This site represents a different vision: a lean, personal, and sustainable space, built with simplicity and independence in mind. As long as I keep learning and experimenting, I’ll continue to share what I discover. Perhaps it will inspire others to reclaim their own corner of the internet and create a web that reflects the values of its users, not just its corporations.</p>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/index.html b/public/index.html
index 18ef34b..de115be 100644
--- a/public/index.html
+++ b/public/index.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>home</h1>
<p>Welcome!</p>
@@ -65,15 +66,19 @@ more CPU == more contention</li>
<h2 id="git">#git</h2>
<ul>
-<li><code>git reflog</code></li>
-<li><code>git commit --fixup=&lt;COMMITISH&gt;</code><br>
-<code>git rebase origin/main --autosquash</code></li>
+<li><code>git reflog</code> will save you when you mess up</li>
+<li>Keep your git history clean
+
+<ul>
+<li><code>git commit --fixup=&lt;COMMITISH&gt;</code></li>
+<li><code>git rebase origin/main --autosquash</code></li>
+</ul></li>
</ul>
<h1 id="resources">resources</h1>
<ul>
-<li><a href="https://cs.opensource.google/go/go/+/refs/tags/go1.23.0:src/runtime/proc.go"><code>proc.go</code></a></li>
+<li><a href="https://cs.opensource.google/go/go/+/refs/tags/go1.23.0:src/runtime/proc.go"><code>proc.go</code></a> - Go documentation is great, this describes the scheduler</li>
<li><a href="https://github.com/golang/go/issues/67120">proposal: runtime/metrics: define a recommended set of metrics</a></li>
</ul>
@@ -84,14 +89,17 @@ more CPU == more contention</li>
<li><a href="https://www.oreilly.com/library/view/database-internals/9781492040330">Database Internals</a></li>
<li><a href="https://www.oreilly.com/library/view/efficient-go/9781098105709">Efficient Go</a></li>
<li><a href="https://press.stripe.com/the-art-of-doing-science-and-engineering">The Art of Doing Science </a></li>
+<li><a href="https://www.oreilly.com/library/view/the-art-of/9781492080688/">The Art of Agile Development</a></li>
</ul>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts.html b/public/posts.html
index 9259ba4..fe93b2b 100644
--- a/public/posts.html
+++ b/public/posts.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>posts</h1>
<ul>
<li><p><a href="/posts/2024-08-25-01.html">Go Benchmarking</a></p></li>
@@ -54,11 +55,13 @@
</ul>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts/2024-08-25-01.html b/public/posts/2024-08-25-01.html
index 4bd4371..91f5a84 100644
--- a/public/posts/2024-08-25-01.html
+++ b/public/posts/2024-08-25-01.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>Go Benchmarking</h1>
<nav>
@@ -106,11 +107,13 @@
</ul>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts/2024-08-25-02.html b/public/posts/2024-08-25-02.html
index 81e8f77..541697b 100644
--- a/public/posts/2024-08-25-02.html
+++ b/public/posts/2024-08-25-02.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>Go Project Layouts</h1>
<p>Do you lay awake at night and consider how to optimally layout your Go project?
No&hellip;? what about recommending Windows to a friend or colleague??
@@ -142,11 +143,13 @@ I can&rsquo;t be bothered rewriting my example, so here&rsquo;s a random one I f
<p>My vague summary is that clean code gives you a north star to follow, an idea of how you want to separate and reason about the packages you create. You don&rsquo;t need to create the entities of abstraction that are also presented. Think about what things do or relate to and create packages for them. You should allow your project to grow organically but don&rsquo;t expect architecture to appear without following a north star.</p>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts/2024-08-25-03.html b/public/posts/2024-08-25-03.html
index 07e48a0..d3fa17c 100644
--- a/public/posts/2024-08-25-03.html
+++ b/public/posts/2024-08-25-03.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>Levels of Optimisation</h1>
<nav>
@@ -67,11 +68,13 @@ Also, if you have long-running calls that are chained together, a 30-second snap
It&rsquo;s also just lowkey fun to look at the exposed data and understand what your system is doing.</p>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts/2024-08-26-01.html b/public/posts/2024-08-26-01.html
index acf51a6..547e86c 100644
--- a/public/posts/2024-08-26-01.html
+++ b/public/posts/2024-08-26-01.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>Writing HTTP Handlers</h1>
<p>I&rsquo;m sharing how I write handlers in Go.</p>
@@ -269,11 +270,13 @@ The handler functions accept a <code>context</code> param and their expected str
<p>You can extend this to all the other request types. If you have query or path parameters, you could either pass in the request, write a custom struct tag parser, or find someone else who has already done it: <a href="https://github.com/gorilla/schema">https://github.com/gorilla/schema</a>.</p>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts/2024-08-31-01.html b/public/posts/2024-08-31-01.html
index 68d8563..955c4d0 100644
--- a/public/posts/2024-08-31-01.html
+++ b/public/posts/2024-08-31-01.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>Go's unique pkg</h1>
<p><a href="https://pkg.go.dev/unique">https://pkg.go.dev/unique</a></p>
@@ -85,11 +86,13 @@
</div>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts/2024-09-04-01.html b/public/posts/2024-09-04-01.html
index 2e1abae..248ec34 100644
--- a/public/posts/2024-09-04-01.html
+++ b/public/posts/2024-09-04-01.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>Kubernetes Intro</h1>
<nav>
@@ -154,11 +155,13 @@ You&rsquo;re welcome.</p>
<p>The typical workflow involves a user creating a PersistentVolumeClaim to request storage. The CSI controller picks up this request and, based on the associated Storage Class, dynamically provisions a PersistentVolume that meets the user&rsquo;s specifications. This PersistentVolume is then bound to the PersistentVolumeClaim, making the storage available to the Pod that needs it.</p>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts/2024-09-08-01.html b/public/posts/2024-09-08-01.html
index 72cde61..ade7fdf 100644
--- a/public/posts/2024-09-08-01.html
+++ b/public/posts/2024-09-08-01.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>Building a Static Site with Hugo and Docker</h1>
<nav>
@@ -254,11 +255,13 @@
<p>Congratulations on creating and running your first static website with Hugo and Docker!</p>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/posts/2024-11-09-01.html b/public/posts/2024-11-09-01.html
index e825118..a79f7e4 100644
--- a/public/posts/2024-11-09-01.html
+++ b/public/posts/2024-11-09-01.html
@@ -14,26 +14,27 @@
</head>
<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
-
-
- <li><a class="no-decorations" href="/">home</a></li>
-
-
-
- <li><a class="no-decorations" href="/posts">posts</a></li>
-
-
-
- <li><a class="no-decorations" href="/ethos">ethos</a></li>
-
-
- </ul>
- </nav>
-
+ <main>
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ <nav class="nav">
+ <ul>
+
+
+ <li><a class="no-decorations" href="/">home</a></li>
+
+
+
+ <li><a class="no-decorations" href="/posts">posts</a></li>
+
+
+
+ <li><a class="no-decorations" href="/ethos">ethos</a></li>
+
+
+ </ul>
+ </nav>
+
<h1>Refactoring</h1>
<nav>
@@ -75,11 +76,13 @@
<p>Refactoring done right is a powerful way to keep your codebase healthy. It reduces complexity, mitigates technical debt, and prepares your code for future change. It may not be glamorous, but it’s one of the most impactful ways to ensure that your codebase is something you—and others—can work with for the long haul.</p>
- <footer>
- <br />​
- <hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
+ <footer>
+ <br />
+ <hr />
+ ​​​​​​​​​​​​​​​​​​​<br />​
+ <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
+ </footer>
+ </main>
</body>
</html>
diff --git a/public/static/styles.css b/public/static/styles.css
index 7b9590e..1de3a03 100644
--- a/public/static/styles.css
+++ b/public/static/styles.css
@@ -20,19 +20,40 @@ blockquote {
padding-left: 10px;
}
+hr {
+ border: none;
+ border-top: 1px dashed black;
+}
+
code {
font-family: "Mono";
}
h1 {
margin-bottom: 0;
+ font-size: 1.8rem;
+}
+
+h2 {
+ margin-bottom: 0;
+ font-size: 1.5rem;
+}
+
+h3 {
+ margin-bottom: 0;
+ font-size: 1.2rem;
}
body {
- max-width: 70ch;
font-family: "Mono";
}
+main {
+ max-width: 70ch;
+ margin-left: auto;
+ margin-right: auto;
+}
+
.nav ul {
display: flex;
list-style: none;