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
The following characters are invalid in a path: | |
Char Hex Value | |
", 0022 | |
<, 003C | |
>, 003E | |
|, 007C | |
, 0000 | |
☺, 0001 | |
☻, 0002 | |
♥, 0003 |
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
<fields> | |
<field name="id" type="string" indexed="true" stored="true"/> | |
<field name="storage_id" type="string" indexed="true" stored="true"/> | |
<field name="storage_path" type="string" indexed="true" stored="true"/> | |
<field name="object_type" type="string" indexed="true" stored="true"/> | |
<field name="object_id" type="string" indexed="true" stored="true"/> | |
<field name="related_id" type="string" indexed="true" stored="true"/> | |
<field name="related_type" type="string" indexed="true" stored="true"/> |
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
<document> | |
<class-name>document</class-name> | |
<content-type>text/plain</content-type> | |
<created-at>2011-06-24T19:25:30Z</created-at> | |
<download>http://localhost:3000/ze/api/documents/10550/download</download> | |
<favorite>false</favorite> | |
<highlighting> primitive settlements in far and hard to reach places <em>after</em> its humble start some quilombos would develop</highlighting> | |
<id>10550</id> | |
<name>capoeira2.txt</name> | |
<original>http://localhost:3000/ze/api/documents/10550/original</original> |
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
export SERVER=localhost | |
curl -XPUT --silent "http://$SERVER:9200/documents" -d ' | |
{ | |
"settings" : { | |
"index" : { | |
"analysis": { | |
"analyzer": { | |
"default": { | |
"tokenizer": "pattern", |
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
export SERVER=localhost | |
curl -XPUT --silent "http://$SERVER:9200/documents" -d ' | |
{ | |
"settings" : { | |
"index" : { | |
"analysis": { | |
"analyzer": { | |
"en": { | |
"tokenizer": "pattern", | |
"filter": [ |
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
curl -v -XPOST -H "Content-Type: text/json" http://localhost:9000/invoices -d ' | |
{ | |
"name": "hashcode", | |
"other": "here", | |
"person": { | |
"name": "maria" | |
}, | |
"documents": [ | |
{ | |
"name": "foobar.pdf", |
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
$ -> | |
contacts = [ | |
{ name: "Contact 1", address: "1, a street, a town, a city, AB12 3CD", tel: "0123456789", email: "[email protected]", type: "family" } | |
{ name: "Contact 2", address: "1, a street, a town, a city, AB12 3CD", tel: "0123456789", email: "[email protected]", type: "family" } | |
{ name: "Contact 3", address: "1, a street, a town, a city, AB12 3CD", tel: "0123456789", email: "[email protected]", type: "friend" } | |
{ name: "Contact 4", address: "1, a street, a town, a city, AB12 3CD", tel: "0123456789", email: "[email protected]", type: "colleague" } | |
{ name: "Contact 5", address: "1, a street, a town, a city, AB12 3CD", tel: "0123456789", email: "[email protected]", type: "family" } | |
{ name: "Contact 6", address: "1, a street, a town, a city, AB12 3CD", tel: "0123456789", email: "[email protected]", type: "colleague" } | |
{ name: "Contact 7", address: "1, a street, a town, a city, AB12 3CD", tel: "0123456789", email: "[email protected]", type: "friend" } | |
{ name: "Contact 8", address: "1, a street |
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
diff --git a/src/main/java/org/jboss/netty/handler/codec/http/multipart/HttpPostRequestDecoder.java b/src/main/java/org/jboss/netty/handler/codec/http/multipart/HttpPo | |
index 83887ab..1efbf94 100644 | |
--- a/src/main/java/org/jboss/netty/handler/codec/http/multipart/HttpPostRequestDecoder.java | |
+++ b/src/main/java/org/jboss/netty/handler/codec/http/multipart/HttpPostRequestDecoder.java | |
@@ -1187,7 +1187,7 @@ public class HttpPostRequestDecoder { | |
/** | |
* Clean all HttpDatas (on Disk) for the current request. | |
- */ | |
+ */ |
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
<repository> | |
<id>repository-netty.forge.cloudbees.com</id> | |
<url>http://repository-netty.forge.cloudbees.com/snapshot</url> | |
</repository> | |
... | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty</artifactId> |
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
# build an executable named array_sort from array_sort.c | |
all: array_sort.c | |
gcc -ansi -g -Wall -o array_sort array_sort.c | |
run: | |
./array_sort | |
OlderNewer