<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Motd on Miek Gieben</title>
    <link>https://miek.nl/tags/motd/</link>
    <description>Recent content in Motd on Miek Gieben</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>© Copyright 2007-2024 Miek Gieben</copyright>
    <lastBuildDate>Wed, 15 Nov 2023 06:17:36 +0000</lastBuildDate>
    <atom:link href="https://miek.nl/tags/motd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ASCII art in motd</title>
      <link>https://miek.nl/2023/november/15/ascii-art-in-motd/</link>
      <pubDate>Wed, 15 Nov 2023 06:17:36 +0000</pubDate>
      <guid>https://miek.nl/2023/november/15/ascii-art-in-motd/</guid>
      <description>&lt;p&gt;I wanted a nicer login experience (see image above) when logging into my server.&lt;/p&gt;&#xA;&lt;p&gt;For this I used the following sites, tools and steps.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.svgrepo.com/&#34;&gt;https://www.svgrepo.com/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://asciiart.club/&#34;&gt;https://asciiart.club/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Little Go program from below&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Steps:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Search a nice SVG image at &amp;ldquo;svgrepo&amp;rdquo; and save it;&lt;/li&gt;&#xA;&lt;li&gt;Upload it to &amp;ldquo;asciiart&amp;rdquo;, and generate an ASCII art you are happy with;&lt;/li&gt;&#xA;&lt;li&gt;Download the BBCode variant of the image and (if you want colors) run the program to&#xA;translate &lt;code&gt;[color=#...]&lt;/code&gt; to terminal control characters.&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;go run replace.go &amp;lt;image&amp;gt; &amp;amp;&amp;amp; cat out&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;The used program is hacky, but does the job. Also used &amp;ldquo;inkscape&amp;rdquo; to fiddle with another logo, and&#xA;made that output something decent as well.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
