Skip to content

Instantly share code, notes, and snippets.

@troggy
Created December 9, 2014 12:56
Show Gist options
  • Save troggy/6d70f5f6fc02e53b9447 to your computer and use it in GitHub Desktop.
Save troggy/6d70f5f6fc02e53b9447 to your computer and use it in GitHub Desktop.
Dump AWS configuration to Java-compatible properties string. Execute in your browser's developer console on the EBS configuration page
jQuery.map(jQuery.find("input[ng-model='property.value'].ng-pristine").filter(function(e) { return jQuery(e).val() != ''; }), function(e) { return "-D" + jQuery(e).parents("td:first").prev().text().trim() + '="' + jQuery(e).val() + '"'; }).join(" ");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment