AutoMySQLBackup with a basic configuration will create Daily, Weekly and Monthly backups of one or more of your MySQL databases from one or more of your MySQL servers.
- Ubuntu server
- MySQL
| { | |
| "prepared_by": "Zulhilmi Zainudin", | |
| "last_update": "21 June 2016", | |
| "data": [ | |
| { | |
| "state": "Selangor", | |
| "codes": [ | |
| "40000", | |
| "40100", |
| <?php | |
| /* * ** | |
| * | |
| * This script converts an existing MySQL database to migrations in Laravel 4. | |
| * | |
| * 1. Place this file inside app/controllers/ | |
| * | |
| * 2. In this file, edit the index() method to customize this script to your needs. | |
| * - inside $migrate->ignore(), you pass in an array of table |
| # remgit.sh | |
| # Creates a remote git repository from the current local directory | |
| # Configuration | |
| # Replace SSH_USERNAME, SSH_HOST, SSH_GIT_PATH with your details | |
| USER=SSH_USERNAME | |
| HOST=SSH_HOST | |
| GIT_PATH=SSH_GIT_PATH | |
| REPO=${PWD##*/} |
| #!/bin/sh | |
| # usage: push-gh-pages DIRECTORY # DIRECTORY is where GitHub pages contents are in (eg. build) | |
| set -e | |
| remote=$(git config remote.origin.url) | |
| described_rev=$(git rev-parse HEAD | git name-rev --stdin) | |
| pages_dir="$1" |
| #!/bin/bash -e | |
| clear | |
| echo "============================================" | |
| echo "WordPress Install Script" | |
| echo "============================================" | |
| echo "Database Name: " | |
| read -e dbname | |
| echo "Database User: " | |
| read -e dbuser | |
| echo "Database Password: " |
| #!/bin/bash -e | |
| clear | |
| echo "============================================" | |
| echo "WordPress Install Script" | |
| echo "============================================" | |
| echo "Do you need to setup new MySQL database? (y/n)" | |
| read -e setupmysql | |
| if [ "$setupmysql" == y ] ; then | |
| echo "MySQL Admin User: " | |
| read -e mysqluser |