Played Challenges
Simple, Practical, and Common - 33929 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: #4162 / 7489
- Number of attempts: 4
Extract argument from function - 2379 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 16
- Position: #496 / 760
- Number of attempts: 2
ASCII box - 354 entries
Don't forget to fix typos!
- Best score: 23
- Best player score: 25
- Position: #57 / 109
- Number of attempts: 4
Mute the second method of this script - 456 entries
prepend a # infront of every line of the second method
- Best score: 8
- Best player score: 10
- Position: #162 / 240
- Number of attempts: 1
I forgot quotes - 16127 entries
Oops.
- Best score: 10
- Best player score: 20
- Position: #3624 / 4208
- Number of attempts: 1
Mess in revision history - 1210 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 27
- Position: #159 / 254
- Number of attempts: 1
Going underground.... - 357 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: #124 / 129
- Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10720 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 14
- Position: #2634 / 3703
- Number of attempts: 3
attr_aligner - 3525 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 31
- Position: #401 / 706
- Number of attempts: 9
quotes inside quotes - 3185 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: 14
- Best player score: 17
- Position: #781 / 1086
- Number of attempts: 1
Words in parens - 13005 entries
We should all ace this, right?
- Best score: 13
- Best player score: 15
- Position: #1440 / 3979
- Number of attempts: 5
Minimalist Limerick - 520 entries
Reproduce this lovely poem.
- Best score: 30
- Best player score: 63
- Position: #171 / 174
- Number of attempts: 2
replacing each line of a block selection - 3026 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 33
- Position: #712 / 783
- Number of attempts: 2
switch variable - 5101 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 14
- Position: #1347 / 1756
- Number of attempts: 1
remove dupes from array - 1361 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: #301 / 338
- Number of attempts: 3
Ruby 1.9 hashes - 1277 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: #349 / 413
- Number of attempts: 1
Shebangs for all - 2062 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: #465 / 525
- Number of attempts: 1
Change the content of a string - 1750 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #141 / 639
- Number of attempts: 7
Whitespace, empty lines and tabs - 3949 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 33
- Position: #656 / 841
- Number of attempts: 1
Reformat/Refactor a Golfer Class - 7506 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 76
- Position: #1771 / 1846
- Number of attempts: 1
Almog
Twitter: @almog
המרת נופים בכתובות \ וזכרונות רופפים בתאריכים מקובעים \ מכל האהבות לרשום את הנישואין בלבד \ ומהילדים רק את אלו שנולדו
VimGolf