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

var elementID = $('#' + onFocus).parent().parent().parent().parent().parent().parent().[0].id; // who's your daddy 
 

0

BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$BRANCH" != "develop" ]]; then
  echo 'You should be on master branch';
  exit 1;
fi
 

+2

//Some includes
...

if(!esADMIN())
	echo "<SCRIPT type=\"text/javascript\">location.href=\"../index.php\";</script>";

// The script continue here
 

0

need_validation = not data.get('2fa_token') and not data.get('2fa_login') and not data.get('2fa_requested')
 

0

public void ehUsuarioExternoEmDevRetornaTrueSeAmbienteForDevEUsuarioTem_NaChaveENomeComecaComSATH_() {
        User usuario = new User();
        assertTrue(controleAcessoService.ehUsuarioExternoEmDevOuTest(usuario));
 

anonymous

0

/**
	 * check for access to clear backend cache and warm ups
	 *
	 * @return boolean
	 */
	protected function isAllowed() {
//		$backendUser = $this->getBackendUser();
//		if ($backendUser->getTSConfigVal('options.clearCache.redis.content') || GeneralUtility::getApplicationContext()->isDevelopment() || $backendUser->isAdmin()) {
		return TRUE;
//		}
//		return FALSE;
	}
 

anonymous

0

 typedef std::map<CString, StringIntIntPairVectMap> StringStringIntIntPairVectMapMap;
 

anonymous

-5

re.match(r'2[0-9][0-9]', str(response.status_code))
 

anonymous

+3

public String getGeoLocation(String ip) {		
		String location;
		try {
			location = GeoIPHelper.getLocation(ip);
		} catch(Exception ex) {
			ex.printStackTrace();
			location = ex.getMessage();
		}
		return location;
}
 

anonymous

+2

public static string Utf8Iso(string vsStr)
{
    string strTemp;
    strTemp = vsStr;

    strTemp = strTemp.Replace("ç", "ç");
    strTemp = strTemp.Replace("ä§", "ç");
    strTemp = strTemp.Replace("é", "é");
    strTemp = strTemp.Replace("ä©", "é");
    strTemp = strTemp.Replace("è", "è");
    strTemp = strTemp.Replace("ä¨", "è");
    strTemp = strTemp.Replace("ê", "ê");
    strTemp = strTemp.Replace("äª", "ê");
    strTemp = strTemp.Replace("ë", "ë");
    strTemp = strTemp.Replace("ä«", "ë");
    strTemp = strTemp.Replace("Ê", "Ê");
    strTemp = strTemp.Replace("äŠ", "Ê");
    strTemp = strTemp.Replace("Ë", "Ë");
    strTemp = strTemp.Replace("ä‹", "Ë");
    strTemp = strTemp.Replace("î", "î");
    strTemp = strTemp.Replace("ä®", "î");
    strTemp = strTemp.Replace("ï", "ï");
    strTemp = strTemp.Replace("ä¯", "ï");
    strTemp = strTemp.Replace("ì", "ì");
    strTemp = strTemp.Replace("ÃŽ", "Î");
    strTemp = strTemp.Replace("äŽ", "Î");
    strTemp = strTemp.Replace("ò", "ò");
    strTemp = strTemp.Replace("ä²", "ò");
    strTemp = strTemp.Replace("ô", "ô");
    strTemp = strTemp.Replace("ä´", "ô");
    strTemp = strTemp.Replace("ö", "ö");
    strTemp = strTemp.Replace("ä¶", "ö");
    strTemp = strTemp.Replace("õ", "õ");
    strTemp = strTemp.Replace("ó", "ó");
    strTemp = strTemp.Replace("ø", "ø");
    strTemp = strTemp.Replace("äµ", "õ");
    strTemp = strTemp.Replace("ä³", "ó");
    strTemp = strTemp.Replace("ä¸", "ø");
    strTemp = strTemp.Replace(@"Ã""", "Ô");
    strTemp = strTemp.Replace(@"ä""", "Ô");
    strTemp = strTemp.Replace("Ö", "Ö");
    strTemp = strTemp.Replace("ä–", "Ö");
    strTemp = strTemp.Replace("Ã ", "à");
    strTemp = strTemp.Replace("ä ", "à");
    strTemp = strTemp.Replace("â", "â");
    strTemp = strTemp.Replace("ä¢", "â");
    strTemp = strTemp.Replace("ä", "ä");
    strTemp = strTemp.Replace("ä¤", "ä");
    strTemp = strTemp.Replace("Ã¥", "å");
    strTemp = strTemp.Replace("ä¥", "å");
    strTemp = strTemp.Replace("Â", "Â");
    strTemp = strTemp.Replace("ä‚", "Â");
    strTemp = strTemp.Replace("Ä", "Ä");
    strTemp = strTemp.Replace("ä„", "Ä");
    strTemp = strTemp.Replace("ù", "u");
    strTemp = strTemp.Replace("û", "û");
    strTemp = strTemp.Replace("ü", "ü");
    strTemp = strTemp.Replace("ä¼", "ü");
    strTemp = strTemp.Replace("Û", "Û");
    strTemp = strTemp.Replace("Ãœ", "Ü");
    strTemp = strTemp.Replace("ä¹", "u");
    strTemp = strTemp.Replace("ä»", "û");
    strTemp = strTemp.Replace("ä¼", "ü");
    strTemp = strTemp.Replace("ä¼", "ü");
    strTemp = strTemp.Replace("ä›", "Û");
    strTemp = strTemp.Replace("äœ", "Ü");
    strTemp = strTemp.Replace("ò", "ñ");
    strTemp = strTemp.Replace("ñ", "ñ");

    return strTemp;
}