<?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>Brian Hartsock&#039;s Blog</title>
	<atom:link href="http://blog.brianhartsock.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.brianhartsock.com</link>
	<description>The exciting life of a software developer and nerd</description>
	<lastBuildDate>Wed, 14 Nov 2012 13:29:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.4</generator>
	<item>
		<title>Book Review: Winners Never Cheat</title>
		<link>http://blog.brianhartsock.com/2012/11/13/book-review-winners-never-cheat/</link>
		<comments>http://blog.brianhartsock.com/2012/11/13/book-review-winners-never-cheat/#comments</comments>
		<pubDate>Wed, 14 Nov 2012 02:55:50 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Book Reviews]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2457</guid>
		<description><![CDATA[Before picking up this book, I had never heard of Jon Huntsman (or his son Governor Jon Jr.). Unbeknownst to me, many well known plastic products are produced by his company. However, his book doesn&#8217;t really focus on his business &#8230; <a href="http://blog.brianhartsock.com/2012/11/13/book-review-winners-never-cheat/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.amazon.com/Winners-Never-Cheat-Difficult-ebook/dp/B001M60BKU/ref=sr_1_1"><img src="http://f7520d2febe47d1ce590-77c50a7d2aa47b886ede2e1f260fd8be.r14.cf1.rackcdn.com/wp-content/uploads/2012/11/winners_never_cheat.jpeg" alt="" title="winners_never_cheat" width="189" height="266" class="alignright size-full wp-image-2458" /></a>Before picking up this book, I had never heard of <a href="http://en.wikipedia.org/wiki/Jon_Huntsman,_Sr." target="_blank">Jon Huntsman</a> (or his son <a href="http://en.wikipedia.org/wiki/Jon_Huntsman,_Jr." target="_blank">Governor Jon Jr.</a>).  Unbeknownst to me, many well known plastic products are produced by his company.  However, his book doesn&#8217;t really focus on his business conquests.  Instead, it focuses on one man&#8217;s value system and how he applies those values in the business world.</p>
<p>This book isn&#8217;t necessarily anything new.  Most of the guidance is common knowledge, the author even says so himself.  What is incredible about this book is hearing the stories of how one man applied those values in a big way.  One example is how Jon concluded a merger with another company.  In this merger, the Charles Miller Smith, the other company&#8217;s CEO, was distraught after his wife&#8217;s passing.  Instead of continuing to negotiate, Jon signed the deal knowing he could have gotten a better price, to the tune of $200 million less.  Continuing to negotiate would have taken advantage of Charles Miller Smith.  The deal may not have been great, but it was good enough and in the process Jon gained a lifelong friend.  In Jon&#8217;s words, </p>
<blockquote><p>Make it a point to never misrepresent or take unfair advantage.  That way you can count on second and third deals with companies after successfully completing the first one.  Have as a goal both sides feeling they acheived their respective objectives.</p></blockquote>
<p>There are many more examples but I can&#8217;t do them justice.  <em><a href="http://www.amazon.com/Winners-Never-Cheat-Difficult-ebook/dp/B001M60BKU/ref=sr_1_1" target="_blank">Winners Never Cheat</a></em> is an inspiring, quick read that I definitely recommend.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2012/11/13/book-review-winners-never-cheat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Startup Weekend coming to Blacksburg!</title>
		<link>http://blog.brianhartsock.com/2012/08/23/startup-weekend-coming-to-blacksburg/</link>
		<comments>http://blog.brianhartsock.com/2012/08/23/startup-weekend-coming-to-blacksburg/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 14:01:46 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blacksburg]]></category>
		<category><![CDATA[Startup]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2446</guid>
		<description><![CDATA[Very excited to hear that Startup Weekend is coming to Blacksburg. Being so close to Virginia Tech has encouraged many young technology companies, like Webmail.us to start here. Hopefully Startup Weekend can encourage many more!]]></description>
				<content:encoded><![CDATA[<p>Very excited to hear that Startup Weekend is <a href="http://blacksburg.startupweekend.org/">coming to Blacksburg</a>.  Being so close to Virginia Tech has encouraged many young technology companies, like <a href="http://www.rackspace.com/blog/newsarticles/rackspace-acquires-email-hosting-specialist-webmail-us/">Webmail.us</a> to start here.  Hopefully Startup Weekend can encourage many more!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2012/08/23/startup-weekend-coming-to-blacksburg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Talk Video: Building Killer Web Apps</title>
		<link>http://blog.brianhartsock.com/2011/12/19/tech-talk-building-killer-web-apps-2/</link>
		<comments>http://blog.brianhartsock.com/2011/12/19/tech-talk-building-killer-web-apps-2/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 16:58:27 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Rackspace]]></category>
		<category><![CDATA[Tech Talks]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2447</guid>
		<description><![CDATA[For the final tech talk of 2011, Dave King talks about Building Killer Web Apps. Enjoy! For the slides, click here.]]></description>
				<content:encoded><![CDATA[<p>For the final tech talk of 2011, <a href="http://www.davehking.com">Dave King</a> talks about Building Killer Web Apps.  Enjoy!</p>
<p><iframe src="http://player.vimeo.com/video/33837554?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>For the slides, <a href="http://davehking.com/talks/killer-web-apps.pdf">click here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2011/12/19/tech-talk-building-killer-web-apps-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Talk: Building Killer Web Apps</title>
		<link>http://blog.brianhartsock.com/2011/11/28/tech-talk-building-killer-web-apps/</link>
		<comments>http://blog.brianhartsock.com/2011/11/28/tech-talk-building-killer-web-apps/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 19:48:21 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Rackspace]]></category>
		<category><![CDATA[Tech Talks]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2441</guid>
		<description><![CDATA[Our final tech talk for 2011 is quickly approaching. Dave King, a software engineer at Rackspace, will be speaking on Building Killer WebApps. He has been working most recently on building Rackspace&#8217;s next generation control panel as well as improving &#8230; <a href="http://blog.brianhartsock.com/2011/11/28/tech-talk-building-killer-web-apps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://f7520d2febe47d1ce590-77c50a7d2aa47b886ede2e1f260fd8be.r14.cf1.rackcdn.com/wp-content/uploads/2011/09/TechTalkBlacksburg8.jpg"><img src="http://f7520d2febe47d1ce590-77c50a7d2aa47b886ede2e1f260fd8be.r14.cf1.rackcdn.com/wp-content/uploads/2011/09/TechTalkBlacksburg8-150x150.jpg" alt="" title="TechTalkBlacksburg8" width="150" height="150" class="alignright size-thumbnail wp-image-2402" /></a>Our final tech talk for 2011 is quickly approaching.  Dave King, a software engineer at Rackspace, will be speaking on Building Killer WebApps.  He has been working most recently on building Rackspace&#8217;s next generation control panel as well as improving the existing cloud control panel.  In this talk, he will be sharing some of his experiences as well as best practices in the industry.</p>
<p>Why is this an important topic?  Web applications are omnipresent in how we interact with the world.  In contrast to native applications (which run on one device), web applications run on multiple devices, allowing consumers to access their data from anywhere.  For this presentation, will talk about the techniques that Rackspace uses to build web applications that support customers in managing 2.5 million paid mailboxes and over 110,000 Cloud customers.</p>
<ul>
<li><strong>When: Dec 6th @ 6pm</strong></li>
<li><strong>Where: Rackspace Blacksburg Office inside the University Mall next to Sushi Factory</strong></li>
<li><strong>Will have pizza and drinks</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2011/11/28/tech-talk-building-killer-web-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Talk Video: Informed Design</title>
		<link>http://blog.brianhartsock.com/2011/11/22/tech-talk-video-informed-design/</link>
		<comments>http://blog.brianhartsock.com/2011/11/22/tech-talk-video-informed-design/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 15:47:19 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Rackspace]]></category>
		<category><![CDATA[Tech Talks]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2438</guid>
		<description><![CDATA[Finally finished editing the Informed Design tech talk video from back in October.]]></description>
				<content:encoded><![CDATA[<p>Finally finished editing the Informed Design tech talk video from back in October.</p>
<p><iframe src="http://player.vimeo.com/video/32425889?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2011/11/22/tech-talk-video-informed-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Talk Video: Udi Dahan</title>
		<link>http://blog.brianhartsock.com/2011/11/20/tech-talk-video-udi-dahan/</link>
		<comments>http://blog.brianhartsock.com/2011/11/20/tech-talk-video-udi-dahan/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 21:57:02 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Rackspace]]></category>
		<category><![CDATA[Tech Talks]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2428</guid>
		<description><![CDATA[I just posted the Udi Dahan tech talk video from this week. Enjoy! Rackspace Tech Talk &#8211; Udi Dahan from Brian Hartsock on Vimeo.]]></description>
				<content:encoded><![CDATA[<p>I just posted the Udi Dahan tech talk video from this week.  Enjoy!</p>
<p><iframe src="http://player.vimeo.com/video/32282682?title=0&amp;byline=0&amp;portrait=0" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p><a href="http://vimeo.com/32282682">Rackspace Tech Talk &#8211; Udi Dahan</a> from <a href="http://vimeo.com/user1379967">Brian Hartsock</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2011/11/20/tech-talk-video-udi-dahan/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tech Talk: Large Scale Distributed Systems with Udi Dahan</title>
		<link>http://blog.brianhartsock.com/2011/10/31/tech-talk-large-scale-distributed-systems-with-udi-dahan/</link>
		<comments>http://blog.brianhartsock.com/2011/10/31/tech-talk-large-scale-distributed-systems-with-udi-dahan/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 15:28:55 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tech Talks]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2418</guid>
		<description><![CDATA[We had a great turnout for our last tech talk on Informed Design. The next talk is fast approaching on November 15th. Udi Dahan will be onsite at Rackspace in Blacksburg, doing an informal Q&#038;A session with the audience. He &#8230; <a href="http://blog.brianhartsock.com/2011/10/31/tech-talk-large-scale-distributed-systems-with-udi-dahan/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><img src="http://f7520d2febe47d1ce590-77c50a7d2aa47b886ede2e1f260fd8be.r14.cf1.rackcdn.com/wp-content/uploads/2011/09/TechTalkBlacksburg8-150x150.jpg" alt="" title="TechTalkBlacksburg8" width="150" height="150" class="alignright size-thumbnail wp-image-2402" />We had a great turnout for our last tech talk on Informed Design.  The next talk is fast approaching on November 15th.  <a href="http://www.udidahan.com/">Udi Dahan</a> will be onsite at Rackspace in Blacksburg, doing an informal Q&#038;A session with the audience.  He will be answering questions on software architecture and design, so come prepared to ask a few of your own questions.</p>
<p>Here is a little more information about Udi taken from his website:</p>
<blockquote><p>Udi Dahan is The Software Simplist, an internationally renowned expert on software architecture and design. A solutions architecture and connected systems MVP, 5 years in a row, Udi is also one of 33 experts in Europe recognized by the International .NET Association.</p>
<p>During the past decade of consulting with enterprise clients and large-scale web sites, Udi noticed they all needed service bus technology but that none of the existing offerings were good enough. After 5 years of growing a framework used by his clients in the most severe production scenarios, Udi released NServiceBus to the world. Since then, it has had over 10 major releases and is now used by companies, large and small, all over the world both for its scalability and simplicity.</p>
<p>We are very excited about this tech talk and hope you can make it out.</p></blockquote>
<ul>
<li><strong>When: November 15th @ 6pm</strong></li>
<li><strong>Where: Rackspace office inside the University Mall next to Sushi Factory</strong></li>
<li><strong>Will have pizza and drinks</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2011/10/31/tech-talk-large-scale-distributed-systems-with-udi-dahan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fall Tech Talks at Rackspace starting next week!</title>
		<link>http://blog.brianhartsock.com/2011/09/27/fall-tech-talks-at-rackspace-starting-next-week/</link>
		<comments>http://blog.brianhartsock.com/2011/09/27/fall-tech-talks-at-rackspace-starting-next-week/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 19:51:43 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Rackspace]]></category>
		<category><![CDATA[Tech Talks]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2394</guid>
		<description><![CDATA[I am really excited about this fall. Rackspace Tech Talks are back with some awesome speakers and topics. Come out and join us for some great presentations and geeky conversation. Here are all the talks slated for this fall: October &#8230; <a href="http://blog.brianhartsock.com/2011/09/27/fall-tech-talks-at-rackspace-starting-next-week/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><img src="http://f7520d2febe47d1ce590-77c50a7d2aa47b886ede2e1f260fd8be.r14.cf1.rackcdn.com/wp-content/uploads/2011/09/TechTalkBlacksburg8-300x300.jpg" alt="" title="TechTalkBlacksburg8" width="300" height="300" class="alignright size-medium wp-image-2402" />I am really excited about this fall.  Rackspace Tech Talks are back with some awesome speakers and topics.  Come out and join us for some great presentations and geeky conversation.  Here are all the talks slated for this fall:<br/></p>
<ul>
<li>October 4th, 6pm &#8211; Informed Design with Rackspace Experience Design Team</li>
<li>November 15th, 6pm &#8211; Large Scale Distributed Systems with <a href="http://www.udidahan.com/">Udi Dahan</a></li>
<li>December 6th, 6pm &#8211;  Building Killer Web Apps with <a href="http://www.davehking.com/wordpress/" class="broken_link">Dave King</a>, Sr. Developer at Rackspace</li>
</ul>
<p><strong>Our first talk is quickly approaching next week!</strong>  The Rackspace Experience Design team, a group of awesome designers and usability experts, will be presenting on Informed Design.  More specifically, using generative and evaluative research to create FANATICAL user experiences.  UX research comes in many flavors: usability testing, user interviews, field studies, A/B testing, analytics, etc. The Rackspace Experience Design Team will share examples of how to use a mix of research techniques to inform design decisions</p>
<p>Here are some of the details:</p>
<ul>
<li><strong>When: Tuesday October 4th, 6pm</strong></li>
<li><strong>Where: Rackspace, 755 University City Blvd, Blacksburg (Look for flyers to lead you to the right room)</strong></li>
<li><strong>Food will be provided</strong></li>
<li><strong>Bring a friend or two, this is a public talk open to anyone.</strong></li>
</ul>
<p>Hope to see you all there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2011/09/27/fall-tech-talks-at-rackspace-starting-next-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A note from my summer intern</title>
		<link>http://blog.brianhartsock.com/2011/09/02/a-note-from-my-summer-intern/</link>
		<comments>http://blog.brianhartsock.com/2011/09/02/a-note-from-my-summer-intern/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 14:22:51 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[College]]></category>
		<category><![CDATA[Rackspace]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2386</guid>
		<description><![CDATA[I received an email a couple days ago from one of my summer interns that recently returned to school. Hey everyone had first day of classes today thought you guys would find the syllabus to one of my classes hilarious. &#8230; <a href="http://blog.brianhartsock.com/2011/09/02/a-note-from-my-summer-intern/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I received an email a couple days ago from one of my summer interns that recently returned to school.</p>
<blockquote><p>
Hey everyone had first day of classes today thought you guys would find the syllabus to one of my classes hilarious.</p>
<p>Goals:</p>
<p>Learn HTML<br />
Learn JSPs<br />
Learn CSS<br />
Learn Struts<br />
Learn Ajax<br />
Learn Javascript<br />
and JMeter (don&#8217;t actually know Anything about this one)</p>
<p>Objective: To be able to work on and maintain a web-app running on Apache Tomcat</p>
<p>First Project:  Take a webapp that has only in-line styles and set up a CSS page that will make the site look the exact same.</p>
<p>I feel like I Win this class.</p>
<p>Thanks for everything I learned there!</p>
<p>&#8211; John C</p>
</blockquote>
<p>This intern spent the summer working on an HTML/JSPs/CSS/Struts/Ajax/Javascript web app, the Rackspace Cloud Control Panel.  In a couple months, he was able to make significant improvements to our CSS and image sprites, not to mention other enhancements and bug fixes.  Rackspace gets a ton of great code out of our interns, while the interns get to work on real products, get paid, and then get easy A&#8217;s.</p>
<p>Pretty sweet deal.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2011/09/02/a-note-from-my-summer-intern/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Operating System Checks in Bash</title>
		<link>http://blog.brianhartsock.com/2011/05/21/os-system-checks-bash/</link>
		<comments>http://blog.brianhartsock.com/2011/05/21/os-system-checks-bash/#comments</comments>
		<pubDate>Sat, 21 May 2011 19:59:32 +0000</pubDate>
		<dc:creator><![CDATA[bhartsock]]></dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=2364</guid>
		<description><![CDATA[I have been using my Mac and Linux computers a lot more recently. Syncing configurations between the two machines is pretty easy with tools like JungleDisk or Dropbox. Today I just started syncing my .bashrc and .bash_profile between the two &#8230; <a href="http://blog.brianhartsock.com/2011/05/21/os-system-checks-bash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I have been using my Mac and Linux computers a lot more recently.  Syncing configurations between the two machines is pretty easy with tools like <a href="https://www.jungledisk.com/" class="broken_link">JungleDisk</a> or <a href="https://www.dropbox.com/">Dropbox</a>.  Today I just started syncing my .bashrc and .bash_profile between the two systems.  There are some configurations that need to be different on a per machine basis however.  I wrote this quick little bash script to illustrate an easy way to do this.  Pretty trivial but useful nonetheless.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">OS</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">uname</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$OS</span>&quot;</span> = <span style="color: #ff0000;">&quot;Darwin&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Running on Mac&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Running on Linux&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></td></tr></table></div>

<p>Also, <em>uname -n</em> will return the computer name if you want to check that as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2011/05/21/os-system-checks-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 617/618 objects using disk
Content Delivery Network via Rackspace Cloud Files: f7520d2febe47d1ce590-77c50a7d2aa47b886ede2e1f260fd8be.r14.cf1.rackcdn.com

 Served from: blog.brianhartsock.com @ 2015-08-21 18:47:22 by W3 Total Cache -->