Find and replace using regexp and sed.

Sed is awesome tool and can help solving interesting problems Ie. replacing 1.8 style ruby hashes to 1.9 style:

find -name '*.*rb' | xargs sed -i 's/:\([a-zA-Z_1-9]\+\) => /\1: /g'

Logging best practices

3 minutes read

How to list postgres procedures

short read

Why I like go lang

short read