When using a public computer you should always be wary about the computer and security of your accounts. You never know if the keyboard you're using has a keylogger or if software on the computer has logs everything you type so typing in passwords gives it away instantly.
Google have come out with a way to log in to Gmail and other Google services by just scanning a QR code with your phone.
When at a public computer, head to this link - accounts.google.com/sesame - then scan the QR code with your phone.
Once you've scanned the QR code, your device should prompt you to login to your Google account. When you've logged in on your device, the browser on the public computer should automatically direct you to wherever you chose, without you having to type your email or password.
Brilliant or what?!
It looks like Google have finished with this security experiment. Clicking through to the link now displays -
Hi there - thanks for your interest in our phone-based login experiment.
While we have concluded this particular experiment, we constantly experiment with new and more secure authentication mechanisms.
Stay tuned for something even better!
Dirk Balfanz, Google Security Team.
That's a bummer but hopefully Google keep to this promise and bring out something even better very soon!