<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mainrs</title>
    <description>The latest articles on DEV Community by mainrs (@mainrs).</description>
    <link>https://dev.to/mainrs</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F786859%2F64ee2952-4a23-4b43-aa4b-33d2b16d0778.png</url>
      <title>DEV Community: mainrs</title>
      <link>https://dev.to/mainrs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mainrs"/>
    <language>en</language>
    <item>
      <title>Forem: Webauthn/FIDO2 aka passwordless login</title>
      <dc:creator>mainrs</dc:creator>
      <pubDate>Tue, 18 Jan 2022 11:49:40 +0000</pubDate>
      <link>https://dev.to/mainrs/forem-webauthnfido2-aka-passwordless-login-1d9c</link>
      <guid>https://dev.to/mainrs/forem-webauthnfido2-aka-passwordless-login-1d9c</guid>
      <description>&lt;p&gt;A week ago I &lt;a href="https://github.com/forem/forem/discussions/16066"&gt;posted&lt;/a&gt; a GitHub discussion about adding passwordless accounts to forem. &lt;/p&gt;

&lt;p&gt;I am not sure if the post just got buried or if there is really no interest for it.&lt;/p&gt;

&lt;p&gt;Are you interested in Webauthn support for forem? If not, why?&lt;/p&gt;

&lt;p&gt;This is probably a rather large code change but I’d also be willing to work on it if I get some guidance, as I have not really worked with Ruby on Rails before :)&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>forem</category>
    </item>
    <item>
      <title>Rustifying my terminal</title>
      <dc:creator>mainrs</dc:creator>
      <pubDate>Tue, 11 Jan 2022 13:27:52 +0000</pubDate>
      <link>https://dev.to/mainrs/rustifying-my-terminal-3883</link>
      <guid>https://dev.to/mainrs/rustifying-my-terminal-3883</guid>
      <description>&lt;p&gt;Photo by &lt;a href="https://unsplash.com/@davidboca?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;David Boca&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/rust?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Rust has been one of my favorites for around 3 years now. A lot of people started to write CLI tools that either replace or enhance on the experience that your favorites like &lt;code&gt;sed&lt;/code&gt; or &lt;code&gt;ls&lt;/code&gt; provide.&lt;/p&gt;

&lt;p&gt;This post is a short introduction to which CLIs I have installed and can recommend!&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/sharkdp/bat"&gt;bat&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Probably one of the more known ones, &lt;code&gt;bat&lt;/code&gt; is an enhanced version of &lt;code&gt;cat&lt;/code&gt; that supports syntax highlighting out of the box.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--awmz1Kqe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jd5gvrowtxv3hb863omz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--awmz1Kqe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jd5gvrowtxv3hb863omz.png" alt="Image showing the output of running  raw `bat thefuck/conf.py` endraw  inside of thefuck's repository" width="880" height="535"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/ogham/exa"&gt;exa&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;exa&lt;/code&gt; is a modern replacement for &lt;code&gt;ls&lt;/code&gt;. It supports colored output, icons and has builtin support for git. It can show you the status of your files inside your repository and even use your &lt;code&gt;.gitignore&lt;/code&gt; file to hide content. &lt;code&gt;exa&lt;/code&gt; comes with better defaults and installing it is easy, since it's a single binary available for Linux, macOS and Windows.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4l0JVto0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cyjihblav42vbhs0c2as.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4l0JVto0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cyjihblav42vbhs0c2as.png" alt="Image showing the output of running  raw `exa -lbF --git --icons` endraw  inside of thefuck's repository" width="880" height="535"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/BurntSushi/ripgrep"&gt;ripgrep&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;ripgrep&lt;/code&gt; is a more powerful and user-friendly alternative to tools like &lt;code&gt;grep&lt;/code&gt;. It does a recursive search on your current directory and finds all occurances of a given string or regex. It comes with a lot of CLI flags that you can use to tailor your search and provides nicer output using colors.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--heIW5MAF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qfun4u8qjxmu6655f4py.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--heIW5MAF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qfun4u8qjxmu6655f4py.png" alt="Image showing an the output when running  raw `ripgrep xdg` endraw  iside of thefuck's repository" width="880" height="535"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/XAMPPRocky/tokei"&gt;tokei&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;tokei&lt;/code&gt; does one thing and it does it good: counting the lines of code inside a given project!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qvjcGANZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/onm7tj4ls0565xj1vyye.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qvjcGANZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/onm7tj4ls0565xj1vyye.png" alt="Image shows the output when running  raw `tokei` endraw  inside of thefuck's repository" width="880" height="535"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/ajeetdsouza/zoxide"&gt;zoxide&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;zoxide&lt;/code&gt; remembers the folders you &lt;code&gt;cd&lt;/code&gt; into and allows you to fuzzy match onto them. The tool creates a ranking of the directories you visit, sorting them by the number of visits in descending order. When doing a fuzzy match, it chooses the directory with the highest match. The only caviat is that you have to use the &lt;code&gt;z&lt;/code&gt; command instead of &lt;code&gt;cd&lt;/code&gt;. But what are aliases for? 🤷.&lt;/p&gt;

&lt;p&gt;For example, my NixOS configuration is inside a folder called &lt;code&gt;nixos-config&lt;/code&gt;. It's the only folder I visited that contais &lt;code&gt;os&lt;/code&gt;. I can instantly switch to the folder by typing &lt;code&gt;z os&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Notable mentions
&lt;/h2&gt;

&lt;p&gt;Although I do not use the following CLIs that often, I still wanted to mention them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/dandavison/delta"&gt;delta&lt;/a&gt;, a sane version of &lt;code&gt;git --diff&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/bootandy/dust"&gt;dust&lt;/a&gt;, a CLI to help you find those folders that bloat your filesystem.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are a lot more cool CLIs out there, but these are the ones I do recommend and use frequently! If you happen to use other tools, let me know in the comments!&lt;/p&gt;

</description>
      <category>rust</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
