Snippets

This is a list of little bits and pieces of code, which might be useful for others to build on, but are not part of a larger software package or a function library.