some useful tiny tools written in Erlang