This file contains 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
branch=`git rev-parse --abbrev-ref HEAD` | |
if [ "$branch" = "master" ] || [ "$branch" = "maint-4.1" ] | |
then | |
echo "Pushing to "$branch" is no bueno." | |
exit -1 | |
fi | |
echo "pushing to "$branch | |
git submodule foreach git push origin $branch | |
git push origin $branch |
This file contains 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
git submodule foreach git checkout $1 | |
git submodule foreach git pull origin $1 | |
git checkout $1 | |
git pull origin $1 |
This file contains 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 "{ \"Statement\": [ { \"Effect\": \"Allow\", \"Action\": \"*\", \"Resource\": \"*\" } ] }" >all.policy | |
k=0 | |
ADMIN=`cat .euca/euca-admin.ini |grep "^user" |awk '{ print $3; }'` | |
HOST=`cat .euca/euca-admin.ini |grep "^default-region" |awk '{ print $3; }'` | |
REGION=$ADMIN@$HOST | |
for i in ui-test-acct-00 ui-test-acct-01 ui-test-acct-02 ui-test-acct-03 | |
do | |
echo "creating users for "$i | |
euare-accountcreate --region $REGION -a $i | |
euare-useraddloginprofile --region $REGION --as-account $i -u admin -p mypassword$k |
This file contains 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
/* | |
* Conway's "Life" | |
* | |
* Adapted from the Life example | |
* on the Processing.org site | |
* | |
* Written by David Kavanagh ([email protected]). | |
*/ | |
#include "SPI.h" | |
#include "Adafruit_WS2801.h" |
This file contains 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
#!/usr/bin/env python | |
import os | |
import sys | |
import urllib2 | |
import json | |
import hashlib | |
import zlib | |
from optparse import OptionParser |
NewerOlder