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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: | | |
Replicates (de)registration events from a source target group to a destionation target group | |
in order to workaround ECS limitation where a single container cannot automatically register | |
to multiple target groups | |
Parameters: | |
SourceTargetGroupArn: | |
Description: ARN of a source target group to replicate targets from |
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
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script> | |
</head> | |
<body> | |
<h1>Here is our 5 amazing Links!</h1> | |
<a id="link1" href="#">1</a> |
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
$("#hang").html('<iframe src="http://www.howjsay.com/mp3/' + request.szo + '.mp3">'); |
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
var usStates = [ | |
{ name: 'Alabama', code: 'AL'}, | |
{ name: 'Alaska', code: 'AK'}, | |
{ name: 'American Samoa', code: 'AS'}, | |
{ name: 'Arizona', code: 'AZ'}, | |
{ name: 'Arkansas', code: 'AR'}, | |
{ name: 'California', code: 'CA'}, | |
{ name: 'Colorado', code: 'CO'}, | |
{ name: 'Connecticut', code: 'CT'}, | |
{ name: 'Delaware', code: 'DE'}, |
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
if (destinationDataHolder.getData() instanceof MSPConfig) { | |
// implementation of http://www.hostedredmine.com/issues/68820 | |
// quite ugly | |
// TODO check for XSS attack with wrong paths... | |
MSPConfig config = (MSPConfig) destinationDataHolder.getData(); | |
if (config.getOutputAbsoluteFilePath().isEmpty()) { | |
String userName = navigator.getServices().getAuthenticator().getUserName(); | |
FileManager fm = new FileManager(); | |
File f = fm.getUserFolder(userName); | |
String newPath = String.format("%s/%s-%s.xml", f.getAbsolutePath(), sourceDataHolder.getType(), destinationDataHolder.getType()); |