My ad-hoc algorithms, programs and libraries