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
| apply plugin: 'java' | |
| apply plugin: 'war' | |
| apply plugin: 'eclipse-wtp' | |
| apply plugin: 'flyway' | |
| sourceCompatibility = 1.6 | |
| version = '0.1' | |
| buildscript { | |
| repositories { |
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 | |
| # | |
| # JBoss standalone control script | |
| # | |
| # chkconfig: - 80 20 | |
| # Source function library. | |
| . /etc/init.d/functions | |
| JBOSS_CONF="/home/ec2-user/jboss-as-7.1.1.Final/bin/standalone.conf" |
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
| <VirtualHost *:80> | |
| ProxyPreserveHost On | |
| ProxyPass / http://localhost:8080/ | |
| ProxyPassReverse / http://localhost:8080/ | |
| </VirtualHost> |
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 | |
| # | |
| # 2013-11-04: Cloud-init setup of JBoss Development Environment on EC2-Instance/Amazon Linux AMI release 2013.09 | |
| # | |
| python -c "import boto.ec2; import boto.utils; boto.ec2.connect_to_region(boto.utils.get_instance_metadata()['placement']['availability-zone'][:-1]).create_tags([boto.utils.get_instance_metadata()['instance-id']], {'environment': 'jbosstemplateenv1'})" | |
| mkdir /home/ec2-user/install | |
| cd /home/ec2-user/install/ | |
| wget http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip |
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
| aws ec2 run-instances --image-id ami-687b4f2d --key-name chrigimacbook --security-groups HTTP_SSH --user-data `curl -s https://gist.github.com/chtz/7301111/raw/a66eba513f67e24d3e45415ddaebca34ff9e86c6/jboss_dev_env_cloudinit.sh | base64` --instance-type m1.small --iam-instance-profile Arn=arn:aws:iam::261512354225:instance-profile/adminRole --count 1 |
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
| aws ec2 describe-instances --output text --query "Reservations[*].Instances[*].{InstanceId:InstanceId, State: State.Name, DNS: PublicDnsName}" |
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 ch.up4sure.ng; | |
| import java.lang.reflect.Method; | |
| import java.text.DateFormatSymbols; | |
| import java.text.SimpleDateFormat; | |
| import java.util.Date; | |
| import java.util.Locale; | |
| import java.util.TimeZone; | |
| import org.aspectj.lang.ProceedingJoinPoint; |
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
| java -jar jruby-complete-9.0.5.0.jar -S irb |
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
| java -Dhtttps.proxyHost=localhost -Dhttps.proxyPort=8080 -Dhtttp.proxyHost=localhost -Dhttp.proxyPort=8080 -Djavax.net.ssl.trustStore=mitmproxy.jks -Djavax.net.ssl.trustStorePassword=FIXME ... |
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
| keytool -import -trustcacerts -alias mitmproxy -file ~/.mitmproxy/mitmproxy-ca-cert.cer -keystore mitmproxy.jks |
OlderNewer