<?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="https://surferlul.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://surferlul.github.io/" rel="alternate" type="text/html" /><updated>2024-10-22T21:22:51+00:00</updated><id>https://surferlul.github.io/feed.xml</id><title type="html">My Projects</title><subtitle>This is a collection of my Projects</subtitle><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><entry><title type="html">GitHub Action: logseq-excalidraw-to-svg</title><link href="https://surferlul.github.io/logseq-publish-adjust-content-width/" rel="alternate" type="text/html" title="GitHub Action: logseq-excalidraw-to-svg" /><published>2023-10-20T00:00:00+00:00</published><updated>2023-10-20T00:00:00+00:00</updated><id>https://surferlul.github.io/logseq-publish-adjust-content-width</id><content type="html" xml:base="https://surferlul.github.io/logseq-publish-adjust-content-width/"><![CDATA[<p>A postprocessor for logseq-spa. Adjusts the width of the website content</p>

<h2 id="inputs">Inputs</h2>

<table>
  <thead>
    <tr>
      <th>Input</th>
      <th>Requred</th>
      <th>Logseq Default</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>content-width</td>
      <td>true</td>
      <td>810px</td>
      <td>Width that the page content is supposed to have</td>
    </tr>
  </tbody>
</table>

<h2 id="example-action">Example Action</h2>
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">on</span><span class="pi">:</span> <span class="pi">[</span><span class="nv">push</span><span class="pi">]</span>

<span class="na">permissions</span><span class="pi">:</span>
  <span class="na">contents</span><span class="pi">:</span> <span class="s">write</span>
<span class="na">jobs</span><span class="pi">:</span>
  <span class="na">test</span><span class="pi">:</span>
    <span class="na">runs-on</span><span class="pi">:</span> <span class="s">ubuntu-latest</span>
    <span class="na">name</span><span class="pi">:</span> <span class="s">Publish Logseq graph</span>
    <span class="na">steps</span><span class="pi">:</span>
      <span class="pi">-</span> <span class="na">uses</span><span class="pi">:</span> <span class="s">actions/checkout@v3</span>
      <span class="pi">-</span> <span class="na">uses</span><span class="pi">:</span> <span class="s">logseq/publish-spa@main</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">version</span><span class="pi">:</span> <span class="s">nightly</span>
          <span class="na">theme-mode</span><span class="pi">:</span> <span class="s">dark</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">adjust content width</span>
        <span class="na">uses</span><span class="pi">:</span> <span class="s">Surferlul/logseq-publish-adjust-content-width@main</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">content-width</span><span class="pi">:</span> <span class="s">1000px</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">add a nojekyll file</span> <span class="c1"># to make sure asset paths are correctly identified</span>
        <span class="na">run</span><span class="pi">:</span> <span class="s">touch $GITHUB_WORKSPACE/www/.nojekyll</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">Deploy 🚀</span>
        <span class="na">uses</span><span class="pi">:</span> <span class="s">JamesIves/github-pages-deploy-action@v4</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">folder</span><span class="pi">:</span> <span class="s">www</span>
</code></pre></div></div>

<h3 id="view-on-marketplace"><a href="https://github.com/marketplace/actions/logseq-adjust-content-width">View on Marketplace</a></h3>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/logseq-publish-adjust-content-width">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[A postprocessor for logseq-spa. Adjusts the width of the website content]]></summary></entry><entry><title type="html">Fullcalendar dark theme</title><link href="https://surferlul.github.io/fullcalendar-dark-theme/" rel="alternate" type="text/html" title="Fullcalendar dark theme" /><published>2023-10-15T00:00:00+00:00</published><updated>2023-10-15T00:00:00+00:00</updated><id>https://surferlul.github.io/fullcalendar-dark-theme</id><content type="html" xml:base="https://surferlul.github.io/fullcalendar-dark-theme/"><![CDATA[<p>A dark theme for <a href="https://fullcalendar.io">fullcalendar</a></p>

<p>To use the theme just link the <a href="https://raw.githubusercontent.com/Surferlul/fullcalendar-dark-theme/main/theme.css">theme.css</a> as a stylesheet</p>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/IA-Logseq-Calendar">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[A dark theme for fullcalendar]]></summary></entry><entry><title type="html">GitHub Action: logseq-publish-theme-tenset</title><link href="https://surferlul.github.io/logseq-publish-theme-tenset/" rel="alternate" type="text/html" title="GitHub Action: logseq-publish-theme-tenset" /><published>2023-10-10T00:00:00+00:00</published><updated>2023-10-10T00:00:00+00:00</updated><id>https://surferlul.github.io/logseq-publish-theme-tenset</id><content type="html" xml:base="https://surferlul.github.io/logseq-publish-theme-tenset/"><![CDATA[<p>A postprocessor for logseq-spa. Applies logseq-tenset-theme to published site</p>

