<commit_before><!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta name="google-site-verification" content="VikwqTxe7ybu1qSM7LFgIQpvHLN0_j-iVzaLqF88vEw" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><NAME> - {{ page.title }}</title>
  <meta name="author" content="<NAME>" />
  <meta name="description" content="Stacked answers about software, book writeups and geeky projects by a software engineer" />
  <meta property="og:title" content="{{ page.title }}"/>
  <meta property="og:image" content="http://www.anstack.com/static/me.jpg"/>
  <meta property="og:site_name" content="<NAME> - A bunch of stacked answers - anstack"/>
  <meta property="og:description" content="Stacked answers about software, book writeups and geeky projects by a software engineer"/>

  
  <link rel="canonical" href="http://anstack.github.io{{ page.url | replace:'index.html','' }}" />

  <link href="//fonts.googleapis.com/css?family=Nunito:400,700,300|Varela+Round" rel="stylesheet" type="text/css">

  <link rel="shortcut icon" href="/static/favicon.png">
  <link rel="alternate" type="application/rss+xml" title="Carlos Camacho's Blog" href="{{site.url}}/atom.xml" />

  {% if site.github %}
    <link rel="stylesheet" href="/css/site.css?sha={{ site.github.build_revision }}">
  {% else %}
    <link rel="stylesheet" href="/css/site.css">
  {% endif %}

   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
   <script>

    $(document).ready(function(){
       var posts = fillPlanet();
       for (var i = 0; i < posts.length; i++) {
           $("#archiveul").append("<li><a href='" + posts[i]['url'] + "'  >" + posts[i]['title'] + "</a>&nbsp;&nbsp;&nbsp;" + posts[i]['author'] + "</li>");
       }
    });

    function fillPlanet() {
        jQuery.ajaxSetup({async:false});
        var posts = [];
        var crossproxy = 'https://crossorigin.me/';
        //Change this to a hash with author name...
        var urls = [
            {uri: crossproxy + 'http://blog.nemebean.com/taxonomy/term/5/feed', author:'bnemec'}, //Ben
            {uri: crossproxy + 'https://dprince.github.io/feeds/tripleo.atom.xml', author:'dprince'}, //Dan
            {uri: crossproxy + 'http://www.dougalmatthews.com/feeds/openstack.atom.xml', author:'douglas'},  //Douglas
            {uri: crossproxy + 'http://my1.fr/blog/category/virtualization/openstack/tripleo/feed/atom/', author:'EmilienM'},  //Emilien
            {uri: crossproxy + 'http://giuliofidente.com/feeds/tag/tripleo.atom.xml', author:'gfidente'},  //Giulio
            {uri: crossproxy + 'http://blog-slagle.rhcloud.com/?tag=tripleo&feed=rss2', author:'jslagle'},  //James
            {uri: crossproxy + 'http://jaormx.github.io//feed.xml', author:'jaosorior'},  //Juan
            {uri: crossproxy + 'http://mariosandreou.com/tripleo.xml', author:'marios'},  //Marios
            {uri: crossproxy + 'http://hardysteven.blogspot.com/feeds/posts/default/-/tripleo?alt=rss', author:'shardy'} //Steven
           ];

        for (var i in urls) {
            $.get(urls[i]['uri'], function (data) {
                $(data).find("entry, item").each(function () {
                    var el = $(this);
                    tit = el.find("title").text();
                    auth = urls[i]['author'];
                    dat = el.find("pubDate, published, updated").text();
                    if ((typeof el.find("link").attr("href") !== 'undefined') && (el.find("link").attr("href").indexOf('http') !== -1)) {
                        link = el.find("link").attr("href");
                    }else{
                       if ((typeof el.find("link").text() !== 'undefined') && (el.find("link").text().indexOf('http') !== -1)) {
                           link = el.find("link").text();
                       }else{
                           link = "http://www.google.com";
                       }
                    }
                    posts.push({title:tit,author:auth,date:dat,url:link});
               });
            });
        }

        //TODO Sort posts before return
        return posts;
    }

   </script>



</head>
<body>
  <section>
    {{ content }}
  </section>
{% include analytics.html %}

