Spot the Fail
It's time to have a little fun.
Sometimes when I'm programming, I do something so comically stupid that I feel the need to screenshot the code and share my facepalm moment with someone else.
There are a couple guidelines for my flavor of Spot the Fail:
Guidelines
- The fail should be spottable even if you do not know the context of the code.
- For trickier ones, the mouse or text cursor can optionally be nearby the fail to give a hint.
I have collected a few of these screenshots and explanations for your enjoyment.
4. "Code from work"

Case 8 should be [0-7] not [0-8].
9. menu item

Tried to press the "OK" button with ALt+O; instead messed up the shortcut.
15. Some Rails Code

syntax error: enr
16. motrs

"C:\out.bin" - accidentally escaping the 'o' but more importantly
it's not even running on windows.
Fin.
Well, hope that was fun.
On a relevant note, remember when Quixey in an act of hiring PR offered $100 if you could spot the fail in 1 minute? Good times.