A text file containing a relatively small amount of code, useless by itself, along with instructions for inserting that code into a larger codebase.
To produce a snippet (small part) of; to excerpt.
We snippeted the blog posts for display on the home page.
From snip + -et. Compare snippock.
Select a language to see translations
To make small cuts, to snip, particularly with scissors.
All day long while the light lasted he sewed and snippetted […]