<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="libewa.xyz/feed.xml" rel="self" type="application/atom+xml" /><link href="libewa.xyz/" rel="alternate" type="text/html" /><updated>2026-06-14T18:37:25+00:00</updated><id>libewa.xyz/feed.xml</id><title type="html">libewa.xyz</title><subtitle>Mediocre Swift and TypeScript code, with a bit of Python and C++.</subtitle><author><name>Linus Warnatz</name><email>linus@libewa.xyz</email></author><entry><title type="html">My own Jekyll theme</title><link href="libewa.xyz/2025/01/22/jekyll-theme.html" rel="alternate" type="text/html" title="My own Jekyll theme" /><published>2025-01-22T17:06:00+00:00</published><updated>2025-01-22T17:06:00+00:00</updated><id>libewa.xyz/2025/01/22/jekyll-theme</id><content type="html" xml:base="libewa.xyz/2025/01/22/jekyll-theme.html"><![CDATA[<p>Every GitHub Pages blog starts out with the default Minima theme, which looks ugly, boring, and, well… default.</p>

<p>So I started looking to other themes. The default Pages gem mostly contains documentation themes without a post index. I liked the look of the <code class="language-plaintext highlighter-rouge">hacker</code> theme, as I am an avid Retro enjoyer. I soon found a Retro Windows 95 theme, but it was old and broken, and my attempts at repairing it led to not much. So, I started writing my own Jekyll theme.</p>

<p>The basic idea was clear pretty soon: I wanted it to look and be clean and simple, both in and out, and it should support blogging. I got inspiration from the layout of <a href="https://xkcd.com">XKCD</a>, with its cleanly divided blocks. So, I fired up WebStorm, and started writing, with great help from Copilot. The 404 and Home pages I “borrowed” from Minima, with some changes to suit me. The site started with HTML and CSS, but I soon switched to SCSS for its modularity.</p>

<p>The first iteration, however, was heavily criticised for its ugly color theme. So, I got human help, and together, [Micodo] and I created a clean, dark but colored, color scheme.</p>

<p>Then came chaos: I decided to split the theme from the blog, and publish it to RubyGems. My first attempt at using <code class="language-plaintext highlighter-rouge">git subtree</code> ended miserably, as moving files does not retain history. In an effort that took an entire afternoon, I rebased my edits onto a copy of the original repository, and meticoulously edited history to make it seem like I had planned this all the time. And finally, it worked: The history now accurately shows the development of my own Jekyll theme.</p>

<p>You can use it too! Simply follow the <a href="https://libewa.xyz/jekyll-glass">instructions</a> in its GitHub Repository (or on the Page built from it), and make sure your Page uses a <a href="https://jekyllrb.com/docs/continuous-integration/github-actions/">Gem build</a>.</p>]]></content><author><name>Linus Warnatz</name><email>linus@libewa.xyz</email></author><category term="code" /><category term="github" /><category term="site" /><category term="design" /><summary type="html"><![CDATA[Every GitHub Pages blog starts out with the default Minima theme, which looks ugly, boring, and, well… default.]]></summary></entry><entry><title type="html">My own Keynote theme</title><link href="libewa.xyz/2025/01/22/keynote-theme.html" rel="alternate" type="text/html" title="My own Keynote theme" /><published>2025-01-22T17:06:00+00:00</published><updated>2025-01-22T17:06:00+00:00</updated><id>libewa.xyz/2025/01/22/keynote-theme</id><content type="html" xml:base="libewa.xyz/2025/01/22/keynote-theme.html"><![CDATA[<p>Unlike Jekyll, Keynote, Apple’s presentation software, has beautiful default themes (or <em>Designs</em>).
But I still like the design of my website, and wanted to use it for my presentations too.</p>

<p>Keynote on iPad is very limited, at least compared to Keynote on Mac. You can edit many style options, but only the Mac
version allows you to export them as a theme. This is a thing seen through many apps, both first and third party, where
the Mac version is significantly stronger than the iPad version, sometimes for no particular reason (and that’s why
Photomator is so cool on iPad, it can do things Photos can only do on Mac).</p>

<p>So, I started creating the theme on Mac. I opened a presentation with the Simple White theme, and pressed cmd+shift+e to
edit the slide templates. I opened the jekyl-glass theme in a second window, and created a color swatch for its colors.
(for reference, they are #1b2f33 and white). I also added the transparent border and background colors, and also a fixed
color version of the background.</p>

<p>More iteration was also done on the various text fields. The “Agenda”, “Quote” and “Facts” slides are unneccssary, I’ve
used “Fact” once, and Agenda is just Title and Bullets. However, I spent a lot of time figuring out how to put rounded
corners on a text field. The short story is: you can’t. The long story is: you can’t. Paragraph styles can have rounded
corners, but the radii are decided by Keynote. For the content of the Bullets slides, I first used pointed corners, but
in the end, I just put a rectangle behind the text field, and set it to be behind the text. This is a bit of a hack, but it works. <sup id="fnref:1" role="doc-noteref"><a href="#fn:1" class="footnote" rel="footnote">1</a></sup></p>

<p>You will be able to download the theme soon, after I remove the EXIF data from the placeholder images.</p>

<div class="footnotes" role="doc-endnotes">
  <ol>
    <li id="fn:1" role="doc-endnote">
      <p>And GitHub Copilot was, again, able to complete this sentence. <a href="#fnref:1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
    </li>
  </ol>
</div>]]></content><author><name>Linus Warnatz</name><email>linus@libewa.xyz</email></author><category term="design" /><category term="ipad" /><category term="keynote" /><summary type="html"><![CDATA[Unlike Jekyll, Keynote, Apple’s presentation software, has beautiful default themes (or Designs). But I still like the design of my website, and wanted to use it for my presentations too.]]></summary></entry><entry><title type="html">Why I use Bone (and how I did it)</title><link href="libewa.xyz/2024/12/23/bone.html" rel="alternate" type="text/html" title="Why I use Bone (and how I did it)" /><published>2024-12-23T11:59:00+00:00</published><updated>2024-12-23T11:59:00+00:00</updated><id>libewa.xyz/2024/12/23/bone</id><content type="html" xml:base="libewa.xyz/2024/12/23/bone.html"><![CDATA[<p>Typing is part of our everyday lives. Coding involves text, and if you’re not using MSPaintIDE, you probably use a keyboard to enter text.</p>

<p>And if the code gets longer, you might see your fingers strained. A few months ago, I someway heard of the Neo layout, which is designed to ease typing in both German and English, and also has more layers containing a lot of exotic symbols such as ⊥ (orthogonal to), ⊂ (subset of), ♀♂⚥ (the gender symbols), and the normal and zero width non-breaking spaces. Every one of the six layers also has three deadkeys, and there is a Compose system (on Windows and Linux), allowing you to set basically every Latin-based character.</p>

<p>It is, however, quite different from QWERTY (or QWERTZ, a version of QWERTY enshittified for German typewriters), so it requires a bit of learning, and my method, which I can definitely recommend: Go to a coding camp or hackathon, and write your code with that new layout.</p>

<p>Setting it up on different systems required a varying amount of effort, ranging from Windows (installing a keyboard driver and copying an EXE to <code class="language-plaintext highlighter-rouge">shell:startup</code>) to iPad (looking up every single character to create a custom layout in a paid app).</p>

<h2 id="windows-setup">Windows setup</h2>
<p>For Windows setup, I just followed the official <a href="https://neo-layout.org/Einrichtung/kbdneo">kbdneo</a> installation instructions, downloading the Bone versions of both kbdneo and ReNeo.</p>

<h2 id="linux-setup">Linux setup</h2>
<p>While Neo and Bone are included as keyboard layouts, Neo variants other than Neo2 are hidden away. After a lot of research and giving up, I found that it is simply … <code class="language-plaintext highlighter-rouge">de bone</code>. And so I entered that into my Hyprland config, and I saw that it was good.</p>

<h2 id="ios-setup">iOS setup</h2>
<p>iOS does not support Neo out of the box like Linux does, nor does it support layout drop-ins like macOS or Windows do. (If you can call copying DLLs to System32 and SysWOW64 and installing a registry patch a drop-in). The Neo manual recommended buying <a href="https://apps.apple.com/de/app/keybuild/id1547174534">Keybuild</a> (not sponsored), and using their config. But that config is only for Neo2, and only includes Layer 1 (and a bit of 2), so I wrote my own.
It works really well on iPad, but the keys are a bit small on iPhone. Layer 4 is a bit cut down, but I did what I could. You can download it here: <a href="https://gist.githubusercontent.com/libewa/e62244a567cc235ebd05b18e7d1ea1bb/raw/03c162250065fc631b1cc22ededed78f5e95d0ed/bone.keybuild" download="">Keybuild download</a>.</p>

<h2 id="mac-setup">Mac setup</h2>
<p>On Mac, the installation instructions have changed recently, and someone made a mistake doing that (edit: <em>My</em> PR fixing the upstream instructions has been merged. The download link now directly leads to the correct file). You need to download a Bundle file containing Neo2, AdNW and Bone. Then, copy that file to a Keyboard Layouts folder, so one of:</p>
<ul>
  <li><code class="language-plaintext highlighter-rouge">/Library/Keyboard Layouts</code> for all users</li>
  <li><code class="language-plaintext highlighter-rouge">~/Library/Keyboard Layouts</code> for the current user</li>
  <li><code class="language-plaintext highlighter-rouge">/Network/Library/Keyboard Layouts</code> for network users</li>
</ul>

<p>Then, log out and log back in, and you should be able to select the layout in System Preferences.</p>

<p>You are not done! Keyboard layouts on Mac can only have 4 layers, so you also need to install <a href="https://karabiner-elements.pqrs.org/">Karabiner Elements</a>, and import the Neo project’s <a href="https://ke-complex-modifications.pqrs.org/#neo2">ruleset</a>.</p>

<h2 id="further-reading">Further reading</h2>
<p>I got most of my info from the <a href="https://neo-layout.org/">Neo manual</a>, so, if you want to know more, you should read that.</p>]]></content><author><name>Linus Warnatz</name><email>linus@libewa.xyz</email></author><category term="typing" /><category term="code" /><category term="ipad" /><summary type="html"><![CDATA[Typing is part of our everyday lives. Coding involves text, and if you’re not using MSPaintIDE, you probably use a keyboard to enter text.]]></summary></entry><entry><title type="html">APT.Pt, uh, aha aha</title><link href="libewa.xyz/2024/12/15/aptpt.html" rel="alternate" type="text/html" title="APT.Pt, uh, aha aha" /><published>2024-12-15T17:57:00+00:00</published><updated>2024-12-18T07:46:00+00:00</updated><id>libewa.xyz/2024/12/15/aptpt</id><content type="html" xml:base="libewa.xyz/2024/12/15/aptpt.html"><![CDATA[<p>Benjamin (@Mensh123) today sent me his draft of a <em>Serial Advent Wreath Protocol</em>, describing what is essentialy a binary Advent Wreath, but in way to complicated terms.</p>

<p>So I took the challenge, but instead of writing a better binary counter,<!--more--> I directly opposed him, standardizing both Advent Wreathes and Calendars in what I call <em>The Advent Progression Tally Protocol</em>, or APT.Pt. That is a backronym, stemming from what appears to be the chorus of Bruno Mars’s new viral hit, <em>APT.</em> (which is pronounced with a Korean accent, apparently standing for “Apartment”)</p>

<p>You can get APT.Pt/1.0 on <a href="https://gist.github.com/libewa/b9439cef39bd738dbefd6f454a0d7c29/ac2e140545c08c48d9efacbaa4f8a8b82958875b">GitHub Gists</a>. The Gist UI does not show tags yet, but the correct commit is tagged <code class="language-plaintext highlighter-rouge">1.0</code>.</p>

<p>As a side note/view back stage, this post was written on an iPad using Textastic and Working Copy, the latter of which is also included in the Student developer pack. Expect a blog post about my keyboard layout Soon™.</p>]]></content><author><name>Linus Warnatz</name><email>linus@libewa.xyz</email></author><category term="github" /><category term="standards" /><summary type="html"><![CDATA[Benjamin (@Mensh123) today sent me his draft of a Serial Advent Wreath Protocol, describing what is essentialy a binary Advent Wreath, but in way to complicated terms.]]></summary></entry><entry><title type="html">Hello, World!</title><link href="libewa.xyz/2024/11/01/hello.html" rel="alternate" type="text/html" title="Hello, World!" /><published>2024-11-01T13:24:00+00:00</published><updated>2024-11-01T13:24:00+00:00</updated><id>libewa.xyz/2024/11/01/hello</id><content type="html" xml:base="libewa.xyz/2024/11/01/hello.html"><![CDATA[<p>This is my first ever blog entry. Maybe I’ll write more in the future. Today, my application to the GitHub Student Developer Pack was approved. I’m excited to start using the tools and services that come with it.</p>

<p>And I’ve already started: Most of this text was written by Copilot, which is already suggesting some more advertising.</p>

<p>See you, maybe soon, on the Interwebz (wow, that sounds cringy).</p>]]></content><author><name>Linus Warnatz</name><email>linus@libewa.xyz</email></author><category term="github" /><category term="site" /><summary type="html"><![CDATA[This is my first ever blog entry. Maybe I’ll write more in the future. Today, my application to the GitHub Student Developer Pack was approved. I’m excited to start using the tools and services that come with it.]]></summary></entry></feed>