
<!doctype html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
<html class="no-js" lang="en" data-useragent="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="author" content="Peter Olds">
<meta name="keywords" content="Peter Olds,">
<title>Code. Good. - Peter Olds</title>
<link rel="stylesheet" href="/assets/themes/foundation/css/foundation.min.css"/>
<link rel="stylesheet" href="/assets/themes/foundation/css/syntax.css">
<script src="/assets/themes/foundation/js/modernizr.js"></script>
 <script data-cfasync='false' type="text/javascript">(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");for(g=0;g<i.length;g++)f(c,i[g]);
b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]);
mixpanel.init("5d6f0bdf83c127a076d618ca7642e6ef");</script> 
</head>
<body>
 
<div class="row">
<div class="large-12 columns">
<h1>Peter Olds <small>Code. Good.</small></h1>
<hr/>
</div>
</div>
 
 
<div class="row">
 
<div class="large-9 columns" role="content">
<article>
<h3><a href="/2013/11/tags-vs-categories">Tags vs. Categories?</a></h3>
<h6>22 Nov 2013</h6>
I&#39;m just getting everything set up on this new blog and am trying to determine the use cases of using Tags vs. Categories. Often it seems that Tags will work where Categories will work and vice versa. Any thoughts on...
<p>
<h6><a href="/2013/11/tags-vs-categories">Continue Reading...</a></h6>
</p>
</article>
<hr>
<article>
<h3><a href="/2013/11/recursively-chmod-directories-only">Recursively chmod directories only</a></h3>
<h6>22 Nov 2013</h6>
To chmod all directories and ignore the files you can execute the following command: find . -type d -exec chmod 755 {} \; Similarly, the following will chmod all files only (and ignore the directories): find . -type f -exec...
<p>
<h6><a href="/2013/11/recursively-chmod-directories-only">Continue Reading...</a></h6>
</p>
</article>
<hr>
<article>
<h3><a href="/2013/11/protect-your-git-folders">Protect your .git folders</a></h3>
<h6>12 Nov 2013</h6>
If you&#39;re using Apache with your project that uses git make sure to pay attention. This can happen technically in any environment I just find Apache to be more susceptible than other environments. If you use git you are probably...
<p>
<h6><a href="/2013/11/protect-your-git-folders">Continue Reading...</a></h6>
</p>
</article>
<hr>
</div>
 
 
<aside class="large-3 columns">
<h5>Categories</h5>
<ul class="side-nav">
<li><a id="nav" href="/categories.html#git-ref">
git
</a></li>
<li><a id="nav" href="/categories.html#apache-ref">
apache
</a></li>
<li><a id="nav" href="/categories.html#linux-ref">
linux
</a></li>
<li><a id="nav" href="/categories.html#general-ref">
general
</a></li>
</ul>
<div class="panel">
<h5>Me</h5>
<ul class="side-nav">
<li><a id="nav" target="_blank" rel="nofollow" href="/cdn-cgi/l/email-protection#99e9f6f5fdead9f2e0f8f7f0faf6ebe9b7faf6f4"><span class="__cf_email__" data-cfemail="04746b686077446f7d656a6d676b76742a676b69">[email&#160;protected]</span><script cf-hash='f9e31' type="text/javascript">
/* <![CDATA[ */!function(){try{var t="currentScript"in document?document.currentScript:function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t&&t.previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]]> */</script></a></li>
<li><a id="nav" target="_blank" rel="nofollow" href="https://github.com/polds">github.com/polds</a></li>
<li><a id="nav" target="_blank" rel="nofollow" href="http://twitter.com/Peter_Olds">@Peter_Olds</a></li>
</ul>
</div>
</aside>
 
</div>
 
 
<footer class="row">
<div class="large-12 columns">
<hr/>
<div class="row">
<div class="large-6 columns">
<p>&copy; 2013 Copyright Peter Olds.</p>
</div>
</div>
</div>
</footer>
<script src="/assets/themes/foundation/js/jquery.js"></script>
<script src="/assets/themes/foundation/js/foundation.min.js"></script>
<script>
      $(document).foundation();

      var doc = document.documentElement;
      doc.setAttribute('data-useragent', navigator.userAgent);
    </script>
<script>
      mixpanel.track("Page Load", {
        "title": "Peter Olds"
      });
      mixpanel.track_links("#nav a", "click nav link", {
        referrer: document.referrer
      });
    </script>
<script type="text/javascript">
/* <![CDATA[ */
(function(){try{var s,a,i,j,r,c,l=document.getElementsByTagName("a"),t=document.createElement("textarea");for(i=0;l.length-i;i++){try{a=l[i].getAttribute("href");if(a&&a.indexOf("/cdn-cgi/l/email-protection") > -1  && (a.length > 28)){s='';j=27+ 1 + a.indexOf("/cdn-cgi/l/email-protection");if (a.length > j) {r=parseInt(a.substr(j,2),16);for(j+=2;a.length>j&&a.substr(j,1)!='X';j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}j+=1;s+=a.substr(j,a.length-j);}t.innerHTML=s.replace(/</g,"&lt;").replace(/>/g,"&gt;");l[i].setAttribute("href","mailto:"+t.value);}}catch(e){}}}catch(e){}})();
/* ]]> */
</script>
</body>
</html>
