Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="facebook" class=" no_js">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-language" content="en" />
<script type="text/javascript">
//<![CDATA[
CavalryLogger=false;window._is_quickling_index="";
//]]>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
using namespace std;
int main ()
{
#!/usr/bin/env ruby
# The "real" count of rubygems on github
lines = `gem list -r -s http://gems.github.com`.split("\n")
gems = lines.map{|line| line.split('-')[1].split[0]}.uniq
puts gems.size
# Outputs 3140 as of this writing.
@matasar
matasar / keybase.md
Created March 25, 2015 21:33
Keybase proof

Keybase proof

I hereby claim:

  • I am matasar on github.
  • I am matasar (https://keybase.io/matasar) on keybase.
  • I have a public key whose fingerprint is 7DA0 62DC 46FD 9AF0 0ADB 749A 026F AC25 9E44 F3D4

To claim this, I am signing this object: