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:
| #!/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 ## |
| ## 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 |
| ## 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 |
I hereby claim:
To claim this, I am signing this object:
| ## empty file ## |
| #!/bin/sh | |
| # NOTE: This is an example that sets up SSH authorization. To use it, you'd need to replace "ssh-rsa AA... youremail@example.com" with your SSH public. | |
| # You can replace this entire script with anything you'd like, there is no need to keep it | |
| mkdir -p /root/.ssh | |
| chmod 600 /root/.ssh | |
| echo ssh-rsa AA... youremail@example.com > /root/.ssh/authorized_keys |
| ## 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 |
| ## critical functions (aliases) for this script to function ## | |
| apt () { command DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' /usr/bin/apt -q --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" "$@"; } | |
| wget () { command wget --no-check-certificate --no-cache --no-cookies --tries=3 --timeout=15 "$@"; } | |
| cp () { command cp -R -f -d --no-preserve=mode,ownership "$@"; } | |
| rm () { command rm -R -f "$@"; } | |
| mkdir () { command mkdir -p "$@"; } | |
| unzip () { command unzip -o "$@"; } |
| https://stackoverflow.com/questions/39301196/embedding-most-recent-youtube-video-with-channel-id |
| 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. |