Using a food processor, pulse basil/cilantro, garlic, and nuts several times until finely chopped. NOTE: walnuts, almonds or pecans can be used instead of pine nuts,
Add grated parmesan cheese and ¼ cup of the olive oil, and pulse until blended. NOTE: dry parmesan cheese can be used, but freshly grated parmigiano reggiano is ideal.
Pesto will be thick, so add more olive oil if desired for a looser consistency.