>DansTonCode();

Tous les codes sources "Travail d'équipe"page 3

JavaScript
 10 Août, 2014 à 11:19
#139
if ($(this).hasClass('active')) {} else {			// WTF :|
	advancedSearchApla.show();
	$(this).addClass('active');
}
PHP
 07 Août, 2014 à 08:44
#207
// Not a joke, I've really seen that
for ($i=0 ; $i<3 ; $i++) {
  switch($i) {
    case 1:
      // do some stuff
      break;
    case 2:
      // do some stuff
      break;;
    case 3:
      // do some stuff
      break;
  }
}
Java
 03 Août, 2014 à 08:01
#202
try {

}
catch (SQLException ex) {
    // Basically, without saying too much, you're screwed. Royally and totally.
}
catch(Exception ex)
{
    //If you thought you were screwed before, boy have I news for you!!!
}