Skip to content

Instantly share code, notes, and snippets.

View jessuppi's full-sized avatar
❤️
let the bodies hit the floor

Jesse Nickles jessuppi

❤️
let the bodies hit the floor
View GitHub Profile
<?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
@hansschuijff
hansschuijff / install-wp-plugins.php
Last active December 5, 2025 08:53 — forked from squarestar/install-wp-plugins.php
Programmatically install and activate wordpress plugins
<?php
/**
* Plugin Name: Activate required plugins.
* Description: Programmatically install and activate plugins based on a runtime config.
* Version: 1.0
* Author: Hans Schuijff
* Author URI: http://dewitteprins.nl
* License: MIT
* License URI: http://www.opensource.org/licenses/mit-license.php
*/
@nginx-gists
nginx-gists / ubuntu_install.sh
Last active May 29, 2025 05:42
Automating Installation of WordPress with NGINX Unit on Ubuntu
#!/usr/bin/env bash
if [ "$EUID" -ne 0 ];then
>&2 echo "This script requires root level access to run"
exit 1
fi
if [ -z "${WORDPRESS_DB_PASSWORD}" ]; then
>&2 echo "WORDPRESS_DB_PASSWORD must be set"
>&2 echo "Here is a random one that you can paste:"
@jessuppi
jessuppi / gist:3356c3031281872eb85120020fca4daa
Last active September 10, 2020 20:21
SlickStack Bash Functions (Aliases) + Environment Variables
#!/bin/bash
####################################################################################################
#### SlickStack: Critical Bash Functions (Aliases) + Script Variables ##############################
####################################################################################################
## the below functions are hardcoded into every SlickStack script to ensure reliability ##
## this also speeds up processing times by avoiding repeated inline commands ##
## add-apt-repository alias flags ##
@jesugmz
jesugmz / solve-load-pubkey-id_rsa-invalid-format.md
Last active December 2, 2022 23:35
Solve load pubkey "/root/.ssh/id_rsa": invalid format

OpenSSH 8.3p1 introduces the need of having a public SSH key otherwise is gonna show the warning

load pubkey "/root/.ssh/id_rsa": invalid format

# ssh -V
OpenSSH_8.3p1, OpenSSL 1.1.1g  21 Apr 2020

To supress this message we can put in place our SSH public key or generate it from our private key with:

@rkalkani
rkalkani / get-public-ip.md
Last active November 20, 2025 20:13
Get public IP address used by your machine to connect to the internet

Get Public IP

DNS

Google

dig o-o.myaddr.l.google.com txt @ns1.google.com +short
# OR
nslookup -type=txt o-o.myaddr.l.google.com ns1.google.com
@ziadoz
ziadoz / mysql_install.sh
Created June 8, 2020 16:45
MySQL 8 Installation - Ubuntu 18.04 / 20.04 LTS
#!/usr/bin/env bash
password="root"
echo PURGE | sudo debconf-communicate mysql-community-server
sudo apt purge mysql-client mysql-server
sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $password"
sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/re-root-pass password $password"
sudo debconf-set-selections <<< "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)"
@jessuppi
jessuppi / keybase.md
Created April 17, 2020 16:48
Keybase Verification

Keybase proof

I hereby claim:

  • I am jessuppi on github.
  • I am jessuppi (https://keybase.io/jessuppi) on keybase.
  • I have a public key ASBM8UruRpHyciuqdbFZ4e-MSobAfGRdujAbFLkXHCl_zAo

To claim this, I am signing this object:

@westonruter
westonruter / gist-wp-plugin-installation.md
Last active January 2, 2026 06:39
How to install a WordPress plugin from a Gist
@jessuppi
jessuppi / gist:04fbdc74b20cbe57f627f4611715c041
Last active April 13, 2021 07:54
SEO Referral Spam Domains (List)
## block these spam domains from your referrer analytics and/or using firewall rules ##
## the majority of these abusive bots are from China (but not all of them) ##
adelachrist.top
ammgm.org
anti-crisis-seo.com
barbarahome.top
bavsac.com
briankatrine.top
blogking.top