Skip to content

Instantly share code, notes, and snippets.

require_relative "scraper"
def print_list(list)
list.each_with_index do |article, index|
if article[:bought]
puts "#{index + 1} - #{article[:name]} - (#{article[:price]}€)[X]"
else
puts "#{index + 1} - #{article[:name]} - (#{article[:price]}€)[-]"
end
end
@Papillard
Papillard / app.css
Last active August 29, 2015 14:27 — forked from anonymous/app.css
Playing with trello part 2 (read/write)
body {
text-align: center;
padding: 50px;
font-size: 20px;
}
ul {
list-style: none;
}
ul li {
cursor: pointer;