<h2 id="example-action">Example Action</h2>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">on</span><span class="pi">:</span> <span class="pi">[</span><span class="nv">push</span><span class="pi">]</span>

<span class="na">permissions</span><span class="pi">:</span>
  <span class="na">contents</span><span class="pi">:</span> <span class="s">write</span>
<span class="na">jobs</span><span class="pi">:</span>
  <span class="na">test</span><span class="pi">:</span>
    <span class="na">runs-on</span><span class="pi">:</span> <span class="s">ubuntu-latest</span>
    <span class="na">name</span><span class="pi">:</span> <span class="s">Publish Logseq graph</span>
    <span class="na">steps</span><span class="pi">:</span>
      <span class="pi">-</span> <span class="na">uses</span><span class="pi">:</span> <span class="s">actions/checkout@v3</span>
      <span class="pi">-</span> <span class="na">uses</span><span class="pi">:</span> <span class="s">logseq/publish-spa@main</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">version</span><span class="pi">:</span> <span class="s">nightly</span>
          <span class="na">theme-mode</span><span class="pi">:</span> <span class="s">dark</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">apply tenset theme</span>
        <span class="na">uses</span><span class="pi">:</span> <span class="s">Surferlul/logseq-publish-theme-tenset@main</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">add a nojekyll file</span> <span class="c1"># to make sure asset paths are correctly identified</span>
        <span class="na">run</span><span class="pi">:</span> <span class="s">touch $GITHUB_WORKSPACE/www/.nojekyll</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">Deploy 🚀</span>
        <span class="na">uses</span><span class="pi">:</span> <span class="s">JamesIves/github-pages-deploy-action@v4</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">folder</span><span class="pi">:</span> <span class="s">www</span>
</code></pre></div></div>

<h3 id="view-on-marketplace"><a href="https://github.com/marketplace/actions/logseq-publish-apply-tenset-theme">View on Marketplace</a></h3>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/logseq-publish-theme-tenset">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[A postprocessor for logseq-spa. Applies logseq-tenset-theme to published site]]></summary></entry><entry><title type="html">GitHub Action: logseq-excalidraw-to-svg</title><link href="https://surferlul.github.io/logseq-publish-excalidraw-to-svg/" rel="alternate" type="text/html" title="GitHub Action: logseq-excalidraw-to-svg" /><published>2023-10-09T00:00:00+00:00</published><updated>2023-10-09T00:00:00+00:00</updated><id>https://surferlul.github.io/logseq-publish-excalidraw-to-svg</id><content type="html" xml:base="https://surferlul.github.io/logseq-publish-excalidraw-to-svg/"><![CDATA[<p>Excalidraw drawings are not rendered when published in logseq. This action makes sure that they are converted to svg and inserts the svgs</p>

<p>This needs a helper repo or branch to upload the svgs to.</p>

<h2 id="inputs">Inputs</h2>

<table>
  <thead>
    <tr>
      <th>Input</th>
      <th>Requred</th>
      <th>Default</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>dark-mode</td>
      <td>false</td>
      <td>false</td>
      <td>If svg should be rendered for a dark-mode theme</td>
    </tr>
    <tr>
      <td>asset-repo</td>
      <td>true</td>
      <td> </td>
      <td>The repository to store the svgs in. Has to be public</td>
    </tr>
    <tr>
      <td>asset-repo-branch</td>
      <td>true</td>
      <td> </td>
      <td>The branch of the repository to store the svgs on</td>
    </tr>
    <tr>
      <td>asset-repo-token</td>
      <td>true</td>
      <td> </td>
      <td>An access token with content read/write to that repository</td>
    </tr>
  </tbody>
</table>

<h2 id="example-action">Example action:</h2>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">on</span><span class="pi">:</span> <span class="pi">[</span><span class="nv">push</span><span class="pi">]</span>

<span class="na">permissions</span><span class="pi">:</span>
  <span class="na">contents</span><span class="pi">:</span> <span class="s">write</span>
