<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>macOS &#8211; luke arms</title>
	<atom:link href="https://tech.lkrms.org/tag/macos/feed/" rel="self" type="application/rss+xml" />
	<link>https://tech.lkrms.org</link>
	<description>just a nerd with &#34;mild OCD tendencies&#34;</description>
	<lastBuildDate>Tue, 25 Sep 2018 11:52:57 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.6.12</generator>

<image>
	<url>https://tech.lkrms.org/wp-content/uploads/2016/06/cropped-Logo-Letters-WB-Circle-2-32x32.png</url>
	<title>macOS &#8211; luke arms</title>
	<link>https://tech.lkrms.org</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">152348619</site>	<item>
		<title>RPN mode in macOS Calculator</title>
		<link>https://tech.lkrms.org/rpn-mode-in-macos-calculator/</link>
					<comments>https://tech.lkrms.org/rpn-mode-in-macos-calculator/#respond</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Mon, 27 Aug 2018 12:51:49 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[calculators]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[rpn]]></category>
		<guid isPermaLink="false">https://lkrms.org/?p=1696</guid>

					<description><![CDATA[<p>If you&#8217;ve spent an unhealthy quantity of time with me, you already know that I have a bit of a thing for RPN (performing calculations without an &#8220;equals&#8221; operation at the end), HP calculators (even though they&#8217;re not built like they used to be), buttons with the proper tactile response, and other Very Important Considerations &#8230; <a href="https://tech.lkrms.org/rpn-mode-in-macos-calculator/" class="more-link">Continue reading <span class="screen-reader-text">RPN mode in macOS Calculator</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/rpn-mode-in-macos-calculator/">RPN mode in macOS Calculator</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;ve spent an unhealthy quantity of time with me, you already know that I have a bit of a thing for <a href="https://en.wikipedia.org/wiki/Reverse_Polish_notation">RPN</a> (performing calculations without an &#8220;equals&#8221; operation at the end), <a href="https://en.wikipedia.org/wiki/HP-32S">HP calculators</a> (even though they&#8217;re not built like they used to be), buttons with the proper tactile response, and other Very Important Considerations related to choosing a calculator.</p>
<p>It&#8217;s not important that serious calculators pale into insignificance beside modern smartphones and tablets. I will <em>always</em> cherish the memory of my HP32SII and no, I&#8217;m not weird, you&#8217;re weird.</p>
<p>Anyway, I discovered something in the built-in Calculator app in macOS High Sierra the other day: <strong>RPN MODE</strong>. Which means one doesn&#8217;t need to run the very excellent <a href="https://www.pcalc.com/">PCalc</a> to confuse everyone who doesn&#8217;t understand RPN.</p>
<p>Seriously. Just press <strong>⌘R</strong>.</p>
<p><em>Why wasn&#8217;t this mentioned during a keynote, Apple?</em></p>
<p><strong>Update:</strong> it looks like this feature has been <a href="http://osksn2.hep.sci.osaka-u.ac.jp/~taku/osx/rpnosx.html">available since OS X Tiger</a>. I&#8217;m shook.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/rpn-mode-in-macos-calculator/">RPN mode in macOS Calculator</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/rpn-mode-in-macos-calculator/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1696</post-id>	</item>
		<item>
		<title>Installing Homebrew on El Capitan when SSL won&#8217;t give you a handshake</title>
		<link>https://tech.lkrms.org/installing-homebrew-on-el-capitan-when-ssl-wont-give-you-a-handshake/</link>
					<comments>https://tech.lkrms.org/installing-homebrew-on-el-capitan-when-ssl-wont-give-you-a-handshake/#comments</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Tue, 22 Mar 2016 02:27:33 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macOS]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=1265</guid>

					<description><![CDATA[<p>If you&#8217;re trying to do a clean install of Homebrew using the instructions on http://brew.sh, you&#8217;ll probably you might get this error: curl: (35) Server aborted the SSL handshake Apparently something is currently broken about accessing GitHub-hosted raw content via https://raw.githubusercontent.com. It&#8217;s probably nothing do with your curl version. Here&#8217;s an alternate install command that &#8230; <a href="https://tech.lkrms.org/installing-homebrew-on-el-capitan-when-ssl-wont-give-you-a-handshake/" class="more-link">Continue reading <span class="screen-reader-text">Installing Homebrew on El Capitan when SSL won&#8217;t give you a handshake</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/installing-homebrew-on-el-capitan-when-ssl-wont-give-you-a-handshake/">Installing Homebrew on El Capitan when SSL won&#8217;t give you a handshake</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;re trying to do a clean install of <a href="http://brew.sh/">Homebrew</a> using the instructions on <a href="http://brew.sh">http://brew.sh</a>, <del datetime="2016-03-25T21:42:28+00:00">you&#8217;ll probably</del> you might get this error:</p>
<pre><code>curl: (35) Server aborted the SSL handshake
</code></pre>
<p>Apparently something is currently broken about accessing GitHub-hosted raw content via <a href="https://raw.githubusercontent.com">https://raw.githubusercontent.com</a>. It&#8217;s probably nothing do with your <code>curl</code> version.</p>
<p>Here&#8217;s an alternate install command that worked for me:</p>
<pre><code>/usr/bin/ruby -e "$(curl -fsSL https://github.com/Homebrew/install/raw/master/install)"
</code></pre>
<p>You&#8217;re welcome.</p>
<p><em><strong>UPDATE:</strong> it&#8217;s possible I was experiencing this issue due to intermittent problems with Telstra&#8217;s network.</em></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/installing-homebrew-on-el-capitan-when-ssl-wont-give-you-a-handshake/">Installing Homebrew on El Capitan when SSL won&#8217;t give you a handshake</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/installing-homebrew-on-el-capitan-when-ssl-wont-give-you-a-handshake/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1265</post-id>	</item>
		<item>
		<title>Running SMART Notebook 11.4 on OS X Yosemite</title>
		<link>https://tech.lkrms.org/running-smart-notebook-11-4-on-os-x-yosemite/</link>
					<comments>https://tech.lkrms.org/running-smart-notebook-11-4-on-os-x-yosemite/#comments</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Wed, 05 Nov 2014 01:49:20 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[smart]]></category>
		<category><![CDATA[yosemite]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=1135</guid>

					<description><![CDATA[<p>Ironically, SMART is one of the dumbest, least likeable tech companies around, but unfortunately I&#8217;m responsible for quite a few of their interactive whiteboards. So when they decided to force everyone to upgrade to their not-smart subscription-licensed &#8220;SMART Notebook 14&#8221; by leaving the previous version broken on OS X Yosemite, I was in a bit &#8230; <a href="https://tech.lkrms.org/running-smart-notebook-11-4-on-os-x-yosemite/" class="more-link">Continue reading <span class="screen-reader-text">Running SMART Notebook 11.4 on OS X Yosemite</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/running-smart-notebook-11-4-on-os-x-yosemite/">Running SMART Notebook 11.4 on OS X Yosemite</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Ironically, <a href="http://smarttech.com">SMART</a> is one of the dumbest, least likeable tech companies around, but unfortunately I&#8217;m responsible for quite a few of their interactive whiteboards.</p>
<p>So when they decided to force everyone to upgrade to their not-smart subscription-licensed &#8220;SMART Notebook 14&#8221; by leaving the previous version broken on OS X Yosemite, I was in a bit of a pickle.</p>
<p>Thankfully, a bit of determination (a.k.a. trawling through crash reports and Google results for &#8220;yosemite ruby 1.8 HALP PLZ&#8221;) was all it took to figure out that getting Notebook 11.4 working on Yosemite is as easy as copying Ruby 1.8 from a Mavericks machine over to Yosemite.</p>
<p>It&#8217;s in <code>/System/Library/Frameworks/Ruby.framework/Versions/</code>. I just tar&#8217;d the 1.8 folder up and copied it over.</p>
<p>You&#8217;re welcome.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/running-smart-notebook-11-4-on-os-x-yosemite/">Running SMART Notebook 11.4 on OS X Yosemite</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/running-smart-notebook-11-4-on-os-x-yosemite/feed/</wfw:commentRss>
			<slash:comments>88</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1135</post-id>	</item>
		<item>
		<title>Upgrading to OS X Yosemite with Homebrew installed</title>
		<link>https://tech.lkrms.org/upgrading-to-os-x-yosemite-with-homebrew-installed/</link>
					<comments>https://tech.lkrms.org/upgrading-to-os-x-yosemite-with-homebrew-installed/#comments</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Thu, 16 Oct 2014 23:10:55 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[yosemite]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=1131</guid>

					<description><![CDATA[<p>Upgrading to OS X Yosemite with Homebrew installed So, this looks a little bit important.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/upgrading-to-os-x-yosemite-with-homebrew-installed/">Upgrading to OS X Yosemite with Homebrew installed</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://jimlindley.com/blog/yosemite-upgrade-homebrew-tips/">Upgrading to OS X Yosemite with Homebrew installed</a></p>
<p>So, this looks a little bit important.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/upgrading-to-os-x-yosemite-with-homebrew-installed/">Upgrading to OS X Yosemite with Homebrew installed</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/upgrading-to-os-x-yosemite-with-homebrew-installed/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1131</post-id>	</item>
		<item>
		<title>PHP with FreeTDS on macOS Sierra</title>
		<link>https://tech.lkrms.org/php-with-freetds-on-os-x-mavericks/</link>
					<comments>https://tech.lkrms.org/php-with-freetds-on-os-x-mavericks/#comments</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Sun, 17 Nov 2013 06:13:51 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[macOS server]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sql server]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=1060</guid>

					<description><![CDATA[<p>Need your macOS-hosted PHP code to talk to Microsoft SQL Server? Here’s the guide I couldn’t find when I needed it. Or you could just download my macOS-ready mssql.so (compiled for PHP 5.6.30 on macOS Sierra 10.12.6) and skip to the end. (18 Aug 2017) Previous versions are available below. Prerequisites Xcode with command line &#8230; <a href="https://tech.lkrms.org/php-with-freetds-on-os-x-mavericks/" class="more-link">Continue reading <span class="screen-reader-text">PHP with FreeTDS on macOS Sierra</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/php-with-freetds-on-os-x-mavericks/">PHP with FreeTDS on macOS Sierra</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Need your macOS-hosted PHP code to talk to Microsoft SQL Server? Here’s the guide I couldn’t find when I needed it.</p>
<p><em>Or you could just download my <a href="http://delivr.lkrms.org/index.php?f=YJvofgVtKhBgO2It">macOS-ready mssql.so</a> (compiled for PHP 5.6.30 on macOS Sierra 10.12.6) and skip to the end. <strong>(18 Aug 2017)</strong></em></p>
<p><em>Previous versions are available below.</em></p>
<h3 id="prerequisites">Prerequisites</h3>
<ul>
<li>Xcode with command line tools (these are installed when you first run Xcode)</li>
<li>Latest autoconf source from <a href="http://ftp.gnu.org/gnu/autoconf/">http://ftp.gnu.org/gnu/autoconf/</a> <em>(or Homebrew installed)</em></li>
<li>Latest FreeTDS source from <a href="http://www.freetds.org/">http://www.freetds.org/</a> <em>(or Homebrew installed)</em></li>
<li>Source for the <a href="http://www.php.net/releases/">same version of PHP</a> that ships with macOS (5.6.30 on macOS Sierra 10.12.6; run `php -v` from a terminal if unsure)</li>
</ul>
<h3 id="buildandinstallautoconf">Build and install autoconf</h3>
<p>If you’re a <a href="http://brew.sh/">Homebrew</a> user, <code>brew install autoconf</code> is easier than the following.</p>
<pre>$ tar zxf autoconf-latest.tar.gz 
$ cd autoconf-2.69
$ ./configure 
$ make
$ sudo make install
</pre>
<h3 id="buildandinstallfreetds">Build and install FreeTDS</h3>
<p>FreeTDS is on Homebrew too: <code>brew install freetds</code></p>
<p>Alternatively:</p>
<pre>$ tar zxf freetds-patched.tar.gz
$ cd freetds-1.00.54
$ ./configure 
$ make
$ sudo make install
</pre>
<h3 id="buildandinstallmssql.so">Build and install mssql.so</h3>
<p>Don’t worry, unlike some of the Internets will tell you, there’s no need to rebuild PHP itself. Nor do you need to write an essay after <code>.configure</code>.</p>
<p><em><strong>Update (18 Aug 2017):</strong> phpize doesn&#8217;t seem to work out-of-the box anymore. If it can&#8217;t find the files it needs (you&#8217;ll see grep errors), try adding a symbolic link like this: <code>sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/php/ /usr/include/php</code>. <a href="https://www.imore.com/el-capitan-system-integrity-protection-helps-keep-malware-away">System Integrity Protection will need to be disabled first.</a></em></p>
<p>Here goes:</p>
<pre>$ tar zxf php-5.6.30.tar.gz
$ cd php-5.6.30/ext/mssql
$ phpize
$ ./configure --with-php-config=/usr/bin/php-config --with-mssql=/usr/local/
$ make
$ sudo cp modules/mssql.so /usr/lib/php/extensions/no-debug-non-zts-20131226/
</pre>
<p>If you have trouble with the final step, System Integrity Protection is probably enabled. <a href="https://www.imore.com/el-capitan-system-integrity-protection-helps-keep-malware-away">Disable it temporarily.</a></p>
<p>Finally, add this line to your <code>php.ini</code> (probably in <code>/etc/php.ini</code>):</p>
<pre>extension=mssql.so
</pre>
<p>And restart Apache if necessary.</p>
<p>Done!</p>
<h3>Previous versions</h3>
<p>If you&#8217;re running an old version of macOS, you might find one of these binaries helpful:</p>
<ul>
<li>mssql.so compiled for PHP 5.4.17 on OS X Mavericks 10.9 can be downloaded <a href="http://delivr.lkrms.org/index.php?f=K50P3jASK8yhUDfA">here.</a> <strong>(17 Nov 2013)</strong></li>
<li>mssql.so compiled for PHP 5.4.24 on OS X Mavericks 10.9.4 can be downloaded <a href="http://delivr.lkrms.org/index.php?f=6ib06l6EgW3287l4">here.</a> <strong>(6 Jul 2014)</strong></li>
<li>mssql.so compiled for PHP 5.5.14 on OS X Yosemite 10.10.1 can be downloaded <a href="http://delivr.lkrms.org/index.php?f=8ZQu48VhUvw3l4ze">here.</a> <strong>(22 Dec 2014)</strong></li>
<li>mssql.so compiled for PHP 5.5.27 on OS X Yosemite 10.10.5 can be downloaded <a href="http://delivr.lkrms.org/index.php?f=g1pDzVAT_uF_psdi">here.</a> <strong>(16 Sep 2015)</strong></li>
</ul>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/php-with-freetds-on-os-x-mavericks/">PHP with FreeTDS on macOS Sierra</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/php-with-freetds-on-os-x-mavericks/feed/</wfw:commentRss>
			<slash:comments>23</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1060</post-id>	</item>
		<item>
		<title>Hacking Profile Manager on Mavericks</title>
		<link>https://tech.lkrms.org/hacking-profile-manager-on-mavericks/</link>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Fri, 08 Nov 2013 12:19:50 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[macOS server]]></category>
		<category><![CDATA[profile manager]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=1058</guid>

					<description><![CDATA[<p>Dear Fellow OS X Server Geeks, Just a heads up that I have updated my earlier posts about gaining access to Apple&#8217;s Profile Manager PostgreSQL database. The commands therein now work on Mavericks. If you&#8217;ve upgraded from OS X Server 2.0 on Mountain Lion, you&#8217;ll have to open up remote access from scratch. Data is &#8230; <a href="https://tech.lkrms.org/hacking-profile-manager-on-mavericks/" class="more-link">Continue reading <span class="screen-reader-text">Hacking Profile Manager on Mavericks</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/hacking-profile-manager-on-mavericks/">Hacking Profile Manager on Mavericks</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Dear Fellow OS X Server Geeks,</p>
<p>Just a heads up that I have updated my <a href="https://lkrms.org/under-the-hood-os-x-servers-profile-manager/">earlier</a> <a href="https://lkrms.org/squid-authentication-via-os-x-profile-manager-and-active-directory/">posts</a> about gaining access to Apple&#8217;s Profile Manager PostgreSQL database. <em>The commands therein now work on Mavericks.</em></p>
<p>If you&#8217;ve upgraded from OS X Server 2.0 on Mountain Lion, you&#8217;ll have to open up remote access from scratch. Data is retained (flawlessly in my case), but the PostgreSQL instance has been moved and a new database (with a new name) created beside the old one.</p>
<p>Virtual hugs,</p>
<p>Me</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/hacking-profile-manager-on-mavericks/">Hacking Profile Manager on Mavericks</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1058</post-id>	</item>
		<item>
		<title>Mail.app on Mavericks: now plays nice with Exchange</title>
		<link>https://tech.lkrms.org/mail-app-on-mavericks-now-plays-nice-with-exchange/</link>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Fri, 08 Nov 2013 12:03:16 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[mavericks]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=1056</guid>

					<description><![CDATA[<p>If you use Mail.app on OS X Mavericks, there&#8217;s a good chance you already know this, but if not: Apple have just updated it. Much has been made of Gmail not working under Mail.app on Mavericks, but for those of us who use it with Exchange, it&#8217;s been a similar story (with less rage). I&#8217;m &#8230; <a href="https://tech.lkrms.org/mail-app-on-mavericks-now-plays-nice-with-exchange/" class="more-link">Continue reading <span class="screen-reader-text">Mail.app on Mavericks: now plays nice with Exchange</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/mail-app-on-mavericks-now-plays-nice-with-exchange/">Mail.app on Mavericks: now plays nice with Exchange</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you use Mail.app on OS X Mavericks, there&#8217;s a good chance you already know this, but if not: <em>Apple have just updated it.</em></p>
<p>Much has been made of Gmail not working under Mail.app on Mavericks, but for those of us who use it with Exchange, it&#8217;s been a similar story (with less rage). I&#8217;m happy to report that the latency/timeout/crash problems I was experiencing with Mail.app and Exchange 2010 appear to be resolved with this update.</p>
<p><em>And there was much rejoicing!</em></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/mail-app-on-mavericks-now-plays-nice-with-exchange/">Mail.app on Mavericks: now plays nice with Exchange</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1056</post-id>	</item>
		<item>
		<title>Creating OS X Mavericks install media</title>
		<link>https://tech.lkrms.org/creating-os-x-mavericks-install-media/</link>
					<comments>https://tech.lkrms.org/creating-os-x-mavericks-install-media/#comments</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Wed, 23 Oct 2013 01:19:07 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[mavericks]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=1040</guid>

					<description><![CDATA[<p>It&#8217;s been a big morning for Apple punters: OS X Mavericks, new iPads, iOS 7.0.3 and a bunch of new apps. The only downside (aside from the &#8220;later in November&#8221; ETA on the Retina iPad Mini) is the downloading involved. Mavericks is ~5.5GB, and with 4 machines to upgrade [just in my house &#8211; there &#8230; <a href="https://tech.lkrms.org/creating-os-x-mavericks-install-media/" class="more-link">Continue reading <span class="screen-reader-text">Creating OS X Mavericks install media</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/creating-os-x-mavericks-install-media/">Creating OS X Mavericks install media</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It&#8217;s been a big morning for Apple punters: OS X Mavericks, new iPads, iOS 7.0.3 and a bunch of new apps.</p>
<p>The only downside (aside from the &#8220;later in November&#8221; ETA on the Retina iPad Mini) is the downloading involved. Mavericks is ~5.5GB, and with 4 machines to upgrade [just in my house &#8211; there are a bunch more at work], downloading through the App Store each time would be painful.</p>
<p><a href="https://lkrms.org/caching-ios-updates-on-a-squid-proxy-server/">As usual</a>, Apple haven&#8217;t made it TOO easy to download-once-install-many (you can&#8217;t just restore a DMG onto an install partition anymore), but at least there&#8217;s an install media console utility built into the Install OS X Mavericks app.</p>
<p>Here&#8217;s how you use it:</p>
<ol>
<li>Use the App Store to download Mavericks. It&#8217;s pretty hard to miss at the moment; go to the Updates tab if it&#8217;s not immediately obvious.</li>
<li>After downloading, cancel the installation process that will automatically start. (I just used Cmd-Q to quit the installer, but I think there&#8217;s a proper Cancel button too.)</li>
<li>Prepare your install media. I partitioned off 8GB on a USB hard drive. A USB stick might be your weapon of choice (8GB minimum, unless 6GB sticks exist). <em>For the command below to work without alteration, you&#8217;ll need an empty Mac OS Extended (Journaled) partition called &#8220;Untitled&#8221;.</em> Disk Utility makes light work of this.</li>
<li>Open a terminal and run the command below. When it asks for a password, give your OS X user account password.</li>
<li>Press and hold the Option key while rebooting. Select your new install media and proceed.</li>
</ol>
<pre>sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
</pre>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/creating-os-x-mavericks-install-media/">Creating OS X Mavericks install media</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/creating-os-x-mavericks-install-media/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1040</post-id>	</item>
		<item>
		<title>Squid authentication via OS X Profile Manager and Active Directory</title>
		<link>https://tech.lkrms.org/squid-authentication-via-os-x-profile-manager-and-active-directory/</link>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Mon, 26 Aug 2013 05:17:19 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[macOS server]]></category>
		<category><![CDATA[squid]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=975</guid>

					<description><![CDATA[<p>Updated on 6-Nov-13 for OS X Server 3.0 on Mavericks My last post was about getting access to OS X Server&#8217;s Profile Manager database; this post is about doing something useful with it. Hypothesis: given live access to data from Profile Manager and Active Directory, it should be easy to write a Squid external_acl_type helper &#8230; <a href="https://tech.lkrms.org/squid-authentication-via-os-x-profile-manager-and-active-directory/" class="more-link">Continue reading <span class="screen-reader-text">Squid authentication via OS X Profile Manager and Active Directory</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/squid-authentication-via-os-x-profile-manager-and-active-directory/">Squid authentication via OS X Profile Manager and Active Directory</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><em><strong>Updated on 6-Nov-13 for OS X Server 3.0 on Mavericks</strong></em></p>
<p>My <a href="https://lkrms.org/under-the-hood-os-x-servers-profile-manager/">last post</a> was about getting access to OS X Server&#8217;s Profile Manager database; this post is about doing something useful with it.</p>
<p>Hypothesis: given live access to data from Profile Manager and Active Directory, it should be easy to write a Squid <a href="http://www.squid-cache.org/Doc/config/external_acl_type/">external_acl_type</a> helper that maps incoming IP addresses to usernames. An optional check for group membership? Trivial. Amirite?!</p>
<p>I was half-right. The lookups weren&#8217;t hard, but getting the helper to terminate when Squid wanted it to, and to NOT terminate prematurely, required a little trial-and-error. Turns out Squid keeps its helpers alive by sending them empty lines, so terminating on empty input isn&#8217;t such a good idea.</p>
<p>Anyway, here&#8217;s the code that has our iPad fleet &#8220;authenticating&#8221; with our Squid proxy server transparently. It&#8217;s been tested on Linux (Ubuntu 12.04 LTS) and OS X. Yes, Python would have been better than PHP, but I&#8217;m more fluent in PHP, and the PHP CLI interpreter is efficient enough for this purpose.</p>
<p><em><strong>Update 23-Dec-2014:</strong> this script is now <a href="https://github.com/lkrms/extensions/blob/master/squid/external_auth.php">hosted on GitHub.</a></em></p>
<p>To use it in squid.conf (assuming you&#8217;ve pulled it down to /opt/git/extensions/squid/external_auth.php):</p>
<pre>
external_acl_type external_auth ttl=300 negative_ttl=5 children-startup=10 children-max=40 children-idle=10 ipv4 %SRC %MYPORT /opt/git/extensions/squid/external_auth.php

acl Apple_Devices external external_auth
acl Staff_Apple_Devices external external_auth staff
acl No_Filter_Devices external external_auth no_filter
acl No_Access_Devices external external_auth no_access
</pre>
<p>The &#8220;staff&#8221;, &#8220;no_filter&#8221; and &#8220;no_access&#8221; values map to $SQUID_LDAP_GROUP_DN in the configuration file &#8211; customise as needed (many groups may be defined).</p>
<p>Finally, use your new acls in some access rules, e.g.:</p>
<pre>http_access allow localnet Staff_Only_Websites Staff_Apple_Devices
http_access deny localnet Staff_Only_Websites Apple_Devices</pre>
<p>Questions? Errata? Do comment.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/squid-authentication-via-os-x-profile-manager-and-active-directory/">Squid authentication via OS X Profile Manager and Active Directory</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">975</post-id>	</item>
		<item>
		<title>Under the hood: OS X Server&#8217;s Profile Manager</title>
		<link>https://tech.lkrms.org/under-the-hood-os-x-servers-profile-manager/</link>
					<comments>https://tech.lkrms.org/under-the-hood-os-x-servers-profile-manager/#comments</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Mon, 19 Aug 2013 04:13:41 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[macOS server]]></category>
		<category><![CDATA[profile manager]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=972</guid>

					<description><![CDATA[<p>Updated on 6-Nov-13 for OS X Server 3.0 on Mavericks Let&#8217;s say you&#8217;re running the MDM software Apple ship with OS X Server, Profile Manager. (You&#8217;ve chosen this because you don&#8217;t really need the fancy features of Casper and friends.) Let&#8217;s say you&#8217;re also running other services that would benefit from live access to Profile &#8230; <a href="https://tech.lkrms.org/under-the-hood-os-x-servers-profile-manager/" class="more-link">Continue reading <span class="screen-reader-text">Under the hood: OS X Server&#8217;s Profile Manager</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/under-the-hood-os-x-servers-profile-manager/">Under the hood: OS X Server&#8217;s Profile Manager</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Updated on 6-Nov-13 for OS X Server 3.0 on Mavericks</strong></p>
<p>Let&#8217;s say you&#8217;re running the MDM software Apple ship with OS X Server, <a href="https://www.apple.com/au/support/osxserver/profilemanager/">Profile Manager.</a> (You&#8217;ve chosen this because you don&#8217;t really need the fancy features of Casper and friends.)</p>
<p>Let&#8217;s say you&#8217;re also running other services that would benefit from live access to Profile Manager&#8217;s device metadata, e.g. a Squid proxy that implements MAC-based iOS authentication (because proper proxy authentication has been broken on iOS since forever). &#8220;An external_acl_type that could check enrolled device MAC addresses be super-awesome!&#8221; you say to yourself.</p>
<p>Where to start?</p>
<p>Turns out, Profile Manager data lives in an embedded PostgreSQL database, and opening it up for remote access is relatively straightforward.</p>
<p>First, you&#8217;ll need to modify <code>/Library/Server/ProfileManager/Config/PostgreSQL_config.plist</code> <em>(note: this path has changed in Server 3.0)</em> to enable access over TCP/IP (by default, postgres only listens on a UNIX socket). Edit the existing <code>listen_addresses=</code> entry, and add the last two lines:</p>
<pre>&lt;string&gt;-c&lt;/string&gt;
&lt;string&gt;listen_addresses=OSX_SERVER_LAN_IP&lt;/string&gt;
&lt;string&gt;-c&lt;/string&gt;
&lt;string&gt;port=5432&lt;/string&gt;</pre>
<p><em>Note: Server 3.0 creates multiple instances of PostgreSQL, one for each service that depends on it, all on different UNIX sockets. Just in case another instance opens PostgreSQL for TCP connections on localhost, I recommend binding the Profile Manager instance to a LAN-facing IP. Alternatively, you could use a non-standard port.</em></p>
<p>Then tell postgres that any host on your network is allowed to connect with an encrypted password, by adding a line like this to <code>/Library/Server/ProfileManager/Data/PostgreSQL/pg_hba.conf</code> <em>(note: changed in Server 3.0)</em>:</p>
<pre>host all all 192.168.0.0/16 md5</pre>
<p>Almost done! Now you just need to set up a postgres user to connect as. Start by opening a psql session:</p>
<pre>sudo -u _devicemgr psql -h /Library/Server/ProfileManager/Config/var/PostgreSQL devicemgr_v2m0</pre>
<p><em>(This entire command has changed in Server 3.0; note particularly the new database name.)</em></p>
<p>Then you&#8217;ll probably want to run a couple of commands like:</p>
<pre>CREATE USER squid WITH PASSWORD 'XXXX';
GRANT SELECT ON ALL TABLES IN SCHEMA public TO squid;</pre>
<p>If you want to create a more privileged user:</p>
<pre>CREATE USER dbadmin WITH PASSWORD 'XXXX';
GRANT ALL ON ALL TABLES IN SCHEMA public TO dbadmin;
GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO dbadmin;
GRANT ALL ON ALL FUNCTIONS IN SCHEMA public TO dbadmin;</pre>
<p>Reboot the server and test with pgAdmin or some other PostgreSQL admin tool.</p>
<p>Oh, and don&#8217;t blame me if you break your Profile Manager, or Open Directory, or your entire OS X Server.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/under-the-hood-os-x-servers-profile-manager/">Under the hood: OS X Server&#8217;s Profile Manager</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/under-the-hood-os-x-servers-profile-manager/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">972</post-id>	</item>
		<item>
		<title>MacHeist $9.99 bundle (not a sponsored post)</title>
		<link>https://tech.lkrms.org/macheist-9-99-bundle-not-a-sponsored-post/</link>
					<comments>https://tech.lkrms.org/macheist-9-99-bundle-not-a-sponsored-post/#comments</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Wed, 17 Apr 2013 22:04:13 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[macOS]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=739</guid>

					<description><![CDATA[<p>MacHeist $9.99 bundle (not a sponsored post) App bundles come and go, but this is the first one I&#8217;ve actually sprung for, and if you&#8217;re a Mac user, you might want to too. I&#8217;m picking it up for xScope and Fantastical, but a couple of the other apps look interesting too. It doesn&#8217;t hurt that &#8230; <a href="https://tech.lkrms.org/macheist-9-99-bundle-not-a-sponsored-post/" class="more-link">Continue reading <span class="screen-reader-text">MacHeist $9.99 bundle (not a sponsored post)</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/macheist-9-99-bundle-not-a-sponsored-post/">MacHeist $9.99 bundle (not a sponsored post)</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.macheist.com/">MacHeist $9.99 bundle (not a sponsored post)</a></p>
<p>App bundles come and go, but this is the first one I&#8217;ve actually sprung for, and if you&#8217;re a Mac user, you might want to too. I&#8217;m picking it up for xScope and Fantastical, but a couple of the other apps look interesting too.</p>
<p>It doesn&#8217;t hurt that 10% of bundle sales are donated to charities. And extra apps are unlocked for all purchasers when sales targets are hit.</p>
<p>Clicky clicky!</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/macheist-9-99-bundle-not-a-sponsored-post/">MacHeist $9.99 bundle (not a sponsored post)</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/macheist-9-99-bundle-not-a-sponsored-post/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">739</post-id>	</item>
		<item>
		<title>Spotlight + arithmetic = calculator</title>
		<link>https://tech.lkrms.org/spotlight-arithmetic-calculator/</link>
					<comments>https://tech.lkrms.org/spotlight-arithmetic-calculator/#comments</comments>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Tue, 12 Mar 2013 05:51:25 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macOS]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=651</guid>

					<description><![CDATA[<p>Spotlight + arithmetic = calculator Did you know Spotlight can answer maths questions, without opening a calculator app or widget? I didn&#8217;t. (via 52 Tiger)</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/spotlight-arithmetic-calculator/">Spotlight + arithmetic = calculator</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://52tiger.net/daily-tip-spotlight-math/">Spotlight + arithmetic = calculator</a></p>
<p>Did you know Spotlight can answer maths questions, without opening a calculator app or widget?</p>
<p>I didn&#8217;t.</p>
<p>(via <a href="http://52tiger.net">52 Tiger</a>)</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/spotlight-arithmetic-calculator/">Spotlight + arithmetic = calculator</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.lkrms.org/spotlight-arithmetic-calculator/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">651</post-id>	</item>
		<item>
		<title>OS X terminal tip: get total bytes in all files in this folder</title>
		<link>https://tech.lkrms.org/os-x-terminal-tip-get-total-bytes-in-all-files-in-this/</link>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 12:23:00 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[macOS]]></category>
		<guid isPermaLink="false">http://lkrms.org/os-x-terminal-tip-get-total-bytes-in-all-files-in-this/</guid>

					<description><![CDATA[<p>So, you want to know exactly how many bytes are in all of the files under a given directory, and you only have a Mac OS X terminal to work with? It should be easy, but it’s not. Here, I’ll save you some time: find . -type f -not -iname .ds_store -print0 &#124; xargs -0 &#8230; <a href="https://tech.lkrms.org/os-x-terminal-tip-get-total-bytes-in-all-files-in-this/" class="more-link">Continue reading <span class="screen-reader-text">OS X terminal tip: get total bytes in all files in this folder</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/os-x-terminal-tip-get-total-bytes-in-all-files-in-this/">OS X terminal tip: get total bytes in all files in this folder</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>So, you want to know exactly how many bytes are in all of the files under a given directory, and you only have a Mac OS X terminal to work with?</p>
<p>It should be easy, but it’s not.</p>
<p>Here, I’ll save you some time:</p>
<pre>find . -type f -not -iname .ds_store -print0 | xargs -0 stat -f %z | awk '{s+=$1} END {print s}'</pre>
<p>Of course I’m assuming you don’t want any of those nasty <code>.DS_Store</code> files to be counted.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/os-x-terminal-tip-get-total-bytes-in-all-files-in-this/">OS X terminal tip: get total bytes in all files in this folder</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">30</post-id>	</item>
	</channel>
</rss>
