Skip to content

Instantly share code, notes, and snippets.

@SLaks
Created September 3, 2013 16:13
Show Gist options
  • Save SLaks/6426011 to your computer and use it in GitHub Desktop.
Save SLaks/6426011 to your computer and use it in GitHub Desktop.
if (pwd == 'correcthorsebatterystaple' || pwd == 'Tr0ub4dour&3' || pwd == 'Tr0ub4dor&3') { // easteregg
score = 0;
word = ['', 'lol']
if (pwd == 'correcthorsebatterystaple') {
// TRANSLATORS this text is displayed rarely, whenever a user selects a password that is from this comic:
// http://imgs.xkcd.com/comics/password_strength.png
bubble_text.update(_("Whoa there, don't take advice from a webcomic too literally ;)"))
} else {
// TRANSLATORS this text is displayed rarely, whenever a user selects a password that is from this comic:
// http://imgs.xkcd.com/comics/password_strength.png
bubble_text.update(_("Guess again"))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment