Skip to content

Instantly share code, notes, and snippets.

Parsing and analyzing all of the source code.

Timothy Clem tclem

Parsing and analyzing all of the source code.
View GitHub Profile
View histogram.html
<!DOCTYPE html>
<script type="text/javascript" src="../../d3.js"></script>
<script type="text/javascript" src="../../d3.layout.js"></script>
<script type="text/javascript" src="pseudoMathStats.js"></script>
<script type="text/javascript" src="lhc.js"></script>
<style type="text/css">
View file1.txt
this is a file
tclem / libgit2sharp.cs
Created Mar 28, 2011
API design thoughts for libgit2sharp
View libgit2sharp.cs
using (var repo = new Repository("path\to\repo.git"))
// Object lookup
var obj = repo.Lookup("sha");
var commit = repo.Lookup<Commit>("sha");
var tree = repo.Lookup<Tree>("sha");
var tag = repo.Lookup<Tag>("sha");
// Rev walking
foreach (var c in repo.Commits.Walk("sha")) { }
View ring.cs
using System.Diagnostics;
using System.Threading;
namespace ErlanCompetition
internal class Program
#region private
private static void Main()