[triv] README: code snippets