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
=== Plugin Name === | |
Contributors: littlebizzy | |
Donate link: https://www.patreon.com/littlebizzy | |
Tags: five, keywords, separated, by, commas | |
Requires at least: 4.4 | |
Tested up to: 4.9 | |
Requires PHP: 7.2 | |
Multisite support: No | |
Stable tag: 1.2.3 |
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
#!/bin/bash | |
aptitude -y install expect | |
// Not required in actual script | |
MYSQL_ROOT_PASSWORD=abcd1234 | |
SECURE_MYSQL=$(expect -c " | |
set timeout 10 |
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
#!/bin/bash | |
########################################### | |
#### Install Monit 5.23 (Ubuntu 16.04) #### | |
########################################### | |
#### binaries list: https://mmonit.com/monit/dist/binary/ | |
#### downloads: https://bitbucket.org/tildeslash/monit/downloads/ | |
## install outdated repo version ## |
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
#!/bin/bash | |
## remove nginx install (purge not needed) ## | |
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' /usr/bin/apt-get -q --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" remove nginx | |
## update repo cache ## | |
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' /usr/bin/apt-get -q --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" update | |
## ensure nginx mainline (dev) branch is default ## | |
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' /usr/bin/apt-get -q --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" add-apt-repository ppa:nginx/development |
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
<?php | |
// Subpackage namespace | |
namespace LittleBizzy\HeaderCleanup; | |
/** | |
* Admin Notices class | |
* | |
* @package WordPress | |
* @subpackage Admin Notices |
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
<?php | |
/* | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
## install redis-server ## | |
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' /usr/bin/apt-get -q --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install redis-server | |
## install php-redis ## | |
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' /usr/bin/apt-get -q --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install php-redis | |
## delete tmp files ## | |
rm -R -f /tmp/redis-conf.txt /tmp/redis.conf | |
## download latest versions ## |
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
## replace entire line containing string with new line content ## | |
sed -i '/error_log/c\error_log = /var/www/logs/error.log' /etc/php/7.2/fpm/php-fpm.conf |
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
LittleBizzy started out as a consulting service by founder Jesse Nickles for WordPress clients looking to speed up and secure their website. Several of these clients were from oDesk (Upwork), or referrals, and beyond, as well as direct customers that are still hosted with us today; below is a mix of real reviews (Google them!) from the past few years. | |
“Hands down one of the best partners we’ve worked with in our businesses. Can’t speak more highly of the experience we’ve had with LittleBizzy.” | |
— Cyrus, United States | |
“Jesse migrated and optimised my page load times and got them from around 10 seconds to 1 second. He totally exceeded my expectations and even suggested further improvements to my page load speeds. Within 24 hours of hiring Jesse much of the work was complete and I found that I was the only real bottleneck. A rare find, thanks.” |
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
## disable ipv6 | |
## after saving or editing this file | |
## reload settings with: sudo sysctl -p | |
## confirm with: cat /proc/sys/net/ipv6/conf/all/disable_ipv6 | |
# net.ipv6.conf.all.disable_ipv6 = 1 | |
# net.ipv6.conf.default.disable_ipv6 = 1 | |
# net.ipv6.conf.lo.disable_ipv6 = 1 | |
# net.ipv6.conf.eth0.disable_ipv6 = 1 |
OlderNewer