snippet
noun
°a tiny piece or part.
"From the snippet I heard of their rehearsal, they sound pretty good."
°(computing) a textfile containing a relatively small amount of code, useless by itself, along with instructions for inserting that code into a larger codebase.