Skip to content

Instantly share code, notes, and snippets.

Saving WordPress from itself...

Jesse Nickles jessuppi

Saving WordPress from itself...
Block or report user

Report or block jessuppi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jessuppi / content
Created Oct 9, 2019
On Asking Consultants For Free Consultations.
View content
Year after year, more business goes online -- this includes shopping, marketing, and yes, consulting.
In certain ways, competition has increased, because there are more freelancers offering similar services. But in other ways, there is more opportunity than ever before for freelancers with quality services.
One issue that I've noticed getting "worse" in some respects is the number of clients who expect a "free" consultation from potential service providers; while sometimes this can be a fair request, in most cases it is not.
Allow me to explain:
Unlike salaried full-time employees, every minute you take from a consultant without paying him is money lost.
jessuppi / blacklist.txt
Created Oct 7, 2019
Dummy Plugin Blacklists.txt
jessuppi / query.php
Last active Oct 6, 2019
Different Ways to Query WordPress Posts
View query.php
$options = array(
'post_type' => 'person',
'posts_per_page' => 99,
'orderby' => 'date',
'order' => 'ASC',
'paged' => $paged,
$query = new WP_Query( $options );
if ( $query->have_posts() ) :
jessuppi / default
Created Oct 4, 2019
Monit Nginx Server Block Rules
View default
#### MONIT PANEL ####
location /monit/ {
rewrite ^/monit/(.*) /$1 break;
proxy_ignore_client_abort on;
proxy_set_header Host $host;
proxy_redirect /monit;
jessuppi / variables
Last active Aug 7, 2019
Complete List Of WP-CLI Variables
View variables
## set WP-CLI variables ##
jessuppi / sysctl.conf
Created Jun 25, 2019
Disable IPv6 Connections (Ubuntu Linux)
View sysctl.conf
## 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
jessuppi / littlebizzy-reviews
Last active Jul 1, 2019
LittleBizzy Hosting Reviews (Verified Customers)
View littlebizzy-reviews
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.”
View gist:a7ae4243e677eaef336c8587b6186e9e
## 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
View install-redis
## 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 ##
jessuppi / emergency.php
Last active Feb 19, 2018
WordPress Password Recovery Script
View emergency.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
You can’t perform that action at this time.