-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
271 lines (241 loc) · 13.4 KB
/
Copy pathindex.html
File metadata and controls
271 lines (241 loc) · 13.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<html>
<head>
<title>Craig Weber</title>
<meta charset="UTF-8">
<meta name=viewport content='width=device-width'>
<meta name="google-site-verification" content="cw0Nbm73FcLB9kSYvCUhc5q-6CrLFcgJQy0h_qzG0O8" />
<link href='https://fonts.googleapis.com/css?family=Neuton|Merriweather|Inconsolata:400,700' rel='stylesheet'
type='text/css'>
<link rel="stylesheet" type="text/css" href="https://blog-test.weberc2.com/assets/theme//style.css">
<link rel="alternate" type="application/json" title="Craig Weber" href="https://blog-test.weberc2.com/index.json">
<script>
function submitAnalytics() {
const analyticsUrl = "https://blog-analytics.weberc2.com";
var body = document.getElementById("body");
var img = document.createElement("img");
var qstring = [
`path=${encodeURIComponent(window.location.pathname)}`,
`host=${encodeURIComponent(window.location.hostname)}`,
`proto=${encodeURIComponent(window.location.protocol)}`,
`referer=${encodeURIComponent(window.referer)}`,
].join("&");
img.setAttribute("src", `${analyticsUrl}/?${qstring}`);
body.appendChild(img);
}
</script>
</head>
<body onload="submitAnalytics()">
<h1 id="site-header"><a id="site-title" href="https://blog-test.weberc2.com/index.html">Craig Weber</a></h1>
<div id="page" class="center-column">
<div id="post-list">
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/fallout-macos.html>Fallout: easy(ish) installation on macOS (Apple Silicon)</a></h2>
<div class="post-meta">
<span class="post-date">2024-04-28</span>
<span class="tag"><a href="https://blog-test.weberc2.com/macos/index.html">macos</a></span>
<span class="tag"><a href="https://blog-test.weberc2.com/gaming/index.html">gaming</a></span>
</div>
<div class="post-body">
<p>Having just finished the TV series of the same title, I figured it would be a
good time to replay one of my favorite games from my teenage years: Fallout,
but I don't own a Windows computer and the game was never released for macOS.
Fortunately, the excellent <a href="https://github.com/alexbatalov/fallout1-ce">Fallout Community Edition</a> project
faithfully reimplements the game, although the installation instructions for
macOS are, for the moment, a mess. While those instructions are being ironed
out in the issue tracker, I'm hoping this guide can help anyone who just wants
to play the game on a Mac with minimal fuss.</p>
<a href=https://blog-test.weberc2.com/posts/fallout-macos.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/efficient-ssg-with-csp.html>Efficient SSG with CSP</a></h2>
<div class="post-meta">
<span class="post-date">2024-04-22</span>
<span class="tag"><a href="https://blog-test.weberc2.com/meta/index.html">meta</a></span>
</div>
<div class="post-body">
<p>In this post, I'm going to discuss my new static site generator which uses
communicating sequential processes (also known as "actors") to efficiently build
a static site from source, improving performance on the order of 10X (on my
laptop) by efficiently using all available cores.</p>
<a href=https://blog-test.weberc2.com/posts/efficient-ssg-with-csp.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/overlayroot-problem.html>Overlayroot Problem Statement</a></h2>
<div class="post-meta">
<span class="post-date">2023-03-03</span>
<span class="tag"><a href="https://blog-test.weberc2.com/homelab/index.html">homelab</a></span>
</div>
<div class="post-body">
<p>This week I've been looking at <code>overlayroot</code> as a potential solution to reduce
the effort to make changes to the nodes in my Raspberry Pi cluster. In this
post I want to brain-dump about the problem I'm hoping it solves and the
problems I'm running into with respect to implementing <code>overlayroot</code> as well as
potential solutions that I'm exploring.</p>
<a href=https://blog-test.weberc2.com/posts/overlayroot-problem.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/ec2-blog.html>Moving blog to EC2 Spot Instance</a></h2>
<div class="post-meta">
<span class="post-date">2022-10-15</span>
<span class="tag"><a href="https://blog-test.weberc2.com/aws/index.html">aws</a></span>
<span class="tag"><a href="https://blog-test.weberc2.com/meta/index.html">meta</a></span>
<span class="tag"><a href="https://blog-test.weberc2.com/homelab/index.html">homelab</a></span>
</div>
<div class="post-body">
<p>We recently moved from Chicago to Des Moines, and we're staying in an AirBnB
for a couple months while we look for the right house to buy. In the meanwhile,
most of our stuff (including critical components of my homelab) are in storage,
which means my blog wasn't running. In this transient period, I figured I would
try to run my blog in the cloud, and while there are easier and even cheaper
options, I decided to try out running it on EC2 in order to learn a bit more
about traditional Linux system administration. This post will document the
approach I arrived at.</p>
<a href=https://blog-test.weberc2.com/posts/ec2-blog.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/update.html>Update</a></h2>
<div class="post-meta">
<span class="post-date">2022-04-30</span>
<span class="tag"><a href="https://blog-test.weberc2.com/homelab/index.html">homelab</a></span>
<span class="tag"><a href="https://blog-test.weberc2.com/media/index.html">media</a></span>
<span class="tag"><a href="https://blog-test.weberc2.com/update/index.html">update</a></span>
</div>
<div class="post-body">
<p>I'm starting a new series where I briefly discuss what I've been working on,
what I've read, and what I'd like to explore. I'm just calling it "Update"
because I know I can't commit to any particular schedule. To find out what I've
been thinking about recently, read on.</p>
<a href=https://blog-test.weberc2.com/posts/update.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/securely-expose-private-service.html>Securely expose private service for cheap</a></h2>
<div class="post-meta">
<span class="post-date">2021-10-29</span>
<span class="tag"><a href="https://blog-test.weberc2.com/meta/index.html">meta</a></span>
<span class="tag"><a href="https://blog-test.weberc2.com/homelab/index.html">homelab</a></span>
</div>
<div class="post-body">
<p><em>Disclaimer: This is not a production-grade solution</em></p>
<p>At home I have a Raspberry Pi Kubernetes cluster running, among other things,
this blog (or at least at the time of this writing). One of my goals for this
cluster is to keep my cloud/SaaS/etc costs down below $5/month. Another goal is
to avoid poking holes in my home router's firewall.</p>
<a href=https://blog-test.weberc2.com/posts/securely-expose-private-service.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/working-around-ext4-on-macos.html>Working around ext4 on MacOS</a></h2>
<div class="post-meta">
<span class="post-date">2021-01-23</span>
<span class="tag"><a href="https://blog-test.weberc2.com/macos/index.html">macos</a></span>
<span class="tag"><a href="https://blog-test.weberc2.com/ext4/index.html">ext4</a></span>
</div>
<div class="post-body">
<p>One of the maddening things about MacOS is that it lacks ext4 file system
support. This is a bummer because I use ext4 on many of my external hard
drives as well as boot volumes for various headless Linux machines. Once in a
while, these boot drives become corrupted (due to user error) and I find myself
wanting to mount the file system on another system to repair the error. Ideally
I can just pop it in a SATA<->USB adapter and mount it on my Mac, but alas...</p>
<a href=https://blog-test.weberc2.com/posts/working-around-ext4-on-macos.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/changelog.html>Changelog</a></h2>
<div class="post-meta">
<span class="post-date">2021-01-16</span>
<span class="tag"><a href="https://blog-test.weberc2.com/homelab/index.html">homelab</a></span>
</div>
<div class="post-body">
<p>I worked on this blog for several hours this weekend, releasing a new post,
implementing a couple new features and fixing some bugs. Here are the
highlights:</p>
<ul>
<li>Published the <a href="https://blog-test.weberc2.com/posts/homelab-part-i-hardware.html">first entry</a> in my <a href="https://blog-test.weberc2.com/posts/homelab-intro.html">Homelab</a> series</li>
<li>Fixed a bug on iPad that was causing a ~300% zoom</li>
<li>Implemented syndication (atom feed)</li>
<li>Fixed broken relative links in post snippets</li>
<li>Reduced coupling between markdown and site configuration</li>
</ul>
<a href=https://blog-test.weberc2.com/posts/changelog.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/homelab-part-i-hardware.html>Homelab Part I: Hardware</a></h2>
<div class="post-meta">
<span class="post-date">2021-01-14</span>
<span class="tag"><a href="https://blog-test.weberc2.com/homelab/index.html">homelab</a></span>
</div>
<div class="post-body">
<p>For hardware, I settled on Raspberry Pi 4Bs. They support up to 8GB of RAM
(enough power to run the k3s master nodes) and USB 3.0 for fast external SSD
I/O. The only downside of the 4Bs is that they require more power than the 3Bs,
and the same multiport USB power supplies that could support a 3B cluster
couldn't support a 4B cluster. To solve for this, I decided on PoE hats and a
PoE switch. This halves the number of cables that need to be run to each Pi,
which makes the Pi cluster that much more enjoyable and easy on the eyes.</p>
<a href=https://blog-test.weberc2.com/posts/homelab-part-i-hardware.html>Read More</a>
</div>
</div>
<div class="post">
<h2 class="post-title"><a href=https://blog-test.weberc2.com/posts/macos-force-rgb.html>Force RGB-mode (fix pink tint) in macOS in 3 easy steps</a></h2>
<div class="post-meta">
<span class="post-date">2021-01-04</span>
<span class="tag"><a href="https://blog-test.weberc2.com/macos/index.html">macos</a></span>
</div>
<div class="post-body">
<p>For whatever reason, macOS Catalina and Big Sur were both tinting my external
monitor pink. Some research indicated that it had to do with the color mode,
notably that I needed to force RGB. MacOS's UI doesn't give the user the
ability to change the color mode directly, so you have to hack around the
display profile files directly.</p>
<p><a href="https://www.mathewinkson.com/2013/03/force-rgb-mode-in-mac-os-x-to-fix-the-picture-quality-of-an-external-monitor">This post</a> and its comments from 2013 seem to be the authoritative guide on
forcing RGB mode; however, these steps (and the variations found in the
comments) make you do a lot of things, including disabling the System Integrity
Protection (basically the stuff that prevents even the super user from changing
certain files and directories), booting into recovery mode, changing boot files
(which can put your system into a boot loop, as I discovered the hard way), and
a number of other dangerous, arcane things.</p>
<p>Fortunately, I found a sequence that is much safer and easier (tested on both
Big Sur and Catalina on two distinct MacBook Pros):</p>
<a href=https://blog-test.weberc2.com/posts/macos-force-rgb.html>Read More</a>
</div>
</div>
</div>
<div id="pagination">
<div class="pagination" id="pagination-next">
<a href=https://blog-test.weberc2.com/page-001.html>Next »</a>
</div>
</div>
</div>
<div id="footer">
<div id="footer-content" class="center-column">
<div class="footer-section">
<h4>About</h4>
<p>
Software enthusiast. Amateur blogger. I build things at
<a href="https://tempus.com">Tempus.</a> Thoughts and
opinions are my own.
</p>
</div>
<div class="footer-section">
<h4>Contact</h4>
<ul>
<li><a href="https://stranger.social/@weberc2">Mastodon</a></li>
<li><a href="https://github.com/weberc2">Github</a></li>
<li><a href="https://blog-test.weberc2.com/index.json">Syndicated Feed</a></li>
</ul>
</div>
<div class="footer-section">
<h4>Copyright</h4>
Craig Weber 2016
</div>
</div>
</div>
</body>
</html>