Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Open to Opportunities

Don Myers ProjectOrangeBox

👨‍💻
Open to Opportunities
Block or report user

Report or block ProjectOrangeBox

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
View fixPermission.sh
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run using sudo or as root"
exit
fi
# This Folder
ROOT="$( cd "$(dirname "$0")" ; pwd -P )"
@ProjectOrangeBox
ProjectOrangeBox / crontab.sh
Last active Jan 9, 2020
Shelly Fancy Shell Script Runner
View crontab.sh
#!/bin/bash
source "$(cd `dirname $0` && pwd)/shelly.sh"
runScript copy/ship_address
runScript copy/customer_email blocking
runScript copy/customers
runScript copy/order
runScript copy/line_items
@ProjectOrangeBox
ProjectOrangeBox / MySql Backup & Remove
Last active Aug 31, 2018
MySql Backup & Remove - with slight modifications
View MySql Backup & Remove
#!/bin/bash
# Script will output dumps for all databases using seperate files
# Derived from this post: http://www.cyberciti.biz/faq/ubuntu-linux-mysql-nas-ftp-backup-script/
USER="local_backup_script"
PASSWORD="LocalBackupScript#429"
HOST="localhost"
MYSQL="$(which mysql)"
MYSQLDUMP="$(which mysqldump)"
GZIP="$(which gzip)"
You can’t perform that action at this time.