<?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>Brain Dump</title>
	<atom:link href="http://jawalters.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jawalters.wordpress.com</link>
	<description>I can't remember everything</description>
	<lastBuildDate>Wed, 07 Dec 2011 16:31:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jawalters.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Brain Dump</title>
		<link>http://jawalters.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jawalters.wordpress.com/osd.xml" title="Brain Dump" />
	<atom:link rel='hub' href='http://jawalters.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Git AutoPush</title>
		<link>http://jawalters.wordpress.com/2011/12/07/git-autopush/</link>
		<comments>http://jawalters.wordpress.com/2011/12/07/git-autopush/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 16:30:25 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=90</guid>
		<description><![CDATA[Generally this is a bad idea but I have several repos that are used only by me and I tend to forget to push my changes once I make them..I&#8217;m lazy and don&#8217;t want to have to worry about it&#8230;Enter GIT&#8217;s post-commit hook. After every successful commit I want my changes to push. Simply add [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=90&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Generally this is a bad idea but I have several repos that are used only by me and I tend to forget to push my changes once I make them..I&#8217;m lazy and don&#8217;t want to have to worry about it&#8230;Enter GIT&#8217;s post-commit hook. After every successful commit I want my changes to push. Simply add the following to the .git/hooks/post-commit file and make it +x</p>
<p>git push</p>
<p>Simple right? Now when I commit something it gets pushed and I don&#8217;t have to worry about those pesky extra key strokes.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=90&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2011/12/07/git-autopush/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>space hog?</title>
		<link>http://jawalters.wordpress.com/2011/06/21/space-hog/</link>
		<comments>http://jawalters.wordpress.com/2011/06/21/space-hog/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 21:25:03 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=87</guid>
		<description><![CDATA[find /var/www/ -type f -size +10000k -exec ls -lh {} \; &#124; awk &#8216;{ print $9 &#8220;\t&#8221; $5 }&#8217;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=87&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>find /var/www/ -type f -size +10000k -exec ls -lh {} \; | awk &#8216;{ print $9 &#8220;\t&#8221; $5 }&#8217;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=87&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2011/06/21/space-hog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>starting services with func</title>
		<link>http://jawalters.wordpress.com/2010/10/20/starting-services-with-func/</link>
		<comments>http://jawalters.wordpress.com/2010/10/20/starting-services-with-func/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 14:43:48 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=85</guid>
		<description><![CDATA[func ${HOSTNAME} call command run &#8220;service sshd start&#8221;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=85&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>func ${HOSTNAME} call command run &#8220;service sshd start&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=85&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2010/10/20/starting-services-with-func/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>Cobbler</title>
		<link>http://jawalters.wordpress.com/2010/08/12/cobbler/</link>
		<comments>http://jawalters.wordpress.com/2010/08/12/cobbler/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 17:49:25 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[Cobbler]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=82</guid>
		<description><![CDATA[Wildcard search cobbler system find --name="foo*"<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=82&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Wildcard search</strong><br />
<code>cobbler system find --name="foo*"</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=82&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2010/08/12/cobbler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>More mySQL</title>
		<link>http://jawalters.wordpress.com/2010/06/03/more-mysql/</link>
		<comments>http://jawalters.wordpress.com/2010/06/03/more-mysql/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 21:04:49 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=80</guid>
		<description><![CDATA[Master/Master info show master status; show slave status\G;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=80&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Master/Master info<br />
<code><br />
show master status;<br />
</code><br />
<code><br />
show slave status\G;<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=80&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2010/06/03/more-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>VI Tricks</title>
		<link>http://jawalters.wordpress.com/2010/04/23/vi-tricks/</link>
		<comments>http://jawalters.wordpress.com/2010/04/23/vi-tricks/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 13:40:00 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[General Linux]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=77</guid>
		<description><![CDATA[Replacing words in all lines of a file :%s/word/word replace/g :1,$s/word/word replace/g<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=77&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Replacing words in all lines of a file</p>
<p><code><br />
:%s/word/word replace/g<br />
:1,$s/word/word replace/g<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=77&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2010/04/23/vi-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>Committing a GIT patch for someone else</title>
		<link>http://jawalters.wordpress.com/2010/03/26/committing-a-git-patch-for-someone-else/</link>
		<comments>http://jawalters.wordpress.com/2010/03/26/committing-a-git-patch-for-someone-else/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 14:29:13 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=74</guid>
		<description><![CDATA[Not everyone is allowed to commit changes to GIT here. They have to create patches and then have that patch reviewed and committed on their behalf.. To create a patch make sure your changes are committed to your local tree. Then run git format-patch -1 --stdout &#62; patch-for-inc948321.patch Now to check if that patch will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=74&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Not everyone is allowed to commit changes to GIT here. They have to create patches and then have that patch reviewed and committed on their behalf..</p>
<p>To create a patch make sure your changes are committed to your local tree. Then run</p>
<p><code><br />
git format-patch -1 --stdout &gt; patch-for-inc948321.patch<br />
</code></p>
<p>Now to check if that patch will apply cleanly to our repo</p>
<p><code><br />
git apply --check /path/to/patch/file.patch<br />
</code></p>
<p>If you get no output from that then the patch will apply cleanly. Now to apply the patch for real.</p>
<p><code><br />
git am --signoff &lt; /path/to/patch/file.patch<br />
Applying: Patch to create ponies for all users<br />
<code></p>
<p>Notice I used git am instead of git apply. The reason for this is that little <code>--signoff</code> tag. That will so the patch author and who committed it as well as the signoff.</p>
<p>Now push that out and done.</p>
<p><code><br />
git push<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=74&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2010/03/26/committing-a-git-patch-for-someone-else/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>Cherry Picking With GIT</title>
		<link>http://jawalters.wordpress.com/2010/03/12/cherry-picking-with-git/</link>
		<comments>http://jawalters.wordpress.com/2010/03/12/cherry-picking-with-git/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 19:29:37 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=72</guid>
		<description><![CDATA[Needed to pull a commit from qa over to prod without merging so I just cherry picked it out to prod. First get the commit hash from the qa branch.. You can do this by going into the qa branch using git checkout or by using a web interface such as cgit. Once you have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=72&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Needed to pull a commit from qa over to prod without merging so I just cherry picked it out to prod. </p>
<p>First get the commit hash from the qa branch.. You can do this by going into the qa branch using git checkout or by using a web interface such as cgit. Once you have the hash and are in the master branch run</p>
<p><code><br />
git cherry-pick 4a1d2a7<br />
Finished one cherry-pick.<br />
1 file changed, 1 insertions(+), 2 deletions(-)<br />
</code></p>
<p>Now just to push the change upstream</p>
<p><code><br />
git push<br />
</code></p>
<p>And done.<br />
Then I pushed m </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=72&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2010/03/12/cherry-picking-with-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting SAN Host List From A Netapp</title>
		<link>http://jawalters.wordpress.com/2010/01/21/getting-san-host-list-from-a-netapp/</link>
		<comments>http://jawalters.wordpress.com/2010/01/21/getting-san-host-list-from-a-netapp/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 18:33:46 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[NetApp]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[Sed/Awk]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=68</guid>
		<description><![CDATA[Needed to find a list of all hosts that were attached to our netapps. I used igroup show to get that info..Since I needed it for a lot of filers I added the filer names to a text file and ran a for loop over it: for i in `cat list.txt`; do ssh root@$i igroup [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=68&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Needed to find a list of all hosts that were attached to our netapps. I used <code>igroup show</code> to get that info..Since I needed it for a lot of filers I added the filer names to a text file and ran a for loop over it:</p>
<p><code><br />
for i in `cat list.txt`; do ssh root@$i igroup show | sed -e '/^$/d' -e '/^21.*/d' &gt;&gt; list2.txt; done<br />
</code></p>
<p>The output came out something like this: (note: wwpn have been changed)</p>
<p><code><br />
superhost.domain.com (FCP) (ostype: linux):<br />
        21:00:00:11:21:04:6a:20 (logged in on: vtic, 0a)<br />
        21:01:00:11:21:26:6a:20 (logged in on: vtic, 0d)<br />
</code></p>
<p>Since all I needed was the actually hostname I used sed to get rid of all the wwpn using <code>-e 's/^21.*//'</code>. But before that worked I had to get rid of all the leading whitespace by using <code>-e 's/^[ /t]*//'</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=68&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2010/01/21/getting-san-host-list-from-a-netapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
		<item>
		<title>I Hate Software Raid</title>
		<link>http://jawalters.wordpress.com/2009/12/18/i-hate-software-raid/</link>
		<comments>http://jawalters.wordpress.com/2009/12/18/i-hate-software-raid/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 20:27:07 +0000</pubDate>
		<dc:creator>jawalters</dc:creator>
				<category><![CDATA[Software Raid]]></category>

		<guid isPermaLink="false">http://jawalters.wordpress.com/?p=66</guid>
		<description><![CDATA[Removing failed partition and adding it back in: #mdadm /dev/md1 --remove /dev/sda3 mdadm: hot removed /dev/sda3 #mdadm /dev/md1 --manage --add /dev/md1 /dev/sda3 mdadm: hot added /dev/sda3<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=66&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Removing failed partition and adding it back in:<br />
<code><br />
#mdadm /dev/md1 --remove /dev/sda3<br />
mdadm: hot removed /dev/sda3<br />
#mdadm /dev/md1 --manage --add /dev/md1 /dev/sda3<br />
mdadm: hot added /dev/sda3<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawalters.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawalters.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawalters.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawalters.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawalters.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawalters.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawalters.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawalters.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawalters.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawalters.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawalters.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawalters.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawalters.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawalters.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawalters.wordpress.com&amp;blog=52911&amp;post=66&amp;subd=jawalters&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawalters.wordpress.com/2009/12/18/i-hate-software-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db57413ceccbf07a8b1aaba9b632bcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawalters</media:title>
		</media:content>
	</item>
	</channel>
</rss>
