<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Hokiyo</title>
    <link>/</link>
    <description>Recent content on Hokiyo</description>
    <generator>Hugo -- 0.127.0</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 19 Jun 2024 06:06:44 +0800</lastBuildDate>
    <atom:link href="/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Automate shutdowns with a dumb UPS</title>
      <link>/posts/02-automate-shutdowns-dumb-ups/</link>
      <pubDate>Wed, 19 Jun 2024 06:06:44 +0800</pubDate>
      <guid>/posts/02-automate-shutdowns-dumb-ups/</guid>
      <description>My homelab isn&amp;rsquo;t much – it consists only a server and a NAS. I back-up my notes, movies, photos and documents on the NAS, and serve various services on the server such as my home internet, note app, media server, game servers, and this very site, and, well, among many others. I sync my photos to OneDrive just in case anything physical happens to the setup. However, I worry about corruption – especially one induced by a power loss.</description>
    </item>
    <item>
      <title>Proxying TCP from LAN to WSL2</title>
      <link>/posts/01-proxying-tcp-wsl/</link>
      <pubDate>Sun, 20 Aug 2023 11:20:00 +0800</pubDate>
      <guid>/posts/01-proxying-tcp-wsl/</guid>
      <description>I am developing this blog with Hugo in a Docker container which is running in WSL (not Docker Desktop &amp;ndash; I barely use the GUI anyway). Hugo has a web server which allows me to see how the website looks like as I make changes.
With host networking mode under Docker, in WSL, Hugo&amp;rsquo;s port 1313 is published on localhost. I can test it in Firefox and in Chromium Edge. However, to test it on my phone, in Safari, I first need to push changes to my Github repo before pulling to my Nginx LXC container, because ports on WSL only listens to localhost.</description>
    </item>
    <item>
      <title>Importing Docker images into WSL2</title>
      <link>/posts/00-importing-docker-wsl/</link>
      <pubDate>Sun, 20 Aug 2023 05:06:00 +0800</pubDate>
      <guid>/posts/00-importing-docker-wsl/</guid>
      <description>I like WSL2. It&amp;rsquo;s lightweight, and integrates well with Windows as files are easily transferrable into and out of containers.
I&amp;rsquo;ve recently glanced at Microsoft&amp;rsquo;s docs regarding importing Linux distros in WSL which includes an example of exporting CentOS from Docker and importing it into WSL. It&amp;rsquo;s quite simple to do. However, you do need to have Docker installed.
For this example, I will be importing a Docker image of Hugo, a static site generator, into WSL.</description>
    </item>
  </channel>
</rss>
