Putting utilities codes here. If no comment, the code here will all running on Linux and no dependency.