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/
packstack --alinone
# -*- 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 |
<?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 : | |
# 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. |
#!/bin/sh | |
GITOLITE_REPO_PATH="/home/gitolite/repositories" | |
GITOLITE_ADMIN_PATH="$GITOLITE_REPO_PATH/gitolite-admin.git" | |
debug () | |
{ | |
echo "[D]: $1" > /dev/null | |
} |
/* | |
A portion of this began as an example sketch from anologReadSerial | |
AnalogReadSerial | |
Reads an analog input on pin 0, prints the result to the serial monitor | |
This example code is in the public domain. | |
*/ | |
/* From http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267245927 |
#!/bin/bash | |
# This script requires the Quantum Random library https://github.com/lmacken/quantumrandom | |
# Use pip: pip install quantumrandom http://pypi.python.org/pypi/quantumrandom | |
for i in {1..100}; | |
do qrandom --int --max 1 --min 1000 >> 100-numbers.txt; | |
done; | |
echo "Complete!"; |
import quantumrandom | |
i = 1 | |
numberofNumbers = input("How many random numbers to you want to generate? ") | |
lowNumberRange = input("Enter the lowest number in the range: ") | |
highNumberRange = input("Enter the highest number in the range: ") | |
print "Generating " + str(numberofNumbers) + " Quantum Random numbers " + \ | |
"in range " + str(lowNumberRange) + " and " + str(highNumberRange) |
// A Simple nod.js chat server using telent from O'reilly's node up and running | |
var net = require('net') | |
var chatServer = net.createServer() | |
clientList = [] | |
chatServer.on('connection', function(client) { | |
client.name = client.remoteAddress + ':' + client.remotePort |
Drupal.behaviors.myModuleBehavior = function (context) { | |
//do some fancy stuff | |
}; |