<?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: Michael "notriddle" Howell</title>
    <description>The latest articles on DEV Community by Michael "notriddle" Howell (@notriddle).</description>
    <link>https://dev.to/notriddle</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%2F2906%2F53b4f834-2bd6-437a-aab1-9a842ec013b4.jpg</url>
      <title>DEV Community: Michael "notriddle" Howell</title>
      <link>https://dev.to/notriddle</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/notriddle"/>
    <language>en</language>
    <item>
      <title>Installing Nix under WSL1</title>
      <dc:creator>Michael "notriddle" Howell</dc:creator>
      <pubDate>Fri, 08 Feb 2019 21:10:42 +0000</pubDate>
      <link>https://dev.to/notriddle/installing-nix-under-wsl-2eim</link>
      <guid>https://dev.to/notriddle/installing-nix-under-wsl-2eim</guid>
      <description>&lt;p&gt;I'm administering Linux servers while using Windows as my desktop, and am working on a test deployment using NixOS. I ran into a few problems trying to run it locally.&lt;/p&gt;

&lt;p&gt;Before trying to run the Nix Package Manager installer script, make a directory &lt;code&gt;/etc/nix&lt;/code&gt; and write the following text into &lt;code&gt;/etc/nix/nix.conf&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Work around missing cgroups support https://github.com/Microsoft/WSL/issues/994
sandbox = false
# Work around incorrect file locking https://github.com/Microsoft/WSL/issues/2395
use-sqlite-wal = false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Work around missing cgroups support
&lt;/h2&gt;

&lt;p&gt;The Nix sandbox relies on container functionality that Windows doesn't implement yet for the Linux personality. If you don't turn off the sandbox, you'll get this error.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;error: cloning builder process: Invalid argument
error: unable to start build process
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Work around incorrect file locking
&lt;/h2&gt;

&lt;p&gt;The lock handling in Windows NT doesn't perfectly match Linux's. While SQLite works fine under the Win32 personality, it produces deadlocks when you try to install Nix, producing this infinite warning loop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy (SQLITE_PROTOCOL)
warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy (SQLITE_PROTOCOL)
warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy (SQLITE_PROTOCOL)
warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy (SQLITE_PROTOCOL)
warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy (SQLITE_PROTOCOL)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>nix</category>
      <category>windows</category>
      <category>nixos</category>
    </item>
    <item>
      <title>a uBlock Origin filter to fix and hide persistent bars</title>
      <dc:creator>Michael "notriddle" Howell</dc:creator>
      <pubDate>Wed, 26 Dec 2018 23:05:09 +0000</pubDate>
      <link>https://dev.to/notriddle/a-ublock-origin-filter-to-fix-and-hide-persistent-bars-360k</link>
      <guid>https://dev.to/notriddle/a-ublock-origin-filter-to-fix-and-hide-persistent-bars-360k</guid>
      <description>&lt;p&gt;A list I've been building to hide fixed banners and nagging pop-up boxes.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/notriddle" rel="noopener noreferrer"&gt;
        notriddle
      &lt;/a&gt; / &lt;a href="https://github.com/notriddle/remove-fixed-banners" rel="noopener noreferrer"&gt;
        remove-fixed-banners
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      My uBlock Origin filters
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Removing auto-scrolling banners&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;A set of &lt;a href="https://github.com/gorhill/uBlock/" rel="noopener noreferrer"&gt;uBlock Origin&lt;/a&gt; filters to conserve vertical screen real estate and remove nag boxes.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Installation&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;To add these filters to your own list, go to the uBlock Origin Settings page
then go to Custom, then check the Import box.&lt;/p&gt;
&lt;p&gt;Add this URL to make it work:&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;https://notriddle.com/remove-fixed-banners/filters.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;The rules&lt;/h3&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;This filter list does not include blanked blocks, only specific URLs and CSS rules on specific domains. Blanket rules slow down browsers too much.&lt;/li&gt;
&lt;li&gt;This filter list only blocks pop-ups and vertical bars. Fixed sidebars will not be blocked.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Development tips&lt;/h3&gt;

&lt;/div&gt;
&lt;p&gt;Medium uses cookies to decide whether to show you their pop-up box or not
They don't show you a nag box immediately on the first article, but rather wait until the &lt;em&gt;second&lt;/em&gt; one.
If you want to consistently get their nag box to appear, I've been able to do it by opening a medium article…&lt;/p&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/notriddle/remove-fixed-banners" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


</description>
      <category>showdev</category>
      <category>web</category>
      <category>ublock</category>
      <category>adblock</category>
    </item>
  </channel>
</rss>
