This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('wp_mail_from', function ($email){ | |
return 'no-reply@your-domain.com'; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Gafaba.com: - Remove WordPress's default image sizes | https://gafaba.com/ | |
function remove_default_image_sizes( $sizes) { | |
unset( $sizes['large']); | |
unset( $sizes['thumbnail']); | |
unset( $sizes['medium']); | |
unset( $sizes['medium_large']); | |
unset( $sizes['1536x1536']); | |
unset( $sizes['2048x2048']); | |
return $sizes; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! | |
Someone could be eavesdropping on you right now (man-in-the-middle attack)! | |
It is also possible that the RSA host key has just been changed. | |
The fingerprint for the RSA key sent by the remote host is | |
06:ea:f1:f8:db:75:5c:8v:af:15:d7:99:2d:ef:08:2a. | |
Please contact your system administrator. | |
Add correct host key in /home/martino-hugo/.ssh/known_hosts to get rid of this message. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* BEGIN - Gafaba.com: - [Wordpress] OneSignal Intelligent delivery - functions.php | https://gafaba.com/ | |
add_filter('onesignal_send_notification', 'onesignal_send_notification_filter', 10, 4); | |
function onesignal_send_notification_filter($fields, $new_status, $old_status, $post) | |
{ | |
$fields['delayed_option'] = 'last-active'; | |
return $fields; | |
} | |
//* END - Gafaba.com: - [Wordpress] OneSignal Intelligent delivery - functions.php | https://gafaba.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y update; curl -O https://centminmod.com/betainstaller73.sh && chmod 0700 betainstaller73.sh && bash betainstaller73.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csf -x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src/centminmod/ | |
./centmin.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LETSENCRYPT_DETECT='y' | |
PHPFINFO='y' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src/centminmod/ | |
./centmin.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/directadmin | |
mv custombuild custombuild_1.x | |
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz | |
tar xvzf custombuild.tar.gz | |
cd custombuild | |
./build |
OlderNewer