﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://www.google.com/2005/gml/b" xmlns:data="http://www.google.com/2005/gml/data" xmlns:expr="http://www.google.com/2005/gml/expr">

<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<meta content="blogger" name="generator"/>
<link href="/favicon.ico" rel="icon" type="image/x-icon"/>
<link href="/search/label/vcsstat.sh" rel="canonical"/>
<link rel="alternate" type="application/atom+xml" title="YJL - Atom" href="/feeds/posts/default"/>
<link rel="alternate" type="application/rss+xml" title="YJL - RSS" href="/feeds/posts/default?alt=rss"/>
<link rel="service.post" type="application/atom+xml" title="YJL - Atom" href="https://www.blogger.com/feeds/3803541356848955053/posts/default"/>
<link rel="me" href="https://plus.google.com/115422682039760465813"/>
<link rel="openid.server" href="https://www.blogger.com/openid-server.g"/>
<link rel="openid.delegate" href="/"/>
<link href="https://plus.google.com/115422682039760465813" rel="publisher"/>
<meta content="/search/label/vcsstat.sh" property="og:url"/>
<meta content="YJL" property="og:title"/>
<meta content="You Just Lost?" property="og:description"/>
<!--[if IE]> <script> (function() { var html5 = ("abbr,article,aside,audio,canvas,datalist,details," + "figure,footer,header,hgroup,mark,menu,meter,nav,output," + "progress,section,time,video").split(','); for (var i = 0; i < html5.length; i++) { document.createElement(html5[i]); } try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} })(); </script> <![endif]-->
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<title>YJL: vcsstat.sh</title>
<script type="application/ld+json">
    {
       "@context": "http://schema.org/",
       "@type": "WebSite",
       "url": "/",
       "name": "YJL",
       "alternateName": "YJL's Blog",
       "potentialAction": {
         "@type": "SearchAction",
         "target": "//p/custom-search.html?q={search_term_string}",
         "query-input": "required name=search_term_string"
       }
    }
    </script>

    <style><!--<link type='text/css' rel='stylesheet' href='https://www.blogger.com/static/v1/widgets/3899416659-widget_css_bundle.css' />
<link type='text/css' rel='stylesheet' href='https://www.blogger.com/dyn-css/authorization.css?targetBlogID=3803541356848955053&zx=239df406-86f1-4074-a05e-59c575637f38' />
<style id='page-skin-1' type='text/css'><!--