<span class="na">jobs</span><span class="pi">:</span>
  <span class="na">test</span><span class="pi">:</span>
    <span class="na">runs-on</span><span class="pi">:</span> <span class="s">ubuntu-latest</span>
    <span class="na">name</span><span class="pi">:</span> <span class="s">Publish Logseq graph</span>
    <span class="na">steps</span><span class="pi">:</span>
      <span class="pi">-</span> <span class="na">uses</span><span class="pi">:</span> <span class="s">actions/checkout@v3</span>
      <span class="pi">-</span> <span class="na">uses</span><span class="pi">:</span> <span class="s">Surferlul/logseq-publish-excalidraw-to-svg@main</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">dark-mode</span><span class="pi">:</span> <span class="no">true</span>
          <span class="na">asset-repo</span><span class="pi">:</span> <span class="s">&lt;YOUR USERNAME&gt;/&lt;YOUR REPOSITORY&gt;</span>
          <span class="na">asset-repo-branch</span><span class="pi">:</span> <span class="s">&lt;YOUR REPOSITORY BRANCH FOR AUTOGENERATED ASSETS&gt;</span>
          <span class="na">asset-repo-token</span><span class="pi">:</span> <span class="s2">"</span><span class="s">$"</span>
      <span class="pi">-</span> <span class="na">uses</span><span class="pi">:</span> <span class="s">logseq/publish-spa@main</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">version</span><span class="pi">:</span> <span class="s">nightly</span>
          <span class="na">theme-mode</span><span class="pi">:</span> <span class="s">dark</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">add a nojekyll file</span> <span class="c1"># to make sure asset paths are correctly identified</span>
        <span class="na">run</span><span class="pi">:</span> <span class="s">touch $GITHUB_WORKSPACE/www/.nojekyll</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">Deploy 🚀</span>
        <span class="na">uses</span><span class="pi">:</span> <span class="s">JamesIves/github-pages-deploy-action@v4</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">folder</span><span class="pi">:</span> <span class="s">www</span>
</code></pre></div></div>

<h3 id="view-on-marketplace"><a href="https://github.com/marketplace/actions/logseq-excalidraw-to-svg">View on Marketplace</a></h3>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/logseq-publish-excalidraw-to-svg">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[Excalidraw drawings are not rendered when published in logseq. This action makes sure that they are converted to svg and inserts the svgs]]></summary></entry><entry><title type="html">gnu-echo-rs</title><link href="https://surferlul.github.io/gnu-echo-rs/" rel="alternate" type="text/html" title="gnu-echo-rs" /><published>2023-07-02T00:00:00+00:00</published><updated>2023-07-02T00:00:00+00:00</updated><id>https://surferlul.github.io/gnu-echo-rs</id><content type="html" xml:base="https://surferlul.github.io/gnu-echo-rs/"><![CDATA[<p>My rewrite of the echo GNU core utility in rust</p>

<p>version: 0.1.0
author: <a href="https://blog.surferlul.me/">Lu Baumann</a></p>

<h2 id="usage">usage</h2>

<p>refer to <code class="language-plaintext highlighter-rouge">gnu-echo-rs --help</code>:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Usage: gnu-echo-rs [SHORT-OPTION]... [STRING]...
  or:  gnu-echo-rs LONG-OPTION
Echo the STRING(s) to standard output. Rust rewrite of GNU echo util.

  -n             do not output the trailing newline
  -e             enable interpretation of backslash escapes
  -E             disable interpretation of backslash escapes (default)
      --help     display this help and exit
      --version  output version information and exit

If -e is in effect, the following sequences are recognized:

  \\      backslash
  \a      alert (BEL)
  \b      backspace
  \c      produce no further output
  \e      escape
  \f      form feed
  \n      new line
  \r      carriage return
  \t      horizontal tab
  \v      vertical tab
  \0NNN   byte with octal value NNN (1 to 3 digits)
  \xHH    byte with hexadecimal value HH (1 to 2 digits)
</code></pre></div></div>

<h2 id="testing">testing</h2>

<p>test script requires python &gt;= 3.10</p>

<p><code class="language-plaintext highlighter-rouge">gnu_echo_tests/test.py -e /bin/echo -b &lt;path/to/gnu-echo-rs&gt;</code></p>

<table>
  <thead>
    <tr>
      <th>parameter</th>
      <th>value</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">-e</code>, <code class="language-plaintext highlighter-rouge">--echo</code></td>
      <td>path to echo executable to test against</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">-b</code>, <code class="language-plaintext highlighter-rouge">--binary</code></td>
      <td>path to gnu-echo-rs binary to test</td>
    </tr>
  </tbody>
