Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 12 lines (10 sloc) 0.346 kb
1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env ruby

data, code = eval(File.read "profil"), File.read(ARGV.first)
commit = follower = score = 0
class Fixnum; def method_missing(m); $repo[m.to_s]; end; end
data["repositories"].each do |repo|
  repository, $repo = 0, repo
  eval code
  score += repository
end
puts score + data["commits"] * commit + data["followers"] * follower
Something went wrong with that request. Please try again.