A collection of learnings, coding adventures and random thoughts about living life.

TLDR: I accidentally overwrote an entire folder and just wanted to pick up a file from a git log.

Problem: It had dashes prepended to every line.
Solution: Regex + Sublime

Use Sublime to grep ^-(\w)* and just backspace or delete your dashes.

Hooray! Quick win!

Image credits: https://lh3.ggpht.com/Z8929GeyK2xHCZX1HD2Ovl8rJxStpSl2qJ75-mktEAyeCP4p80xRWRBwd3bWr6qjvy58=w300