Code snippets from scholarly adventures