<?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>Brandon Nason</title>
	<atom:link href="http://www.brandonnason.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonnason.com</link>
	<description></description>
	<lastBuildDate>Sun, 08 Jan 2012 14:24:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Git Mode Changes Over Network Mounted Share</title>
		<link>http://www.brandonnason.com/2012/01/git-mode-changes-over-network-mounted-share/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=git-mode-changes-over-network-mounted-share</link>
		<comments>http://www.brandonnason.com/2012/01/git-mode-changes-over-network-mounted-share/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 11:10:59 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.brandonnason.com/?p=302</guid>
		<description><![CDATA[When work with a mounted network share which doesn&#8217;t support modes, git will complain that all files have changed. To disable this, you can issue the following command: git config core.filemode false from git-config(1) : core.fileMode If false, the executable &#8230; <a href="http://www.brandonnason.com/2012/01/git-mode-changes-over-network-mounted-share/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When work with a mounted network share which doesn&#8217;t support modes, git will complain that all files have changed. To disable this, you can issue the following command:</p>


<div class="wp_syntax"><div class="code"><pre class="bash"><span class="kw2">git</span> config core.filemode <span class="kw2">false</span></pre></div></div>


<p>from git-config(1) :</p>


<div class="wp_syntax"><div class="code"><pre class="bash">   core.fileMode
       If <span class="kw2">false</span>, the executable bit differences between the index and the
       working copy are ignored; useful on broken filesystems like FAT.
       See get-update-index<span class="br0">&#40;</span><span class="nu0">1</span><span class="br0">&#41;</span>. True by default.</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.brandonnason.com/2012/01/git-mode-changes-over-network-mounted-share/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually Load Shared Library in Ruby</title>
		<link>http://www.brandonnason.com/2012/01/manually-load-shared-library-in-ruby/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=manually-load-shared-library-in-ruby</link>
		<comments>http://www.brandonnason.com/2012/01/manually-load-shared-library-in-ruby/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 11:55:08 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.brandonnason.com/?p=237</guid>
		<description><![CDATA[Recently I needed to run a Ruby script that required the openssl library for communications. However after setting up Ruby on Mac OS X for the first time and succeeding in installing all the required gems, the following error kept &#8230; <a href="http://www.brandonnason.com/2012/01/manually-load-shared-library-in-ruby/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I needed to run a Ruby script that required the openssl library for communications. However after setting up Ruby on Mac OS X for the first time and succeeding in installing all the required gems, the following error kept popping.</p>


<div class="wp_syntax"><div class="code"><pre class="bash">dyld: lazy symbol binding failed: Symbol not found: _SSL_library_init</pre></div></div>


<p>I couldn&#8217;t find much help online and I have no idea yet how to actually debug linker problems with the ruby system. However I figured out a quick and easy way to overcome the error.</p>


<div class="wp_syntax"><div class="code"><pre class="ruby"><span class="kw3">require</span> <span class="st0">'dl'</span>
ssl = DL::dlopen<span class="br0">&#40;</span><span class="st0">'/usr/lib/libssl.dylib'</span><span class="br0">&#41;</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.brandonnason.com/2012/01/manually-load-shared-library-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote backup to image with rsync</title>
		<link>http://www.brandonnason.com/2011/07/remote-backup-to-image-with-rsync/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remote-backup-to-image-with-rsync</link>
		<comments>http://www.brandonnason.com/2011/07/remote-backup-to-image-with-rsync/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 00:41:08 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://www.brandonnason.com/?p=8</guid>
		<description><![CDATA[I recently had a need to backup an entire Linux system to a remote server.

I had the following requirements :
 * Backup as single image
 * Maintain symlinks, owner/group and permissions
 * Image created on backup server. (I didn't have enough space on server to create the backup image) <a href="http://www.brandonnason.com/2011/07/remote-backup-to-image-with-rsync/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ol>
    <li>Create disk image file


<div class="wp_syntax"><div class="code"><pre class="bash"><span class="kw2">dd</span> <span class="re2">if</span>=<span class="sy0">/</span>dev<span class="sy0">/</span>zero <span class="re2">of</span>=disk.image <span class="re2">bs</span>=<span class="nu0">1024</span> <span class="re2">count</span>=<span class="nu0">8388608</span></pre></div></div>



        8388608 is the size of the filesystem we will want, in kiloBytes. This one will be 8GB.
    </li>
    <li>Format to ext3


<div class="wp_syntax"><div class="code"><pre class="bash">mkfs.ext3 <span class="re5">-F</span> <span class="re5">-b</span> <span class="nu0">1024</span> disk.image <span class="nu0">8388608</span></pre></div></div>



    </li>
    <li>Mount


<div class="wp_syntax"><div class="code"><pre class="bash"><span class="kw2">mount</span> <span class="re5">-t</span> ext3 <span class="re5">-o</span> loop disk1.image <span class="sy0">/</span>tmp<span class="sy0">/</span>disk1</pre></div></div>



    </li>
    <li>Sync the remote filesystem to the locally mounted image


<div class="wp_syntax"><div class="code"><pre class="bash">rsync <span class="re5">-avz</span> user<span class="sy0">@</span>host.com:<span class="sy0">/</span> .</pre></div></div>



    </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonnason.com/2011/07/remote-backup-to-image-with-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

