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
| export MAVEN_OPTS="-Xmx1024m" | |
| git clone git://github.com/jbossas/jboss-as.git | |
| cd jboss-as | |
| git checkout 7.1.3.Final | |
| mvn install -DskipTests | |
| mv build/target/jboss-as-7.1.3.Final /opt | |
| apt-get install libaio1 | |
| cd /opt | |
| tar xvfz /home/me/jboss-as-7.1.3.Final.tar.gz |
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
| All routes under welvi/ redirects to 503.html | |
| <RoutingRules> | |
| <RoutingRule> | |
| <Condition> | |
| <KeyPrefixEquals>welvi/</KeyPrefixEquals> | |
| </Condition> | |
| <Redirect> | |
| <ReplaceKeyWith>503.html</ReplaceKeyWith> | |
| </Redirect> |
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
| def fib(n) | |
| (0..n).inject([1,0]) { |(a,b), _| [b, a+b] }[0] | |
| end |