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
# install git | |
sudo apt-get install g++ curl libssl-dev apache2-utils | |
sudo apt-get install git-core | |
# download the Node source, compile and install it | |
git clone https://github.com/joyent/node.git | |
cd node | |
./configure | |
make | |
sudo make install | |
# install the Node package manager for later use |
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 | |
echo "Check if RVM is installed" | |
which rvm > /dev/null 2>&1 | |
if [ $? -eq 0 ] | |
then | |
echo "RVM is already installed, skipping" | |
else | |
echo "Installing RVM" | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) |
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
from __future__ import absolute_import | |
""" | |
This will configure and run the nosetests for graph against remove ec2 servers. | |
Running this makes a few assumptions. | |
1) You must have access to graph on github. This will checkout the repo to run the tests | |
2) You must have an account on EC2 and be able to create instances. | |
In order to configure, you need to create a file in your home called ~/.boto that looks like: |
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
from __future__ import absolute_import | |
""" | |
This will configure and run the nosetests for graph against remove ec2 servers. | |
Running this makes a few assumptions. | |
1) You must have access to graph on github. This will checkout the repo to run the tests | |
2) You must have an account on EC2 and be able to create instances. | |
In order to configure, you need to create a file in your home called ~/.boto that looks like: |
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
from __future__ import absolute_import | |
""" | |
This will configure and run the nosetests for graph against remove ec2 servers. | |
Running this makes a few assumptions. | |
1) You must have access to graph on github. This will checkout the repo to run the tests | |
2) You must have an account on EC2 and be able to create instances. | |
In order to configure, you need to create a file in your home called ~/.boto that looks like: |
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
ami-ab39eec2 |
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 | |
export GLOBUS_LOCATION=/usr | |
export GLOBUS_FLAVOR= | |
cd ~/graph | |
if ! git rev-parse --git-dir > /dev/null; then | |
echo "This is not a git directory" | |
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
from __future__ import absolute_import | |
import os.path | |
from fabric.api import * | |
from fabric.contrib.project import rsync_project | |
env.hosts = ['wordpress1.globuscs.info','wordpress2.globuscs.info'] | |
@parallel |
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
from globusonline.graph import data_store | |
import globusonline.graph | |
from globusonline.graph.request import TestRequest | |
from globusonline.graph.users import resources as users | |
from globusonline.graph import groups | |
from ConfigParser import RawConfigParser | |
from sys import argv | |
# Setup: | |
config = RawConfigParser() |
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
require 'formula' | |
class Vim < Formula | |
# Get stable versions from hg repo instead of downloading an increasing | |
# number of separate patches. | |
url 'https://vim.googlecode.com/hg/', :revision => '992b24149a9e' | |
version '7.3.333' | |
homepage 'http://www.vim.org/' | |
head 'https://vim.googlecode.com/hg/' |
OlderNewer