Skip to content
View gosugamers_parser.exs
defmodule GosugamersParser do
use Hound.Helpers
require Logger
def start do
|> -> fetch_tournaments(&1) end))
|>, 100000))
|> List.flatten

Front-End Challenge

The setting

We want to pay one of our advisors. We direct him to a page where he can see he's going to be paid $100. At the bottom of the page he will be able to choose if a part of his earnings will go to charity.

The challenge

Implement with html, css and js the following radio buttons selection.

View sliding_panel.sass
$width: 480px
+box-shadow(-1px 1px 2px rgba(0,0,0,.3))
+animation(slide 0.5s forwards)
position: fixed
bottom: 0
top: 0
right: -$width
z-index: 100
View online_detailed_logging.rb
# Outputs this at warn log level:
# GET /path 200 OK BlahController#action HTML 938.2 (DB 11.8, View 719.7) {params} {optional params from flash[:log]}
# Save as config/initializers/oneline_detailed_logging.rb. Consider
# decreasing the log level from "info" to "warn" (in production.rb) so
# the one-line log message replaces the standard request logs.
# override process_action to add 2 things to the payload:
# - remote IP
set fish_git_dirty_color red
set fish_git_branch_color purple
set fish_ruby_version_color yellow
function prompt_git_dirty
git diff > /dev/null 2>&1
if test $status != 0
echo ''
View question.rb
include Tire::Model::Search
include Tire::Model::Callbacks
settings :analysis => {
:filter => {
:ngram_filter => {
:type => 'edgeNGram',
:min_gram => 1,
:max_gram => 10,
:side => 'front'
Something went wrong with that request. Please try again.