clean up code samples

Signed-off-by: Jason Bell <dev@jgb.me>