--></style>
<!--[if lt IE 9]> <script src="http://aFarkas.github.com/html5shiv/dist/html5shiv.js"></script> <![endif]-->
<!--EMBED-->
<style>
hr,table,td,th{border:none}pre,pre>code{overflow-x:auto}.center,.status-msg-wrap,article>header,div.figure,figure{text-align:center}pre.code.literal-block .hll{background-color:#ffc}pre.code.literal-block .c{color:#888}pre.code.literal-block .err{color:red;background-color:#FAA}pre.code.literal-block .s,pre.code.literal-block .s2,pre.code.literal-block .sb,pre.code.literal-block .sh{background-color:#fff0f0}pre.code.literal-block .k{color:#080;font-weight:700}pre.code.literal-block .o{color:#333}pre.code.literal-block .cm{color:#888}pre.code.literal-block .cp{color:#579}pre.code.literal-block .c1{color:#888}pre.code.literal-block .cs{color:#c00;font-weight:700}pre.code.literal-block .gd{color:#A00000}pre.code.literal-block .ge{font-style:italic}pre.code.literal-block .gr{color:red}pre.code.literal-block .gh{color:navy;font-weight:700}pre.code.literal-block .gi{color:#00A000}pre.code.literal-block .go{color:#888}pre.code.literal-block .gp{color:#c65d09;font-weight:700}pre.code.literal-block .gs{font-weight:700}pre.code.literal-block .gu{color:purple;font-weight:700}pre.code.literal-block .gt{color:#04D}pre.code.literal-block .kc,pre.code.literal-block .kd,pre.code.literal-block .kn{color:#080;font-weight:700}pre.code.literal-block .kp{color:#038;font-weight:700}pre.code.literal-block .kr{color:#080;font-weight:700}pre.code.literal-block .kt{color:#339;font-weight:700}pre.code.literal-block .m{color:#60E;font-weight:700}pre.code.literal-block .na{color:#00C}pre.code.literal-block .nb{color:#007020}pre.code.literal-block .nc{color:#B06;font-weight:700}pre.code.literal-block .no{color:#036;font-weight:700}pre.code.literal-block .nd{color:#555;font-weight:700}pre.code.literal-block .ni{color:#800;font-weight:700}pre.code.literal-block .ne{color:red;font-weight:700}pre.code.literal-block .nf{color:#06B;font-weight:700}pre.code.literal-block .nl{color:#970;font-weight:700}pre.code.literal-block .nn{color:#0e84b5;font-weight:700}pre.code.literal-block .nt{color:#070}pre.code.literal-block .nv{color:#963}pre.code.literal-block .ow{color:#000;font-weight:700}pre.code.literal-block .w{color:#bbb}pre.code.literal-block .mf{color:#60E;font-weight:700}pre.code.literal-block .mh{color:#058;font-weight:700}pre.code.literal-block .mi{color:#00D;font-weight:700}pre.code.literal-block .mo{color:#40E;font-weight:700}pre.code.literal-block .sc{color:#04D}pre.code.literal-block .sd{color:#D42}pre.code.literal-block .se{color:#666;font-weight:700;background-color:#fff0f0}pre.code.literal-block .si{background-color:#eee}pre.code.literal-block .sx{color:#D20;background-color:#fff0f0}pre.code.literal-block .sr{color:#000;background-color:#fff0ff}pre.code.literal-block .s1{background-color:#fff0f0}pre.code.literal-block .ss{color:#A60}pre.code.literal-block .bp{color:#007020}pre.code.literal-block .vc{color:#369}pre.code.literal-block .vg{color:#d70;font-weight:700}pre.code.literal-block .vi{color:#33B}pre.code.literal-block .il{color:#00D;font-weight:700}body{margin:0;font-family:"Palatino Linotype","Book Antiqua",Palatino,serif;font-size:24px}#blog-title,code,kbd,pre,pre>code,samp,tt{font-family:"Lucida Console",Monaco,"Courier New",monospace}h1,h2,h3,h4,h5,h6{font-size:1em}a{color:#249FA3;text-decoration:none}a:visited{color:#7C93A1}a:hover,a:hover>code,a:hover>tt.literal{background-color:#249FA3;color:#FFF}a>code,a>tt.literal{color:#249FA3}hr{height:5px;background:#ccc}dd p:first-child,p.first,table p:first-child{margin-top:0}dd p:last-child,p.last,table p:last-child{margin-bottom:0}dl,ol,ul{margin-top:1em;margin-bottom:1em}ul.auto-toc{margin-top:0;margin-bottom:0;padding-left:20px}ul.auto-toc li{line-height:1.5em;list-style:none}dt{font-weight:700}table.tr-caption-container,td.tr-caption{padding:0;border:none}th{background-color:#ccc}td{padding-right:.5ex;padding-left:.5ex;background-color:#eee}table.tr-caption-container td{padding:0;background:0 0}kbd{padding:0 .5ex;border:1px solid #222;background-color:#fff;color:#000;white-space:nowrap;border-radius:.5ex}sup{vertical-align:top}sub{vertical-align:bottom}.wrapper{margin:0 auto;width:800px}.figure.align-left{float:left}.figure.align-right{float:right}#blog-header{position:fixed;top:-1em;left:0;color:#888;font-size:32px}#blog-description,#blog-title{margin:0}#blog-title{line-height:1em;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom}#blog-title>a{padding:0 .2em}#blog-title>a,#blog-title>a:visited{color:#888}#blog-title>a:hover{color:#fff}#blog-description{display:none;position:fixed;top:0;left:1.2em}#blog-header:hover #blog-description{display:block}article{line-height:1.25em}article>header{margin-bottom:1em}article>header>h2{font-size:1.5em}.notice{margin-bottom:1em;padding:.25ex .5ex;color:#282}.notice.warning{color:#f22}article>header>p.post-labels{line-height:1.75em}article h2,article h3,article h4,article h5,article h6{margin-top:1em;margin-bottom:1em}pre,pre>code{line-height:1.25em;font-size:16px}.gist .line,.gist .line-number{font-size:16px!important}blockquote{margin-left:0;padding-left:1ex;border-left:solid #ccc 1ex}pre,pre.code.literal-block{background:#eee}pre{overflow-y:visible;word-wrap:normal}pre>code{padding:0}div.hint,div.note,div.tip,div.warning{padding:.25em;background-color:#eee}div.note{border:.25em solid #a66}div.hint{border:.25em solid #66a}div.warning{border:.25em solid #aa6}div.tip{border:.25em solid #a6a}div.hint p.first,div.note p.first,div.tip p.first,div.warning p.first{margin:-.25em -.25em .25em;padding:0 0 .25em;color:#eee;font-weight:700}div.note p.first{background-color:#a66}div.hint p.first{background-color:#66a}div.warning p.first{background-color:#aa6}div.tip p.first{background-color:#a6a}div.hint p:nth-child(2),div.note p:nth-child(2),div.tip p:nth-child(2),div.warning p:nth-child(2){margin-top:.25em}div.figure,figure{margin:1em auto;display:block}div.figure.align-left,div.figure.align-right{margin:1em}div.figure p.caption,figcaption{margin:0;display:block;text-align:center}div.footnote ol li p:first-child,div.footnotes ol li p:first-child{margin-top:0}div.footnote ol li p:last-child,div.footnotes ol li p:last-child{margin-bottom:0}table.docutils.citation,table.docutils.footnote{border:none;border-collapse:collapse}table.docutils.citation td,table.docutils.footnote td{padding-left:0;background:0 0}#sharethis{margin-top:1em;margin-bottom:1em}.comments .comments-content .comment-thread ol{margin:0;padding:0;list-style-type:none;text-align:left}.comments .comments-content .comment-thread.inline-thread{margin:1em 0 1em 32px;padding:16px 16px 0;background-color:#f8f8f8}.comments .thread-toggle{display:none}.comments .avatar-image-container{float:left;width:36px;max-height:36px;overflow:hidden}.comments .comment-header cite.user{font-family:sans;font-style:normal}.comments .comment-header cite.user.blog-author a{color:#d2691e}.comments .comment-header span.datetime{float:right;font-family:sans}.comments .comment-block{margin-left:48px;position:relative}.comments .comments-content .comment:last-child{padding-bottom:0;border-bottom:0 none}.comments .comments-content .comment{margin-bottom:16px;padding-bottom:8px}.comment-actions a{margin-right:1em}#comment-holder .continue a,.comment-actions a,.loadmore a{font-family:monospace;font-size:.75em}#comment-holder .continue{border-top:2px solid #888}.comments .continue a{padding:.5em;display:block;font-weight:700}.comments .comments-content .loadmore a{border-top:1px solid #888;border-bottom:1px solid #888}.comments .comments-content .loadmore.loaded{max-height:0;overflow:hidden;opacity:0}#blog-pager,#comment-editor{margin:1em auto}#blog-footer{position:fixed;bottom:0;left:0;font-family:"Lucida Console",Monaco,"Courier New",monospace;font-weight:700;font-size:32px}#blog-footer input{font-size:24px}#blog-footer nav>div>:first-child{padding:0 .25em}#blog-footer nav>div>a,#blog-footer nav>div>a:visited{color:#888}#blog-footer nav a:hover,#blog-footer nav>div>a:hover{color:#fff}#blog-footer nav>div>*{display:none}#blog-footer nav>div:hover>*,#blog-footer nav>div>:first-child{display:inline}@media not screen and (min-width:865px){body{font-size:16px}#post-extra,.wrapper,article>header{width:calc(100% - (25px + 6px * 2) * 2)}article>header{margin:0 auto}img{max-width:100%}}</style>
<!--EMBEDJS-->
<script>//<![CDATA[
function load_JS(a,c){var b=document.createElement("script");b.src=a;c&&b.addEventListener("load",c);document.getElementsByTagName("head")[0].appendChild(b)}function load$(a){window.jQuery?a&&a():load_JS("http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js",a)}
function load_sharethis(){window.switchTo5x=!0;load_JS("http://w.sharethis.com/button/buttons.js",function(){for(var a=document.getElementById("sharethis"),c=[[["st_fblike_vcount","Facebook Like"],["st_fbrec_vcount","Facebook Recommend"],["st_plusone_vcount","Google +1"],["st_fbsub_vcount","Facebook Subscribe",{st_username:"livibetter"}],["st_youtube_vcount","Youtube Subscribe",{st_username:"livibetter"}],["st_twitterfollow_vcount","Twitter Follow",{st_username:"lyjl"}],["st_fbsend_vcount","Facebook Send"]],
[["st_sharethis_vcount","ShareThis"],["st_facebook_vcount","Facebook"],["st_googleplus_vcount","Google +"],["st_linkedin_vcount","LinkedIn"],["st_pinterest_vcount","Pinterest"],["st_pocket_vcount","Pocket"],["st_reddit_vcount","Reddit"],["st_stumbleupon_vcount","StumbleUpon"],["st_twitter_vcount","Tweet"],["st_email_vcount","Email"]]],b=0;b<c.length;b++){for(var g=c[b],h=document.createElement("div"),f=0;f<g.length;f++){var d=g[f],e=document.createElement("span");e.setAttribute("class",d[0]);e.setAttribute("displayText",
d[1]);if(3==d.length)for(var k in d[2])e.setAttribute(k,d[2][k]);h.appendChild(e)}a.appendChild(h)}stLight.options({publisher:"b65e3a3c-b72b-49de-846b-af894becdf5e",onhover:!1,doNotHash:!0,doNotCopy:!0,hashAddressBar:!1});a.removeChild(a.querySelector("button"))})};
//]]></script>
<!--EMBEDEND-->
</head>
<body itemscope="itemscope" itemtype="http://schema.org/Blog">
<div class="navbar no-items section" id="navbar">
</div>
<header id="blog-header">
<div class="section" id="header"><div class="widget Header" data-version="1" id="Header1">
<h1 id="blog-title" itemprop="name headline"><a href="/" itemprop="url">YJL</a></h1>
<div id="blog-description" itemprop="description">You Just Lost?</div>
</div></div>
</header>
<div class="section" id="main"><div class="widget HTML" data-version="1" id="HTML2">
<div class="widget-content">
<div id="system-message" class="wrapper center" style="margin-top: 0.5em; padding: 0.5em 0; background-color: #EEE; color: #F00; font-family: sans;">
As of 2016-02-26, there will be no more posts for this blog. <span style="font-size: 0.25em"><code>s/blog/pba/</code></span>
</div>
</div>
</div><div class="widget Blog" data-version="1" id="Blog1">
<div class="status-msg-wrap">
<div class="status-msg-body">
Showing posts with label <b>vcsstat.sh</b>. <a href="/">Show all posts</a>
</div>
</div>
<div style="clear: both;"></div>
<article id="3755808266458559151" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
<header>
<h2 itemprop="name headline"><a href="/2013/05/gitfiti-and-vcsstatsh.html" itemprop="url">gitfiti and vcsstat.sh</a></h2>
<p>
<time datetime="2013-05-21T08:16:00-07:00" itemprop="datePublished" title="2013-05-21T08:16:00-07:00">Tuesday, May 21, 2013</time>
</p>
<p class="post-labels">
<span itemprop="keywords"><a href="/search/label/Git" rel="tag">Git</a></span>

<span itemprop="keywords"><a href="/search/label/VCS" rel="tag">VCS</a></span>

<span itemprop="keywords"><a href="/search/label/vcsstat.sh" rel="tag">vcsstat.sh</a></span>
</p>
</header>
<meta content="https://lh5.googleusercontent.com/-LBxEscGbTKM/UZuNioCbXSI/AAAAAAAAE0I/6vumCkRuOv4/s72-c/gitfiti%2520and%2520vcsstat.sh%25202013-05-21--23%253A00%253A22.png" itemprop="thumbnailUrl"/>
<div class="wrapper post-content">
<div itemprop="articleBody">
<p><a class="reference external" href="https://github.com/gelstudios/gitfiti">gitfiti</a>, an interesting idea to paint graffiti on GitHubs commit history calendar, though it probably doesnt have much practical value beside <em>becacuse its fun and I can do it!</em></p>
<p>Anyway, I wasnt going to write about it because I didnt want to create repositories just for fun. But I remembered my <a class="reference external" href="https://bitbucket.org/livibetter-backup/vcsstat.sh">vcsstat.sh</a> project, and if you combine both, you can have:</p>
<div class="figure">
<img alt="https://lh5.googleusercontent.com/-LBxEscGbTKM/UZuNioCbXSI/AAAAAAAAE0I/6vumCkRuOv4/s800/gitfiti%2520and%2520vcsstat.sh%25202013-05-21--23%253A00%253A22.png" src="https://lh5.googleusercontent.com/-LBxEscGbTKM/UZuNioCbXSI/AAAAAAAAE0I/6vumCkRuOv4/s800/gitfiti%2520and%2520vcsstat.sh%25202013-05-21--23%253A00%253A22.png"/>
</div>
<p>The creation of gitfiti wasnt quite clear when I started. There were five repositories in the screenshot. I used five because its easier if I messed up with week offset, I could just delete a repository and recreate with correct week offset. Anyway, with vcsstat.sh, two extra modes.</p>
<p>There seemed to be some calculation issue with vcsstat.sh, some days colors are off, but Im not up to fix it.</p>
</div>
<div style="clear:both"></div>
</div>
<div class="wrapper">
</div>
</article>
<article id="9091453224962536270" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
<header>
<h2 itemprop="name headline"><a href="/2013/02/vcsstatsh-commit-calendar-like.html" itemprop="url">vcsstat.sh: Commit calendar like Contributions calendar of GitHub</a></h2>
<p>
<time datetime="2013-02-03T09:25:00-08:00" itemprop="datePublished" title="2013-02-03T09:25:00-08:00">Sunday, February 03, 2013</time>
</p>
<p class="post-labels">
<span itemprop="keywords"><a href="/search/label/GitHub" rel="tag">GitHub</a></span>

<span itemprop="keywords"><a href="/search/label/VCS" rel="tag">VCS</a></span>

<span itemprop="keywords"><a href="/search/label/vcsstat.sh" rel="tag">vcsstat.sh</a></span>
</p>
</header>
<meta content="https://lh6.googleusercontent.com/-pmy5cph0Zw8/UQ6UIjEduyI/AAAAAAAAEaQ/hKDTOZWAuj8/s72-c/vcsstat.sh%2520-%2520commit%2520calendar.png" itemprop="thumbnailUrl"/>
<div class="wrapper post-content">
<div itemprop="articleBody">
<p>One and a half years ago, I <a class="reference external" href="/2011/09/vcsstatsh-listing-stats-of-repos.html">released first version of vcsstat.sh</a> and I regularly use it to check my commit statistics. A few days ago, I stared to modify <a class="reference external" href="https://bitbucket.org/livibetter-backup/vcsstat.sh">vcsstat.sh</a>, then hours ago, I had an idea, inspired by <a class="reference external" href="/2013/01/githubs-new-contributions-tab-on.html">GitHubs Contributions calendar</a>, which they added last month with some other features as new contribution tab in GitHub profile page.</p>
<p>Now, I have similar calendar right in terminal, just the way I like it.</p>
<p>The following screenshot was take from output of new version 0.2. The box-drawing Unicode characters and colors render the different amount of commits. The calendar is just like the one on GitHub, but always starting from ISO week 1 at the leftmost column. The rows are starting from Monday to Sunday, 7 rows for each year.</p>
<div class="figure">
<img alt="https://lh6.googleusercontent.com/-pmy5cph0Zw8/UQ6UIjEduyI/AAAAAAAAEaQ/hKDTOZWAuj8/s800/vcsstat.sh%2520-%2520commit%2520calendar.png" class="no-autoresize" src="https://lh6.googleusercontent.com/-pmy5cph0Zw8/UQ6UIjEduyI/AAAAAAAAEaQ/hKDTOZWAuj8/s800/vcsstat.sh%2520-%2520commit%2520calendar.png"/>
<p class="caption">Commit calendar</p>
</div>
<p>The calendar prints out full years, from year of first commit to year of last commit. You can see there is a header line of abbreviation of months, with the year number replacing the position of January.</p>
<p>The corresponding list of changes, additions and deletion, is shown below.</p>
<div class="figure">
<img alt="https://lh4.googleusercontent.com/-2xZlGFL7Rls/UQ6UJvC3gqI/AAAAAAAAEaY/RCDjyt5tySY/s800/vcsstat.sh.png" class="no-autoresize" src="https://lh4.googleusercontent.com/-2xZlGFL7Rls/UQ6UJvC3gqI/AAAAAAAAEaY/RCDjyt5tySY/s800/vcsstat.sh.png"/>
</div>
<p>This is basically what <tt class="docutils literal">vcsstat.sh</tt> did before, I only added a total number for this output, although I did edit the code for little better performance.</p>
<p>The calendar uses Unicode and ANSI colors to render, some may not like them or environment may not be able to support, so I also added some options to turn them off. Next screenshot shows output without colors:</p>
<div class="figure">
<img alt="https://lh6.googleusercontent.com/-F5Mz3mkaJMk/UQ6UHb827EI/AAAAAAAAEaI/d10VfQSft-I/s800/vcsstat.sh%2520-%2520commit%2520calendar%2520-%2520no%2520color.png" class="no-autoresize" src="https://lh6.googleusercontent.com/-F5Mz3mkaJMk/UQ6UHb827EI/AAAAAAAAEaI/d10VfQSft-I/s800/vcsstat.sh%2520-%2520commit%2520calendar%2520-%2520no%2520color.png"/>
<p class="caption">Disable color output</p>
</div>
<p>The final one is non-Unicode output:</p>
<div class="figure">
<img alt="https://lh6.googleusercontent.com/-jlG8EZDWXok/UQ6UGUB2hnI/AAAAAAAAEaA/xAyiYmPZFQA/s800/vcsstat.sh%2520-%2520commit%2520calendar%2520-%2520no%2520Unicode.png" class="no-autoresize" src="https://lh6.googleusercontent.com/-jlG8EZDWXok/UQ6UGUB2hnI/AAAAAAAAEaA/xAyiYmPZFQA/s800/vcsstat.sh%2520-%2520commit%2520calendar%2520-%2520no%2520Unicode.png"/>
<p class="caption">Disable Unicode output</p>
</div>
<p>There may be some confusing between different outputs, but the calendar isId sayjust for <em>a feeling</em>, dont look into it too seriously. If you would like to try it, go to <a class="reference external" href="https://bitbucket.org/livibetter-backup/vcsstat.sh">vcsstat.sh</a> project. Its just a Bash script and it can scan current (sub-)directory of Git or Mercurial repositories.</p>
</div>
<div style="clear:both"></div>
</div>
<div class="wrapper">
</div>
</article>
<article id="2142653644477841512" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
<header>
<h2 itemprop="name headline"><a href="/2011/09/vcsstatsh-listing-stats-of-repos.html" itemprop="url">vcsstat.sh: Listing stats of repos</a></h2>
<p>
<time datetime="2011-09-02T22:45:00-07:00" itemprop="datePublished" title="2011-09-02T22:45:00-07:00">Friday, September 02, 2011</time>
</p>
<p class="post-labels">
<span itemprop="keywords"><a href="/search/label/Git" rel="tag">Git</a></span>

<span itemprop="keywords"><a href="/search/label/Mercural" rel="tag">Mercural</a></span>

<span itemprop="keywords"><a href="/search/label/VCS" rel="tag">VCS</a></span>

<span itemprop="keywords"><a href="/search/label/vcsstat.sh" rel="tag">vcsstat.sh</a></span>
</p>
</header>
<div class="wrapper post-content">
<div itemprop="articleBody">
<div class="note">
<p class="first admonition-title">Note</p>
<p class="last">a <a class="reference external" href="/2013/02/vcsstatsh-commit-calendar-like.html">new blog post</a> and new version of <a class="reference external" href="https://bitbucket.org/livibetter-backup/vcsstat.sh">this script</a> have been published, it adds new option for Commit calendar like Contributions calendar in a GitHub profile page. (2013-02-03T17:30:40Z)</p>
</div>
<p>Here is the quick stuff to understand what this is:</p>
<pre class="literal-block">
$ vcsstat.sh -h

vcsstat.sh [''|AUTHOR_NAME [''|HG_DATESPEC [''|GIT_SINCE [''|GIT_UNTIL]]]]

Every argument is basically optional, however you need to use '' to indicate
that you are not specifying it.

HG_DATESPEC Examples
====================

  &quot;2011-08&quot;
  &quot;2011-01 to 2011-03&quot; # Jan. to Mar. in 2011
  &quot;&gt;2011-05&quot;           # Since May.
  &quot;-3&quot;                 # Last three days

See hg manpage for DATE FORMATS section.

GIT_SINCE and GIT_UNTIL Examples
================================

  &quot;2011-01-23&quot;
  &quot;yesterday&quot;
  &quot;2 weeks ago&quot;

See..., uhm I have no idea where to look at. gitrevisions manpage for
date specification, perhaps?
</pre>
<p>You can grab <a class="reference external" href="https://bitbucket.org/livibetter-backup/vcsstat.sh">the script here</a>.</p>
<p>The script will list all directories and look for VCSes special hidden directory. Currently (and probably only will be), it only supports Git and Mercurial (Hg).
As you can see, there are two types datespec used. Git and Hg have some differences, I need to separate into two.</p>
<p>Its MITd and hosted on GitHub, feel free to request features or even better, open pull requests! (Patch might be more suitable, or you need to publicly fork my dotfiles on GitHub).</p>
<p>I wrote this because I believed I had caffeine overdose (xD), but clearly, from the screenshot above, I didnt have.</p>
<p><em>Gotta have my cup, gotta have caffeine!</em></p>
<p><em>Shoot! Its already Saturday.</em></p>
<p><em>(I know, I know its old but still have too much caffeine in my brain, thats all I can come up with. ;)</em></p>
<p><em>Edit: Damn forgot this blogs timezone is set to Pacific time Its still FRIDAY, YEAH!</em></p>
<p><em>*** WARNING: This blog owner is BUI (Blogging Under Influence)! ***</em></p>
<!-- ** -->
</div>
<div style="clear:both"></div>
</div>
<div class="wrapper">
</div>
</article>
<div class="wrapper">
<div class="blog-pager" id="blog-pager">
<span id="blog-pager-older-link">
<a class="blog-pager-older-link" href="/search/label/vcsstat.sh?updated-max=2011-09-02T22:45:00-07:00&amp;max-results=20&amp;start=20&amp;by-date=false" id="Blog1_blog-pager-older-link" title="Older Posts">
Older Posts
</a>
</span>
</div>
<div class="blog-feeds">
<div class="feed-links">
Subscribe to:
<a class="feed-link" href="/feeds/posts/default" target="_blank" type="application/atom+xml">Posts (Atom)</a>
</div>
</div>
</div>
</div></div>
<!-- #posts -->
<div class="wrapper" style="margin-top: 1em">
<!-- yjlv-posts-responsive -->
<ins class="adsbygoogle" data-ad-client="ca-pub-7147644389863728" data-ad-format="auto" data-ad-slot="7151755432" style="display:block"></ins>
</div>
<div class="no-items section" id="footer-widgets-bottom"></div>
<footer id="blog-footer">
<nav>
<div>
<a href="/" title="home">~</a>
<span>Home</span>
</div>
<div>
<a href="/p/about.html" title="about">?</a>
<span>About</span>
</div>
<div>
<a href="/p/search.html" title="search">/</a>
<span>Search</span>
<form action="https://cse.google.com/cse/publicurl" method="GET">
<input name="cx" type="hidden" value="partner-pub-7147644389863728:xce1b-ppo12"/>
<input name="q" size="10" type="text"/>
</form>
</div>
<div>
<span title="copyright">&copy;</span>
<span id="copyright">
            Copyright 2008-2016
            <span itemprop="author copyrightHolder" itemscope="itemscope" itemtype="http://schema.org/Person">
<span itemprop="name">
<a href="https://" itemprop="url">Yu-Jie Lin</a>
</span>
</span>
</span>
</div>
</nav>
</footer>
<script async="async" src="//http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
      // <!-- yjlv-posts-bottom-800x100 -->
      (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
  <!--
  
<script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/455585668-widgets.js"></script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script type='text/javascript'>
window['__wavt'] = 'AOuZoY6qU_V8SNbdqW6LBOaiQEro1gim2A:1475477997050';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d3803541356848955053','//blog.yjl.im/search/label/vcsstat.sh','3803541356848955053');
_WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '3803541356848955053', 'bloggerUrl': 'https://www.blogger.com', 'title': 'YJL', 'pageType': 'index', 'url': '/search/label/vcsstat.sh', 'canonicalUrl': '/search/label/vcsstat.sh', 'homepageUrl': '/', 'searchUrl': '/search', 'canonicalHomepageUrl': '/', 'blogspotFaviconUrl': '/favicon.ico', 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'useUniversalAnalytics': false, 'searchLabel': 'vcsstat.sh', 'pageName': 'vcsstat.sh', 'pageTitle': 'YJL: vcsstat.sh', 'encoding': 'UTF-8', 'locale': 'en', 'localeUnderscoreDelimited': 'en', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'languageDirection': 'ltr', 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22YJL - Atom\x22 href\x3d\x22/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22YJL - RSS\x22 href\x3d\x22/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22YJL - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/3803541356848955053/posts/default\x22 /\x3e\n', 'meTag': '\x3clink rel\x3d\x22me\x22 href\x3d\x22https://plus.google.com/115422682039760465813\x22 /\x3e\n', 'openIdOpTag': '\x3clink rel\x3d\x22openid.server\x22 href\x3d\x22https://www.blogger.com/openid-server.g\x22 /\x3e\n\x3clink rel\x3d\x22openid.delegate\x22 href\x3d\x22/\x22 /\x3e\n', 'googleProfileUrl': 'https://plus.google.com/115422682039760465813', 'mobileHeadScript': '', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/562abda2797a1a23', 'plusOneApiSrc': 'https://apis.google.com/js/plusone.js', 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'Twitter', 'key': 'twitter', 'shareMessage': 'Share to Twitter', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Google+', 'key': 'googlePlus', 'shareMessage': 'Share to Google+', 'target': 'googleplus'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'googlePlusShareButtonWidth': 300, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}}}, {'name': 'features', 'data': {'widgetVisibility': true}}, {'name': 'messages', 'data': {'linkCopiedToClipboard': 'Link copied to clipboard!', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'YJL', 'description': 'You Just Lost?', 'url': '/search/label/vcsstat.sh', 'type': 'feed', 'isPage': false, 'isPost': false, 'isHomepage': false, 'isArchive': false, 'isSearch': true, 'search': {'label': 'vcsstat.sh', 'resultsMessage': 'Showing posts with the label vcsstat.sh', 'resultsMessageHtml': 'Showing posts with the label \x3cspan class\x3d\x27search-label\x27\x3evcsstat.sh\x3c/span\x3e'}}}]);
_WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', null, document.getElementById('Header1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'main', null, document.getElementById('HTML2'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', null, document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'navMessage': 'Showing posts with label \x3cb\x3evcsstat.sh\x3c/b\x3e. \x3ca href\x3d\x22/\x22\x3eShow all posts\x3c/a\x3e'}, 'displayModeFull'));
</script>
</body>
  -->
  </body>
</html>