Skip to content

Instantly share code, notes, and snippets.

@tsnow
Created February 1, 2013 19:00
Show Gist options
  • Save tsnow/4693289 to your computer and use it in GitHub Desktop.
Save tsnow/4693289 to your computer and use it in GitHub Desktop.
Ridecharge C# JSON Parsing Assignment

Spend 5 literal minutes thinking about:

  • How much time you have to devote to this exercise?
  • How can you verify that your solution is correct?

Then:

  1. Fork this gist and clone it locally.
  2. Send tsnowhite@taximagic.com and aharris@taximagic.com a link to your forked gist, along with an estimate of how long the solution should take in man-hours and an estimate of when you will be finished.
  3. Complete the exercise.
  4. Send tsnowhite@taximagic.com and aharris@taximagic.com a link to your forked gist, along with the actual amount of time you spent on the problem, and a discussion of your solution. If you rely on external dependencies, please include instructions on how to acquire and install them (NuGet, etc.) along with any additional notes and requirements.

Create a C# command line application utilizing http://www.githubarchive.org/ which has the following options:

   C:\> gh_repo_stats -h
   gh_repo_stats [--after DATETIME] [--before DATETIME] [--event EVENT_NAME]

And responds like so:

   C:\> gh_repo_stats --after '2012-03-08T00:00:00Z' --before '2012-03-08T01:00:00Z' --event WatchEvent
   FortAwesome/Font-Awesome - 20 events
   twitter/bootstrap - 8 events
   yodasw16/date-picker - 8 events
   jondot/graphene - 5 events
   jkbr/httpie - 4 events
   edjafarov/remote-impress - 4 events
   arturadib/shelljs - 3 events
   thoughtbot/bourbon - 3 events
   xk/node-threads-a-gogo - 2 events
   kartograph/kartograph.py - 2 events
   Induction/Induction - 2 events
   ajaxorg/cloud9 - 1 event
   pa7/heatmap.js - 1 event
   fuelphp/kernel - 1 event
   documentcloud/backbone - 1 event
   johnjbarton/UglifyJS - 1 event
   jquery/jquery - 1 event
   zendframework/zf2 - 1 event
   umpirsky/country-list - 1 event
   ncb000gt/node-cron - 1 event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment