/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

+503

long long time; //ago in a galaxy far away...
 

+93

// 
// Dear maintainer:
// 
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
// 
// total_hours_wasted_here = 16
//
 

anonymous

+84

int getRandomize(int randMax)
{
  srand ( time(NULL) );
  int randNum; = rand() % randMax + 1;
  return 2;
}
 

anonymous

+75

// Happy debugging, suckers
# define true (rand() > 10)
 

+60

int length = 0;
for(int idx = 0; idx < a.length; i++) {
     length++;
}
System.out.println("length is : " + length);
 

+55

try {
    return true;
} finally {
    return false;
}
 

anonymous

+54

		int multiplyBy10(int number)
		{
			std::stringstream str;
			str << number << '0';
			str >> number;
			return number;
		}
 

anonymous

+52

return !finished || notFinished; // even horse can not understand this.
 

+50

// I am not sure if we need this, but too scared to delete.
 

anonymous

+48

<?php

$hash = sha1(crc32(md5($_POST['password'])));

?>
 

anonymous

+45

public int getRandomNumber() {
    return 5;
}
 

+44

return 2; // returns 2
 

anonymous

+41

ul.sf-menu li li, li li li, li li li li, li li li li li, li li li li li li { width: 120px; } /* OH GOD WHY */
 

anonymous

+41

public bool IsTrue(bool b)
{
        if (b == true)
        {
                return true;
        }
        return false;
}
 

anonymous

+37

// hack for ie browser (assuming that ie is a browser)
 

anonymous

+36

if (player.hasPermission("se.block.smoke"))
        if (block != Material.LEVER) {
          if (block != Material.BED) {
            if (block != Material.BED_BLOCK) {
              if (block != Material.CACTUS) {
                if (block != Material.BRICK_STAIRS) {
                  if (block != Material.BIRCH_WOOD_STAIRS) {
                    if (block != Material.BREWING_STAND) {
                      if (block != Material.CAKE) {
                        if (block != Material.CAKE_BLOCK) {
                          if (block != Material.CAULDRON) {
                            if (block != Material.CHEST) {
                              if (block != Material.CLAY) {
                                if (block != Material.SAND) {
                                  if (block != Material.BURNING_FURNACE) {
                                    if (block != Material.COBBLESTONE_STAIRS) {
                                      if (block != Material.FENCE) {
                                        if (block != Material.FENCE_GATE) {
                                          if (block != Material.FIRE) {
                                            if (block != Material.GRAVEL) {
                                              if (block != Material.IRON_DOOR_BLOCK) {
                                                if (block != Material.IRON_FENCE) {
                                                  if (block != Material.IRON_DOOR) {
                                                    if (block != Material.LADDER) {
                                                      if (block != Material.MELON) {
                                                        if (block != Material.LEAVES) {
                                                          if (block != Material.LOCKED_CHEST) {
                                                            if (block != Material.SANDSTONE_STAIRS) {
                                                              if (block != Material.SMOOTH_STAIRS) {
                                                                if (block != Material.SPRUCE_WOOD_STAIRS) {
                                                                  if (block != Material.TNT) {
                                                                    if (block != Material.WOOD_DOUBLE_STEP) {
                                                                      if (block != Material.WOOD_DOOR) {
                                                                        if (block != Material.WEB) {
                                                                          if (block != Material.ICE) {
                                                                            if (block != Material.SNOW_BLOCK) {
                                                                              if (block != Material.SNOW) {
                                                                                if (block != Material.WATER_LILY) {
                                                                                  if (block != Material.TORCH) {
                                                                                    if (block != Material.REDSTONE_WIRE) {
                                                                                      if (block != Material.YELLOW_FLOWER) {
                                                                                        if (block != Material.RED_ROSE) {
                                                                                          if (block != Material.PAINTING) {
                                                                                            if (block != Material.RAILS) {
                                                                                              if (block != Material.POWERED_RAIL) {
                                                                                                if (block != Material.DETECTOR_RAIL) {
                                                                                                  if (block != Material.DEAD_BUSH) {
                                                                                                    if (block != Material.GRASS) {
                                                                                                      if (block != Material.NETHER_BRICK_STAIRS) {
                                                                                                        if (block != Material.NETHER_FENCE) {
                                                                                                          if (block != Material.NETHER_WARTS) {
                                                                                                            if (block != Material.HUGE_MUSHROOM_1) {
                                                                                                              if (block != Material.HUGE_MUSHROOM_2) {
                                                                                                                if (block != Material.BROWN_MUSHROOM) {
                                                                                                                  if (block != Material.GLASS) {
                                                                                                                    if (block != Material.JUNGLE_WOOD_STAIRS) {
                                                                                                                      if (block != Material.WATER) {
                                                                                                                        if (block != Material.SUGAR_CANE_BLOCK) {
                                                                                                                          if (block != Material.WOOD_DOUBLE_STEP) {
                                                                                                                            if (block != Material.WALL_SIGN) {
                                                                                                                              if (block != Material.WOOD_PLATE) {
                                                                                                                                if (block != Material.STONE_PLATE) {
                                                                                                                                  if (block != Material.STONE_BUTTON) {
                                                                                                                                    if (block != Material.WOOD_STAIRS) {
                                                                                                                                      if (block != Material.TRAP_DOOR) {
                                                                                                                                        if (block != Material.TRIPWIRE) {
                                                                                                                                          if (block != Material.TRIPWIRE_HOOK) {
                                                                                                                                            if (block != Material.WOOD_STEP) {
                                                                                                                                              if (block != Material.THIN_GLASS) {
                                                                                                                                                if (block != Material.REDSTONE_TORCH_OFF) {
                                                                                                                                                  if (block != Material.REDSTONE_TORCH_ON) {
                                                                                                                                                    if (block != Material.SAPLING) {
                                                                                                                                                      String s = new SerializableLocation(loc).unpack().toString();
                                                                                                                                                      this.plugin.Blindeness.add(s);
                                                                                                                                                      this.plugin.Blindeness.save();
                                                                                                                                                      if (this.String1 == this.plugin.getConfig().getString("_Block_Blindeness")) {
                                                                                                                                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] You Created a" + ChatColor.DARK_RED + " BlindenessEffectBlock" + ChatColor.DARK_GREEN + " at " + ChatColor.RED + s);
                                                                                                                                                      }
                                                                                                                                                      else
                                                                                                                                                      {
                                                                                                                                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] You Created a" + ChatColor.DARK_RED + " BlindenessEffectBlock" + ChatColor.DARK_GREEN + " at " + ChatColor.RED + s);
                                                                                                                                                      }
                                                                                                                                                    } else {
                                                                                                                                                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                                    }
                                                                                                                                                  }
                                                                                                                                                  else
                                                                                                                                                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                                }
                                                                                                                                                else
                                                                                                                                                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                              }
                                                                                                                                              else
                                                                                                                                                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                            }
                                                                                                                                            else
                                                                                                                                              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                          }
                                                                                                                                          else
                                                                                                                                            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                        }
                                                                                                                                        else
                                                                                                                                          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                      }
                                                                                                                                      else
                                                                                                                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                    }
                                                                                                                                    else
                                                                                                                                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                  }
                                                                                                                                  else
                                                                                                                                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                                }
                                                                                                                                else
                                                                                                                                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                              }
                                                                                                                              else
                                                                                                                                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                            }
                                                                                                                            else
                                                                                                                              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                          }
                                                                                                                          else
                                                                                                                            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                        }
                                                                                                                        else
                                                                                                                          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                      }
                                                                                                                      else
                                                                                                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                    }
                                                                                                                    else
                                                                                                                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                  }
                                                                                                                  else
                                                                                                                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                                }
                                                                                                                else
                                                                                                                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                              }
                                                                                                              else
                                                                                                                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                            }
                                                                                                            else
                                                                                                              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                          }
                                                                                                          else
                                                                                                            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                        }
                                                                                                        else
                                                                                                          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                      }
                                                                                                      else
                                                                                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                    }
                                                                                                    else
                                                                                                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                  }
                                                                                                  else
                                                                                                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                                }
                                                                                                else
                                                                                                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                              }
                                                                                              else
                                                                                                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                            }
                                                                                            else
                                                                                              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                          }
                                                                                          else
                                                                                            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                        }
                                                                                        else
                                                                                          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                      }
                                                                                      else
                                                                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                    }
                                                                                    else
                                                                                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                  }
                                                                                  else
                                                                                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                                }
                                                                                else
                                                                                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                              }
                                                                              else
                                                                                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                            }
                                                                            else
                                                                              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                          }
                                                                          else
                                                                            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                        }
                                                                        else
                                                                          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                      }
                                                                      else
                                                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                    }
                                                                    else
                                                                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                  }
                                                                  else
                                                                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                                }
                                                                else
                                                                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                              }
                                                              else
                                                                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                            }
                                                            else
                                                              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                          }
                                                          else
                                                            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                        }
                                                        else
                                                          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                      }
                                                      else
                                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                    }
                                                    else
                                                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                  }
                                                  else
                                                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                                }
                                                else
                                                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                              }
                                              else
                                                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                            }
                                            else
                                              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                          }
                                          else
                                            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                        }
                                        else
                                          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                      }
                                      else
                                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                    }
                                    else
                                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                  }
                                  else
                                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                                }
                                else
                                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                              }
                              else
                                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                            }
                            else
                              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                          }
                          else
                            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                        }
                        else
                          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                      }
                      else
                        player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                    }
                    else
                      player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                  }
                  else
                    player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
                }
                else
                  player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
              }
              else
                player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
            }
            else
              player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
          }
          else
            player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
        }
        else
          player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
    }
  }
 

anonymous

+33

void get_tomorrow_date( struct timeval *date )
  {
    sleep( 86400 ); // 60 * 60 * 24
    gettimeofday( date, 0 );
  }
 

+33

Thread.sleep(4000); //make it look like work is being done
 

anonymous

+32

$('a').click(function () {

            var id = '';
            var id2 = '';
            id = $(this).attr('id');
            id2 = $(this).attr('id');

            if (id == "search11") {
                //...
            }
            if (id2 == "search1") {

                //...
            }
            });
 

+31

<form>
	Login : <input type=textbox name=login><br>
	Password : <input type=password name=pass><br>
	<input type=button value="OK" onCLick="if (login.value=='admin'&&pass.value=='123456') window.location.replace('admin.php');	">
</form>
 

anonymous

+30

// John! If you'll svn remove this once more,
// I'll shut you, for God's sake!
// That piece of code is not “something strange”!
// That is THE AUTH VALIDATION.
 

anonymous

+29

.ninja {
    visibility:hidden;
}
 

+27

Exception up = new Exception();
throw up; // ha, ha...
 

anonymous

+26

/*
 * You may think you know what the following code does.
 * But you dont. Trust me.
 * Fiddle with it, and youll spend many a sleepless
 * night cursing the moment you thought youd be clever
 * enough to "optimize" the code below.
 * Now close this file and go play with something else.
 */ 
 

anonymous

+25

// At this point, I'd like to take a moment to speak to you about the Adobe PSD
// format. PSD is not a good format. PSD is not even a bad format. Calling it
// such would be an insult to other bad formats, such as PCX or JPEG. No, PSD
// is an abysmal format. Having worked on this code for several weeks now, my
// hate for PSD has grown to a raging fire that burns with the fierce passion
// of a million suns.
//
// If there are two different ways of doing something, PSD will do both, in
// different places. It will then make up three more ways no sane human would
// think of, and do those too. PSD makes inconsistency an art form. Why, for
// instance, did it suddenly decide that *these* particular chunks should be
// aligned to four bytes, and that this alignement should *not* be included in
// the size? Other chunks in other places are either unaligned, or aligned with
// the alignment included in the size. Here, though, it is not included. Either
// one of these three behaviours would be fine. A sane format would pick one.
// PSD, of course, uses all three, and more.
//
// Trying to get data out of a PSD file is like trying to find something in the
// attic of your eccentric old uncle who died in a freak freshwater shark
// attack on his 58th birthday. That last detail may not be important for the
// purposes of the simile, but at this point I am spending a lot of time
// imagining amusing fates for the people responsible for this Rube Goldberg of
// a file format.
//
// Earlier, I tried to get a hold of the latest specs for the PSD file format.
// To do this, I had to apply to them for permission to apply to them to have
// them consider sending me this sacred tome. This would have involved faxing
// them a copy of some document or other, probably signed in blood. I can only
// imagine that they make this process so difficult because they are intensely
// ashamed of having created this abomination. I was naturally not gullible
// enough to go through with this procedure, but if I had done so, I would have
// printed out every single page of the spec, and set them all on fire. Were it
// within my power, I would gather every single copy of those specs, and launch
// them on a spaceship directly into the sun.
//
// PSD is not my favourite file format.
 

anonymous

+25

// somedev1 -  6/7/02 Adding temporary tracking of Login screen
// somedev2 -  5/22/07 Temporary my ass
 

anonymous

+24

short clientTypeId = short.Parse("2");
 

anonymous

+24

// 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;
  }
}
 

anonymous

+24

// sleep 150s
for ($a = 0; $a < 150 ; $a++ ) { 
      sleep(1);
}
 

