<?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>ANDY STRATTON&#187; Miscellaneous</title>
	<atom:link href="http://theandystratton.com/category/miscellaneous/feed" rel="self" type="application/rss+xml" />
	<link>http://theandystratton.com</link>
	<description>WordPress and PHP Developer</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:42:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Recursively Delete Subversion (.svn)&#160;Directories</title>
		<link>http://theandystratton.com/2011/recursively-delete-subversion-svn-directories</link>
		<comments>http://theandystratton.com/2011/recursively-delete-subversion-svn-directories#comments</comments>
		<pubDate>Wed, 05 Oct 2011 18:20:14 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://theandystratton.com/?p=588</guid>
		<description><![CDATA[I alway am hunting for this little command-line gem, so I figured I&#8217;d post it and share the quick shell script I added to my home directory to make it faster for me to do this. Often, I will find an old project (or inherit, or destroy) a project with subversion directories and files in [...]]]></description>
			<content:encoded><![CDATA[<p>I alway am hunting for this little command-line gem, so I figured I&#8217;d post it and share the quick shell script I added to my home directory to make it faster for me to do this.</p>
<p>Often, I will find an old project (or inherit, or destroy) a project with subversion directories and files in it. However I get there, every few months I find myself wanting to remove subversion folders recursively and am not well-versed in shell scripting to remember how to do it.</p>
<p>Here&#8217;s the single line magic removal of .svn directories:</p>
<pre><cod>rm -rf `find . -type d -name .svn`</code></pre>
<p>And here&#8217;s the script I wrote and placed in my home directory, <code>~/recursively-kill-svn.sh</code>:</p>
<pre><code>while true; do
	read -p "Do you want to recursively delete all .svn folders/files in the current directory (`pwd`)? (y/n)" yn
	case $yn in

		[Yy]* ) rm -rf `find . -type d -name .svn`; echo ".svn directories in `pwd` have been recursively killed!!1"; break;;

		[Nn]* ) echo "I've done absolutely nothing."; exit;;
		* ) exit;
	esac
done</code></pre>
<p>With this in my home directory, I just move to a project folder, type:</p>
<pre><code>~/recursively-kill-svn.sh</code></pre>
<p>&#8230;and hit enter. Enjoy.</p>
<p>P.S. If it&#8217;s not working for you (or auto-completing when you hit tab in Terminal) make sure it has permissions to execute:</p>
<pre><code>chmod +x ~/recursively-kill-svn.sh</code></pre>
<p>P.P.S. You can rename the file to whatever you like.</p>
]]></content:encoded>
			<wfw:commentRss>http://theandystratton.com/2011/recursively-delete-subversion-svn-directories/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adobe PDF Printer Broke in Snow&#160;Leopard</title>
		<link>http://theandystratton.com/2010/adobe-pdf-printer-broke-in-snow-leopard</link>
		<comments>http://theandystratton.com/2010/adobe-pdf-printer-broke-in-snow-leopard#comments</comments>
		<pubDate>Wed, 07 Apr 2010 04:13:42 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[os x 10.6]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://theandystratton.com/?p=388</guid>
		<description><![CDATA[I spent more than 4 hours dealing with this, uninstalling, reinstalling and continually getting the following error when Printing to an Adobe PDF 9.0 on OS X (10.6) Snow Leopard: Error: /usr/libexec/cups/pstops failed Or some other random error in the print monitor for the Adobe PDF 9.0 printer. Turns out, in the 9.x updates for [...]]]></description>
			<content:encoded><![CDATA[<p>I spent more than 4 hours dealing with this, uninstalling, reinstalling and continually getting the following error when Printing to an Adobe PDF 9.0 on OS X (10.6) Snow Leopard:</p>
<p><code>Error: /usr/libexec/cups/pstops failed</code></p>
<p>Or some other random error in the print monitor for the Adobe PDF 9.0 printer. Turns out, in the 9.x updates for Snow Leopard, Adobe removed the printer functionality and moved the option to the OS X PDF button drop-down in the print dialog. See screenshot.</p>
<p><a href="http://theandystratton.com/wp-content/uploads/2010/04/adobe-pdf-snow-leopard.png"><img src="http://theandystratton.com/wp-content/uploads/2010/04/adobe-pdf-snow-leopard-300x271.png" alt="" title="adobe-pdf-snow-leopard" width="300" height="271" class="alignnone size-medium wp-image-393" /></a></p>
<h3>Solution</h3>
<ol>
<li>File &gt; Print</li>
<li>Click the PDF button on the bottom left of the print dialog</li>
<li>Choose <q>Save as Adobe PDF</q></li>
<li>Follow the prompts</li>
</ol>
<p>This worked fine. I hope this post gets some rankings and helps someone save their time dealing with this crap-o-la.</p>
]]></content:encoded>
			<wfw:commentRss>http://theandystratton.com/2010/adobe-pdf-printer-broke-in-snow-leopard/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>OS X Keychain Help: Fixing Adium and other apps that won&#8217;t store my&#160;password.</title>
		<link>http://theandystratton.com/2009/os-x-keychain-help-fixing-adium-and-other-apps-that-wont-store-my-password</link>
		<comments>http://theandystratton.com/2009/os-x-keychain-help-fixing-adium-and-other-apps-that-wont-store-my-password#comments</comments>
		<pubDate>Sat, 21 Feb 2009 05:46:41 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://andystratton.com/?p=64</guid>
		<description><![CDATA[I have been incredibly frustrated the past 6 months that Adium would not store my account passwords. I assumed it was some weird permissions issue or something to do with a corrupt install, so I removed the app, re-downloaded, re-installed: same issues. This was only a minor inconvenience when I used my Mac sparingly, but [...]]]></description>
			<content:encoded><![CDATA[<p>I have been incredibly frustrated the past 6 months that <a href="http://www.adiumx.com/" rel="external">Adium</a> would not store my account passwords. I assumed it was some weird permissions issue or something to do with a corrupt install, so I removed the app, re-downloaded, re-installed: same issues.</p>
<p>This was only a minor inconvenience when I used my Mac sparingly, but now that I&#8217;m using it more regularly, I had to solve this. When noticing that other applications were not storing passwords (or certificates, etc.), I figured I had keychain issues.</p>
<p>Some Googling led me to <a href="http://www.netmonkey.net/about-me/" rel="external">Matt&#8217;s</a> <a href="http://www.netmonkey.net/" rel="external">site</a> and <a href="http://www.netmonkey.net/2008/01/15/mac-os-x-keychain-problems-adium/" rel="external">this post</a>.</p>
<p><strong>The Solution:</strong></p>
<ol>
<li>Launch the <strong>Keychain Access</strong> utility (<code>/Applications/Utilities/Keychain Access.app</code>)</li>
<li>Choose <em>Keychain First Aid</em> (<code>CTRL+OPT+A</code>)</li>
<li>Enter your password, choose <em>Repair</em></li>
</ol>
<p>This should do the trick. I hope this helps others with similar issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://theandystratton.com/2009/os-x-keychain-help-fixing-adium-and-other-apps-that-wont-store-my-password/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

