Played Challenges
Simple, Practical, and Common - 34031 entries
Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.
- Best score: 22
- Best player score: 28
- Position: #4174 / 7520
- Number of attempts: 4
Extract argument from function - 2430 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 16
- Position: #506 / 774
- Number of attempts: 2
ASCII box - 379 entries
Don't forget to fix typos!
- Best score: 23
- Best player score: 25
- Position: #59 / 112
- Number of attempts: 4
Mute the second method of this script - 466 entries
prepend a # infront of every line of the second method
- Best score: 8
- Best player score: 10
- Position: #166 / 247
- Number of attempts: 1
I forgot quotes - 16255 entries
Oops.
- Best score: 10
- Best player score: 20
- Position: #3639 / 4229
- Number of attempts: 1
Mess in revision history - 1238 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 27
- Position: #162 / 260
- Number of attempts: 1
Going underground.... - 377 entries
Simple reformatting: in this case changing from the format London underground supplies its customers with, to the format that Google Calendar likes...
- Best score: 22
- Best player score: 54
- Position: #126 / 131
- Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10757 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 14
- Position: #2642 / 3717
- Number of attempts: 3
attr_aligner - 3569 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 7
- Best player score: 31
- Position: #406 / 712
- Number of attempts: 9
quotes inside quotes - 3210 entries
taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)
- Best score: 7
- Best player score: 17
- Position: #788 / 1097
- Number of attempts: 1
Words in parens - 13063 entries
We should all ace this, right?
- Best score: 13
- Best player score: 15
- Position: #1450 / 3995
- Number of attempts: 5
Minimalist Limerick - 540 entries
Reproduce this lovely poem.
- Best score: 30
- Best player score: 63
- Position: #175 / 178
- Number of attempts: 2
replacing each line of a block selection - 3070 entries
replace each line's ../assets/js with /javascripts
- Best score: 7
- Best player score: 33
- Position: #719 / 791
- Number of attempts: 2
switch variable - 5136 entries
how fast can you switch two variable ?
- Best score: 9
- Best player score: 14
- Position: #1357 / 1767
- Number of attempts: 1
remove dupes from array - 1379 entries
given a random string that contains a ruby-esque array, make sure that there are no duplicate elements
- Best score: 17
- Best player score: 29
- Position: #303 / 342
- Number of attempts: 3
Ruby 1.9 hashes - 1315 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: 18
- Position: #356 / 421
- Number of attempts: 1
Shebangs for all - 2105 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 23
- Position: #471 / 534
- Number of attempts: 1
Change the content of a string - 1810 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #141 / 659
- Number of attempts: 7
Whitespace, empty lines and tabs - 4083 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 7
- Best player score: 33
- Position: #677 / 872
- Number of attempts: 1
Reformat/Refactor a Golfer Class - 7737 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 76
- Position: #1822 / 1901
- Number of attempts: 1
Almog
Twitter: @almog
המרת נופים בכתובות \ וזכרונות רופפים בתאריכים מקובעים \ מכל האהבות לרשום את הנישואין בלבד \ ומהילדים רק את אלו שנולדו
VimGolf