1 cup unsalted butter, softened 1 cup granulated sugar 1 cup brown sugar, packed 2 large eggs 1 teaspoon vanilla extract 2 cups all-purpose flour 1/2 cup cocoa powder 1 teaspoon baking soda 1/2 teaspoon salt 1 cup chopped pistachios 1 cup chocolate chips or chunks