(by @MimePost)
curl -XPOST \
-H 'X-Auth-Token: api_token' \
## System Update and Install required softwares | |
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get autoremove -y && sudo add-apt-repository ppa:ondrej/php -y && add-apt-repository ppa:nginx/stable -y | |
sudo apt-get install curl cron nano nginx mariadb-server unzip zip python3-certbot-nginx php-pear php8.0-{curl,fpm,imap,gd,memcache,mbstring,mysql,pspell,sqlite3,tidy,xsl,xml,xmlrpc,zip} -y | |
sudo update-alternatives --set php /usr/bin/php8.0 | |
## Create DATABASE | |
sudo mysql_secure_installation | |
mysql -u root -p |
With .htaccess just need to add these flags: | |
php_value session.cookie_httponly 1 | |
php_value session.cookie_secure 1 |
(by @MimePost)
curl -XPOST \
-H 'X-Auth-Token: api_token' \
reg.exe delete “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\CompatMarkers” /f 2>NUL | |
reg.exe delete “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Shared” /f 2>NUL | |
reg.exe delete “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TargetVersionUpgradeExperienceIndicators” /f 2>NUL | |
reg.exe add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\HwReqChk” /f /v HwReqChkVars /t REG_MULTI_SZ /s , /d “SQ_SecureBootCapable=TRUE,SQ_SecureBootEnabled=TRUE,SQ_TpmVersion=2,SQ_RamMB=8192,” |
Şu dosyada ki _/wp-content/plugins/seo-by-rank-math-pro/includes/modules/analytics/class-posts.php_ | |
ranking_keyword_array_sort Fonksiyonu aşağıdakilerle güncelledim: | |
``` | |
public function ranking_keyword_array_sort( $arr, $arr_order, $arr_orderby ) { | |
if ( 'DESC' === $arr_order ) { | |
uasort( | |
$arr, | |
function( $a, $b ) use ( $arr_orderby ) { |
<?php | |
/***** WORDPRESS OPTIMIZATION CODE *****/ | |
// REMOVE EMOJIS | |
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
remove_action( 'wp_print_styles', 'print_emoji_styles' ); | |
remove_action( 'admin_print_styles', 'print_emoji_styles' ); |
<?php | |
/** | |
* Strip `width` & `height` attributes from `img` elements. | |
* | |
* @file functions.php | |
*/ | |
function remove_width_and_height_attribute( $html ) { | |
return preg_replace( '/(height|width)="\d*"\s/', "", $html ); | |
} | |
/* | |
##Cihaz = Masaüstü | |
##Ekran = 1281px 'den yüksek çözünürlükler için | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
} |
Last revised on [DATE]
[COMPANY] will collect certain non-personally identify information about you as you use our sites. We may use this data to better understand our users. We can also publish this data, but the data will be about a large group of users, not individuals.
We will also ask you to provide personal information, but you'll always be able to opt out. If you give us personal information, we won't do anything evil with it.