Code snippets

Original programs

Source code that doesn't deserve its own repositories (and discussion of code that does).

Unless otherwise specified, these files are distributed under the terms of the CC0 license, which is equivalent to public domain.

Code from papers and other sources

These snippets are not original, they come from various papers and other sources. What I did is translation from one language to another, or translation from pseudocode to real sytnax, or possibly some other transformation that can make them easier to play with.