Version Control your .bash_aliases file using:
- defunkt/gist
- Github Gists
- Bash aliases
I'll use a sample .bash_aliases file for the tut:
# ~/.bash_aliases
Version Control your .bash_aliases file using:
I'll use a sample .bash_aliases file for the tut:
# ~/.bash_aliases
| # #!/bin/bash | |
| # # | |
| # # provision.sh | |
| # # | |
| # # This file is specified in Vagrantfile and is loaded by Vagrant as the primary | |
| # # provisioning script whenever the commands `vagrant up`, `vagrant provision`, | |
| # # or `vagrant reload` are used. It provides all of the default packages and | |
| # # configurations included with Varying Vagrant Vagrants. | |
| # # By storing the date now, we can calculate the duration of provisioning at the |
mysql> CREATE USER 'user_name'@'localhost' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'user_name'@'localhost' WITH GRANT OPTION;
mysql> CREATE USER 'user_name'@'%' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'user_name'@'%' WITH GRANT OPTION;
| #!/bin/bash | |
| set -e -o errexit -o pipefail -o nounset | |
| ################################### | |
| # This script can be used by itself, but it's recommended that you read | |
| # a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/ | |
| ################################### | |
| # Do not modify these variables (set by Proxmox when calling the script) | |
| vmId="$1" |