    <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
    <title> Mick Pollard &middot; Mick Pollard </title>
    
    <link rel="stylesheet" type="text/css" href="http://aussie.lunix.com.au//css/uno.min.css" />
    <link rel="stylesheet" type="text/css" href="http://aussie.lunix.com.au//css/lightGallery.css" />
    
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
    <link rel="shortcut icon" href="/favicon.ico">
    
    <link href="http://aussie.lunix.com.au/index.xml" rel="alternate" type="application/rss+xml" title="Mick Pollard" />
</head>

    <body>
        <div id="scriptHeader">
    <span class="mobile btn-mobile-menu">
            <i class="fa fa-bars btn-mobile-menu__icon"></i>
            <i class="fa fa-times btn-mobile-close__icon hidden"> </i>
    </span>
    <header class="
        
        
                panel-cover
        
        "  style="background-image: url(/images/background.jpg)" >
    <div class="panel-main">
        <div class="panel-main__inner panel-inverted">
            <div class="panel-main__content"> 
                <a href="http://aussie.lunix.com.au//" title="link to homepage for Mick Pollard"> <img src="/images/me_logo-128x128.jpg" width="80" alt="Mick Pollard logo" class="panel-cover__logo logo" /> </a> 
                <h1 class="panel-cover__title panel-title">
                    <a href="http://aussie.lunix.com.au//"  title="link to homepage for Mick Pollard">Mick Pollard</a>
                </h1>
                <hr class="panel-cover__divider" />
                <p class="panel-cover__description">  Infrastructure Coding, System Logging, Weather Statistics  </p>
                <hr class="panel-cover__divider panel-cover__divider--secondary" />
                <div class="navigation-wrapper">
                    <nav class="cover-navigation cover-navigation--primary">
                        <ul class="navigation">
                            <li class="navigation__item"><a href="http://aussie.lunix.com.au//#blog" title="link to Mick Pollard blog" class="blog-button">Blog</a> </li>
                            </br>  </ul>
                    </nav> <nav class="cover-navigation navigation--social">
    <ul class="navigation"> 
        
        <li class="navigation__item">
            <a href="http://twitter.com/aussielunix" title="@aussielunix on Twitter"> <i class='fa fa-twitter'></i> <span class="label">Twitter</span> </a>
        </li>  
        
        <li class="navigation__item">
            <a href="https://bitbucket.org/aussielunix" title="aussielunix on bitbucket"> <i class='fa fa-bitbucket'></i> <span class="label">Bitbucket</span> </a>
        </li>  
        
        <li class="navigation__item">
            <a href="https://github.com/aussielunix" title="aussielunix on github"> <i class='fa fa-github'></i> <span class="label">Github</span> </a>
        </li>  </br>  
        
        <li class="navigation__item">
            <a href="http://no.linkedin.com/in/aussielunix/en" title="Linkedin"> <i class='fa fa-linkedin'></i> <span class="label">Linkedin</span> </a>
        </li>  
        
        <li class="navigation__item">
            <a href="mailto:aussielunix@gmail.com" title="Email aussielunix@gmail.com"> <i class='fa fa-envelope-o'></i> <span class="label">Email</span> </a>
        </li>  </ul>
</nav>
 </div>
            </div>
        </div>
        <div class="panel-cover--overlay"></div>
    </div>
</header>
</div>
<noscript>
    <style>
        #scriptHeader {display:none;}
        .navigation-wrapper{
            display: block;
            top: 0;
        }
    </style>

    <header class="panel-cover panel-cover--collapsed" style="background-image: url(/images/background.jpg)">
        <div class="panel-main">
            <div class="panel-main__inner panel-inverted">
                <div class="panel-main__content"> 
                    <a href="http://aussie.lunix.com.au//" title="link to homepage for Mick Pollard"> <img src="/images/me_logo-128x128.jpg" width="80" alt="Mick Pollard logo" class="panel-cover__logo logo" /> </a> 
                    <h1 class="panel-cover__title panel-title">
                        <a href="http://aussie.lunix.com.au//"  title="link to homepage for Mick Pollard">Mick Pollard</a>
                    </h1>
                    <hr class="panel-cover__divider" />
                    <p class="panel-cover__description">  Infrastructure Coding, System Logging, Weather Statistics  </p>
                    <hr class="panel-cover__divider panel-cover__divider--secondary" />
                    <div class="navigation-wrapper">
                        <nav class="cover-navigation cover-navigation--primary">
                            <ul class="navigation">
                                <li class="navigation__item"><a href="http://aussie.lunix.com.au//#blog" title="link to Mick Pollard blog" class="blog-button">Blog</a> </li>
                                </br>  </ul>
                        </nav> <nav class="cover-navigation navigation--social">
    <ul class="navigation"> 
        
        <li class="navigation__item">
            <a href="http://twitter.com/aussielunix" title="@aussielunix on Twitter"> <i class='fa fa-twitter'></i> <span class="label">Twitter</span> </a>
        </li>  
        
        <li class="navigation__item">
            <a href="https://bitbucket.org/aussielunix" title="aussielunix on bitbucket"> <i class='fa fa-bitbucket'></i> <span class="label">Bitbucket</span> </a>
        </li>  
        
        <li class="navigation__item">
            <a href="https://github.com/aussielunix" title="aussielunix on github"> <i class='fa fa-github'></i> <span class="label">Github</span> </a>
        </li>  </br>  
        
        <li class="navigation__item">
            <a href="http://no.linkedin.com/in/aussielunix/en" title="Linkedin"> <i class='fa fa-linkedin'></i> <span class="label">Linkedin</span> </a>
        </li>  
        
        <li class="navigation__item">
            <a href="mailto:aussielunix@gmail.com" title="Email aussielunix@gmail.com"> <i class='fa fa-envelope-o'></i> <span class="label">Email</span> </a>
        </li>  </ul>
