summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-02 18:05:06 -0330
committerSam Anthony <sam@samanthony.xyz>2026-01-02 18:05:06 -0330
commitda7a80e34660456a12f882de7eeaf94ddaab5d44 (patch)
treec11f6668f74bb2c74326920fa683c282ceed2e8b
parent11f81b5e1c02f373fce8d5ac7021b509c3cf2292 (diff)
downloadsamanthony.xyz-da7a80e34660456a12f882de7eeaf94ddaab5d44.zip
article: tools-i-use
-rw-r--r--archetypes/default.md3
-rw-r--r--content/_index.html1
-rw-r--r--content/articles/post-1.md2
-rw-r--r--content/articles/tools-i-use.md74
-rw-r--r--layouts/articles/home.html7
-rw-r--r--layouts/list.html21
-rw-r--r--layouts/page.html11
-rw-r--r--layouts/section.html8
-rw-r--r--layouts/taxonomy.html7
-rw-r--r--themes/aoidh/assets/aoidh.css26
-rw-r--r--themes/aoidh/layouts/_partials/menu.html2
11 files changed, 127 insertions, 35 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
index 25b6752..631acf5 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,5 +1,6 @@
+++
+title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = '{{ .Date }}'
+tags = []
draft = true
-title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++
diff --git a/content/_index.html b/content/_index.html
index b76d1f7..5ed65a4 100644
--- a/content/_index.html
+++ b/content/_index.html
@@ -60,5 +60,6 @@ draft: false
</tr>
</tbody>
</table>
+<h1>Biography</h1>
<img src="img/headshot.jpg" alt="Sam Anthony">
<p>TODO: biography</p>
diff --git a/content/articles/post-1.md b/content/articles/post-1.md
index 9ba4184..54f4f32 100644
--- a/content/articles/post-1.md
+++ b/content/articles/post-1.md
@@ -1,8 +1,8 @@
+++
title = 'Post 1'
date = 2025-12-23T09:00:00-07:00
-draft = false
tags = ['red']
+draft = false
+++
Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. This is a [link](http://git.samanthony.xyz) within body text. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem.
diff --git a/content/articles/tools-i-use.md b/content/articles/tools-i-use.md
new file mode 100644
index 0000000..952d782
--- /dev/null
+++ b/content/articles/tools-i-use.md
@@ -0,0 +1,74 @@
++++
+title = 'Tools I Use'
+date = '2026-01-02T15:24:53-03:30'
+tags = []
+draft = true
++++
+
+Here is a list of some of the tools I use day-to-day.
+
+
+# Software
+
+- [Gentoo Linux](https://www.gentoo.org/) ---
+ One of the most solid barebones Linux distros I know of.
+ I use it on my desktop and laptop computers.
+- [OpenBSD](https://www.openbsd.org/) ---
+ Secure server operating system.
+ I use it to serve this website.
+
+ Unlike a GNU/Linux distro, OpenBSD is a single homogeneous system.
+ Everything makes sense and the documentation is really good.
+ Reminds me of [Plan 9](https://plan9.io/plan9/) in that respect.
+
+- [Acme](http://acme.cat-v.org/) ---
+ Originally developed for Plan 9, Acme is [Rob Pike's](https://commandcenter.blogspot.com/) user interface for programmers.
+ It's what we now call an IDE.
+ I'm writing this article in Acme right now.
+
+ Every piece of text in Acme can be a executed or piped into/out-of a script.
+ Very powerful.
+- [Dwm](https://dwm.suckless.org/) ---
+ Nice tiling window manager for X11.
+ Goes well with other Suckless accoutrements.
+- [Syncthing](https://syncthing.net/) ---
+ Syncthing is a sort of distributed filesystem.
+ I use it to synchronize files between my laptop, desktop, and phone.
+
+
+# Hardware
+
+- [Thinkpad T420s](https://www.thinkwiki.org/wiki/Category:T420s) ---
+ I've had this laptop for a few years now; no complaints.
+
+ I replaced the hard drive with an SSD and threw some extra DDR3 in there.
+ The 10+ year old 4-thread Sandy Bridge i5 is actually fine.
+ I'm waiting for someone to make a [serious multithreaded](https://netlib.org/utk/papers/advanced-computers/tera.html) RISC-V CPU, but unfortunately everyone seems to be obsessed with high clock speeds and out-of-order-execution chips that use as much die space and power as possible.
+ That [Esperanto ET-SoC-1](https://youtu.be/LmUu-lN7D0k) looked promising, but apparently they went out of business or something?
+
+ Anyway, the T420s has a sturdy magnesium frame, a good keyboard, and a three-button touchpad which is essential for Acme and CAD programs---I don't know how people live without one.
+
+- iPod mini 1G ---
+ Hard to find a phone with a headphone jack these days.
+ The mini has one, as well as physical buttons and a touch rotary encoder---much nicer than using a touchscreen imo.
+ I want to get a full size iPod 1G with the physical scroll wheel at some point.
+
+ I replaced the battery with a new one and replaced the tiny (both physically and in terms of storage space) hard drive with a 128GB SD card.
+ Running [RockBox](https://www.rockbox.org/).
+ Works mint.
+
+- Casio F-91W ---
+ Cheap wristwatch that keeps time---what can I say?
+ If it's good enough for [al-Qaeda](https://en.wikipedia.org/wiki/Casio_F-91W#Usage_in_terrorism) then it's good enough for me.
+
+ Supposedly this is the most-sold watch in the world.
+ Casio has been making it since 1989.
+
+- [USBtin](https://www.fischl.de/usbtin/) ---
+ Simple USB-to-CAN interface by Thomas Fischl.
+ Works with [SocketCAN](https://docs.kernel.org/networking/can.html).
+ Used to test and debug systems that incorporate a CAN bus, like [this](http://git.samanthony.xyz/can-gauge-interface.git/).
+
+- [Espotek Labrador](https://espotek.com/labrador/) ---
+ Combined oscilloscope, signal generator, power supply, logic analyzer, and multimeter.
+ Obviously a tiny $30 board is not as good as real lab equipment, but it's small and cheap and good enough for now.
diff --git a/layouts/articles/home.html b/layouts/articles/home.html
deleted file mode 100644
index 46ab1df..0000000
--- a/layouts/articles/home.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{{ define "main" }}
- {{ .Content }}
- {{ range .Pages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ .Summary }}
- {{ end }}
-{{ end }}
diff --git a/layouts/list.html b/layouts/list.html
new file mode 100644
index 0000000..cc6c7be
--- /dev/null
+++ b/layouts/list.html
@@ -0,0 +1,21 @@
+{{ define "main" }}
+ <h1>{{ .Title }}</h1>
+ <table>
+ <thead>
+ <tr>
+ <th>Date</th>
+ <th>Title</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{ range .Pages }}
+ {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}}
+ {{- $dateHuman := .Date | time.Format "2006-01-02" -}}
+ <tr>
+ <td><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></td>
+ <td><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></td>
+ </tr>
+ {{ end }}
+ </tbody>
+ </table>
+{{ end }}
diff --git a/layouts/page.html b/layouts/page.html
index 7e286c8..8b8eb16 100644
--- a/layouts/page.html
+++ b/layouts/page.html
@@ -1,9 +1,10 @@
{{ define "main" }}
- <h1>{{ .Title }}</h1>
-
- {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
- {{ $dateHuman := .Date | time.Format ":date_long" }}
- <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}}
+ {{- $dateHuman := .Date | time.Format "2006-01-02" -}}
+ <div>
+ <h1 class="title">{{ .Title }}</h1>
+ <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ </div>
{{ .Content }}
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
diff --git a/layouts/section.html b/layouts/section.html
deleted file mode 100644
index 50fc92d..0000000
--- a/layouts/section.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{ define "main" }}
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- {{ range .Pages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ .Summary }}
- {{ end }}
-{{ end }}
diff --git a/layouts/taxonomy.html b/layouts/taxonomy.html
deleted file mode 100644
index c2e7875..0000000
--- a/layouts/taxonomy.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{{ define "main" }}
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- {{ range .Pages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ end }}
-{{ end }}
diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css
index e586a09..51571f5 100644
--- a/themes/aoidh/assets/aoidh.css
+++ b/themes/aoidh/assets/aoidh.css
@@ -23,7 +23,7 @@ body {
}
body {
- line-height: 1.35rem;
+ line-height: 1.35em;
font-family: serif;
text-rendering: optimizeLegibility;
color: #000;
@@ -44,6 +44,7 @@ nav ul {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
gap: .4rem .8rem;
+ padding: 0;
}
nav li {
@@ -66,12 +67,12 @@ li.nav-active a {
box-shadow: .2rem .2rem var(--dark-yellow);
}
-nav a:active {
- box-shadow: 0 0;
+li.nav-ancestor a {
+ font-weight: bold;
}
-ul {
- padding: 0;
+nav a:active {
+ box-shadow: 0 0;
}
p {
@@ -100,6 +101,10 @@ a:active {
border: 1px solid var(--dark-blue);
}
+.title {
+ font-size: 1.4rem;
+}
+
h1 {
font-size: 1.3rem;
}
@@ -165,3 +170,14 @@ img {
display: block;
margin: auto;
}
+
+div {
+ margin-bottom: var(--parspace);
+}
+
+ul {
+ margin: 0;
+ margin-block: 0 var(--parspace);
+ padding: 0;
+ padding-inline-start: 2em;
+}
diff --git a/themes/aoidh/layouts/_partials/menu.html b/themes/aoidh/layouts/_partials/menu.html
index 79c2d23..ba80749 100644
--- a/themes/aoidh/layouts/_partials/menu.html
+++ b/themes/aoidh/layouts/_partials/menu.html
@@ -25,7 +25,7 @@ Renders a menu for the given menu ID.
{{- if $page.IsMenuCurrent .Menu . -}}
{{- printf " class=%q" "nav-active" | safeHTMLAttr -}}
{{- else if $page.HasMenuCurrent .Menu . -}}
- {{- printf "class=%q" "nav-ancestor" | safeHTMLAttr -}}
+ {{- printf " class=%q" "nav-ancestor" | safeHTMLAttr -}}
{{- end -}}>
<a
{{ printf "href=%q" .URL | safeHTMLAttr }}