Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/technicalpickles/voteontherandom
entry for barcamp boston programming contest
https://github.com/technicalpickles/voteontherandom
Last synced: about 1 month ago
JSON representation
entry for barcamp boston programming contest
- Host: GitHub
- URL: https://github.com/technicalpickles/voteontherandom
- Owner: technicalpickles
- Created: 2009-04-25T21:13:36.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-04-26T20:50:38.000Z (over 15 years ago)
- Last Synced: 2024-10-14T21:52:21.982Z (3 months ago)
- Language: JavaScript
- Homepage: http://voteontherandom.heroku.com
- Size: 2.73 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
carrot http://www.flickr.com/photos/nickwheeleroz/2281759696/ #ff441c
gps http://www.flickr.com/photos/joc67/774419510/ #927f88
sports bra http://www.flickr.com/photos/cpbills/2766064375/ ##00cb8e
tie rack http://www.flickr.com/photos/joebeone/2240389708/ #830000
kitten http://www.flickr.com/photos/paulesson/2353322369/ #712d2b
jenga http://www.flickr.com/photos/sincretic/2142724926/ #140909
kathy lee gifford http://www.flickr.com/photos/greginhollywood/3321147050/ #a18061
scheme http://ecx.images-amazon.com/images/I/51Y1M205THL.jpg #639ac8
physics http://www.flickr.com/photos/forgottenstar27/2341994602/ #c69026
nand gate http://www.flickr.com/photos/priskiller/454192540/ #322c3fcolors = {
'carrot' => 'ff441c',
'gps' => '927f88' ,
'sports-bra' => '00cb8e',
'tie-rack' => '830000',
'kitten' => '712d2b' ,
'jenga' => '140909',
'kathy-lee-gifford' => 'a18061' ,
'scheme' => '639ac8' ,
'physics' => 'c69026',
'nand-gates' => '322c3f'
}
colors.each_pair do |id, color|
the_random = TheRandom.find(id)
the_random.update_attributes!(:color => color)
end