yum install php-devel
yum install php-pear
yum install gcc gcc-c++ autoconf automake
<?php | |
public function checkIdol($name) | |
{ | |
if ($name != "") { | |
$validate = $this->validation($name); | |
if (!$validate) { | |
$this->error = "Tên không hợp lệ"; | |
return false; | |
} else { | |
$dien_vien = DienVien::where('ten', 'likes', $name)->get(); |
<?php | |
public function checkIdol($name) | |
{ | |
if ($name == '') { | |
$this->error = "Tên không được để rỗng"; | |
return false; | |
} | |
$validate = $this->validation($name); | |
if (!$validate) { |
Run php -i
and copy the output of the following command and paste it on https://xdebug.org/wizard.php.
Follow the instructions there to install xDebug.
Example:
Download xdebug-2.6.0.tgz: wget http://xdebug.org/files/xdebug-2.6.0.tgz
Unpack the downloaded file with tar -xvzf xdebug-2.6.0.tgz
All commands are in the terminal.
vagrant up
vagrant ssh
from homestead directorymkdir selenium
from the ~ directorycd selenium
wget http://selenium-release.storage.googleapis.com/3.11/selenium-server-standalone-3.11.0.jar
Note: This link comes from copying the link on http://docs.seleniumhq.org/download/# Go inside the site directory | |
cd $FORGE_SITE_PATH | |
# Turn on maintenance mode | |
$FORGE_PHP artisan down | |
git pull origin $FORGE_SITE_BRANCH | |
$FORGE_COMPOSER install --no-dev --no-interaction --prefer-dist --optimize-autoloader |
(cf.threat_score gt 15) or | |
(http.user_agent eq "") or | |
(lower(http.user_agent) contains "crawler" and not http.user_agent contains "ia_archiver") or | |
(lower(http.user_agent) contains "spider") or | |
(http.user_agent contains "AhrefsBot/") or | |
(http.user_agent contains "baidu.com") or | |
(http.user_agent contains "biggo.com") or | |
(http.user_agent contains "/bin/bash") or | |
(http.user_agent contains "DnyzBot/") or | |
(http.user_agent contains "DotBot/") or |