Played Challenges
Fix the shell script! - 2338 entries
Fix the shell script with the fewest keystrokes!
- Best score: 26
- Best player score: 48
- Position: #432 / 540
- Number of attempts: 2
simple replacements - 1658 entries
The goal is to see the replacement commands in action.
- Best score: 19
- Best player score: 19
- Position: #47 / 370
- Number of attempts: 1
Inverting Lines - 1832 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 48
- Position: #494 / 497
- Number of attempts: 1
swap number pairs - 2011 entries
Swap the numbers in a bunch of 2-element arrays.
- Best score: 16
- Best player score: 81
- Position: #365 / 370
- Number of attempts: 1
Rural Post - 4362 entries
Simple challenge to remove all but the post code on each line
- Best score: 9
- Best player score: 177
- Position: #1066 / 1071
- Number of attempts: 1
Satisfy the go linter - 2329 entries
You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?
- Best score: 20
- Best player score: 20
- Position: #129 / 457
- Number of attempts: 1
Add quotes to ansible playbook - 926 entries
You created an ansible playbook, but forgot to add quotes. Can you fix it?
- Best score: 8
- Best player score: 8
- Position: #67 / 295
- Number of attempts: 8
Multiline to Single Line - 668 entries
Convert a multiline, indented file to a single line with no whitespace
- Best score: 5
- Best player score: 5
- Position: #189 / 292
- Number of attempts: 1
prepend * to every non-blank line - 6208 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 26
- Position: #1449 / 1517
- Number of attempts: 1
Unsemantic linewrapping - 890 entries
[Inspired by a blog post I read: https://scott.mn/2014/02/21/semantic_linewrapping/. Text adapted.] Sometimes when editing a Markdown file, I wrap the lines semantically. Instead of inserting a newline at 70 columns (or whatever), or making paragraphs one long line, I put in newlines at a point that seems logical to me. This may seem silly, but it produces better diffs. Semantic linewrapping also makes editing snappier. I can delete, edit or insert sentences easily using linewise operations. Code-oriented text editors like Vim and [REDACTED] are really good at this kind of manipulation. Editing text that hasn't been wrapped semantically is a pain, though:
- Best score: 9
- Best player score: 52
- Position: #224 / 224
- Number of attempts: 1
SCREAMING_SNAKE_CASE to Title Case - 1181 entries
Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary
- Best score: 19
- Best player score: 86
- Position: #243 / 244
- Number of attempts: 1
Box it - 7827 entries
Create a box around a line.
- Best score: 21
- Best player score: 74
- Position: #1821 / 1864
- Number of attempts: 1
Just the middle - 11360 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 13
- Position: #4075 / 4164
- Number of attempts: 2
Line under headers - 2004 entries
Put a line under each header, and remove the other markdown formatting.
- Best score: 24
- Best player score: 70
- Position: #495 / 496
- Number of attempts: 1
Space out the alphabet - 1627 entries
Put 3 spaces between adjacent letters.
- Best score: 15
- Best player score: 53
- Position: #440 / 440
- Number of attempts: 1