Skip to content

Commit

Permalink
tweak the noise level
Browse files Browse the repository at this point in the history
  • Loading branch information
Visnu Pitiyanuvath committed Sep 5, 2010
1 parent a0ac147 commit 5ea0c6a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Binary file modified designs/noise.pxm
Binary file not shown.
Binary file modified public/images/noise.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion script/winners
Expand Up @@ -4,7 +4,7 @@ require 'rubygems'
require 'mongo'
require 'json'

puts `curl -X POST http://localhost:8000/scores/refresh`
#puts `curl -X POST http://localhost:8000/scores/refresh`

db = Mongo::Connection.new.db "nodeknockout"
@db_teams = db.collection 'Team'
Expand Down Expand Up @@ -67,3 +67,11 @@ puts "\nPOPULARITY"
@db_teams.find({ :validDeploy => true }, { :sort => [['score.final.popularity', -1]], :limit => 5}).each do |t|
output t, 'popularity', t['score']['final']['popularity']
end

@winners.values.each do |t|
puts t['name']
t['members'].each do |p|
p = @db_people.find({ :_id => p['_id'] }).first
puts " #{p['name']} <#{p['email']}>"
end
end

0 comments on commit 5ea0c6a

Please sign in to comment.