<?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#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pattern Buffer:</title>
	<atom:link href="https://patternbuffer.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://patternbuffer.wordpress.com</link>
	<description>Kyle Crawford</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:43:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='patternbuffer.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s-ssl.wordpress.com/i/buttonw-com.png</url>
		<title>Pattern Buffer:</title>
		<link>https://patternbuffer.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://patternbuffer.wordpress.com/osd.xml" title="Pattern Buffer:" />
	<atom:link rel='hub' href='https://patternbuffer.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Get and use secure supported LDAP SASL authentication mechanisms</title>
		<link>https://patternbuffer.wordpress.com/2011/12/01/get-and-use-secure-supported-ldap-sasl-authentication-mechanisms/</link>
		<comments>https://patternbuffer.wordpress.com/2011/12/01/get-and-use-secure-supported-ldap-sasl-authentication-mechanisms/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 00:57:29 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[digest]]></category>
		<category><![CDATA[gssapi]]></category>
		<category><![CDATA[Kerberos]]></category>
		<category><![CDATA[ldapsearch]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[mechanisms]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[sasl]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=140</guid>
		<description><![CDATA[You don&#8217;t have to use insecure clear text Simple BIND authentication for accessing your LDAP servers. Get list of supported authentication mechanisms: ldapsearch -h example.com -x -b "" -s base -LLL supportedSASLMechanisms Kerberos GSSAPI Example: kinit ldapsearch -v -Y GSSAPI -h example.com -b "DC=example,DC=com" "(sAMAccountName=someusername)" DIGEST-MD5 Example: ldapsearch -v -Y DIGEST-MD5 -h example.com -D user@example.com [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=140&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You don&#8217;t have to use insecure clear text Simple BIND authentication for accessing your LDAP servers.</p>
<p>Get list of supported authentication mechanisms:</p>
<pre>ldapsearch -h example.com -x -b "" -s base -LLL supportedSASLMechanisms</pre>
<p>Kerberos GSSAPI Example:</p>
<pre>kinit
ldapsearch -v -Y GSSAPI -h example.com -b "DC=example,DC=com" "(sAMAccountName=someusername)"</pre>
<p>DIGEST-MD5 Example:</p>
<pre>ldapsearch -v -Y DIGEST-MD5 -h example.com -D user@example.com -b "DC=example,DC=com"\
 "(sAMAccountName=someusername)"</pre>
<div></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=140&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/12/01/get-and-use-secure-supported-ldap-sasl-authentication-mechanisms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>Fix Apache mod_jk or mod_proxy serving stale content</title>
		<link>https://patternbuffer.wordpress.com/2011/12/01/fix-apache-mod_jk-or-mod_proxy-serving-stale-content/</link>
		<comments>https://patternbuffer.wordpress.com/2011/12/01/fix-apache-mod_jk-or-mod_proxy-serving-stale-content/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 00:17:21 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[modjk]]></category>
		<category><![CDATA[mod_jk]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[stale]]></category>
		<category><![CDATA[wrong page]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=137</guid>
		<description><![CDATA[If your web app starts serving stale cached content when run behind mod_jk or mod_proxy with apache, it may be due to apache inserting a default expiration header. You can confirm this by comparing the headers returned from apache and directly from your web app.  curl -i will show response headers: curl -i http://example.com &#124; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=137&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If your web app starts serving stale cached content when run behind mod_jk or mod_proxy with apache, it may be due to apache inserting a default expiration header.</p>
<p>You can confirm this by comparing the headers returned from apache and directly from your web app.  curl -i will show response headers:</p>
<pre>curl -i http://example.com | head -20</pre>
<p>To disable apache&#8217;s content expirations, add the following to your virtual host:</p>
<pre>ExpiresActive Off</pre>
<p>Here is the official <a title="Apache mod_expires documentation" href="http://httpd.apache.org/docs/1.3/mod/mod_expires.html#expiresactive">Apache Documentation</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=137&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/12/01/fix-apache-mod_jk-or-mod_proxy-serving-stale-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>Inspect Running Mac OS X Applications with F-Script</title>
		<link>https://patternbuffer.wordpress.com/2011/11/30/inspect-running-mac-os-x-applications-with-f-script/</link>
		<comments>https://patternbuffer.wordpress.com/2011/11/30/inspect-running-mac-os-x-applications-with-f-script/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 22:11:53 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[app delegate]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[explore]]></category>
		<category><![CDATA[f-script]]></category>
		<category><![CDATA[fscript]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[objective c]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[runtime]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=133</guid>
		<description><![CDATA[Objective C is a Dynamic Runtime, so you can load code like plugins during runtime. This dynamic runtime can be very useful for exploring what applications are doing. I use this to assess the security of applications for example. F-Script provides an easy way to inject itself into a running app and explore around. Download [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=133&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Objective C is a Dynamic Runtime, so you can load code like plugins during runtime. This dynamic runtime can be very useful for exploring what applications are doing. I use this to assess the security of applications for example.</p>
<p>F-Script provides an easy way to inject itself into a running app and explore around.</p>
<p>Download F-Script <a title="F-Script site" href="http://www.fscript.org">here</a></p>
<p>Launch the app you want to explore.</p>
<p>Then find the process id number of the app in a Terminal shell:</p>
<p>ps auxww | grep &#8220;<span style="color:#ff0000;">App Name</span>&#8220;</p>
<p>Load the F-Script Framework into the app and insert its menu using:</p>
<pre>sudo gdb --pid <span style="color:#ff0000;">AppNameProcessID</span> --batch --nx --command=/dev/stdin &lt;&lt; EOT
p (char)[[NSBundle bundleWithPath:@"<span style="color:#ff0000;">path/to</span>/Library/Frameworks/FScript.framework"] load]
p (void)[FScriptMenuItem insertInMainMenu]
EOT</pre>
<p><em>I found the above snippet by reviewing <a title="F-Script Injection Service" href="http://keli.hu/blog/f-script-injection-service-for-lion/">this automator </a>service.</em></p>
<p><em>Note that sudo is only required if you are not in the _developer group.</em></p>
<p>At this point, switch to your running application.  You will notice an F-Script Menu is added to the menu bar.</p>
<p>Choose Console from the F-Script menu and type:</p>
<pre>del := NSApplication sharedApplication delegate</pre>
<p>This will give you a reference to the application delegate.  The application delegate is a top level class of the application, so it should provide a good starting point.</p>
<p>Next, choose Open Object Browser from the F-Script menu.</p>
<p>Now you should have a nice GUI window to explore the app.</p>
<p>Click on del in the Workspace to explore the app delegate.  You can call methods, change values, etc.</p>
<p>See the <a title="F-Script Documentation" href="http://www.fscript.org/documentation">F-Script documentation</a> for more details.</p>
<p>Enjoy</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=133&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/11/30/inspect-running-mac-os-x-applications-with-f-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>MIME type issue with Apache mod_jk and mod_proxy serving plain text</title>
		<link>https://patternbuffer.wordpress.com/2011/11/30/mime-type-issue-with-apache-mod_jk-and-mod_proxy-serving-plain-text/</link>
		<comments>https://patternbuffer.wordpress.com/2011/11/30/mime-type-issue-with-apache-mod_jk-and-mod_proxy-serving-plain-text/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 18:01:21 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mime]]></category>
		<category><![CDATA[mimetype]]></category>
		<category><![CDATA[modjk]]></category>
		<category><![CDATA[mod_jk]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[plain]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=130</guid>
		<description><![CDATA[Some apps do not properly set mime types of content they serve, but still may work properly when served standalone because client applications like browsers are able to interpret the type of the content.  But when served behind Apache, these apps will not behave correctly because Apache will provide a default type of text/plain. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=130&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some apps do not properly set mime types of content they serve, but still may work properly when served standalone because client applications like browsers are able to interpret the type of the content.  But when served behind Apache, these apps will not behave correctly because Apache will provide a default type of text/plain.</p>
<p>The solution is to add a DefaultType None line to your apache virtual host for these web apps:</p>
<pre>DefaultType None</pre>
<p>Here are the <a title="Apache DefaultType Docs" href="http://httpd.apache.org/docs/2.2/mod/core.html#defaulttype">docs</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=130&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/11/30/mime-type-issue-with-apache-mod_jk-and-mod_proxy-serving-plain-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>Snow Leopard Apache Web Server SSL Pass phrase Error</title>
		<link>https://patternbuffer.wordpress.com/2011/11/29/snow-leopard-apache-web-server-ssl/</link>
		<comments>https://patternbuffer.wordpress.com/2011/11/29/snow-leopard-apache-web-server-ssl/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 04:27:56 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[http]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[Pass phrase incorrect]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=125</guid>
		<description><![CDATA[If you are getting errors &#8220;Pass phrase incorrect&#8221; in your apache logs on Snow Leopard server, it is because the key is protected by a password.  I found the answer here. The password for the key is stored in the System Keychain.  It is a password entry called &#8220;Mac OS X Server certificate management&#8221;.  You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=125&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are getting errors &#8220;Pass phrase incorrect&#8221; in your apache logs on Snow Leopard server, it is because the key is protected by a password.  I found the answer <a title="AFP548" href="http://www.afp548.com/article.php?story=20100425082436137&amp;mode=print">here</a>.</p>
<p>The password for the key is stored in the System Keychain.  It is a password entry called &#8220;Mac OS X Server certificate management&#8221;.  You can open the entry and select &#8220;Show Password&#8221;.  You may also use the security command line tool to dump the password.</p>
<pre>security find-generic-password -l "Mac OS X Server certificate management" -g</pre>
<p>or</p>
<pre>security dump-keychain -d # look in data for password which will look like a GUID</pre>
<p>Once you have the password, you can create a copy of the key without the password using openssl:</p>
<pre>openssl rsa -in /etc/certificates/server.domain.com.uniqueid.key.pem \
 -out /etc/certificates/server.domain.com.uniqueid.passwordlesskey.pem</pre>
<p>You can then replace the password protected key with the passwordless key or point apache to the passwordless key in your /etc/apache2/sites/sitename.conf file.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=125&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/11/29/snow-leopard-apache-web-server-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby Time to Integer does give you seconds since Epoch</title>
		<link>https://patternbuffer.wordpress.com/2011/08/26/ruby-time-to-integer-does-give-you-seconds-since-epoch/</link>
		<comments>https://patternbuffer.wordpress.com/2011/08/26/ruby-time-to-integer-does-give-you-seconds-since-epoch/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 19:09:19 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[1970]]></category>
		<category><![CDATA[epoch]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=108</guid>
		<description><![CDATA[&#8220;Time is stored internally as the number of seconds with fraction since the Epoch, January 1, 1970 00:00 UTC.&#8221; &#62;&#62;require 'time' &#62;&#62;Time.parse("January 1, 1970 00:00 UTC").to_i =&#62; 0 As expected, but nice to verify. For the reverse, be sure to use Time.at rather than Time.new &#62;&#62; Time.at(0).to_i =&#62; 0 &#62;&#62; Time.new(0).to_i =&#62; -62167201200<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=108&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8220;Time is stored internally as the number of seconds with fraction since the Epoch, January 1, 1970 00:00 UTC.&#8221;</p>
<pre>
 &gt;&gt;require 'time'
 &gt;&gt;Time.parse("January 1, 1970 00:00 UTC").to_i
 =&gt; 0</pre>
<p>As expected, but nice to verify.</p>
<p>For the reverse, be sure to use Time.at rather than Time.new</p>
<pre>&gt;&gt; Time.at(0).to_i
=&gt; 0
&gt;&gt; Time.new(0).to_i
=&gt; -62167201200</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=108&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/08/26/ruby-time-to-integer-does-give-you-seconds-since-epoch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>Tips for writing command line tools in ruby</title>
		<link>https://patternbuffer.wordpress.com/2011/08/02/tips-for-writing-command-line-tools-in-ruby/</link>
		<comments>https://patternbuffer.wordpress.com/2011/08/02/tips-for-writing-command-line-tools-in-ruby/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 03:48:41 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[exit status]]></category>
		<category><![CDATA[file extension]]></category>
		<category><![CDATA[irb]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[option parsing]]></category>
		<category><![CDATA[require]]></category>
		<category><![CDATA[require ruby file without extension]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=109</guid>
		<description><![CDATA[Option parsing: Read this article by Allen Wei on RubyLearning Blog for a great overview.  I recommend sticking with the built-in OptionParser if you want to reduce dependencies. If you want your code to be loadable so you can access functions and classes in the irb console for testing, use the following pattern: def main [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=109&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ol>
<li>Option parsing: Read this <a title="How do I make a command line tool in Ruby" href="http://rubylearning.com/blog/2011/01/03/how-do-i-make-a-command-line-tool-in-ruby/">article by Allen Wei on RubyLearning Blog</a> for a great overview.  I recommend sticking with the built-in OptionParser if you want to reduce dependencies.</li>
<li>If you want your code to be loadable so you can access functions and classes in the irb console for testing, use the following pattern:
<pre><code>def main</code>
<code> #option parsing and execution code here</code>
<code>end</code>
<code>if __FILE__ == $0</code>
<code> main()</code>
<code>end</code></pre>
<p>This way the main function will only be automatically called if the script is being executed on the command line.<br />
And in irb, you can call your functions and classes as you see fit for testing without triggering your whole script to run.</p>
<p>Note that this is similar to the python __main__ test if you are coming from a python background.</li>
<li>Naming without ruby&#8217;s.rb extension: You can name your executable without the rb extension if you wish, just be sure to include your <a title="wikipedia shebang" href="http://en.wikipedia.org/wiki/Shebang_(Unix)">shebang (#!)<br />
</a><br />
To use the user&#8217;s default ruby, use:<br />
<code>#!/usr/bin/env ruby</code><br />
But in some cases you may want the specify the path to ruby so you can use macruby or rubycocoa if you are need those frameworks to be available<br />
<code>#!/usr/bin/ruby<br />
</code><br />
When testing in irb,<br />
<code>require 'script-name'</code><br />
won&#8217;t work without the rb extension, but<br />
<code>load 'script-name'</code><br />
does work.</li>
<li>Use exit codes. When your script fails or needs to communicate status at exit, use standard exit status codes.<br />
Exit zero for default success status<br />
<code>exit 0</code><br />
Exit any other number for a failure or warning status. You choose the exit codes for your tool, but be sure to document them if they require more explanation than simple success or failure.<br />
<code>exit 27</code></li>
<li>Output to stderr using:<br />
<code>$stderr.puts "error: problem ...."<br />
</code></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=109&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/08/02/tips-for-writing-command-line-tools-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>dockutil source has moved to github</title>
		<link>https://patternbuffer.wordpress.com/2011/07/17/dockutil-source-has-moved-to-github/</link>
		<comments>https://patternbuffer.wordpress.com/2011/07/17/dockutil-source-has-moved-to-github/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 04:02:32 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[dockutil]]></category>
		<category><![CDATA[collaboration]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=103</guid>
		<description><![CDATA[I&#8217;m a git user and dockutil needs updates and collaboration, so the source now lives on github. I&#8217;ll likely continue to post release downloads on google code.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=103&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a git user and dockutil needs updates and collaboration, so the source now lives on <a href="https://github.com/kcrawford/dockutil" title="dockutil on github">github</a>.  I&#8217;ll likely continue to post release <a href="http://code.google.com/p/dockutil/downloads/list" title="dockutil downloads">downloads on google code</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=103&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/07/17/dockutil-source-has-moved-to-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>Parsing Mac OS X System Profiler</title>
		<link>https://patternbuffer.wordpress.com/2011/02/04/parsing-mac-os-x-system-profiler/</link>
		<comments>https://patternbuffer.wordpress.com/2011/02/04/parsing-mac-os-x-system-profiler/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 23:00:07 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Apple Remote Desktop]]></category>
		<category><![CDATA[ARD]]></category>
		<category><![CDATA[Asset Collection]]></category>
		<category><![CDATA[Facter]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[plist]]></category>
		<category><![CDATA[Puppet]]></category>
		<category><![CDATA[report]]></category>
		<category><![CDATA[sysinfocachegen]]></category>
		<category><![CDATA[System Profiler]]></category>
		<category><![CDATA[system_profiler]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=97</guid>
		<description><![CDATA[It is pretty cool how Apple System Profiler has a command line equivalent (system_profiler). And it is pretty cool how system_profiler has a -xml option to allow for easier parsing. You might use this info for extracting asset information into a database or for puppet facter facts. However if you&#8217;ve ever looked at that xml, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=97&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is pretty cool how Apple System Profiler has a command line equivalent (system_profiler).  And it is pretty cool how system_profiler has a -xml option to allow for easier parsing.  You might use this info for extracting asset information into a database or for puppet facter facts.</p>
<p>However if you&#8217;ve ever looked at that xml, you know that it is a tree full of unpredictable semi-structured data that was designed specifically for the GUI app.  So even though you can parse it with your favorite plist parser, there is still a lot more work to do to get to the data you care about.</p>
<p>The tree structure is nice for a browsing through on a single machine, but not so good for reporting across many machines.</p>
<p>Apple stores most of the same data as key value pairs in its database for ARD reporting, but they do a lot of massaging of the data to get it that way.</p>
<p>It is possible to get at this data in an ARD database if you have an ARD collection server, but an ARD collection server isn&#8217;t for everyone and doesn&#8217;t serve every use case.</p>
<p>You can still get at the nicely formatted ARD information. ARD client includes a tool that outputs most, if not all of the asset information you care about in a much nicer structured format for reporting.</p>
<p>The tool is called sysinfocachegen and you use it like this:</p>
<p><code>sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/sysinfocachegen -p /tmp/com.yourorganization.systeminfo.plist<br />
</code></p>
<p>Just use your favorite language&#8217;s plist parser to read the plist.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=97&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2011/02/04/parsing-mac-os-x-system-profiler/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
		<item>
		<title>Quickly Calculate size of radmind Transcript Payload</title>
		<link>https://patternbuffer.wordpress.com/2010/05/13/quickly-calculate-size-of-radmind-transcript-payload/</link>
		<comments>https://patternbuffer.wordpress.com/2010/05/13/quickly-calculate-size-of-radmind-transcript-payload/#comments</comments>
		<pubDate>Thu, 13 May 2010 22:48:53 +0000</pubDate>
		<dc:creator>Kyle Crawford</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[radmind]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[sum]]></category>
		<category><![CDATA[transcript]]></category>

		<guid isPermaLink="false">http://patternbuffer.wordpress.com/?p=94</guid>
		<description><![CDATA[grep ^[af] /var/radmind/transcript/transcript_name.T &#124; awk &#8216;{sum = sum + $7} END {print sum/1000}&#8217; Every line that starts with &#8220;a&#8221; or &#8220;f&#8221; is a file. Sum up the size field. Divide by 1000 to get KB.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=94&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>grep ^[af] /var/radmind/transcript/transcript_name.T | awk &#8216;{sum = sum + $7} END {print sum/1000}&#8217;</p>
<p>Every line that starts with &#8220;a&#8221; or &#8220;f&#8221; is a file.  Sum up the size field.  Divide by 1000 to get KB.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patternbuffer.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patternbuffer.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patternbuffer.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patternbuffer.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patternbuffer.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patternbuffer.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patternbuffer.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patternbuffer.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patternbuffer.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patternbuffer.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patternbuffer.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patternbuffer.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patternbuffer.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patternbuffer.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patternbuffer.wordpress.com&amp;blog=2078764&amp;post=94&amp;subd=patternbuffer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://patternbuffer.wordpress.com/2010/05/13/quickly-calculate-size-of-radmind-transcript-payload/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/fa06d3f0c298988036a2d8df5a6427d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">patternbuffer</media:title>
		</media:content>
	</item>
	</channel>
</rss>
