Regex for multi parameter endpoint - regex

so far I've built apis in this fashion due to lack of knowledge
/doc/:uri/:coll/:db
But i want endpoint which should look something like this
/doc?uri=/a/b&coll=mycoll&db=documents
Can you please provide the regex for this. Thanks in advance!

Related

minimal test with apache geode

I would like to extend geode with custom binary data (serialization). Is there any documentation about how to kickoff a minimal setup/system using geode? I saw a docker image but didn't find any docs on this.
It would be more than enough for me to have a c++ client which can push and query the stored (~30 GB of) data by a key.
Thank you very much for your help!
Checkout... https://cwiki.apache.org/confluence/display/GEODE/Index#Index-Geodein5minutes
There is more information on the Geode Wiki as well that maybe of use to you.
https://cwiki.apache.org/confluence/display/GEODE/Application+Development
This maybe of particular interests to you...
https://cwiki.apache.org/confluence/display/GEODE/PDX+Serialization+Internals
Hope this helps get you started.
Cheers!
The C++ and C# clients are currently not part of Apache Geode, just Pivotal GemFire.
You will find information about Geode and Docker here, here and here.
There may not be actual documentation for C++, but you can use the REST client to communication with GemFire as well. Documentation is here and here.

Redmine Documentor

Have anyone used Redmine Documentor which lets you convert PHP to HTML to Redmine wiki format? If so do anyone have some recommendations or alternatives? I seems pretty cool to me.
http://forum.kohanaframework.org/discussion/3096/documentor-php-html-redmine-class-documentation-tool/p1
http://dev.kohanaframework.org/projects/documentor/wiki/
Actual Documentor Link:
http://www.keyframesandcode.com/resources/php/redmine/documentor/
Seems like a cool idea, but I just tried it and found that it mixed comments up and made a mess of things. For example, I tried the sample code here:
http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_sample2.pkg.html
It is good to some extent. But it messes up some things and also ignore some annotations like #returns, #link.

Free Language Identifier Service?

Do any of you guys know of a free online (or offline if it's in java) language identifier service? (I don't want a tool you use manually. I need a service, sice I have to do this identifying programatically.)
I've got a form and I'd like to figure out what language a user has written in.
Come to think of it, shouldn't this be doable through a Google thingy somehow? Since they detect page languages and all, and they're mostly open source...
Thanks for any help. Cheers!
[I added a "google-translate" tag since there isn't anything regarding text-recognition (there's image and voice but no text)]
Language Detection Library for Java looks like the kind of thing you are looking for.
Also see http://en.wikipedia.org/wiki/Language_identification for more links.
Language Detection API has free plan. You can pass text via HTTP POST and receive JSON result with detected languages and scores.

Posting to a URL with wxWidgets

Does anyone have some sample code showing how to POST to a URL using wxWidgets? The documentation and discussion forums imply that it's possible but the methods in wxHTTP are very low-level compared to what you find in .NET and scripting languages like Perl and Ruby. Do I actually have to create the HTTP request myself and send it to the server via the SocketOutputStream? Am I missing something?
I came across a similar problem initially and ended up using Curl instead as it's also cross platform and is very easy to use.
Tim
Atually, same here. Tried using wxHTTP and ended up using Curl. And Curl is a charm to work with...
J-O

mtom serving word doc

has anyone been able to serve a word doc using metro (webservices) as a mtom stream? Does anyone have example, or know where there is example code please for client and server?
The Large Attachments and Binary Attachments (MTOM) examples might help.
Dont know why folks at sun write half-baked stuff !
tried giving a simple sample code. Hope this helps
JAX-WS MTOM Sample Code