Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add 2024 edition wheel prizes #387

Merged
merged 2 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed data/prizes/audiotechnica.png
Binary file not shown.
Binary file removed data/prizes/bloco.png
Binary file not shown.
Binary file removed data/prizes/caneca.png
Binary file not shown.
Binary file removed data/prizes/caneta.png
Binary file not shown.
Binary file removed data/prizes/contest_entry.png
Binary file not shown.
Binary file removed data/prizes/drone.png
Binary file not shown.
Binary file removed data/prizes/echo_dot.png
Binary file not shown.
Binary file removed data/prizes/google_nest_mini.png
Binary file not shown.
Binary file added data/prizes/images/airfrier.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added data/prizes/images/entries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/fnac-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/gomas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/googlenest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/headsetartic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/hoodie-sei-22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions data/prizes/images/jantar_empresarial.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/kitchaves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions data/prizes/images/lucky_bastard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/miband.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/mousepad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added data/prizes/images/odisseias.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/powerbank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/sei-22-caneca.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/prizes/images/sei-23-caneca.png
Binary file added data/prizes/images/steam-card.png
Binary file added data/prizes/images/tokens.png
Binary file removed data/prizes/jbl_flip_5.png
Diff not rendered.
Binary file removed data/prizes/jbl_go_3.png
Diff not rendered.
Binary file removed data/prizes/miband5.png
Diff not rendered.
Binary file removed data/prizes/nothing.png
Diff not rendered.
21 changes: 21 additions & 0 deletions data/prizes/prizes.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name,max_amount_per_attendee,stock,probability,is_redeemable,path_to_image
Air Fryer,1,1,0.0008,yes,data/prizes/images/airfrier.png
Odisseias,1,1,0.0008,yes,data/prizes/images/odisseias.png
Nest Mini,1,1,0.00085,yes,data/prizes/images/googlenest.png
Powerbank,1,1,0.0009,yes,data/prizes/images/powerbank.png
Mi Band,1,1,0.00085,yes,data/prizes/images/miband.png
Cartão Fnac 15€,1,4,0.0011,yes,data/prizes/images/fnac-card.png
Cartão Steam 10€,1,4,0.0011,yes,data/prizes/images/steam-card.png
Set Ferramentas,1,1,0.0009,yes,data/prizes/images/kitchaves.png
Mousepad,1,3,0.00012,yes,data/prizes/images/mousepad.png
Fones Bluetooth,1,3,0.00012,yes,data/prizes/images/headsetartic.png
Hoodie SEI'22,1,9,0.0025,yes,data/prizes/images/hoodie-sei-22.png
Caneca SEI'22,1,9,0.0025,yes,data/prizes/images/sei-22-caneca.png
Caneca SEI'23,1,9,0.0025,yes,data/prizes/images/sei-23-caneca.png
Chocolates,1,96,0.015,yes,data/prizes/images/chocolates.png
Gomas,1,200,0.03,yes,data/prizes/images/gomas.png
1 Entrada no Jantar Empresarial,1,2,0.002,no,data/prizes/images/jantar_empresarial.svg
Lucky Bastard,1,999999,0.1,no,data/prizes/images/lucky_bastard.svg
Tokens,999999,999999,0.07,no,data/prizes/images/tokens.png
Entradas para o sorteio final,999999,999999,0.17,no,data/prizes/images/entries.png
Nada,999999,999999,0.59796,no,data/prizes/images/nada.png
Binary file removed data/prizes/raspberry_pi_4.png
Diff not rendered.
Binary file removed data/prizes/sticker_cesium.png
Diff not rendered.
Binary file removed data/prizes/sticker_sei_logo.png
Diff not rendered.
Binary file removed data/prizes/sticker_sei_mascot.png
Diff not rendered.
Binary file removed data/prizes/token.png
Diff not rendered.
Binary file removed data/prizes/tshirt.png
Diff not rendered.
Binary file removed data/prizes/voucher10.png
Diff not rendered.
Binary file removed data/prizes/voucher20.png
Diff not rendered.
Binary file removed data/prizes/voucher50.png
Diff not rendered.
Binary file removed data/prizes/xbox_gamepass_ultimate_3m.png
Diff not rendered.
Binary file removed data/prizes/xbox_series_x.png
Diff not rendered.
Binary file removed data/roulette/cartao.png
Diff not rendered.
Binary file removed data/roulette/dinner.png
Diff not rendered.
Binary file removed data/roulette/entries.png
Diff not rendered.
Binary file removed data/roulette/jbl.png
Diff not rendered.
Binary file removed data/roulette/luckybastard.png
Diff not rendered.
Binary file removed data/roulette/mascote-SEI22.png
Diff not rendered.
Binary file removed data/roulette/merch_cesium.png
Diff not rendered.
Binary file removed data/roulette/merch_sei.png
Diff not rendered.
Binary file removed data/roulette/ssd.png
Diff not rendered.
Binary file removed data/roulette/tokens.png
Diff not rendered.
Binary file removed data/roulette/wacom.png
Diff not rendered.
Binary file removed data/roulette/xiaomi.png
Diff not rendered.
15 changes: 0 additions & 15 deletions data/wheel.csv

This file was deleted.

2 changes: 1 addition & 1 deletion priv/repo/seeds/roulette.exs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule Safira.Repo.Seeds.Roulette do
end

defp seed_prizes do
Prizes.run(["data/wheel.csv"])
Prizes.run(["data/prizes/prizes.csv"])
end

defp seed_spins do
Expand Down
Loading