+22

            } else {
              $errmsg='An unknown error occured.';
            }
          } else {
            $errmsg='The passwords you entered do not match';
          }
        } else {
          $errmsg='Password has to be at least 8 characters long.';
        }
      } else {
        $errmsg='The email you entered is already in our database.';
      }
    } else {
      $errmsg='Please enter your email address.';
    }
  } else {
    $errmsg='Please enter your first name and your last name.';
  }
} else {
(...)
 

+22

SELECT product_id FROM product_tbls WHERE product_id IN (SELECT product_id FROM product_tbls) AND product_id =1 ORDER BY product_id LIMIT 1;
 

anonymous

+22

function isNegative(number) { 
  if (number.match(/^-\d+$/)) {
    return true;
  } else {
    return false;
  }
}
 

anonymous

+22

public static int getLenght(String word) {
    int j=0;
    for (int i = 0; i < word.length(); i++) {
         j++;
    }
    return j;
}
 

anonymous

+22

<!-- Renders an horizontal line -->

<center>____________________________________________________________________________</center>
 

anonymous

+20

if ($x == 10) {
 // CODE
}
else if ($x != 10) {
 // MORE CODE
}
else {
 // MORE CODE, AGAIN
}

// Thanks, phpclasses.net...
 

anonymous

+20

boolean isTrue(boolean b) {
        HashMap map = new HashMap();
        b = ! !b;
        if (!(!(b == !b)) == false) {
            map.put(false, !(!(b != !b)));
        }
        return !map.containsKey(b) & (!true | !false);
    }
 

anonymous

+20

if ($expr) {
    do_something();
} else {
    if (! $expr) {
        do_something_else();
    }
}
 

anonymous

+18

	function obtenerAdjuntoImagen01() { return (!empty($this->_arrAdjuntos[0]) ? $this->_arrAdjuntos[0] : ''); }
	function obtenerAdjuntoImagen02() { return (!empty($this->_arrAdjuntos[1]) ? $this->_arrAdjuntos[1] : ''); }
	function obtenerAdjuntoImagen03() { return (!empty($this->_arrAdjuntos[2]) ? $this->_arrAdjuntos[2] : ''); }
	function obtenerAdjuntoImagen04() { return (!empty($this->_arrAdjuntos[3]) ? $this->_arrAdjuntos[3] : ''); }
	function obtenerAdjuntoImagen05() { return (!empty($this->_arrAdjuntos[4]) ? $this->_arrAdjuntos[4] : ''); }
	function obtenerAdjuntoImagen06() { return (!empty($this->_arrAdjuntos[5]) ? $this->_arrAdjuntos[5] : ''); }
	function obtenerAdjuntoImagen07() { return (!empty($this->_arrAdjuntos[6]) ? $this->_arrAdjuntos[6] : ''); }
	function obtenerAdjuntoImagen08() { return (!empty($this->_arrAdjuntos[7]) ? $this->_arrAdjuntos[7] : ''); }
	function obtenerAdjuntoImagen09() { return (!empty($this->_arrAdjuntos[8]) ? $this->_arrAdjuntos[8] : ''); }
	function obtenerAdjuntoImagen10() { return (!empty($this->_arrAdjuntos[9]) ? $this->_arrAdjuntos[9] : ''); }
	function obtenerAdjuntoImagen11() { return (!empty($this->_arrAdjuntos[10])? $this->_arrAdjuntos[10]: ''); }
	function obtenerAdjuntoImagen12() { return (!empty($this->_arrAdjuntos[11])? $this->_arrAdjuntos[11]: ''); }
	function obtenerAdjuntoImagen13() { return (!empty($this->_arrAdjuntos[12])? $this->_arrAdjuntos[12]: ''); }
	function obtenerAdjuntoImagen14() { return (!empty($this->_arrAdjuntos[13])? $this->_arrAdjuntos[13]: ''); }
	function obtenerAdjuntoImagen15() { return (!empty($this->_arrAdjuntos[14])? $this->_arrAdjuntos[14]: ''); }
	function obtenerAdjuntoImagen16() { return (!empty($this->_arrAdjuntos[15])? $this->_arrAdjuntos[15]: ''); }
	function obtenerAdjuntoImagen17() { return (!empty($this->_arrAdjuntos[16])? $this->_arrAdjuntos[16]: ''); }
	function obtenerAdjuntoImagen18() { return (!empty($this->_arrAdjuntos[17])? $this->_arrAdjuntos[17]: ''); }
	function obtenerAdjuntoImagen19() { return (!empty($this->_arrAdjuntos[18])? $this->_arrAdjuntos[18]: ''); }
	function obtenerAdjuntoImagen20() { return (!empty($this->_arrAdjuntos[19])? $this->_arrAdjuntos[19]: ''); }
 

anonymous

+18

protected void refreshLayout() {
// We are forcing scroll bar refreshing too
composite.getParent().getParent().getParent().getParent().getParent().getParent().pack(true);
composite.getParent().getParent().getParent().getParent().getParent().getParent().getParent().layout();
}
 

+18

doSomeCalculations();
doSomeCalculations(); //It is called again just in case