Hide files and folders from Spotlight in OS X

How to prevent certain files and folders from showing in Spotlight search results