I hereby claim:
- I am rclilly on github.
- I am rclilly (https://keybase.io/rclilly) on keybase.
- I have a public key ASDnNdwiEzCHt-xq-jb4y36zWnHx6iYuBJ2hdvf5LFR5Sgo
To claim this, I am signing this object:
#requires -Version 3.0 | |
<# | |
.SYNOPSIS | |
My Veeam Report is a flexible reporting script for Veeam Backup and | |
Replication. | |
.DESCRIPTION | |
My Veeam Report is a flexible reporting script for Veeam Backup and | |
Replication. This report can be customized to report on Backup, Replication, |
I hereby claim:
To claim this, I am signing this object:
numnodes=2 | |
baseip="192.168.10" | |
#global script | |
$global = <<SCRIPT | |
#check for private key for vm-vm comm | |
[ -f /vagrant/id_rsa ] || { | |
ssh-keygen -t rsa -f /vagrant/id_rsa -q -N '' | |
} |
#!/bin/bash -e | |
## | |
# WordPress Installation and VirtualHost Creation | |
# Description: Installs a WordPress website in the ~/Sites folder, creates a homepage, cleans up the WP install a bit, deletes the akismet and hello dolly plugins, creates the permalinks, clones the roots/sage theme framework to the theme folder, deletes all the other WP default themes, installs/runs npm and bower and runs gulp to create the initial assets, adds a custom gitignore file to /wp-content, installs the roots/soil plugin, creates a git repo in wp-content, saves the WordPress credentials to a local file and the password to your clipboard. Then it creates a virtualhost for you. Voila! | |
# Author: William Donahoe - @ethicka | |
# | |
# Based off of http://www.ltconsulting.co.uk/automated-wordpress-installation-with-bash-wp-cli/ | |
# | |
# Dependencies: wp-cli, virtualhost.sh, apg, git, npm, node, gulp, bower |
#!/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: " |
require 'mina/git' # Require mina/git | |
set :term_mode, nil # Bug in OS X that makes the password promp kinda fishy... | |
set :domain, 'example.com' # The web servers SSH domain | |
set :deploy_to, '/home/user/my-site' # Full path to where you want Mina to deploy | |
set :repository, 'https://[email protected]/USERNAME/REPOSITORY.git' # The git repository Mina shall use | |
set :branch, 'master' # What git branch Mina should get | |
set :user, 'username' # What username to connect with through SSH | |
set :current_path, 'www' # What file should be the current version. Probably 'www', 'public_html' or perhaps 'current'. |
upstream php-fpm { | |
server unix:/var/run/php5-fpm.sock; | |
} | |
server { | |
listen 80; | |
server_name www.example.com; | |
rewrite ^ http://example.com$request_uri?; | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/bin/bash | |
# args | |
MSG=${1-'deploy from git'} | |
BRANCH=${2-'trunk'} | |
# paths | |
SRC_DIR=$(git rev-parse --show-toplevel) | |
DIR_NAME=$(basename $SRC_DIR) | |
DEST_DIR=~/svn/wp-plugins/$DIR_NAME/$BRANCH |