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:
I hereby claim:
To claim this, I am signing this object:
| ## prepare root password for apt (PSA: sudo the shit out of these or it will fail) ## | |
| #####sudo echo "mysql-community-server mysql-community-server/root-pass password ${DB_PASSWORD_ROOT}" | sudo debconf-set-selections | |
| #####sudo echo "mysql-community-server mysql-community-server/re-root-pass password ${DB_PASSWORD_ROOT}" | sudo debconf-set-selections | |
| #####sudo echo "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)" | sudo debconf-set-selections | |
| # echo "mysql-community-server mysql-community-server/root-pass password ${DB_PASSWORD_ROOT}" | debconf-set-selections | |
| # echo "mysql-community-server mysql-community-server/re-root-pass password ${DB_PASSWORD_ROOT}" | debconf-set-selections | |
| # sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password ${DB_PASSWORD_ROOT}" | |
| # sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/re-root-pass password ${DB_PASSWORD_ROOT}" | |
| # sudo |
| ## fix hyperlinks (but not media src as they are shared with production uploads folder) ## | |
| # sed 's#href="https://$SITE_DOMAIN#href="https://$SITE_DOMAIN/staging#g' /tmp/staging.sql | |
| # sed 's#href="http://$SITE_DOMAIN#href="https://$SITE_DOMAIN/staging#g' /tmp/staging.sql | |
| # sed 's#href="//$SITE_DOMAIN#href="https://$SITE_DOMAIN/staging#g' /tmp/staging.sql | |
| # sed "s#href='https://$SITE_DOMAIN#href='https://$SITE_DOMAIN/staging#g" /tmp/staging.sql | |
| # sed "s#href='http://$SITE_DOMAIN#href='https://$SITE_DOMAIN/staging#g" /tmp/staging.sql | |
| # sed "s#href='//$SITE_DOMAIN#href='https://$SITE_DOMAIN/staging#g" /tmp/staging.sql | |
| ## fix sources (mirrors to production uploads folder using Nginx alias so this is just for cleaner source code) ## | |
| # sed 's#src="https://$SITE_DOMAIN#src="https://$SITE_DOMAIN/staging#g' /tmp/staging.sql |
| #!/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 ## |
| <?php | |
| # Database Configuration | |
| define( 'DB_NAME', 'XXX' ); | |
| define( 'DB_USER', 'XXX' ); | |
| define( 'DB_PASSWORD', 'XXX' ); | |
| define( 'DB_HOST', '127.0.0.1' ); | |
| define( 'DB_HOST_SLAVE', '127.0.0.1' ); | |
| define('DB_CHARSET', 'utf8'); | |
| define('DB_COLLATE', 'utf8_unicode_ci'); | |
| $table_prefix = 'wp_'; |
| <?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 |
| <?php | |
| /* | |
| Plugin Name: Anonymize bbPress | |
| Plugin URI: https://gist.github.com/jessuppi/0663069e94af7f397510990ccd576a30 | |
| Description: Enables guest users to participate in bbPress forums without providing an email address or URL, and assigns randomized user names to every single post. | |
| Version: 1.0.0 | |
| Author: Birgir Erlendsson, Jesse Nickles | |
| License: GPLv3 | |
| License URI: https://www.gnu.org/licenses/gpl-3.0.html | |
| */ |
| <?php | |
| /** | |
| * Plugin Name: Anonymize bbPress | |
| * Description: bbPress anonymous modifications. | |
| * Version: 0.0.2 | |
| * Requires PHP: 5.4 | |
| */ | |
| /** | |
| * Changelog. |
| background: linear-gradient(to bottom right, rgba(55, 71, 79, 0.8), rgba(255, 196, 0, 0.2)), url() | |
| background: linear-gradient(60deg, rgba(55, 71, 79, 0.7777485994397759) 30%, rgba(255, 255, 255, 0) 100%), url() |
| #!/bin/bash | |
| ## source ss-config ## | |
| source /var/www/ss-config | |
| ## source ss-functions ## | |
| source /var/www/ss-functions | |
| ## BELOW THIS RELIES ON SS-CONFIG AND SS-FUNCTIONS |