some useful tools or code in c , ruby, python, and shell