Played Challenges
Search and Replace 0 - 4951 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 15
- Position: #1082 / 1614
- Number of attempts: 1
Ruby 1.9 hashes - 1228 entries
Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!
- Best score: 12
- Best player score: 21
- Position: #375 / 403
- Number of attempts: 1
A Simple One - 1033 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...
- Best score: 9
- Best player score: 9
- Position: #124 / 656
- Number of attempts: 2
Ruby 1.9 compat - 624 entries
Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!
- Best score: 14
- Best player score: 19
- Position: #187 / 232
- Number of attempts: 1
Reverse Simple Deletion - 845 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 15
- Position: #405 / 457
- Number of attempts: 2
Get rid of html tags - 383 entries
Want to read more about Vim's background? Then get rid of those html tags...
- Best score: 15
- Best player score: 17
- Position: #56 / 224
- Number of attempts: 1
Change the content of a string - 1536 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 31
- Position: #530 / 576
- Number of attempts: 1
Sort and add attributes - 1418 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 34
- Position: #301 / 551
- Number of attempts: 2
Whitespace, empty lines and tabs - 3559 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 28
- Position: #458 / 768
- Number of attempts: 2
garygordon
Twitter: @garygordon
Ruby on Rails developer