What is the meaning of Snippet?

A small part of something, such as a song or fabric; sample.

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.

To make small cuts, to snip, particularly with scissors.

Source: wiktionary.org