/** * 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

-2

/* This is how somebody chose to centre the content of a page. */

@media (min-width: 800px) {
    html { padding-left: 0px; }
}

@media (min-width: 1024px) {
    html { padding-left: 5%; }
}

@media (min-width: 1200px) {
    html { padding-left: 10%; }
}

@media (min-width: 1400px) {
    html { padding-left: 20%; }
}
 

anonymous

0

$weight = ((float)('0.'.( $weight < 10 ? '0' : '').$weight));
 

+2

//production search code to return all results
searchQuery = queryBuilder.BuildQuery(
                            "a OR b OR c OR d OR e OR f OR g OR h OR i OR j OR k OR l OR m OR n OR o OR p OR q OR r OR s OR t OR u OR v OR w OR x OR y OR z",
                            new[] { "Title" });
 

anonymous

+6

try 
{
    /* lines of code */
}
catch (Exception ex) 
{
    throw ex;
}
 

anonymous

0

- readable inline sql in java annotation:
SELECT TRIM(CONCAT(TRIM(CONCAT(TRIM(CONCAT(TRIM(CONCAT(TRIM(CONCAT(TRIM(CONCAT(COALESCE(...
 

anonymous

0

            var randomNumber = Math.round(Math.random()*2);
            switch(randomNumber) {
                case 0:
                AnswerOrder = [0,1,2];
                break;
                case 1:
                AnswerOrder = [1,0,2];
                break;
                case 2:
                AnswerOrder = [2,1,0];
                break;
                default:
                AnswerOrder = [0,1,2];
                break;
            }
 

anonymous

0

int main() try
{
    /* Other 40 lines of code... */
}

catch(int n)
{
    switch (n) {
    case ERROR:
    case ERROR_INPUT:
    case ERROR_RANGE:
	cerr << "\nerror!\n";
	break;
    default:
	cerr << "\nunknown error!\n";
    }
}

catch( ...)
{
    cerr << "\ncrash!\n";
}
 

anonymous

0

// This might not work... Wait... no, it should be fine.
 

anonymous

0

7 years and a half later :

// XYZ: April 16, 2008: Remove in a few weeks.
 

anonymous

0

// This is why we don't accept pull requests