I cheat... just carry a big lens and wait for them to get close. Most airplanes have their make/model painted right on the side!
No, on a serious note, one really easy way to tell the difference between a 777 and a 767 is the 777 has a "knife edge" tail. It comes to a sharp, square point with the APU exhaust out to the side. The 767's tail is rounded. Also, while the landing gear is down, the 777 is even easier to identify. It's the only airliner with a 6 tire main landing gear unit.