Played Challenges
Wrap the text of an email message to 79 characters - 754 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #40 / 407
- Number of attempts: 1
PHP Array Syntax -> MailChimp Merge Syntax - 545 entries
I recently needed to send an e-mail to our marketing department listing allowed merge tags for our MailChimp campaigns. The allowed merge tags were determined from a PHP array in one of our PHP classes. I transformed the PHP class to MailChimp's syntax and sent the e-mail. It was, however, a long, laborious process. I'm still fairly new to Vim and would love to see how an expert Vim user would tackle one of my own, real-world problems. Thanks and have fun!
- Best score: 23
- Best player score: 45
- Position: #117 / 150
- Number of attempts: 3
Whitespace, empty lines and tabs - 3614 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 22
- Position: #263 / 780
- Number of attempts: 6
Simple text editing with Vim - 12760 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #840 / 3684
- Number of attempts: 9
Reformat/Refactor a Golfer Class - 6942 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 36
- Position: #410 / 1699
- Number of attempts: 5
Contributed Challenges
PHP Array Syntax -> MailChimp Merge Syntax - 545 entries
I recently needed to send an e-mail to our marketing department listing allowed merge tags for our MailChimp campaigns. The allowed merge tags were determined from a PHP array in one of our PHP classes. I transformed the PHP class to MailChimp's syntax and sent the e-mail. It was, however, a long, laborious process. I'm still fairly new to Vim and would love to see how an expert Vim user would tackle one of my own, real-world problems. Thanks and have fun!