Little useful tools I don't want to keep rewriting every 2 weeks.