A's pitcher Brett Anderson reveals funny mindset that helped him get two hits