ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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 "AMI ID: $(curl http://169.254.169.254/latest/meta-data/ami-id)\n" | |
| echo "AMI LAUNCH INDEX: $(curl http://169.254.169.254/latest/meta-data/ami-launch-index)\n" | |
| echo "AMI MANIFEST PATH: $(curl http://169.254.169.254/latest/meta-data/ami-manifest-path)\n" | |
| echo "BLOCK DEVICE MAPPING: $(curl http://169.254.169.254/latest/meta-data/block-device-mapping/)\n" | |
| echo "HOSTNAME: $(curl http://169.254.169.254/latest/meta-data/hostname)\n" | |
| echo "INSTANCE ACTION: $(curl http://169.254.169.254/latest/meta-data/instance-action)\n" | |
| echo "INSTANCE ID: $(curl http://169.254.169.254/latest/meta-data/instance-id)\n" | |
| echo "INSTANCE TYPE: $(curl http://169.254.169.254/latest/meta-data/instance-type)\n" | |
| echo "KERNEL ID: $(curl http://169.254.169.254/latest/meta-data/kernel-id)\n" |
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 | |
| # Requires two env variables ACETRAVELS_DOMAIN and ACETRAVELS_MINION to be set in /env/environment | |
| # Hostname is set only if the above variables are set and has not been set already | |
| HOSTNAME_RESOLVER_URI="http://config-server.cloud.acetravels.com:3000" | |
| CURRENT=`hostname` | |
| DOMAIN=`echo $ACETRAVELS_DOMAIN` | |
| MINION=`echo $ACETRAVELS_MINION` | |
| if [ "$MINION" == "true" ]; then | |
| if [ -n "$DOMAIN" ]; 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
| package com.linkedin.dust.renderer; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.io.Reader; | |
| import java.io.Writer; | |
| import org.mozilla.javascript.Context; | |
| import org.mozilla.javascript.JavaScriptException; |
NewerOlder