<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ubuntu on Public Notes</title>
    <link>https://blog.cue4net.com/tags/ubuntu/</link>
    <description>Recent content in Ubuntu on Public Notes</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 15 Sep 2024 05:06:09 +0200</lastBuildDate>
    <atom:link href="https://blog.cue4net.com/tags/ubuntu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ollama AI as a Network Service</title>
      <link>https://blog.cue4net.com/posts/ollama-as-network-service/</link>
      <pubDate>Sun, 15 Sep 2024 05:06:09 +0200</pubDate>
      <guid>https://blog.cue4net.com/posts/ollama-as-network-service/</guid>
      <description>Enabling Seamless Integration with Ollama as a Network Service Developed by the same team behind the innovative llama models, Ollama offers a unique advantage: compatibility with LocalAI API in its later versions. This means that Ollama can be seamlessly integrated into various LLM (Large Language Model) integration applications, such as Nextcloud Assistant or the Continue plugin for VSCode and IntelliJ.&#xA;For my own installation process, I opted for a Docker-based approach.</description>
    </item>
    <item>
      <title>Batch Extract Audio From Video</title>
      <link>https://blog.cue4net.com/posts/batch-extract-audio-from-video/</link>
      <pubDate>Thu, 12 Sep 2024 08:40:39 +0200</pubDate>
      <guid>https://blog.cue4net.com/posts/batch-extract-audio-from-video/</guid>
      <description>Batch Extract Audio from Video The challenge was to extract the first audio track from a video file in all video files in a given folder. To do this efficiently and utilizing multiple CPU cores in parallel, I installed Parallel in Ubuntu:&#xA;sudo apt install parallel with the following script the passed folder as parameter will be scanned for mp4 files and every file&amp;rsquo;s first audio track will be extracted as m4a file: I made detailed comments on each line to explain exactly what it does.</description>
    </item>
    <item>
      <title>Kniffle Table Printouts</title>
      <link>https://blog.cue4net.com/posts/kniffle-table-printouts/</link>
      <pubDate>Tue, 10 Sep 2024 16:24:30 +0200</pubDate>
      <guid>https://blog.cue4net.com/posts/kniffle-table-printouts/</guid>
      <description>The Kniffel Table Printouts The challenge was to have a single-page PDF with a Kniffel table and print it four times on one sheet. Although the print driver allows printing multiple pages per sheet and making copies, it can&amp;rsquo;t combine both functions to print the same page multiple times on one sheet.&#xA;To solve this, I used Imagemagick with the following command:&#xA;convert input.pdf[0] -duplicate 3 -adjoin output.pdf This duplicates the first page of the input document three times, creating a new output PDF with four identical pages.</description>
    </item>
    <item>
      <title>Hugo First Steps</title>
      <link>https://blog.cue4net.com/posts/first-steps-in-hugo/</link>
      <pubDate>Sat, 07 Sep 2024 11:59:46 +0200</pubDate>
      <guid>https://blog.cue4net.com/posts/first-steps-in-hugo/</guid>
      <description>Setting Up Hugo on Ubuntu Before we dive in, make sure you&amp;rsquo;ve identified a theme for your site - otherwise, nothing will appear with Hugo. To avoid permission issues and other headaches, I recommend removing any snap installation of Hugo (like mine) since it doesn&amp;rsquo;t play nice with NFS file shares. Instead, install Hugo via the command:&#xA;sudo apt install hugo Create a New Site To get started, navigate to the desired location in your terminal or command prompt by running cd followed by the path where you want to create your new Hugo project.</description>
    </item>
  </channel>
</rss>
