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
| #!/usr/bin/env python | |
| import glob | |
| import optparse | |
| import os | |
| import re | |
| import sys | |
| import time | |
| def main(args): |
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
| namespace(:sbt) { | |
| _cset(:sbt_version, '0.11.2') | |
| _cset(:sbt_jar_url) { | |
| "http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/#{sbt_version}/sbt-launch.jar" | |
| } | |
| _cset(:sbt_jar_file) { | |
| File.join(shared_path, "sbt", sbt_version, "sbt-launch.jar") | |
| } | |
| _cset(:sbt_cmd) { # override this if you want to set env vars (e.g. JAVA_HOME) for sbt | |
| "#{java} -jar #{sbt_jar_file}" |
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
| #!/usr/bin/env python | |
| import boto.ec2 | |
| import boto.ec2.autoscale | |
| import boto.route53 | |
| import boto.s3.connection | |
| import boto.sqs | |
| import code | |
| import optparse | |
| import os |
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
| #!/usr/bin/env python | |
| import logging | |
| import optparse | |
| import os | |
| import re | |
| import sys | |
| import time | |
| import urllib | |
| import urllib2 |
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
| #!/usr/bin/env python | |
| # | |
| # dump route53 zones | |
| # | |
| import boto.route53 | |
| import boto.exception | |
| import os | |
| import re | |
| import sys |
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
| #!/usr/bin/env python | |
| # | |
| # find snapshots which is not referenced from any AMIs | |
| # | |
| import boto.ec2 | |
| import boto.ec2.image | |
| import boto.exception | |
| import os | |
| import re |
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
| OPENSSL = openssl | |
| DAYS = -days 3652 | |
| CADAYS = -days 3652 | |
| REQ = $(OPENSSL) req | |
| CA = $(OPENSSL) ca | |
| VERIFY = $(OPENSSL) verify | |
| X509 = $(OPENSSL) x509 | |
| # must be absolute path | |
| CATOP = $(PWD)/ca |
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/sh -e | |
| SBT_HOME="$HOME/usr/sbt" | |
| if test $# -gt 0 -a -f "$SBT_HOME/${1#@}/sbt-launch.jar"; then | |
| SBT_JAR="$SBT_HOME/${1#@}/sbt-launch.jar" | |
| shift | |
| fi | |
| if ! test -f "$SBT_JAR"; then |
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
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import time | |
| import tornado.ioloop | |
| class PeriodicServer(object): | |
| def __init__(self, request_callback, io_loop=None, period=1): | |
| self.request_callback = request_callback |
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
| # Codenames for Debian suites according to their alias. Update these when | |
| # needed. | |
| UNSTABLE_CODENAME="sid" | |
| TESTING_CODENAME="wheezy" | |
| STABLE_CODENAME="squeeze" | |
| STABLE_BACKPORTS_SUITE="$STABLE_CODENAME-backports" | |
| OLDSTABLE_CODENAME="lenny" | |
| # List of Debian suites. | |
| DEBIAN_SUITES=($UNSTABLE_CODENAME $TESTING_CODENAME $STABLE_CODENAME $OLDSTABLE_CODENAME |