</nav>
 </div>
                </div>
            </div>
            <div class="panel-cover--overlay"></div>
        </div>
    </header>
</noscript>

        <div class="content-wrapper">
            <div class="content-wrapper__inner">
                <section id="main">
                    <div>
                        
                            
                                <article class="post">
<header>
<h2><a href="http://aussie.lunix.com.au/post/coloured-git-status-in-your-bash-prompt/">Coloured git status in your bash prompt </a> </h2>
<div class="post-meta">Fri, Feb 8, 2013 - Read in 2 Min </div>
</header>
<div class="summary">
    After reading a post by Stephen Johnson I decided to reblog it here with some explanation on how to tune it to you liking. This will give you a coloured bash prompt based on the status of the current git branch you are in. (if you are in one) This is very handy to make sure things are committed or stashed before switching branches. Add the following three bash snippets to your .bashrc or .bash_profile function _git_prompt() { local git_status=&quot;`git status -unormal 2&gt;&amp;1`&quot; if !
</div>
<footer>
<a href='http://aussie.lunix.com.au/post/coloured-git-status-in-your-bash-prompt/'><nobr>Read more →</nobr></a>
</footer>
</article>


                            
                        
                            
                                <article class="post">
<header>
<h2><a href="http://aussie.lunix.com.au/post/accessing-custom-facter-facts-from-the-cli/">Accessing custom facter facts from the cli </a> </h2>
<div class="post-meta">Fri, Jan 11, 2013 - Read in 1 Min </div>
</header>
<div class="summary">
    At $WORK we distribute some custom facts with Puppet using puppet&rsquo;s pluginsync. This will, upon first puppet run, sync the custom fact out to the client and make it available to future puppet runs. At this stage though, running facter from the cli independently from puppet is not able to find these custom facts. This is due to facter, when called from the CLI, does not read /etc/puppet/puppet.conf for the factpath setting so can not find the custom facts that pluginsync has distributed out to $vardir/lib/facter To fix this is pretty simple.
</div>
<footer>
<a href='http://aussie.lunix.com.au/post/accessing-custom-facter-facts-from-the-cli/'><nobr>Read more →</nobr></a>
</footer>
</article>


                            
                        
                            
                                <article class="post">
<header>
<h2><a href="http://aussie.lunix.com.au/post/funny_tech_support_emails/">Funny Tech Support Emails </a> </h2>
<div class="post-meta">Tue, Jul 20, 2010 - Read in 1 Min </div>
</header>
<div class="summary">
    In the late 1990&rsquo;s we purchased a few small ISP&rsquo;s and whilst auditing their old servers (terrible mess) I come across these beauties. I thought I&rsquo;d share these I found for this years System Administrator&rsquo;s Appreciation Day. They both made me laugh back then and still make me laugh today. Oh how I miss the days of ISP land. $("#lightGallery").lightGallery();
</div>
<footer>
<a href='http://aussie.lunix.com.au/post/funny_tech_support_emails/'><nobr>Read more →</nobr></a>
</footer>
</article>


                            
                        
                    </div>
                    </br>
                    <h4>
                        <a href="http://aussie.lunix.com.au//post/">Archive</a>
                    </h4>
                </section>
            </div>
        </div>
        <footer class="footer">
<script src="http://aussie.lunix.com.au//js/jquery.min.js"></script>
<script src="http://aussie.lunix.com.au//js/main.min.js"></script>
</footer>

        
    </body>
</html>
