Let $$f(z)=\frac{e^{\pi iz}}{z^2-2z+2}$$ and $\gamma_R$ is the closed contour made up by the semi-circular contour $\sigma_1$ given by, $\sigma_1(t)=Re^{it}$, and the straight line $\gamma_2$ from $-R$ to $R$ (a semi circle).
So the singularities of $f$ are $1+i$ and $1-i$ and it's type is 'double'.
The residue theorem is $$\oint f(z)dz=2\pi i\sum_{k=1}^n I(\gamma,a_k)Res(f,a_k).$$
I'm not sure how to use this theorem to calculate the residues though.

