<?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: René Hansen</title>
    <description>The latest articles on DEV Community by René Hansen (@rhardih).</description>
    <link>https://dev.to/rhardih</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%2F149651%2F3a311d74-7785-42df-a6f6-0fa974a260ae.jpeg</url>
      <title>DEV Community: René Hansen</title>
      <link>https://dev.to/rhardih</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rhardih"/>
    <language>en</language>
    <item>
      <title>Listing the contents of a remote ZIP archive with Ruby</title>
      <dc:creator>René Hansen</dc:creator>
      <pubDate>Sun, 18 Apr 2021 16:54:52 +0000</pubDate>
      <link>https://dev.to/rhardih/listing-the-contents-of-a-remote-zip-archive-with-ruby-g7a</link>
      <guid>https://dev.to/rhardih/listing-the-contents-of-a-remote-zip-archive-with-ruby-g7a</guid>
      <description>&lt;p&gt;Below is a small Ruby utility function, which takes a url of a ZIP archive and returns the file names of its content.&lt;/p&gt;

&lt;p&gt;It will only download &lt;em&gt;just&lt;/em&gt; enough data to list the archive content and no more.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;The code comments should reveal what the individual steps does, but in case you like a more in-depth look at things, I wrote a blog post here, with accompanying &lt;strong&gt;curl&lt;/strong&gt; commands:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://rhardih.io/2021/04/listing-the-contents-of-a-remote-zip-archive-without-downloading-the-entire-file"&gt;https://rhardih.io/2021/04/listing-the-contents-of-a-remote-zip-archive-without-downloading-the-entire-file&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ruby</category>
      <category>curl</category>
      <category>zip</category>
      <category>http</category>
    </item>
    <item>
      <title>ekill - nuke annoying page elements</title>
      <dc:creator>René Hansen</dc:creator>
      <pubDate>Fri, 12 Jul 2019 14:13:05 +0000</pubDate>
      <link>https://dev.to/rhardih/ekill-nuke-annoying-page-elements-4npj</link>
      <guid>https://dev.to/rhardih/ekill-nuke-annoying-page-elements-4npj</guid>
      <description>&lt;p&gt;On most *nix systems running the &lt;a href="https://en.wikipedia.org/wiki/X_Window_System" rel="noopener noreferrer"&gt;X Window System&lt;/a&gt;, you have a small tool for killing unresponsive windows called &lt;a href="https://en.wikipedia.org/wiki/Xkill" rel="noopener noreferrer"&gt;xkill&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F3%2F38%2FXkill_%2528before_killing%2529.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F3%2F38%2FXkill_%2528before_killing%2529.png" alt="xkill"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Basically it works by locating the owning process of the window and forcefull kills it when the window is clicked.&lt;/p&gt;

&lt;p&gt;In the spirit of xkill, I've built an open source webextension for Chrome and Firefox that let's you get rid of annoying elements on a web page, simply by clicking on them. Think intrusive cookie popups, chat windows or newsletter prompts.&lt;/p&gt;

&lt;p&gt;Here's the web store promo video to see it in action:&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/pD9lt4sfdBQ"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Relevant links:&lt;br&gt;
&lt;a href="https://chrome.google.com/webstore/detail/lcgdpfaiipaelnpepigdafiogebaeedg/publish-accepted?authuser=0&amp;amp;hl=en-GB" rel="noopener noreferrer"&gt;Chrome Web Store&lt;/a&gt;&lt;br&gt;
&lt;a href="https://addons.mozilla.org/en-GB/firefox/addon/ekill/" rel="noopener noreferrer"&gt;Firefox Add-Ons&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/rhardih/ekill" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>web</category>
      <category>extensions</category>
    </item>
    <item>
      <title>Giving away some promo codes for my app</title>
      <dc:creator>René Hansen</dc:creator>
      <pubDate>Sun, 23 Jun 2019 12:08:58 +0000</pubDate>
      <link>https://dev.to/rhardih/giving-away-some-promo-codes-for-my-app-44g9</link>
      <guid>https://dev.to/rhardih/giving-away-some-promo-codes-for-my-app-44g9</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fku1b7gp9aoajlrtaq7r9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fku1b7gp9aoajlrtaq7r9.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're on macOS and you need to record some small product demos or similar, Window Recorder might be a tool for you.&lt;/p&gt;

&lt;p&gt;I built it because I wanted a recording tool, that provided the same snap-to-window feature of the built in screenshot tool. (Example: &lt;a href="https://window-recorder.rhardih.io" rel="noopener noreferrer"&gt;https://window-recorder.rhardih.io&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Anyway, it's got a few Premium features through an IAP, and I've got some promo codes I'd like to hand out to anyone interested. Get one here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://redeemco.com/p/fke427jert" rel="noopener noreferrer"&gt;https://redeemco.com/p/fke427jert&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And redeem it on the app store:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://itunes.apple.com/app/apple-store/id1462766408?pt=120102514&amp;amp;ct=devto&amp;amp;mt=8" rel="noopener noreferrer"&gt;https://itunes.apple.com/app/apple-store/id1462766408?pt=120102514&amp;amp;ct=devto&amp;amp;mt=8&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;

</description>
      <category>macos</category>
      <category>utility</category>
      <category>tool</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Window Recorder for macOS</title>
      <dc:creator>René Hansen</dc:creator>
      <pubDate>Tue, 04 Jun 2019 07:55:54 +0000</pubDate>
      <link>https://dev.to/rhardih/window-recorder-for-macos-26b2</link>
      <guid>https://dev.to/rhardih/window-recorder-for-macos-26b2</guid>
      <description>&lt;p&gt;Quicktime is great for screen recordings on macOS, but only offers fullscreen or, area-set-by-dragging modes for capture.&lt;/p&gt;

&lt;p&gt;Window Recorder is intended to provide a similar experience to the built-in screenshot tool, that simply "snaps" to windows, only to capture that exact region.&lt;/p&gt;

&lt;p&gt;It's free initially, but will provide a premium upgrade in a forthcoming version.&lt;/p&gt;

&lt;p&gt;Here's a landing page, with a link to the mac app store:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://window-recorder.rhardih.io"&gt;https://window-recorder.rhardih.io&lt;/a&gt;&lt;/p&gt;

</description>
      <category>macos</category>
      <category>swift</category>
      <category>showdev</category>
      <category>tool</category>
    </item>
    <item>
      <title>Pong - Basic uptime monitoring system</title>
      <dc:creator>René Hansen</dc:creator>
      <pubDate>Tue, 26 Mar 2019 17:18:18 +0000</pubDate>
      <link>https://dev.to/rhardih/pong---basic-uptime-monitoring-system-3f12</link>
      <guid>https://dev.to/rhardih/pong---basic-uptime-monitoring-system-3f12</guid>
      <description>&lt;p&gt;Pong is a batteries included, dockerized Rails application that is easy to setup and run.&lt;/p&gt;

&lt;p&gt;Project page here: &lt;a href="https://github.com/rhardih/pong"&gt;https://github.com/rhardih/pong&lt;/a&gt;&lt;/p&gt;

</description>
      <category>rails</category>
      <category>opensource</category>
      <category>docker</category>
      <category>ruby</category>
    </item>
  </channel>
</rss>
