The question:
Calculate $\int_0^{2\pi} e^{e^{it}} dt$.
My attempt:
Notice that $e^{it}$ is the unit circle and we seek the integral of the image of that circle of the exponent function. I found something similar but it didn't helped. Maybe it can be improved:
Let $\gamma$ be the path $z(t)=e^{it}$, $t\in[0,2\pi]$ and $f(z)=e^z$. $$ \int _\gamma f(z)dz=\int _0^{2\pi}f(z(t))\cdot\dot{z}(t)= \int_0^{2\pi}e^{e^{it}}ie^{it}dt \\ [u=e^{it}, du=ie^{it}dt] \\=\int_1^1e^udu=0 $$