Small pieces of codes that may be useful in future projects.