This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# vagranter environment installer | |
# TODO: develop compatibility with other platforms aside from ubuntu | |
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.3_x86_64.deb | |
sudo dpkg -i vagrant_1.6.3_x86_64.deb | |
rm vagrant_1.6.3_x86_64.deb | |
# TODO: install ruby, gems and vagrant plugins | |
# TODO: install required gems |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int cp = 9; | |
int ap = 8; | |
int cv = 6; | |
int av = 7; | |
int l1 = 13; | |
int l2 = 12; | |
int l3 = 11; | |
void parseSerial(String ser) { | |
//ignorar mayusculas y minusculas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Rbenv Installer for ubuntu | |
rubyb=2.1.2 | |
# Verify it is not being run as root | |
if [ $EUID -eq 0 ] ; then | |
echo "Don't run this script as root if you don't want to have nightmares at night" >> /dev/stderr | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
environment="server" | |
java=1 | |
# parse arguments for environment settings | |
while [ $# -gt 0 ] ; do | |
case $1 in | |
-e | --environment) environment=$2 ; shift 2 ;; | |
-n | --no-java) java=0 ; shift 1 ;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script must be run as root | |
if [[ $EUID -ne 0 ]] | |
then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
function uninstall() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | |
sudo apt-get install git -y | |
git clone https://github.com/openstack-dev/devstack.git | |
cd devstack | |
git checkout --track /origin/stable/icehouse | |
wget https://gist.githubusercontent.com/yamishi13/11321419/raw/2aa6b15114dd46becb21f3328fb19e8e24a6dbd6/local.conf | |
./stack |
NewerOlder