DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Eliminating Sites From Searches
You can eliminate matches on queries based on the name of the site. For example, to search on all sites except 'experts-exchange.com', use the following hyphen-prefixed 'site' string:
-site:experts-exchange.com "convert cstring to int "
Or you can only seach a specified site by removing the dash
site:planetargon.com "rails hosting"
Tip by xinu