Just dump some codes if you think it's useful for others.