Sed - remove commented lines and blank lines

on Nov. 24, 2013, 2:59 p.m.

Because i keep forgetting this sweet little one liner, I am putting it here.
sed -e 's/#.*$//' -e '/^$/d' inputFile