<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apple on</title><link>http://salopst.yearl.us/categories/apple/</link><description>Recent content in Apple 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/apple/index.xml" rel="self" type="application/rss+xml"/><item><title>Make iCloud nativefier app for iCal on Linux</title><link>http://salopst.yearl.us/make-icloud-nativefier-app-a-for-ical-on-linux/</link><pubDate>Wed, 17 Feb 2021 13:00:00 +0000</pubDate><guid>http://salopst.yearl.us/make-icloud-nativefier-app-a-for-ical-on-linux/</guid><description>&lt;h3 id="nativefier"&gt;&lt;a href="https://github.com/nativefier/nativefier"&gt;Nativefier&lt;/a&gt;&lt;/h3&gt;&#10;&lt;p&gt;&amp;ldquo;&amp;hellip;is a command-line tool to easily create a desktop app for any web site with minimal configuration. Apps are wrapped by Electron (which uses Chromium under the hood) in an OS executable (.app, .exe, etc) for use on Windows, macOS and Linux.&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;&amp;lsquo;Tis a beautiful app to be sure.&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;mkdir -p ~/tmp/icloud-nativefier-build-dir&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd ../tmp/icloud-nativefier-build-dir&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# get nice icon&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;wget https://i.imgur.com/m0abT4k.png -O icon.png&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;nativefier -p linux -a x64 -i icon.png --disable-context-menu --disable-dev-tools --single-instance https://www.icloud.com/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# App built to /home/yearluk/tmp/icloud-nativefier-build-dir/iCloud-linux-x64&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mv ~/tmp/icloud-nativefier-build-dir/iCloud-linux-x64 ~/bin/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# add to $XDG_CONFIG_HOME/.shell_aliases.sh ...&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# alias icloud=&amp;#34;$HOME/bin/iCloud-linux-x64/iCloud&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd ~/bin/iCloud-linux-x64&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# make the desktop file.... put in ~/.local/share/applications ... or /usr/share/applications/&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;vscodium icloud.desktop&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;chmod +x ./icloud.desktop&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="and-then-make-a-desktop-file"&gt;And then make a desktop file:&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;create &lt;code&gt;~/.local/share/applications/yearluk.nativifier.icloud.desktop&lt;/code&gt; :&lt;/li&gt;&#10;&lt;/ul&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-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[Desktop Entry]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Encoding=UTF-8&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Version=1.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Type=Application&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Terminal=false&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Exec=/home/yearluk/bin/iCloud-linux-x64/iCloud&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Name=iCloud (nativefier)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Icon=/home/yearluk/bin/iCloud-linux-x64/resources/app/icon.png&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&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 cp ~/.local/share/applications/yearluk.nativifier.icloud.desktop /usr/share/applications&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Run a desktop file from a terminal. If gtk3 is installed, run: &lt;code&gt;gtk-launch application.desktop&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Migrating Photos.app from MacOS Sierra to…</title><link>http://salopst.yearl.us/migrating-photos-from-macos-sierra/</link><pubDate>Fri, 07 Apr 2017 00:00:00 +0000</pubDate><guid>http://salopst.yearl.us/migrating-photos-from-macos-sierra/</guid><description>Apple Photos is a beastly application, and identifyinf iles in it from another other than its own interface is an exercise in frustration. Soooo let&amp;rsquo;s rationalise that file structure&amp;hellip;</description></item><item><title>`Audacity is already running... ps -ef | grep aud` says nada</title><link>http://salopst.yearl.us/audacity-is-already-running-ps-ef-grep-aud-says-nada/</link><pubDate>Sat, 06 Oct 2018 16:17:00 +0000</pubDate><guid>http://salopst.yearl.us/audacity-is-already-running-ps-ef-grep-aud-says-nada/</guid><description>&lt;p&gt;Machine crashed&amp;ndash; well, hung&amp;ndash; after [insert reason]. Age?&#10;PS showed nothing, neither did &amp;ldquo;Activity Monitor&amp;rdquo;, and my googlefu must have been for &lt;strong&gt;/ʃaɪt/&lt;/strong&gt;, since I found nothing there either.&lt;/p&gt;&#10;&lt;p&gt;After some digging around the usual directories&amp;hellip; a lock file. Kill that, and we&amp;rsquo;re back in business.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="http://salopst.yearl.us/uploads/2018-10-06-audacity-the-second-running.png" alt="audacity-the-second-running"&gt;&lt;/p&gt;</description></item><item><title>Installing Solus linux on a Macbook Pro 9,1 (A1286): PART 2</title><link>http://salopst.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286-part-2/</link><pubDate>Thu, 11 May 2017 09:35:12 +0000</pubDate><guid>http://salopst.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286-part-2/</guid><description>&lt;ul&gt;&#10;&lt;li&gt;Part 1 simply booting the liveCD to even allow installation is here:&#10;&lt;a href="https://stephen.yearl.us/installing-solus-linux-on-a-macbook-pro-9"&gt;https://stephen.yearl.us/installing-solus-linux-on-a-macbook-pro-9&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Rebooting after install lead to, you guessed it, the Black Screen of Death again. Solus was installed, accepting all defaults (and therefore one humongous / paritiion), to /dev/sdb2, /dev/sda1 is the EFI partition on which &lt;a href="http://www.rodsbooks.com/refind/index.html"&gt;rEFInd&lt;/a&gt; was installed when running &lt;del&gt;OS X&lt;/del&gt; MacOS.&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;❯ lsblk&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sdb 8:16 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 477G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; disk &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;├─sdb2 8:18 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 473.2G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part /&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;└─sdb1 8:17 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 3.7G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part &lt;span style="color:#f92672"&gt;[&lt;/span&gt;SWAP&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;sdc 8:32 &lt;span style="color:#ae81ff"&gt;1&lt;/span&gt; 3.9G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; disk &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sda 8:0 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 465.8G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; disk &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;├─sda2 8:2 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 465G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;├─sda3 8:3 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 619.9M &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;└─sda1 8:1 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 200M &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part &#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="1-boot-back-into-macos-mount-efi-paritition"&gt;#1 Boot back into MacOS, mount EFI paritition:&lt;/h4&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 /Users/yearluk/Downloads/refind-bin-0.10.7/mountesp&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cd /Volumes/ESP/loader/entries&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ nano Solus-lts-4.9.22-17.conf&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="2-change"&gt;#2 CHANGE:&lt;/h4&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;title Solus 2017.04.18.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;linux /EFI/com.solus-project/kernel-com.solus-project.lts.4.9.22-17&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;initrd /EFI/com.solus-project/initrd-com.solus-project.lts.4.9.22-17&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;options root&lt;span style="color:#f92672"&gt;=&lt;/span&gt;PARTUUID&lt;span style="color:#f92672"&gt;=&lt;/span&gt;c96bc351-b364-4c61-9fe6-8489f0ceec8f quiet ro splash resume&lt;span style="color:#f92672"&gt;=&lt;/span&gt;UUID&lt;span style="color:#f92672"&gt;=&lt;/span&gt;8f7d1509-fe95-4e47-8017-41611ad0a14c&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="to"&gt;TO:&lt;/h4&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;title Solus 2017.04.18.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;linux /EFI/com.solus-project/kernel-com.solus-project.lts.4.9.22-17&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;initrd /EFI/com.solus-project/initrd-com.solus-project.lts.4.9.22-17&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;options root&lt;span style="color:#f92672"&gt;=&lt;/span&gt;PARTUUID&lt;span style="color:#f92672"&gt;=&lt;/span&gt;c96bc351-b364-4c61-9fe6-8489f0ceec8f ro nomodeset nouveau.blacklist&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;1&lt;/span&gt; resume&lt;span style="color:#f92672"&gt;=&lt;/span&gt;UUID&lt;span style="color:#f92672"&gt;=&lt;/span&gt;8f7d1509-fe95-4e47-8017-41611ad0a14c text &lt;span style="color:#ae81ff"&gt;3&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="3-repeat-steps-3-through-8-from-part-1-7-this-time-was-modprobe-nvidia"&gt;#3 Repeat steps #3 through #8 from &lt;a href="http://stephen.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286/"&gt;Part 1&lt;/a&gt; (#7 this time was &lt;code&gt;modprobe nvidia&lt;/code&gt;)&lt;/h4&gt;&#10;&lt;h4 id="4-update-entire-system"&gt;#4 update entire system&lt;/h4&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 eopkg up&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="5-using-the-apple-bootloader-hold-opt-key-whilst-booting-to-boot-boots-graphically-now"&gt;#5 using the Apple bootloader [hold opt key whilst booting] to boot&amp;hellip; boots graphically now.&lt;/h4&gt;</description></item><item><title>Installing Solus linux on a Macbook Pro 9,1 (A1286)</title><link>http://salopst.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286/</link><pubDate>Mon, 08 May 2017 07:03:14 +0000</pubDate><guid>http://salopst.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286/</guid><description>&lt;p&gt;I&amp;rsquo;ve been sunning[*] &lt;a href="https://getsol.us"&gt;Solus&lt;/a&gt; as guest in a Parallels virtual machine on a macOS Sierra 10.12.4 host for a couple of months now, and I am delighted and impressed, so impressed I &lt;del&gt;bought the company&lt;/del&gt;[**] wanted to install this on Apple iron. Solus installed beautifully on an 2010 Lenovo X201 and on a new and cheap and plastically Dell Inspiron 14-3452, so it should have no probs installing on a mid-2012, 15.4&amp;quot; Hi-Res MBP. Right? Right? Wrong!&lt;/p&gt;</description></item><item><title>Create a bootable ISO of macOS Sierra</title><link>http://salopst.yearl.us/create-a-bootable-macos-sierra-iso/</link><pubDate>Mon, 17 Apr 2017 03:38:31 +0000</pubDate><guid>http://salopst.yearl.us/create-a-bootable-macos-sierra-iso/</guid><description>&lt;p&gt;Playing with Solus recently got me to thinking that maybe I could live again in a Linux world, but rather than running Linux in a Virtual Machine (that would currently be Parallels 12 for me), what if I dit it the other way around? That is, run OS X 10.12.4 (macOS Sierra) as a guest and Linux as a host&amp;hellip;&lt;/p&gt;&#10;&lt;p&gt;Download MacOS Sierra from AppStore.&lt;/p&gt;&#10;&lt;p&gt;Reboot.&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;❯ hdiutil attach /Applications/Install&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;macOS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ rm /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/System/Installation/Packages&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cp -rp /Volumes/install_app/Packages /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/System/Installation/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/BaseSystem.chunklist&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/BaseSystem.dmg&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil detach /Volumes/install_app&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil detach /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil convert /tmp/Sierra.cdr.dmg -format UDTO -o /tmp/Sierra.iso&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ mv /tmp/Sierra.iso.cdr ~/Desktop/Sierra.iso&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I grabbed this off the internets somewhere, and I do not know whence. Thanks to the original author, whoever &lt;del&gt;she&lt;/del&gt; he may be.&#10;&lt;strong&gt;EDIT [2017-05-08]&lt;/strong&gt;: Found you: &lt;a href="https://gist.github.com/arobb/447a962af4f07ef81e79987d686275e5"&gt;https://gist.github.com/arobb/447a962af4f07ef81e79987d686275e5&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Remapping Macbook Pro eject key under Solus linux</title><link>http://salopst.yearl.us/remapping-macbook-pro-eject-key-under-solus-linux/</link><pubDate>Sun, 19 Mar 2017 12:35:43 +0000</pubDate><guid>http://salopst.yearl.us/remapping-macbook-pro-eject-key-under-solus-linux/</guid><description>&lt;h3 id="disable-eject-in-keyboard-settings-it-is-the-first-entry-under-sound-and-media"&gt;Disable &amp;ldquo;Eject&amp;rdquo; in keyboard settings. It is the first entry under &amp;ldquo;Sound and Media&amp;rdquo;&lt;/h3&gt;&#10;&lt;h3 id="create-a-file-xmodmap-adding-the-line"&gt;create a file, &lt;strong&gt;~/.Xmodmap&lt;/strong&gt;, adding the line:&lt;/h3&gt;&#10;&lt;p&gt;&lt;code&gt;keycode 151 = BackSpace&lt;/code&gt;&lt;/p&gt;&#10;&lt;h3 id="run"&gt;run&lt;/h3&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;xmodmap ~/.Xmodmap&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="add-that-to-wherever-your-startup-scripts-are-for-persistence"&gt;add that to wherever your startup scripts are for persistence&lt;/h3&gt;&#10;&lt;p&gt;The keycode mappings I got from &lt;strong&gt;xev&lt;/strong&gt;, kind of like &amp;ldquo;keyboard viewer&amp;rdquo; in OS X. Its available in the Solus repo:&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 eopkg install xev&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Mounting an iOS 10.2 device in Solus OS</title><link>http://salopst.yearl.us/mounting-an-ios-10-2-device-in-solus-os/</link><pubDate>Tue, 07 Mar 2017 03:12:21 +0000</pubDate><guid>http://salopst.yearl.us/mounting-an-ios-10-2-device-in-solus-os/</guid><description>&lt;h2 id="tldr"&gt;tl;dr&lt;/h2&gt;&#10;&lt;p&gt;I feel that after ten years I can no longer countenance the purchase of a new Apple laptop should my existing machine shit the bed. All that nonsense associated with the race to thinness and the resultant lack of expandability of the newer machines, where everything is soldered or glued into place, has me pretty upset. Oh, and the OS itself has been getting more annoying with each release since Snow Leopard. So I am planning for a day without OS X/ MacOS. After a few distro trials (ongoing) I&amp;rsquo;ve come down to:&lt;/p&gt;</description></item><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>FFMPEG transcode iPhone videos to mp4</title><link>http://salopst.yearl.us/ffmpeg-transcode-iphone-videos-to-mp4/</link><pubDate>Mon, 27 Jul 2015 10:19:46 +0000</pubDate><guid>http://salopst.yearl.us/ffmpeg-transcode-iphone-videos-to-mp4/</guid><description>&lt;h2 id="assuming-one-has-homebrew-installed"&gt;Assuming one has &lt;a href="http://brew.sh/"&gt;homebrew&lt;/a&gt; installed:&lt;/h2&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 update &lt;span style="color:#f92672"&gt;&amp;amp;&amp;amp;&lt;/span&gt; brew upgrade&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ cd ~/dropbox&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ &lt;span style="color:#66d9ef"&gt;for&lt;/span&gt; video in *.MOV; &lt;span style="color:#66d9ef"&gt;do&lt;/span&gt; ffmpeg -i &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$video&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; -vcodec h264 -acodec aac -strict -2 &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#e6db74"&gt;${&lt;/span&gt;video%.*&lt;span style="color:#e6db74"&gt;}&lt;/span&gt;&lt;span style="color:#e6db74"&gt;.mp4&amp;#34;&lt;/span&gt; ; &lt;span style="color:#66d9ef"&gt;done&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ rm *.MOV&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Customised OS X Keybindings…. with Karabiner.... 'correct' shift keys</title><link>http://salopst.yearl.us/customised-os-x-keybindings-with-karabiner-correct-shift-keys/</link><pubDate>Mon, 27 Jul 2015 05:59:42 +0000</pubDate><guid>http://salopst.yearl.us/customised-os-x-keybindings-with-karabiner-correct-shift-keys/</guid><description>&lt;p&gt;Like this fellow, &lt;a href="http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#better-shifting"&gt;Steve Losh &amp;ndash; better shifting&lt;/a&gt;, I&amp;rsquo;ve been using the wrong shift keys for upper-case letters for as long as I&amp;rsquo;ve been using a keyboard&amp;hellip; as well as some even more egregious errors (right ring finger for &amp;lsquo;p&amp;rsquo;, right index for &amp;lsquo;b&amp;rsquo;&amp;hellip; the list is nigh endless). Lo, his Karabiner solution:&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Arghh!&amp;hellip;.. It has only been a couple of hours and this is devilishly frustrating!!&lt;/strong&gt;&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-xml" data-lang="xml"&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; Use the correct shift keys.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; private.correct_shift_keys&#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; --KeyToKey-- KeyCode::Q, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::W, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::E, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::R, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::T, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::A, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::S, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::D, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::F, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::G, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::Z, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::X, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::C, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::V, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#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; --KeyToKey-- KeyCode::Y, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::U, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::I, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::O, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::P, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::H, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::J, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::K, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::L, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::SEMICOLON, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::N, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::M, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::COMMA, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::DOT, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::QUOTE, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Remapping CAPS LOCK with seil/karabiner</title><link>http://salopst.yearl.us/remapping-caps-lock-with-seil/</link><pubDate>Wed, 22 Jul 2015 04:27:20 +0000</pubDate><guid>http://salopst.yearl.us/remapping-caps-lock-with-seil/</guid><description>&lt;h3 id="for-the-longest-time-i-have-had-caps-lock-set-to-no-action-in-system-preferences--keyboard-modifier-keys"&gt;For the longest time I have had caps lock set to “no action” in System Preferences &amp;raquo; Keyboard&amp;raquo; Modifier Keys:&lt;/h3&gt;&#10;&#10; &lt;img src="http://salopst.yearl.us/uploads/caps-lock-no-action.png" alt="caps-lock-no-action" class="center" style="border-radius: 50px;" /&gt;&#10;&#10;&#10;&lt;p&gt;But recently I’ve been playing with Vim (and also finally getting around to learning how to touch type) a little more now that I have some time on my hands, and decided that I needed an escape key that wasn’t such a PITA to get to without risking breaking my left pinkie. Enter &lt;a href="https://pqrs.org/osx/karabiner/"&gt;Karibiner&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Window Managers for OS X</title><link>http://salopst.yearl.us/window-managers-for-os-x/</link><pubDate>Tue, 21 Jul 2015 21:35:37 +0000</pubDate><guid>http://salopst.yearl.us/window-managers-for-os-x/</guid><description>&lt;p&gt;Playing with &lt;a href="https://pqrs.org/osx/karabiner/"&gt;Karabiner&lt;/a&gt; and searching for others&amp;rsquo; keybindings has led me somewhat down the rabbit hole of window management on OS X. There seem to be a bunch, some light-weight, some heavy. Some under active development, others that seem to be abandoned.&lt;/p&gt;&#10;&lt;p&gt;Managing windows can be a PITA, lots of precision dragging and resizing and all to get the windows into the desired position. Several window managers exist for OS X, and a short, short list would include:&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>NPM, antigen and ZSH pure prompt</title><link>http://salopst.yearl.us/npm-and-zsh-pure-prompt/</link><pubDate>Wed, 24 Jun 2015 05:13:58 +0000</pubDate><guid>http://salopst.yearl.us/npm-and-zsh-pure-prompt/</guid><description>&lt;p&gt;So somehow I managed to mess up my install of the &lt;a href="https://github.com/sindresorhus/pure"&gt;pure prompt&lt;/a&gt; such that it was not loading async.&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;prompt_pure_setup:10: async: &lt;span style="color:#66d9ef"&gt;function&lt;/span&gt; definition file not found&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;prompt_pure_async_tasks:3: command not found: async_start_worker&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;prompt_pure_async_tasks:4: command not found: async_register_callback&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;How or why this happened I know not. Easy peasy to fix with npm, right?&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;❯ npm update &lt;span style="color:#f92672"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm install --global pure-prompt&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;gt; pure-prompt@1.1.0 postinstall /Users/yearlus/node_modules/pure-prompt&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;gt; dest&lt;span style="color:#f92672"&gt;=&lt;/span&gt;/usr/local/share/zsh/site-functions/; mkdir -p $dest &lt;span style="color:#f92672"&gt;&amp;amp;&amp;amp;&lt;/span&gt; ln -sf &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$PWD&lt;span style="color:#e6db74"&gt;/pure.zsh&amp;#34;&lt;/span&gt; $dest/prompt_pure_setup &lt;span style="color:#f92672"&gt;&amp;amp;&amp;amp;&lt;/span&gt; ln -sf &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$PWD&lt;span style="color:#e6db74"&gt;/async.zsh&amp;#34;&lt;/span&gt; $dest/async &lt;span style="color:#f92672"&gt;||&lt;/span&gt; echo &lt;span style="color:#e6db74"&gt;&amp;#39;Could not automagically symlink the prompt. Check out the readme on how to do it manually: https://github.com/sindresorhus/pure#manually&amp;#39;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pure-prompt@1.1.0 node_modules/pure-prompt&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;No problem. As the doco reads&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><item><title>Apple Macbook Air USB "superdrive" on a non-Air</title><link>http://salopst.yearl.us/apple-macbook-air-usb-superdrive-on-a-non-air/</link><pubDate>Thu, 09 Feb 2012 08:35:01 +0000</pubDate><guid>http://salopst.yearl.us/apple-macbook-air-usb-superdrive-on-a-non-air/</guid><description>&lt;p&gt;So I borrowed a mate&amp;rsquo;s external USB superdrive in order to get some&#10;old files off of archived CDs, and the internal optical drive in my&#10;April &amp;lsquo;08 MacBook Pro has long since shit the bed. Requirements for the&#10;drive suggest that an Air is required (Apple website, original&#10;packaging and a call to an Apple store), and sure enough when plugged&#10;into the MBP running Lion (10.7.2)&amp;hellip; no dice.&lt;/p&gt;</description></item></channel></rss>