Skip to content

Instantly share code, notes, and snippets.

/*
HTTP Host: static.ak.fbcdn.net
Generated: April 26th 2010 3:53:31 PM PDT
Machine: 10.16.139.107
Locale: nu_ll
Path: js/19khsprwvtvokwow.pkg.js
*/
if (window.CavalryLogger) { CavalryLogger.start_js(["js\/19khsprwvtvokwow.pkg.js"]); }
<!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.