In a medium bowl, combine the flour, baking soda, baking powder and salt. Mix well and set aside. In another medium bowl, combine the butter, shortening, brown and white sugars, egg and vanilla. Using an electric mixer, beat on medium speed until creamy. Gradually add the flour mixture until combined.