grep -h "<testcase" `find . -iname "TEST-*.xml"` | sed 's/<testcase name="\(.*\)" classname="\(.*\)" time="\(.*\)".*/\3\t\2.\1/' | sort -rn | head
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
jQuery(document).ready(function() { | |
var attributes = {} | |
attributes["IT"] = 'data-amazon-it'; | |
attributes["GB"] = 'data-amazon-gb'; | |
var url = "http://freegeoip.net/json/ "; | |
jQuery.getJSON(url, function(data) { | |
var code = data.country_code; | |
var links = jQuery('[data-amazon]'); | |
jQuery.each(links, function(index, link) { |
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
cowboy static files: | |
src | |
priv | |
in priv | |
static/js | |
index.html | |
index referenzia js come <script src="/static/js/controllers.js"></script> |
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
Estrarre separatore string calculator | |
Pattern pattern = Pattern.compile("//(.+?)\n(.+)"); | |
Matcher matcher = pattern.matcher(input); | |
if (matcher.matches()) { | |
System.out.println(matcher.group(1)); | |
} |
NewerOlder