Monthly Archives: December 2009

Listing debian packages sorted by size

0
Filed under Development
Tagged as , , , , , , , ,
dpkg-query --show --showformat='${Package;-50}\t${Installed-Size} ${Status}\n' | sort -k 2 -n |grep -v deinstall

This was the most useful thing I’ve found today.

found it here.

Vim settings

0
Filed under Development
Tagged as , , , , ,

I used to carry all my vim settings in a .tar.gz file wherever I would go. Sometimes it would get messy because I would forget to get something from somewhere so I would need to create it from scratch. Now I’ve got everything in a public git repository, and I hope it could be useful for other vim beginners too.

The repository can be found here.

Something better than grep – Part II

2
Filed under Development
Tagged as , , , ,

As I mentioned previously, I kind of liked the ack-grep tool. I made a small patch for it so that it ignores moc_*.cpp files generated by Qt’s moc tool, which I think makes not much of sense to include in the search as they are automatically generated files.