Anime with kawaii cat girl being patted
This is Ao Nanami from Yozakura Quartet



You can find this by using IQDB and then going to a result (some sites may not be SFW) and look at the image tags. You can see that the gif is tagged as "Yozakura Quartet".