Useful shell alias – Display all lines containing TODO, FIX or XXX

As I often use comments to point me to particular parts of the code, and like to use common [TODO] [FIX] [XXX] tags, I’ve figured out this handy alias that will list all the lines within the current directory and below, along with the line numbers.

alias whattodo='grep -rn "TODO\|FIX\|XXX" . \
                           --exclude=".git*" --exclude-dir={.git} --color'

Place that in your ~/.bashrc or ~/.zshrc or whatever config file your shell is using. By default it ignores all git related directories (by exclude options).
Just type whattodo in your work folder to use.

Meet magikarp

So today I’ve decided to do something silly, and I’ve made myself an IRC bot.
So far it only saves links in neat fashion in the home dir file (already being useful), knows when stuff is awesome, repeats what it’s told to, and says time like a good clock. More to come :)

Overall the project is just something fun to do while bored. I can’t always work on Warden (and next update is coming soon), and I learn things :]

You can find the source here – LINK.
Requires python >= 2.6 and some fiddling with variables to start. Just run ‘python magikarp’

Cheers :]