<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Os X on</title><link>http://salopst.yearl.us/categories/os-x/</link><description>Recent content in Os X 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/categories/os-x/index.xml" rel="self" type="application/rss+xml"/><item><title>Fsked El Capitan home directory</title><link>http://salopst.yearl.us/fsked-el-capitan-home-directory/</link><pubDate>Mon, 23 May 2016 05:41:31 +0000</pubDate><guid>http://salopst.yearl.us/fsked-el-capitan-home-directory/</guid><description>&lt;p&gt;Not entirely sure how I managed to hose my user directory, but I did, and it followed a boot into safe mode (reboot and SHIFT) in order to update an ancient &lt;a href="https://www.macports.org/"&gt;MacPorts&lt;/a&gt; installation; &lt;a href="http://brew.sh/"&gt;homebrew&lt;/a&gt; sort of replaced that for my usage. OK, no biggie. I have back ups right? I do, but those back up in recent months have been based on Apple&amp;rsquo;s &lt;a href="https://en.wikipedia.org/wiki/Time_Machine_%28OS_X%29"&gt;Time Machine&lt;/a&gt;. I changed to this from &lt;a href="https://bombich.com/"&gt;Carbon Copy Cloner&lt;/a&gt; by means of experiment. CCC has been bullet-proof, and I have always used it for family members, but there was something enticing about the seeming simplicity of Time Machine&amp;hellip; something that is great for restoring files, but not so great, it turns out, for a full system restore. Suffice to say that a combination of backup solutions really is the way to go.&lt;/p&gt;</description></item><item><title>Posting from IA Writer to Wordpress (Coleman)</title><link>http://salopst.yearl.us/blog-post-ia-writer-to-wordpress-with-ruby/</link><pubDate>Sun, 24 Apr 2016 00:01:57 +0000</pubDate><guid>http://salopst.yearl.us/blog-post-ia-writer-to-wordpress-with-ruby/</guid><description>&lt;h2 id="0-wha"&gt;0. Wha?&lt;/h2&gt;&#10;&lt;p&gt;With the coming of the new &lt;a href="http://stephen.yearl.us/rescue-doggie-diary/"&gt;doggie into the house&lt;/a&gt;, perhaps I will again add more content to the &lt;a href="http://stephen.yearl.us"&gt;bloggy thing&lt;/a&gt; that I have kinda sorta not really been keeping over the last little while.&lt;/p&gt;&#10;&lt;p&gt;Probably this has been done by someone else on the Intertubz, but ach, why not. I have some time on my hands, so here are running notes in &lt;a href="https://ia.net/writer"&gt;IA Writer&lt;/a&gt; that will make its way to a &lt;a href="https://www.wordpress.com"&gt;Wordpress&lt;/a&gt; post by some means or other. There’s nothing special about IA writer, by the way. Well, there &lt;strong&gt;is&lt;/strong&gt;, but not for the purposes of the Wordpress posting. The same code should work with any plain-ish text file coming from any editor.&lt;/p&gt;</description></item><item><title>Customised OS X Keybindings.... with Karabiner</title><link>http://salopst.yearl.us/customised-os-x-keybindings-with-karabiner/</link><pubDate>Thu, 23 Jul 2015 11:29:29 +0000</pubDate><guid>http://salopst.yearl.us/customised-os-x-keybindings-with-karabiner/</guid><description>&lt;p&gt;Apparently low-level keybindings in OS X used to be managed through ``~/Library/KeyBindings/DefaultKeyBinding.dict` which did not exist on this 10.10.4 system. So after having created it and added&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;{&#10;/* Context Menu */&#10;&amp;#34;\U0x3fc&amp;#34; = &amp;#34;rightMouseDown:&amp;#34;; /* Fun-C */&#10;&amp;#34;^;&amp;#34; = &amp;#34;rightMouseDown:&amp;#34;; /* Ctrl-; */&#10;&#10;/* Vim movement while Ctrl key down */&#10;&amp;#34;^h&amp;#34; = (&amp;#34;moveLeft:&amp;#34;);&#10;&amp;#34;^j&amp;#34; = (&amp;#34;moveDown:&amp;#34;);&#10;&amp;#34;^k&amp;#34; = (&amp;#34;moveUp:&amp;#34;);&#10;&amp;#34;^l&amp;#34; = (&amp;#34;moveRight:&amp;#34;);&#10;&#10;}&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;it did, of course, not work.&lt;/p&gt;</description></item><item><title>Installing hammerspoon</title><link>http://salopst.yearl.us/installing-hammerspoon/</link><pubDate>Wed, 24 Jun 2015 19:03:04 +0000</pubDate><guid>http://salopst.yearl.us/installing-hammerspoon/</guid><description>&lt;blockquote&gt;&#10;&lt;h3 id="what-is-hammerspoon"&gt;What is Hammerspoon?&lt;/h3&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;A tool for powerful automation of OS X. At its core, Hammerspoon is just a bridge between the operating system and a Lua scripting engine. What gives Hammerspoon its power is a set of extensions that expose specific pieces of system functionality, to the user.&lt;/p&gt;&#10;&#10; &lt;img src="http://salopst.yearl.us/install_hammerspoon.png" alt="Install Hammerspoon" class="center" style="border-radius: 50px;" /&gt;</description></item><item><title>Upgrading Kodi on Fire TV from Macbook</title><link>http://salopst.yearl.us/upgrading-kodi-on-fire-tv-from-macbook/</link><pubDate>Mon, 15 Jun 2015 05:42:34 +0000</pubDate><guid>http://salopst.yearl.us/upgrading-kodi-on-fire-tv-from-macbook/</guid><description>&lt;p&gt;From: &lt;a href="http://kodi.wiki/view/HOW-TO:Install_Kodi_on_Fire_TV#tab=OS_X"&gt;http://kodi.wiki/view/HOW-TO:Install_Kodi_on_Fire_TV#tab=OS_X&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Download APK:&#10;&lt;a href="https://www.apkmirror.com/apk/xbmc-foundation/kodi/kodi-15-0-beta1-android-apk-download/"&gt;https://www.apkmirror.com/apk/xbmc-foundation/kodi/kodi-15-0-beta1-android-apk-download/&lt;/a&gt;&#10;(Or from wherever future versions of it happen to be)&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;❯ adb kill-server&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ adb start-server&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;* daemon not running. starting it now on port &lt;span style="color:#ae81ff"&gt;5037&lt;/span&gt; *&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;* daemon started successfully *&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ adb connect 192.168.1.203&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;connected to 192.168.1.203:5555&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cd ~/Downloads&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ adb install kodi-14.2-Helix-armeabi-v7a.apk&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;1285&lt;/span&gt; KB/s &lt;span style="color:#f92672"&gt;(&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;62638253&lt;/span&gt; bytes in 47.572s&lt;span style="color:#f92672"&gt;)&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pkg: /data/local/tmp/kodi-14.2-Helix-armeabi-v7a.apk&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Success!&lt;/p&gt;</description></item><item><title>Terminal Colors</title><link>http://salopst.yearl.us/terminal-colors/</link><pubDate>Wed, 22 Oct 2014 03:47:44 +0000</pubDate><guid>http://salopst.yearl.us/terminal-colors/</guid><description>&lt;h2 id="before-and-after-coloration-of-the-pure-prompt"&gt;Before and after coloration of the pure prompt.&lt;/h2&gt;&#10;&#10; &lt;img src="http://salopst.yearl.us/uploads/terminal-color-before-after.jpg" alt="Before and after coloration of the pure prompt" class="center" style="border-radius: 50px;" /&gt;&#10;&#10;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;#1. Get the &lt;a href="https://github.com/chriskempson/tomorrow-theme/blob/master/OS%20X%20Terminal/Tomorrow%20Night%20Eighties.terminal"&gt;Tomorow Night Eighties&lt;/a&gt; Theme, and&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;#2. &lt;a href="https://raw.githubusercontent.com/chriskempson/tomorrow-theme/master/OS%20X%20Terminal/Tomorrow%20Night%20Eighties.terminal"&gt;View Raw&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;#3. Saving this file locally, and then applying:&#10;&#10; &lt;img src="http://salopst.yearl.us/uploads/terminal-select-profile.jpg" alt="Terminal select profile" class="center" style="border-radius: 50px;" /&gt;&#10;&#10;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><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>Alfred 2 workflows</title><link>http://salopst.yearl.us/alfred-2-workflows/</link><pubDate>Sat, 15 Jun 2013 21:12:16 +0000</pubDate><guid>http://salopst.yearl.us/alfred-2-workflows/</guid><description>&lt;h2 id="2016-05-23-update"&gt;2016-05-23 update:&lt;/h2&gt;&#10;&lt;p&gt;Due to &lt;a href="http://stephen.yearl.us/fsked-home-el-capitan-home-directory/"&gt;recent woes&lt;/a&gt; I had to revisit Alfred Workflows&amp;hellip; basically the below remains the same with the addition of:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.packal.org/workflow/packal-updater"&gt;http://www.packal.org/workflow/packal-updater&lt;/a&gt;&#10;&lt;a href="http://www.packal.org/workflow/datetime-format-converter"&gt;http://www.packal.org/workflow/datetime-format-converter&lt;/a&gt;&#10;&lt;a href="http://www.packal.org/workflow/toggle-keyboard-viewer"&gt;http://www.packal.org/workflow/toggle-keyboard-viewer&lt;/a&gt;&#10;&lt;a href="http://www.packal.org/workflow/leo-dictionary"&gt;http://www.packal.org/workflow/leo-dictionary&lt;/a&gt;&#10;&lt;a href="http://www.packal.org/workflow/eggtimer-2"&gt;http://www.packal.org/workflow/eggtimer-2&lt;/a&gt;&#10;&lt;a href="http://www.packal.org/workflow/units"&gt;http://www.packal.org/workflow/units&lt;/a&gt;&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;hr&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="wolfram-alpha"&gt;Wolfram Alpha:&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Get Alfred 2, buy the Powerpack! &lt;a href="http://www.alfredapp.com/"&gt;http://www.alfredapp.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Get Wolfram Alpha workflow: &lt;a href="http://www.alfredforum.com/topic/655-wolframalpha-workflow/"&gt;http://www.alfredforum.com/topic/655-wolframalpha-workflow/&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Get Wolfram Alpha appID: &lt;a href="https://developer.wolframalpha.com/portal/signin.html"&gt;https://developer.wolframalpha.com/portal/signin.html&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;And behold! Easy access to a wealth of information, unit conversions, values for scientific formulæ and constants and the&amp;hellip;&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="http://salopst.yearl.us/uploads/wpid-Screen-Shot-2013-07-08-at-17.06.02-5.png" alt=""&gt;&lt;/p&gt;&#10;&lt;h2 id="timer"&gt;Timer:&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="http://dbader.org/blog/alfred-timer-extension"&gt;http://dbader.org/blog/alfred-timer-extension&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;img src="http://salopst.yearl.us/uploads/wpid-alfred-timer1.png" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;Very simple countdown timer. Nothing fancy, practically zero overhead.&lt;/p&gt;</description></item></channel></rss>