jQuery-URL-Parser is one great utility to parse urls, and provide access to attributes, querystrings.
p.segment return all the pathes in the url
param() return all the query string and values
If you are a developer, and want test your new build and keeping the old settings of your app.here is the quick answer.
TRY install the new apk, you will get [INSTALL_FAILED_ALREADY_EXISTS] failure.
here is the trick, add the –r, will keep the old setting while applying the new app.
following the last post, it’s extremely easy to do a pub/sub empowering the zeromq.
IN C#, we setup one socket to pub type, and bind to one tcp port. IN the Node.js and Another C# client, we can create a socket with type Sub. then subscript the topics we are interested.
then in the Node.js, create one special socket sub, and remember to call subscribe with the interested topic.
C# subscriber code,
ZeroMQ comes with a lot binding, here is a quick tutorial to pickup the C# one.
Run the application,
for the Node.js, we can install one module called , zmq which is the zeromq binding for node.js
then create one simple js code and send a message to the 5555 service,( using buffer as the encoder for utf8)