Skip to content

Commit 5ea0c6a

Browse files
author
Visnu Pitiyanuvath
committed
tweak the noise level
1 parent a0ac147 commit 5ea0c6a

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

designs/noise.pxm

543 Bytes
Binary file not shown.

public/images/noise.png

-748 Bytes
Loading

script/winners

+9-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require 'rubygems'
44
require 'mongo'
55
require 'json'
66

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

99
db = Mongo::Connection.new.db "nodeknockout"
1010
@db_teams = db.collection 'Team'
@@ -67,3 +67,11 @@ puts "\nPOPULARITY"
6767
@db_teams.find({ :validDeploy => true }, { :sort => [['score.final.popularity', -1]], :limit => 5}).each do |t|
6868
output t, 'popularity', t['score']['final']['popularity']
6969
end
70+
71+
@winners.values.each do |t|
72+
puts t['name']
73+
t['members'].each do |p|
74+
p = @db_people.find({ :_id => p['_id'] }).first
75+
puts " #{p['name']} <#{p['email']}>"
76+
end
77+
end

0 commit comments

Comments
 (0)