Played Challenges
New teacher - 923 entries
Update the details of the new CS teacher.
- Best score: 19
- Best player score: 22
- Position: #47 / 194
- Number of attempts: 4
Remove line numbers - 736 entries
From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.
- Best score: 9
- Best player score: 24
- Position: #139 / 198
- Number of attempts: 2
Fix the shell script! - 2544 entries
Fix the shell script with the fewest keystrokes!
- Best score: 26
- Best player score: 26
- Position: #51 / 589
- Number of attempts: 10
Visual block training - 1070 entries
You see the input. You see the output. Go.
- Best score: 17
- Best player score: 31
- Position: #92 / 204
- Number of attempts: 4
Inverting Lines - 1900 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 10
- Position: #204 / 511
- Number of attempts: 4
Wrap the text of an email message to 79 characters - 766 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 9
- Position: #382 / 410
- Number of attempts: 2
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 18
- Position: #1308 / 1624
- Number of attempts: 1
VimGolfNight - 560 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #171 / 347
- Number of attempts: 2
Two become one - 713 entries
We have two c arrays and want to make one two dimensional out of it. Can we do that?
- Best score: 25
- Best player score: 26
- Position: #22 / 208
- Number of attempts: 12
Piphilology - 144 entries
Piphilology comprises the creation and use of mnemonic techniques to remember a span of digits of the mathematical constant π. http://en.wikipedia.org/wiki/Piphilology
- Best score: 28
- Best player score: 29
- Position: #6 / 52
- Number of attempts: 3
Shuffle puzzle - 346 entries
Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.
- Best score: 13
- Best player score: 13
- Position: #6 / 104
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10663 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #25 / 3683
- Number of attempts: 3
attr_aligner - 3520 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 19
- Position: #39 / 702
- Number of attempts: 8
Counting in binary - 526 entries
"a" represents 0; "A" represents 1. Start from zero and count to 15.
- Best score: 16
- Best player score: 16
- Position: #5 / 117
- Number of attempts: 11
Letter case trickery - 1630 entries
This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.
- Best score: 9
- Best player score: 10
- Position: #77 / 518
- Number of attempts: 8
quotes inside quotes - 3159 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: 14
- Position: #88 / 1078
- Number of attempts: 4
Words in parens - 12935 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #226 / 3963
- Number of attempts: 3
Hole-in-one - 1018 entries
Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.
- Best score: 15
- Best player score: 16
- Position: #49 / 304
- Number of attempts: 7
Readable Rubyhash - 267 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: 23
- Best player score: 24
- Position: #11 / 95
- Number of attempts: 9
Saving the hashes(#) - 2063 entries
The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.
- Best score: 20
- Best player score: 20
- Position: #19 / 480
- Number of attempts: 10
Let's play some Ivmgolf - 1118 entries
Oops, I spelled that wrong.
- Best score: 7
- Best player score: 7
- Position: #55 / 445
- Number of attempts: 6
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #234 / 1748
- Number of attempts: 3
Generate Fibonacci Numbers - 280 entries
Use your super vim powers to generate Fibonacci Numbers.
- Best score: 19
- Best player score: 21
- Position: #45 / 100
- Number of attempts: 2
Reformat long lines - 358 entries
Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.
- Best score: 15
- Best player score: 21
- Position: #89 / 134
- Number of attempts: 2
Generate English Alphabets - 487 entries
Start with a, get up to z.
- Best score: 19
- Best player score: 25
- Position: #86 / 206
- Number of attempts: 1
The holy-grail may help - 366 entries
Can you find it in less than 20 strokes, Arthur?
- Best score: 16
- Best player score: 16
- Position: #61 / 209
- Number of attempts: 1
A Simple One - 1050 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: #138 / 664
- Number of attempts: 1
82 bottles of beer on the wall - 313 entries
Take them down. (sorry, only 82 bottles because the problem size is limited!)
- Best score: 106
- Best player score: 144
- Position: #109 / 146
- Number of attempts: 1
Ruby 1.9 compat - 629 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: 21
- Position: #208 / 234
- Number of attempts: 1
Indentation - 542 entries
Indent each line according to the right number of spaces it needs.
- Best score: 20
- Best player score: 60
- Position: #170 / 178
- Number of attempts: 1
Turn this csv list into queries - 252 entries
Transform each line of this csv file into a MySQL-ready INSERT query.
- Best score: 98
- Best player score: 114
- Position: #35 / 101
- Number of attempts: 3
Context insensitive completion 0 - 577 entries
Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.
- Best score: 6
- Best player score: 12
- Position: #232 / 246
- Number of attempts: 1
Context Insensitive completion 1 - 498 entries
Finish writing this simple Python HTTP server.
- Best score: 18
- Best player score: 18
- Position: #42 / 245
- Number of attempts: 4
Reformat a C golf submission - 604 entries
Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.
- Best score: 22
- Best player score: 39
- Position: #163 / 208
- Number of attempts: 1
Get rid of html tags - 398 entries
Want to read more about Vim's background? Then get rid of those html tags...
- Best score: 12
- Best player score: 21
- Position: #178 / 230
- Number of attempts: 1
Change the content of a string - 1580 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 27
- Position: #434 / 588
- Number of attempts: 1
Braces or Brackets? - 1015 entries
Someone forgot whether to use braces or brackets and you have to clean up their code!
- Best score: 34
- Best player score: 54
- Position: #262 / 315
- Number of attempts: 1
Whitespace, empty lines and tabs - 3665 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 22
- Position: #260 / 787
- Number of attempts: 6
Simple text editing with Vim - 12811 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 13
- Position: #228 / 3694
- Number of attempts: 4
Reformat/Refactor a Golfer Class - 6982 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 32
- Position: #83 / 1706
- Number of attempts: 12
alexscott
Twitter: @4l3xsc0tt
Compte militant. Informaticien/maçon. Membre @partipirate@mastodon.partipirate.org . Résidant Loire Atlantique. PP : https://t.co/5QV8F6sS37, GFDL, Jürgen Schoner