<?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/"
	>

<channel>
	<title>/kb &#187; mac</title>
	<atom:link href="http://grx.no/kb/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://grx.no/kb</link>
	<description>personal knowledgebase</description>
	<lastBuildDate>Wed, 15 Jun 2011 07:07:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Install PIL (Python Imaging Library) in Leopard</title>
		<link>http://grx.no/kb/2010/02/07/install-pil-python-imaging-library-in-leopard/</link>
		<comments>http://grx.no/kb/2010/02/07/install-pil-python-imaging-library-in-leopard/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 11:09:32 +0000</pubDate>
		<dc:creator>hgrimelid</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[pil]]></category>
		<category><![CDATA[pip]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[virtualenv]]></category>

		<guid isPermaLink="false">http://grx.no/kb/?p=175</guid>
		<description><![CDATA[Installing modules when using pip, virtualenv and virtualenvwrapper is a breeze, but it took some time before I realized what was the easiest way to install PIL. I do it this way: pip -E PATH_TO_VIRTUALENV install http://dist.repoze.org/PIL-1.1.6.tar.gz This installs a slightly repackaged version of PIL. The latest PIL version is 1.1.7, but as far as [...]]]></description>
			<content:encoded><![CDATA[<p>Installing modules when using pip, virtualenv and virtualenvwrapper is a breeze, but it took some time before I realized what was the easiest way to install PIL.</p>
<p>I do it this way:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pip <span style="color: #660033;">-E</span> PATH_TO_VIRTUALENV <span style="color: #c20cb9; font-weight: bold;">install</span> http:<span style="color: #000000; font-weight: bold;">//</span>dist.repoze.org<span style="color: #000000; font-weight: bold;">/</span>PIL-1.1.6.tar.gz</pre></div></div>

<p>This installs <a href="http://pypi.python.org/pypi/PIL/1.1.6">a slightly repackaged</a> version of PIL. The latest PIL version is 1.1.7, but as far as I know it&#8217;s not available in this form.</p>
]]></content:encoded>
			<wfw:commentRss>http://grx.no/kb/2010/02/07/install-pil-python-imaging-library-in-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude several files or directories from tar</title>
		<link>http://grx.no/kb/2009/08/09/exclude-several-files-or-directories-from-tar/</link>
		<comments>http://grx.no/kb/2009/08/09/exclude-several-files-or-directories-from-tar/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 14:08:34 +0000</pubDate>
		<dc:creator>hgrimelid</dc:creator>
				<category><![CDATA[Shell]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://grx.no/kb/?p=172</guid>
		<description><![CDATA[It&#8217;s very useful to be able to exclude certain files or directories when using tar. Here&#8217;s how I did in Leopard: tar czvf FILENAME.tgz --exclude=&#123;.svn,wiki*,static&#125; FILES_OR_DIRS_TO_TAR]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very useful to be able to exclude certain files or directories when using tar. Here&#8217;s how I did in Leopard:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> czvf FILENAME.tgz <span style="color: #660033;">--exclude</span>=<span style="color: #7a0874; font-weight: bold;">&#123;</span>.svn,wiki<span style="color: #000000; font-weight: bold;">*</span>,static<span style="color: #7a0874; font-weight: bold;">&#125;</span> FILES_OR_DIRS_TO_TAR</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://grx.no/kb/2009/08/09/exclude-several-files-or-directories-from-tar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passwordless login with MacFusion</title>
		<link>http://grx.no/kb/2009/08/06/passwordless-login-with-macfusion/</link>
		<comments>http://grx.no/kb/2009/08/06/passwordless-login-with-macfusion/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 07:28:22 +0000</pubDate>
		<dc:creator>hgrimelid</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macfusion]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://grx.no/kb/?p=169</guid>
		<description><![CDATA[Put a reference to the private key file in ~/.ssh/config, for example: IdentityFile ~/.ssh/id_rsa Source: FAQS.org]]></description>
			<content:encoded><![CDATA[<p>Put a reference to the private key file in <code>~/.ssh/config</code>, for example:</p>
<pre>
IdentityFile ~/.ssh/id_rsa
</pre>
<p>Source: <a href="http://www.faqs.org/docs/securing/chap15sec121.html">FAQS.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://grx.no/kb/2009/08/06/passwordless-login-with-macfusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make SSHKeychain work in Leopard</title>
		<link>http://grx.no/kb/2009/06/22/make-sshkeychain-work-in-leopard/</link>
		<comments>http://grx.no/kb/2009/06/22/make-sshkeychain-work-in-leopard/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 08:43:03 +0000</pubDate>
		<dc:creator>hgrimelid</dc:creator>
				<category><![CDATA[Shell]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshkeychain]]></category>

		<guid isPermaLink="false">http://grx.no/kb/?p=164</guid>
		<description><![CDATA[Here&#8217;s how I set up SSHKeychain on my Mac: Modify the package content as described Add stuff to .bashrc/.profile Add keys to SSHKeychain: Preferences > SSH Keys Check Manage (and modify) global environment variables (this probably has no effect, ref 2.)]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how I set up <a href="http://www.sshkeychain.org/">SSHKeychain</a> on my Mac:</p>
<ol>
<li><a href="http://samj.net/2008/06/sshkeychain-082-post-install-problem-on.html">Modify the package content as described<br />
</a></li>
<li><a href="http://sportsdaft.blogspot.com/2008/04/getting-sshkeychain-to-work-on-leopard.html">Add stuff to .bashrc/.profile</a></li>
<li>Add keys to SSHKeychain: Preferences > SSH Keys</li>
<li>Check Manage (and modify) global environment variables (this probably has no effect, ref 2.)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://grx.no/kb/2009/06/22/make-sshkeychain-work-in-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Finder for current directory from command line</title>
		<link>http://grx.no/kb/2009/01/09/open-finder-for-current-directory-from-command-line/</link>
		<comments>http://grx.no/kb/2009/01/09/open-finder-for-current-directory-from-command-line/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 07:41:22 +0000</pubDate>
		<dc:creator>Håvard Grimelid</dc:creator>
				<category><![CDATA[Shell]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os]]></category>

		<guid isPermaLink="false">http://grx.no/kb/?p=91</guid>
		<description><![CDATA[I just learned how to open a Finder window directly from the command line. open . Yes, it&#8217;s actually that easy, and the open command is quite handy some times. This is from the open man page. The open command opens a file (or a directory or URL), just as if you had double-clicked the [...]]]></description>
			<content:encoded><![CDATA[<p>I just learned how to open a Finder window directly from the command line.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">open .</pre></div></div>

<p>Yes, it&#8217;s actually that easy, and the <em>open</em> command is quite handy some times. This is from the <em>open</em> man page.</p>
<blockquote><p>
The open command opens a file (or a directory or URL), just as if you had double-clicked the<br />
     file&#8217;s icon. If no application name is specified, the default application as determined via<br />
     LaunchServices is used to open the specified files.</p></blockquote>
<p>This means that you can actually open anything from the command line with the <em>open</em> command. Go ahead and try it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://grx.no/kb/2009/01/09/open-finder-for-current-directory-from-command-line/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

