Joined July 2012

Adam Parkin

Victoria, BC

Great idea, too bad that textbelt doesn't seem to support non-US carriers.

Posted to Vim: Edit Files that Grep finds over 1 year ago

Or alternatively could use ack, as it's a whole lot better than grep (

ack -l "pattern" | vim -
Posted to `cat` syntax highlighting over 1 year ago

Great tip. I wrapped this up in another script where I use pygmentize if the file is recognizable by Pygments, and lolcat ( if the file is not (I called this "" and in my bashrc I alias cat to

# if no file specified default to lolcat reading on stdin
if [ $# -eq 0 ]; then
    TYPE=$(pygmentize -N $1)

    if [ $TYPE = "text" ]; then
        lolcat $1
        pygmentize $1

It's also in Github:

104 Karma
0 Total ProTip Views