<?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>Coherent Ramblings &#187; Quick Tips</title>
	<atom:link href="http://plathrop.tertiusfamily.net/blog/category/systems-engineering/quick-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://plathrop.tertiusfamily.net/blog</link>
	<description>My thoughts on everything from Operations through Parenting and beyond.</description>
	<lastBuildDate>Thu, 03 Jun 2010 17:12:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting python-ldap installed on OS X</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/07/07/getting-python-ldap-installed-on-os-x/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/07/07/getting-python-ldap-installed-on-os-x/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 23:13:25 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/?p=29</guid>
		<description><![CDATA[If you want to use Fink, and build a bunch of crap you don&#8217;t need, follow these instructions.
If you are like me and prefer to use the libraries that are already installed, just do this:

If you haven&#8217;t already, install XCode.
Download python-ldap
 and extract it.
Edit setup.cfg. The relevant lines are below: 

library_dirs = /Developer/SDKs/MacOSX10.5.sdk/usr/lib/
include_dirs = /Developer/SDKs/MacOSX10.5.sdk/usr/include/ [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to use Fink, and build a bunch of crap you don&#8217;t need, follow <a href="http://vanrees.org/weblog/getting-python-ldap-running-on-osx-fink">these instructions</a>.</p>
<p>If you are like me and prefer to use the libraries that are already installed, just do this:</p>
<ol>
<li>If you haven&#8217;t already, install XCode.
<li><a href="http://python-ldap.sourceforge.net/download.shtml">Download</a> python-ldap</li>
<p> and extract it.</p>
<li>Edit <samp>setup.cfg</samp>. The relevant lines are below: 

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;">library_dirs = /Developer/SDKs/MacOSX10.5.<span style="color: black;">sdk</span>/usr/lib/
include_dirs = /Developer/SDKs/MacOSX10.5.<span style="color: black;">sdk</span>/usr/include/ /Developer/SDKs/MacOSX10.5.<span style="color: black;">sdk</span>/usr/include/sasl</pre></div></div>

</li>
<li><samp>sudo python setup.py install</samp></li>
<p>That&#8217;s all!</p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/07/07/getting-python-ldap-installed-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH tab completion</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/03/24/ssh-tab-completion/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/03/24/ssh-tab-completion/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 17:57:08 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/2008/03/24/ssh-tab-completion/</guid>
		<description><![CDATA[This is awesome. Put the following into your ~/.bash_profile file:

complete -W &#34;$(echo `cat ~/.ssh/known_hosts &#124; cut -f 1 -d ' ' \
&#124; sed -e s/,.*//g &#124; uniq &#124; grep -v &#34;\[&#34;`;)&#34; ssh

Open a new shell and type ssh tab tab. I love tab completion, don&#8217;t you?
]]></description>
			<content:encoded><![CDATA[<p>This is awesome. Put the following into your <samp>~/.bash_profile</samp> file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">complete</span> <span style="color: #660033;">-W</span> <span style="color: #ff0000;">&quot;$(echo <span style="color: #780078;">`cat ~/.ssh/known_hosts | cut -f 1 -d ' ' \
| sed -e s/,.*//g | uniq | grep -v &quot;\[&quot;`</span>;)&quot;</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span></pre></div></div>

<p>Open a new shell and type <samp>ssh</samp> <em>tab tab</em>. I love tab completion, don&#8217;t you?</p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/03/24/ssh-tab-completion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FreeBSD Update</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/03/17/freebsd-update/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/03/17/freebsd-update/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 18:32:13 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[freebsd]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/2008/03/17/freebsd-update/</guid>
		<description><![CDATA[I just followed these instructions to update my server from FreeBSD 6.2-RELEASE to FreeBSD 7.0-RELEASE.
Aside from taking almost a day, it went flawlessly. I&#8217;m extremely impressed!
]]></description>
			<content:encoded><![CDATA[<p>I just followed <a href="http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html">these instructions</a> to update <a href="http://www.m5hosting.com/">my server</a> from FreeBSD 6.2-RELEASE to FreeBSD 7.0-RELEASE.</p>
<p>Aside from taking almost a day, it went flawlessly. I&#8217;m extremely impressed!</p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/03/17/freebsd-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash History</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/03/12/bash-history/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/03/12/bash-history/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 18:35:54 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/2008/03/12/bash-history/</guid>
		<description><![CDATA[Here are a couple of tips for more effective use of your Bash command history. I think the Ctrl-R trick will save me a lot of typing.
I have some articles planned, but have been busy starting my new job. Those few of you who actually read this, don&#8217;t worry &#8211; I&#8217;ll be back.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ducea.com/2006/05/15/linux-tips-take-control-of-your-bash_history/">Here</a> are a couple of tips for more effective use of your Bash command history. I think the <samp>Ctrl-R</samp> trick will save me a lot of typing.</p>
<p>I have some articles planned, but have been busy starting my new job. Those few of you who actually read this, don&#8217;t worry &#8211; I&#8217;ll be back.</p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/03/12/bash-history/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Useful SSH-isms</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/02/23/useful-ssh-isms/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/02/23/useful-ssh-isms/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 22:53:07 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/2008/02/23/useful-ssh-isms/</guid>
		<description><![CDATA[Two useful SSH-isms
]]></description>
			<content:encoded><![CDATA[<p><a href="http://m0j0.wordpress.com/2007/09/17/two-ssh-isms-i-forgot-today/">Two useful SSH-isms</a></p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/02/23/useful-ssh-isms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple SSH speed-up</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/02/14/simple-ssh-speed-up/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/02/14/simple-ssh-speed-up/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 00:00:35 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/2008/02/14/simple-ssh-speed-up/</guid>
		<description><![CDATA[I just discovered something that is very simple but saves a significant amount of time. Specifically, the SSH ControlMaster feature, which allows you to re-use an existing SSH connection whenever you connect to a host you are already connected to.
In your ~/.ssh/config file, add:

Host *
        ControlMaster auto
  [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered something that is very simple but saves a significant amount of time. Specifically, the SSH ControlMaster feature, which allows you to re-use an existing SSH connection whenever you connect to a host you are already connected to.</p>
<p>In your <samp>~/.ssh/config</samp> file, add:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Host *
        ControlMaster auto
        ControlPath /tmp/%r@%h:%p</pre></div></div>

<p>Whenever you connect to <samp>server.example.com</samp> as user <samp>joeuser</samp>, SSH will create a named pipe at <samp>/tmp/joeuser@server.example.com:22</samp>. If you open another connection to the same server (as the same user), instead of creating a new TCP/IP connection, SSH will automatically multiplex the new session with the existing connection (through the named pipe)! This reduces time spent setting up new connections. Although this usual only saves a couple of seconds per connection, I&#8217;m constantly opening several simultaneous sessions; this will definitely add up to a significant savings over the long term!</p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/02/14/simple-ssh-speed-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
