<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scripts on</title><link>http://salopst.yearl.us/tags/scripts/</link><description>Recent content in Scripts on</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Tue, 21 Sep 2021 02:22:00 +0100</lastBuildDate><atom:link href="http://salopst.yearl.us/tags/scripts/index.xml" rel="self" type="application/rss+xml"/><item><title>cleaning up a homebrew installation</title><link>http://salopst.yearl.us/cleaning-up-a-homebrew-installation/</link><pubDate>Tue, 23 Sep 2014 23:31:02 +0000</pubDate><guid>http://salopst.yearl.us/cleaning-up-a-homebrew-installation/</guid><description>&lt;p&gt;I keep meaning to get around to do this, but never do. This evening I took a look at &lt;a href="http://exercism.io"&gt;exercism.io&lt;/a&gt; and the installation of its CLI program had a Homebrew option, so then was a good a moment as any, that and with the imminent release of OS 42 (X.10.10)&amp;hellip;&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$brew -v&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;==&amp;gt; 0.9.5&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$sudo chown -R &lt;span style="color:#e6db74"&gt;`&lt;/span&gt;whoami&lt;span style="color:#e6db74"&gt;`&lt;/span&gt; /usr/local&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$cd /usr/local&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$git fetch origin&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$git reset --hard origin/master&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$brew cleanup&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$brew upgrade&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;==&amp;gt; ALL OK!&lt;/p&gt;</description></item><item><title>Automated file management with maid</title><link>http://salopst.yearl.us/automated-file-management-with-maid/</link><pubDate>Mon, 22 Jul 2013 23:05:50 +0000</pubDate><guid>http://salopst.yearl.us/automated-file-management-with-maid/</guid><description>&lt;p&gt;I&amp;rsquo;ve been playing with &lt;a href="http://www.noodlesoft.com/hazel.php"&gt;Hazel&lt;/a&gt; a bit recently, mostly so I can get a handle on it to support others&amp;rsquo; usage of a simple file automation/ housekeeping application. I like it, but it is somewhat limited in not allowed nested conditional and other basic logic statements. Anyway, what Hazel does is not much more&amp;ndash; and very frequently less&amp;ndash; that what I&amp;rsquo;ve been doing with ad hoc cron scripts. These are not very tidy having built built up over the years. And so I Googled and I found a x-platform, ruby based Hazel alternative in &lt;a href="http://rubygems.org/gems/maid"&gt;maid&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>