Played Challenges
Search different SQL column with similar where clause - 314 entries
Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.
- Best score: 22
- Best player score: 24
- Position: #31 / 69
- Number of attempts: 12
Find fix point of cos - 1444 entries
Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.
- Best score: 14
- Best player score: 15
- Position: #267 / 427
- Number of attempts: 9
swap number pairs - 2146 entries
Swap the numbers in a bunch of 2-element arrays.
- Best score: 16
- Best player score: 40
- Position: #333 / 390
- Number of attempts: 2
Wrap the text of an email message to 79 characters - 846 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #342 / 437
- Number of attempts: 4
Search and Replace 0 - 5031 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 13
- Position: #894 / 1638
- Number of attempts: 5
SFD-ROC: vimvimvim - 1620 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
- Best score: 8
- Best player score: 20
- Position: #444 / 450
- Number of attempts: 1
Ruby 1.9 hashes - 1272 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: 19
- Position: #362 / 412
- Number of attempts: 8
Shebangs for all - 2049 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: 24
- Position: #482 / 523
- Number of attempts: 3
Make Fancy Header - 1075 entries
Make the header text stand out with surrounding asterisks
- Best score: 15
- Best player score: 22
- Position: #275 / 349
- Number of attempts: 5
Reverse characters in a line - 789 entries
You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.
- Best score: 12
- Best player score: 13
- Position: #96 / 269
- Number of attempts: 11
Sort and add attributes - 1539 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #311 / 594
- Number of attempts: 5
Reconstruct the Sentence - 1677 entries
Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.
- Best score: 19
- Best player score: 28
- Position: #396 / 440
- Number of attempts: 2
Whitespace, empty lines and tabs - 3864 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 75
- Position: #819 / 830
- Number of attempts: 1
Simple text editing with Vim - 13273 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #2087 / 3811
- Number of attempts: 7
Reformat/Refactor a Golfer Class - 7415 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 32
- Position: #184 / 1825
- Number of attempts: 23
VimGolf