<script>
</script>
</body>
</html><commit_msg>Sort and fix data on Planet<commit_after><!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta name="google-site-verification" content="VikwqTxe7ybu1qSM7LFgIQpvHLN0_j-iVzaLqF88vEw" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><NAME> - {{ page.title }}</title>
  <meta name="author" content="<NAME>" />
  <meta name="description" content="Stacked answers about software, book writeups and geeky projects by a software engineer" />
  <meta property="og:title" content="{{ page.title }}"/>
  <meta property="og:image" content="http://www.anstack.com/static/me.jpg"/>
  <meta property="og:site_name" content="<NAME> - A bunch of stacked answers - anstack"/>
  <meta property="og:description" content="Stacked answers about software, book writeups and geeky projects by a software engineer"/>

  
  <link rel="canonical" href="http://anstack.github.io{{ page.url | replace:'index.html','' }}" />

  <link href="//fonts.googleapis.com/css?family=Nunito:400,700,300|Varela+Round" rel="stylesheet" type="text/css">

  <link rel="shortcut icon" href="/static/favicon.png">
  <link rel="alternate" type="application/rss+xml" title="Carlos Camacho's Blog" href="{{site.url}}/atom.xml" />

  {% if site.github %}
    <link rel="stylesheet" href="/css/site.css?sha={{ site.github.build_revision }}">
  {% else %}
    <link rel="stylesheet" href="/css/site.css">
  {% endif %}

   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
   <script>

    $(document).ready(function(){
       fillPlanet();
    });

    function fillPlanet() {
        jQuery.ajaxSetup({async:false});
        var posts = [];
        var crossproxy = 'https://crossorigin.me/';
        var urls = [
            {uri: crossproxy + 'http://blog.nemebean.com/taxonomy/term/5/feed', author:'bnemec'}, //Ben
            {uri: crossproxy + 'https://dprince.github.io/feeds/tripleo.atom.xml', author:'dprince'}, //Dan
            {uri: crossproxy + 'http://www.dougalmatthews.com/feeds/openstack.atom.xml', author:'douglas'},  //Douglas
            {uri: crossproxy + 'http://my1.fr/blog/category/virtualization/openstack/tripleo/feed/atom/', author:'EmilienM'},  //Emilien
            {uri: crossproxy + 'http://giuliofidente.com/feeds/tag/tripleo.atom.xml', author:'gfidente'},  //Giulio
            {uri: crossproxy + 'http://blog-slagle.rhcloud.com/?tag=tripleo&feed=rss2', author:'jslagle'},  //James
            {uri: crossproxy + 'http://jaormx.github.io//feed.xml', author:'jaosorior'},  //Juan
            {uri: crossproxy + 'http://mariosandreou.com/tripleo.xml', author:'marios'},  //Marios
            {uri: crossproxy + 'http://hardysteven.blogspot.com/feeds/posts/default/-/tripleo?alt=rss', author:'shardy'} //Steven
           ];
        $.get(urls[i]['uri'], function (data) {
            $(data).find("entry, item").each(function () {
                var el = $(this);
                tit = el.find("title").text();
                auth = urls[i]['author'];
                dat = el.find("pubDate, published, updated").first().text();
                timestamp = Date.parse(dat);
                var d = new Date(timestamp);
                if ( isNaN( d.getTime() ) ){
                    var myDate=dat;
                    myDate=myDate.split("-");
                    var newDate=myDate[0]+"/"+myDate[1]+"/"+myDate[2].substring(0, 2); 
                    timestamp = new Date(newDate).getTime();
                    d = new Date(newDate);
                }
                if ((typeof el.find("link").attr("href") !== 'undefined') && (el.find("link").attr("href").indexOf('http') !== -1)) {
                    link = el.find("link").attr("href");
                }else{
                   if ((typeof el.find("link").text() !== 'undefined') && (el.find("link").text().indexOf('http') !== -1)) {
                       link = el.find("link").text();
                   }else{
                       link = "http://www.google.com";
                   }
                }
                $("#archiveul").append("<li id='"+timestamp+"'><a href='" + link + "'  >" + tit + "</a>&nbsp;&nbsp;&nbsp;" + auth + " @ " + d.getFullYear() + '/' + (d.getMonth()+1) + '/' + d.getDate() + "</li>");
            });
        });
        var elems = $('#archiveul').children('li').remove();
        elems.sort(function(a,b){
            return parseInt(a.id) < parseInt(b.id);
        });
        $('#archiveul').append(elems);
        }
    }

   </script>



</head>
<body>
  <section>
    {{ content }}
  </section>
{% include analytics.html %}

<script>
</script>
</body>
</html>
{'fraction_non_alphanumeric': 0.21058773604922554, 'fraction_numerical': 0.007107999151283684, 'mean_word_length': 2.5694812570995835, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 105, 'https://': 4, 'lorem ipsum': 0, 'www.': 6, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1754180', 'n_tokens_mistral': 3151, 'n_tokens_neox': 3004, 'n_words': 551}