Various single-file code snipplets in C