At least for someone who hasn't taken any complex analysis and doesn't know any beyond the really basic stuff, is there an easy way to do the following integral?

I trudged up a proof, but it uses techniques that I don't know. Obviously it is equivalent to evaluating

but I get the feeling looking at the result that this is something you would want to evaluate using the first expression.