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
# info = email.message_from_string(cached_value) | |
# | |
# Need to replace the line above with the kludge below | |
# to fix the non-existent bug not fixed in this | |
# bug report: http://mail.python.org/pipermail/python-bugs-list/2005-September/030289.html |
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
// Specify the LinkerOrder as Post... this does not replace the regular GWT linker and runs after it. | |
@LinkerOrder(LinkerOrder.Order.POST) | |
public class GwtAppCacheLinker extends AbstractLinker { | |
public String getDescription() { | |
return "to create an HTML5 application cache manifest JSP template."; | |
} | |
public ArtifactSet link(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) throws UnableToCompleteException { | |
ArtifactSet newArtifacts = new ArtifactSet(artifacts); | |
// search through each of the compilation results to find the one for Safari. 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
$ elastic-mappings | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 2 0 2 0 0 48 0 --:--:-- --:--:-- --:--:-- 50 | |
{} | |
$ curl -XPUT 'http://localhost:9200/twitter/' -d ' | |
> index : | |
> number_of_shards : 3 | |
> number_of_replicas : 2 | |
> ' |
NewerOlder