RadiantBlue's Open Technology Division Cloud Notes
- RDO
- Error Starting Mongo after
packstack --alinone
- Error Starting Mongo after
- https://ask.openstack.org/en/question/54015/mongodbpp-error-when-installing-rdo-on-centos-7/
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
#/usr/bin/env python | |
# Install elaphe first | |
# pip install elaphe | |
from elaphe.upc import UpcA | |
upc_a = UpcA() | |
# Just a simple dictionary of numbers. If I remember right, I had to use UPC A because they had the number of characters I needed |
<?php | |
/** | |
* This script is for easily deploying updates to Github repos to your local server. It will automatically git clone or | |
* git pull in your repo directory every time an update is pushed to your $BRANCH (configured below). | |
* | |
* Read more about how to use this script at http://behindcompanies.com/2014/01/a-simple-script-for-deploying-code-with-githubs-webhooks/ | |
* | |
* INSTRUCTIONS: | |
* 1. Edit the variables below | |
* 2. Upload this script to your server somewhere it can be publicly accessed |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
packstack --alinone
openssl pkcs12 -export -in ben-chromebook.crt -inkey ben-chromebook.key -out ben-chromebook.p12
// Snippet for configuring the autoslave module in settings.php | |
// Master is x.x.x.100 and slave is x.x.x.101 | |
$databases['default']['master'] = array ( | |
'database' => 'drupal', | |
'username' => 'root', | |
'password' => 'root', | |
'host' => '192.168.33.100', | |
'port' => '', | |
'driver' => 'mysql', | |
'prefix' => '', |
#!/usr/env python | |
''' | |
Author: Ben Hosmer | |
License: Unlicense http://unlicense.org/ | |
Note: This is pseudo-random meaning don't rely on it for high-security! | |
''' | |
import random | |
import os |
# Sample VCL based on VCL created by Four Kitchens, available at | |
# https://fourkitchens.atlassian.net/wiki/display/TECH/Configure+Varnish+3+for+Drupal+7 | |
/* | |
* Copyright (c) 2013 Four Kitchens | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* 1. Redistributions of source code must retain the above copyright |