Skip to content

Instantly share code, notes, and snippets.

RG rgoodie

Block or report user

Report or block rgoodie

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 vagrant-d8.sh
#!/bin/bash
# Install Drupal 8 Development Environment
# update apt
sudo apt-get update -y
# install development tools
sudo apt-get install curl git vim -y
@rgoodie
rgoodie / new-drupal-dev-vm.sh
Last active Mar 22, 2018
A function, when added to bash profile, clones the Vagrant Drupal-Dev-VM (https://github.com/geerlingguy/drupal-dev-vm), augments configuration (based on d7 or d8), renames the VM to something other than drupaltest.dev and starts vagrant up. Uses include <newd 7 my-drupal-site> and <newd 8 my-other-drupal-site>.
View new-drupal-dev-vm.sh
# new drupal vagrant install
# A function, when added to bash profile, clones the Vagrant Drupal-Dev-VM (https://github.com/geerlingguy/drupal-dev-vm),
# augments config (based on d7 or d8), renames the VM to something other than drupaltest.dev and starts vagrant up. Uses
# include <newd 7 my-drupal-site> and <newd 8 my-other-drupal-site>.
function newd {
if [ $2 == ]; then
echo 'USAGE: newd8 <version> <sitename>'
@rgoodie
rgoodie / stop-vms.sh
Created Aug 5, 2014
A Bash script to stop all running instances of VMs under virtual box (and vagrant)
View stop-vms.sh
vboxmanage list runningvms | sed -r 's/.*\{(.*)\}/\1/' | xargs -L1 -I {} VBoxManage controlvm {} savestate
You can’t perform that action at this time.