</table>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/gnu-echo-rs">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[My rewrite of the echo GNU core utility in rust]]></summary></entry><entry><title type="html">Remote evdev Python</title><link href="https://surferlul.github.io/remote-evdev-python/" rel="alternate" type="text/html" title="Remote evdev Python" /><published>2022-07-20T00:00:00+00:00</published><updated>2022-07-20T00:00:00+00:00</updated><id>https://surferlul.github.io/remote-evdev-python</id><content type="html" xml:base="https://surferlul.github.io/remote-evdev-python/"><![CDATA[<p>Implementation of remote-evdev module with usage examples</p>

<p>Can give completely seamless experience in VM with any input devices if set up properly</p>

<p>Read <a href="https://surferlul.github.io/input-to-vm/">Native behavior for input devices in VMs</a> for more info about setup</p>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/remote-evdev-python">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[Implementation of remote-evdev module with usage examples]]></summary></entry><entry><title type="html">Remote evdev Rust</title><link href="https://surferlul.github.io/remote-evdev-rs/" rel="alternate" type="text/html" title="Remote evdev Rust" /><published>2022-07-20T00:00:00+00:00</published><updated>2022-07-20T00:00:00+00:00</updated><id>https://surferlul.github.io/remote-evdev-rs</id><content type="html" xml:base="https://surferlul.github.io/remote-evdev-rs/"><![CDATA[<p>Pass evdev devices to remote devices and control them. Rust version. The evdev crate seems to be broke (for tasks like this) tho, since input on guest is very limited. For a working Implementation check out my <a href="/Projects/remote-evdev-python">python version</a></p>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/remote-evdev-rs">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[Pass evdev devices to remote devices and control them. Rust version. The evdev crate seems to be broke (for tasks like this) tho, since input on guest is very limited. For a working Implementation check out my python version]]></summary></entry><entry><title type="html">remote-evdev Python module</title><link href="https://surferlul.github.io/remote-evdev/" rel="alternate" type="text/html" title="remote-evdev Python module" /><published>2022-07-20T00:00:00+00:00</published><updated>2022-07-20T00:00:00+00:00</updated><id>https://surferlul.github.io/remote-evdev</id><content type="html" xml:base="https://surferlul.github.io/remote-evdev/"><![CDATA[<p>Python module to share evdev devices (unix input devices) over network</p>

<p>Check out my <a href="/Projects/remote-evdev-python">example implementation</a></p>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/remote-evdev">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[Python module to share evdev devices (unix input devices) over network]]></summary></entry><entry><title type="html">Python CPU frequency plotter</title><link href="https://surferlul.github.io/cpufreq-plot/" rel="alternate" type="text/html" title="Python CPU frequency plotter" /><published>2022-07-17T00:00:00+00:00</published><updated>2022-07-17T00:00:00+00:00</updated><id>https://surferlul.github.io/cpufreq-plot</id><content type="html" xml:base="https://surferlul.github.io/cpufreq-plot/"><![CDATA[<p>A simple python script to plot the CPU frequency on linux</p>

<h2 id="run-with-optional-arguments">run with optional arguments:</h2>
<p>cpufreq-plot &lt;interval&gt; &lt;time&gt;</p>
<ul>
  <li>interval in milliseconds</li>
  <li>time in seconds</li>
</ul>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/cpufreq-plot">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[A simple python script to plot the CPU frequency on linux]]></summary></entry><entry><title type="html">Blueish theme for AwesomeWM</title><link href="https://surferlul.github.io/blueish/" rel="alternate" type="text/html" title="Blueish theme for AwesomeWM" /><published>2021-09-30T00:00:00+00:00</published><updated>2021-09-30T00:00:00+00:00</updated><id>https://surferlul.github.io/blueish</id><content type="html" xml:base="https://surferlul.github.io/blueish/"><![CDATA[<p>Based on Zenburn</p>

<p>modified by Me</p>

<p><img src="https://raw.githubusercontent.com/Surferlul/awesome/screenshots/desktop_1_1.0.png" alt="" />
<img src="https://raw.githubusercontent.com/Surferlul/awesome/screenshots/desktop_2_1.0.png" alt="" /></p>

<h3 id="view-on-github"><a href="https://github.com/Surferlul/blueish">View on Github</a></h3>]]></content><author><name>Ada Baumann</name><email>mail@ada-baumann.de</email></author><summary type="html"><![CDATA[Based on Zenburn]]></summary></entry></feed>