Posts

Showing posts from July, 2013

bootstrapping - Cassandra: specify an initial token manually or wait for an existing bootstrap operation to finish -

There I am trying to bring a little Kasndra cluster with three nodes will have a seed node in the cluster bought the seed node Once Up, I Raise Two Other Nodes "At the Age Time". What I see is only added to a node cluster. I get the following exception to the other node error [main] 2013-03-20 11: 44: 57,146 CassandraDaemon.java (line 387) encountered an exception during startup java .lang.RuntimeException: Every node is a bootstrap source! ** org.apache.cassandra.dht.BootStrapper.getBootstrapSource (BootStrapper.java:180) wait for an existing bootstrap operation to manually create an initial token or terminating on org.apache.cassandra.dht.BootStrapper . **. getBalancedToken (BootStrapper.java:135) on org.apache on org.apache.cassandra.dht.BootStrapper.getBootstrapTokens (BootStrapper.java:115) org.apache.cassandra.service.StorageService.joinTokenRing (StorageService.java:620) .cassandra.service.StorageService.initServer (StorageService.java:508) org.apache.cassandra....

ios - Why is surface size on an iPhone5 wrong? -

I am using cocos2d v2.0.0 with simulator 6.1. When I compile a project in iPhone5, the simulator in the xcode, the size of the surface cocos 2D: surface size: 1136x640 This application works correctly, the border screen fits on 1136x640, but when I run the application on the iPhone5 device, I cocos 2D: surface size: 960x640 , now the image does not include full screen. What is the problem? You need to ensure that and you have a 4 inch launch image defined in your project.

angularjs - Invoking $setValidity from jQuery -

I have a file uploader which I like for my UI which is written in jQuery. It is bound to my file element on a change action. The change action shows nifty previews and other cool stuff. It also checks to see if the mime-type is in the list of valid mime-types. In addition to this, I have an angular JS wired and it is my form monitoring and I have written several instructions All of my assumptions I tried to write a verification for my file input field but for some reason Never removed Some goggling shows that due to this the angular file does not support the input type. So I added the following code directly into my jQuery change action: angular.element. (Scope). $ Apply (function (scope) {scope.project.avatar. $ SetValidity ('image', wrong);}); I can see that validity is set to the wrong in the debugger, but the action of the NG-class is not visible to me. So outside of this, I have the following tags: That square is never added. From fingers documents it...

bash - Storing the first 4 characters of a filename into a variable -

This follwing code I'm writing is part of a script. Now, for the purposes of this script, I am assuming that ./src only has 1 file, so this loop should execute only once. Now, somewhere in the loop, I want to take the first 4 characters of $ F (filename) and store it in another variable. I know that there is a cut command, but I'm not sure how to use it here or here because I thought the cut was used for the content of the files but not the file itself. `ls. / Src` do HO $ F CD TMP F = "... / src / $ f" sh "$ f" done Substring extraction $ {string: position} Extract $ string is being transferred from $$. If the $ string parameter is "*" or "@", it removes the static parameter, starting with [1] $ position. / P> $ {string: position: length} $ string $ $ to extract $ x length letter extract Example shortName = $ {f: 0} 4} Have fun!

php - CakePHP and Ajax request url -

I am currently using AJAX in many controllers in my application. I have implemented AJAX functionality using the jQuery supported version. $ Ajax ({url: 'getCountries', type: "post", data type: "html", data: "data =" + result, success: function (data) {// magic ...}}}); As you can see from the code above the URL of this request, 'getcountries' means that if the request http: / / localhost / appname / controllername / methodname so the url request the http: // localhost / appname / controllername / getcountries However, if you are different than the example above URL using this script, I http: // localhost / appname / controllername / methodname / 7 (such as in editing view), then those URAs The Ajax call request URL will change http: // localhost / appname / controllername / methodname / getcountries how do I create it myself so request URLs can be automatically dependent. At present I'm on the controll...

string - Setting static objects in java -

मेरे पास एक वर्ग GlobalData सार्वजनिक वर्ग GlobalData { सार्वजनिक स्थिर स्ट्रिंग SERVER_ROOT; सार्वजनिक स्थिर स्ट्रिंग LOGIN_JSP = GlobalData.SERVER_ROOT + "login.jsp"; सार्वजनिक स्थिर स्ट्रिंग HOME_JSP = GlobalData.SERVER_ROOT + "s / home.jsp"; सार्वजनिक स्थिर स्ट्रिंग लॉगआउट = GlobalData.SERVER_ROOT + "लॉगआउट"; सार्वजनिक स्थैतिक ServletContext SERVLET_CONTEXT; } मैं संदर्भ से इन तारों को सेट करता हूं GlobalData.SERVLET_CONTEXT = contextEvent.getServletContext (); GlobalData.SERVER_ROOT = GlobalData.SERVLET_CONTEXT.getContextPath () + "/"; System.out.println ("सेटिंग सर्वर रूट:" + GlobalData.SERVER_ROOT); System.out.println ("सेटिंग होम जेस्प:" + GlobalData.HOME_JSP); System.out.println ("सेटिंग लॉगिन:" + GlobalData.LOGIN_JSP); System.out.println ("सेटिंग लॉगआउट:" + GlobalData.Logout) आउटपुट है: सेटिंग सर्वर रूट : / JCMM / सेटिंग होम jsp: nulls / home.jsp सेटिंग लॉगिन: nulllogin.jsp ...

javascript - How to change the size of html div element with text inside it -

I have a DIV element on my page with some text inside that page which is less in the size of a DIV element. I also have a javascript function that uses setTimeout to animate the change of the element's width property. While the width becomes less than the width of the text, the line and so on. I tried to use white space: Iraprap, which makes the text on the same line, but when the width of the element decreases by the width of the text, then the text remains outside. How does the text hinge on the same line and with the Divi container? You want to add another bit of CSS (): Overflow: hidden;

css - how to position two divs next to each other, one of them is centered in the container of both divs -

How to position two divs next to each other, one of them is centered in the containers of both divs How can I create the position of the second part of the first division and extend it to the right side? Here's an example: HTML: & lt; Div id = "container" & gt; & Lt; Div id = "div1" & gt; & Lt; / Div & gt; & Lt; Div id = "div2" & gt; & Lt; / Div & gt; & Lt; / Div & gt; CSS: # container {width: 100%; Display: inline; Height: 60px; Color: # 000; } # Div1 {margin-left: auto; Margin-Correct: Auto; Width: 200px; Height: 50px; Background color: # 333; } # Div2 {float: true; Width: 100%; Height: 50px; Background color: #ccc; } Thanks. Check this: # container {width: 600px; Height: 60px; Limit: 1px solid #bbb; Text-align: center; } You need a fixed width for your container element, and you want to focus its contents. # div1 {width: 60%; Display: inline-block; Height: 50px; Ba...

readfile - No such file or directory while trying to read files in a directory python -

I have this code that lists the files in the directory and parses with each of my functions. for file name in the path = []: open (filename) with f: paths.append ( I am getting the error as: parse_file (f)): File "find.py", line 21, & lt; Module & gt; I: Error: [Aron 2] There is no such file or directory: 'file.txt' This error shows that it has file.txt because it Is present in the folder that I have specified in os.listdir , I have many files if I delete file.txt on a separate file Will show the error. I also tried to transfer files to a file in my desktop and the script was working fine. What is the problem I do not understand is I am very new to the dragon, so please forgive me if its dumb question. Thanks! os.listdir () returns filename , no way. To create a full path, join them with the directory name: For file name in OSLID (path): path = r "C: \ Program Files (x86) \ folder \ folder" (OS F. as: .path.join ...

shell - s3cmd Amazon s3 update metadata only -

I have some GB files on S3, and I need to update metadata on a large scale for all of them I know that s3cmd can update metadata when you move the file: s3cmd -m text / html --add-header = 'content-encoding: gzip' Put [files] s3: / / ... Although I do not want to rearrange the files on S3 Can a key only update the metadata without moving the file? This may be possible for future S3cmd:

c++ - Avoiding memory leak -

So I was learning Oop in C ++ and I thought it would be a good practice to write your own string class (for learning purposes) , of course). I came up with a problem that I did not know how to solve. Here's some peace of code: class string {char * str; Public: string (four consists * straw); ~ String (); String operator + (four consists * straw); }; String :: string (four * straw) {it-> Str = _strdup (str); } String: ~ string () {free (this-> str); } String String :: Operator + (Four Constant * Straw) {char * temp = (four *) malloc (strlen (str) + strlen (this-> str) + 1); Strcpy (temp, this-> string); Dome (temporary, str); Return temporary; } The problem here is that this piece of code will cause a memory leak. Returning from "Operator +", my constructor is called, which assigns more memory, gives temporary copies, and I can not find it in any way how can I free it. return your operator + to string Is defined as, but you are returning a ch...

email - Messages sent to gmail from custom domain going to spam -

I know that this is not the right kind of message to post here, but I'll try it: When I send an email to Gmail from my domain, it automatically goes to spam. On customer support, they told me that my domain is not on any type of blacklist. Here are the headers: Inbox by [GMAIL] / junk folder To transfer messages to Ask Gmail recipients > folder (IMAP terminology) or via the web interface to " Mark as "no spam". As long as the recipient does not incorrectly label Gmail as its "classification (potential) spam", it has been incorrectly assumed that it is correct. This can be especially helpful in publishing the SPF record for the sender's domain, especially when the host is in another domain DKIM signature can also help outgoing messages

requirejs - Hot Towel: Why is Durandal and Require in the App folder rather than the Script folder? -

To discourage developers from customizing them, the script is coming from the idea of ​​third party libraries. This will encourage them to write extensions to make it easier in a newer version of the library. You do a good thing about other developers who understand the Durandal Library for optimization files. However, you do not have to keep the buzz somewhere. Folder structure Whatever your heart may desire because Durandal does not apply any folder structure. It is only a recommended default setup, there are advantages to follow its pattern. By keeping the durandal as part of your application root folder. It keeps all your amd javascript files together in a root folder. In this way, when you run the drive, you can scan all subfolders to scan / minify / scan all your html / css / js in 1 file. This is a good advantage because it is the 1 click point of your entire app. Besides, this is a good idea because it is a different idea to keep your separate party in non-AMD javascr...

javascript - HTML5 Canvas - Making an animated background with falling gold flakes -

I am working on a website that demands an animated background I am trying to fall into pieces of gold . In the beginning we tried to use an animated GIF, but it is a very heavy and sluggish way. This is my first time working with canvas, I definitely would love anyone with more experience to give some input on it. I found some code as a starting point and repurposed it for my needs. This is where I am present: To work : I would like to slow down the motion of the falling particles, and I will change my shape to see it through the right circle. If I could get it to appear more realistic like falling gold flex, then it would be ideal. I also need to focus on the performance. Are there any ways to adapt it to run more efficiently? Is there any shortage of this approach in terms of reach / cross-browser compatibility? I have done some research and it seems that it is widely supported. Your help will be greatly appreciated! I do not know whether it has got a chance to co...

xml - Serialize Linq2Sql Object After Dispose -

I am trying to find an easy way to serialize any object so that only immediately Properties and their "Toasting" values ​​are included. In the case of objects coming from any datacontent, I want to be able to ignore properties of property (i.e., if a property is a complex object then do not include that object in order). This is particularly important if the properties are not loaded because it causes an error "objects can not be settled after using the object" ... I have the following , But when it tries to use the property which was not loaded into the original datacentext call. string type string = o. Gettype () Name; Stringbilder xml = new stringbiller (); Xml.AppendFormat ("& lt; {0}> \ r \ n", type string); Foreign currency (property assets in O.petpap). GetProperties ()) {var Properties Value = Asset. Gate value (o, empty); If (property.GetType ()! = Typeof (System.Data.Linq.Binary) and Property.PropertyType.Name! = "EntitySet...

asp.net - Asynchronous processing .NET SQL Server? -

After programming for many years, I need to do something for the first time asynchronously (because it takes many minutes and the web.) Click on a "Save" by using LINQ on an ASP.NET web page, m. Put a record in a SQL Server table. After that it inspires an SSIS package to record in many other databases across the country. So .. .. How can I (hopefully just) do this asynchronous so that the user can get along with other things? Should it be set on the net or on the SQL side? Is there any way (minutes later) that the user can know that the process is completed and successfully? Maybe an email? About this, I read some threads on this site, but since 2009 they were not so sure that the footage is very different with the Studio 2012 / .NET Framework 4.5 (We're still using SQL Server 2008 R2). This is usually a bad idea to do long-running tasks in ASP.net For one thing, if the application pool is recycled before the completion of the work, it will be l...

php - Set a session in a foreach loop unique to each button -

I have a results page that is generated by using an advanced loop and session variable This is the same gt; {foreach ($ rate of $ key = & gt; $ val) {$ url = "http: // looks like www.concordiauniversity.com/".$val . '/'. $ Classname [$ key]; Echo " $ classname [$ of] a Href = '/ classname_handler' type = 'text' id = 'follower' name = 'follower' class = 'btn btn-large btn-block btn-primary' type = 'button' & gt; class follow & lt; I on C = 'icon-hands-right icon-white' & gt; & lt; / i & gt; $ val & lt; i class = 'icon-user icon-white' & gt; & lt; / i & gt; & Lt; / a & gt; & lt; / ul & gt; & lt; / div & gt; & lt; / form & gt; "; $ _SESSION ['degree'] = $ degree; $ _SESSION ['classname'] = $ classname; }}? & Gt; My question is how to set a session for each $ class name so that when I click...

objective c - Wait for flag from background thread -

When I start my program, I set some background to fire some other thread. This thread never dies, but before allowing the main thread to continue, I have to wait to complete it. When I wait for the second thread to update, how can I block and start the main thread, is this the situation? First of all, do not block the main thread. never. Blocking the main thread on IOS will kill your app for a long time. On OS X, it will be the reason for showing the rainbow pistol of death Eventually, blocking the main thread becomes your app unresponsive. Instead, throw applications to a modal dialog or a modal sheet or another status indicator that indicates that something before it should be released before app progress, make sure that the "dropped" menu item Still, when the user becomes "Oh, nonsense! There is no time! Abort! Abort! Abort!" Then, when your background is threaded, use any different mechanism to transmit the main thread (GCD, Display: ..., etc .....

PHP glob patter issue -

Hi, I am trying to use some files in my directory using the globe. My pattern is like foreach (globe (root. "../test/te[0-9] {2} .xml") $ filename ) {Echo $ filename; } files are 0051_001.xml 0071_001_as01.xml 0485_001_te01.xml 0485_001_te02.xml 0485_001_teh03.xml It does not do anything I should only teh01 to te03.xml , but not the rest. I am not sure what is wrong with me? Can anyone help me in this matter? Thanks a lot! globe does not support [0-9] { 2} , you must type [0-9] [0- 9] : foreach (globe ($ root. "../test /te[0-9][0-9].xml ") as $ filename) {echo $ filename; } For your files, you need to use: foreach (globe ($ root. "../ test / [0- 9] [0-9] [0- 9] [0- 9] _ [0-9] [0-9] [0-9] _te [0-9] [0-9] .xml ") $ Filename) {$ Filename echo; } Or you can add a regex check: foreach (globe ($ root. "../test/*.xml") $ As file name) {if (preg_match ('/ _ te \ d {2}. Xml $ /', $ filename, $ matches...

django reusable redirect best practice -

I have several views that require the same functionality, so I want to move that argument to a different function Trying (not a visual function). The function either receives a value in GET or Session, and returns a model example or redirect to a new instance (like forcing a login). The problem is that you can not redirect from a function (which I know) how should I manage this scenario? This is my code: # This function def is getActiveShowOrRedirect (request): show_pk = request.GET.get ( 's', False) if not show_pk: Show_pk = request.session.get ( 'show_pk', false) if not show_pk: return HttpResponseRedirect ( '/ setup /') active_show = Show.objects.get (pk = show_pk) return active_show def Overview (request): active_show = GetActiveShowOrRedirect (Requested) views = view. Comkfilter (show = Skriy_so) View = sorted (curtains, key = lambda s: Sknam) if request.method == 'POST': form = SceneForm (request.POST) if Formkis_valid (): Name = form.cl...

key bindings - Vim keybinding invoked by two keys -

What do I do: How do I create a custom keybank for writing "Hello"? World "is in insertion mode, while pressing 'w' for the first time will press '2'? Note , I do not want my command to be pressed by pressing 2 - - Y The key should be pressed when pressed 2. Also keep in mind, if 2 keys are caught first, do not call the command when pressed W The reason for w for the first time is pressed, then pressing 2 is that, if I want to type "w2" literally I can do it by pressing 2 + P> Did you try or, better than that,? However, your The exact mechanism of payment described by is not possible in the insert mode since w is not a modifier key, so you can not hold it down and you can not Micro second keypress is expected to register. gives as much as I have the closer I can think of which map you things a key is pressed with .

verilog - Can I use $urandom_range with time variables -

I wanted to know that I could just write: time from time_night; = $ Urandom_range (10ms, 7ms) at time_only; I have tried to use it directly, there are no errors / warnings issued. Although the returned value is not between 7-10 mms, I think it's time to do this. Along with $ urandom_range is legal to use (since I did not find any errors), but then why can not I get a price in the appropriate category? type of IEEE STD (1800-2009) $ urandom_range Code> int unsigned is not equal to this time I do not think you can rely on the system function so that you are not getting errors or warnings from your simulator Be there This is a compilation error in VCS and there is a warning with a warning. Can you use something like this? int unsigned del = $ urandom_range (10, 7); # (1 MMS * Dell);

Facebook Android SDK always shows web auth dialog instead of native auth dialog / single sign on -

I am using the 3.0 version of Android-SDK with GitHub in the Android app. For any reason, while authenticating, the Facebook SDK always shows "Web dialog" to manually enter a username and password, rather than using native dialogue created with single sign in Instead of When entering the username and password, the app has successfully certified and everything works, but for some reason the SSO never seems to work. How is this any idea about troubleshooting? No Facebook error message in the log is called. It looks like you have a Facebook app in your phone Not so, therefore, the Android SDK has to use the web dialog. Another case is that you are log people logging behavior session. SPPR_SSO, try to convert it into the SSO_mini_flackback. For more information, take a look at

WIF how to create a claim for my server side? Does I need to create a STS? -

What I intend to do, I want to make a claim based authentication. But I use a public authority provider like the Live Connect API. So it only brings OAuth based data back to me. It is believed that I am on the server side, I just want 1 Get the data from OAuth. Change it to 2 Claims. 3 Set up the existing principal for the claim I have made. Do I need to create an STS? And can I get SSOs for these claims? And take a look where it really implements it. / P> Or it shows how to do it with Azer Aces.

java - Beginner on matrix and its rows -

I have made a problem to solve with arrays and matrix I understand how it works but The following questions were found about the rows. This is the problem that the problem tells me to do: a. Write the definition of method inputArray which prompts the user to input 20 points and stores numbers in alpha. Repeat the definition of the law, which initiates the elements of beta twice the same elements in alpha. Make sure that you stop the method by modifying the elements of alpha. c Write the definition of Gamma to the copy of the method which sets the elements of the first line of gamma and the remaining rows of the infocus up to three times in the previous lines of the instock from the infoco. Make sure that you stop the method by modifying the elements of gamma. This is what I did: code public class array queries {public static zero main (string [] args) {Int count = 0; Int [] [] INSTOCK = new int [10] [14]; Int [] alpha = new int [20]; Int [] beta = new int [20]; Int [...

c# - Is it possible to have full access to sql membership provider from wcf service or desktop application? -

I am creating a WCF service that uses an Asp.Net SQL subscription provider to authenticate users is. I know that users can be certified with no problem, but do I want to allow users to sign up or change my password? Can I use the methods of providing that functionality to the membership provider? Yes you can make sure that you configure that file to be configured After setting up the file, just make your way to meet your needs. Change public string password (string nuupsword) {subscription user u = membership Getuesar (); If (u change password (urcset password), neopsword)) {return "password has been changed"; }}

sql - Number of similar columns occurences -

I'm new to SQL Server and need your advice on something. / P> I have created a small table with two columns: ** Specific_Bank ** ** Number ** ----------------------------- 31 1 51 2 61 3 71 2 > The NUMBER column of the second table, showing the number of events in the bench_id. I have tried this code: [dbo]. Select batch_id (batch_id, number) specific [dbo] .big_table.batch_id, (Select number ([dbo] .big_table.batch_id] [Dbo] .big_table [dbo] .big_table But the correct answer can not be found, I am hoping that with the number of bench_id can you tell me what I am doing? Thank you in advance! You need to be a group BY clause to count the benchID () to use include in BATCH_ID (separate_bench), select a specific number of benchID, BATCH_ID COUNT (*) number from the group

In python construct library (for parsing binary data), how to group the rest of data as one field? -

I am using the Python Construction Library to parse the Bluetooth protocol. The link of the library is As the protocols are really complex, I've divided the parsing in several steps, instead of building a gyzy construction. I have already parsed large raw data in this structure: container ({'CRC': 'DCACT', 'CRC_OK': 1, 'Channel': 38, 'RSS': 43, 'access_addr': 2391391958 L, 'Header': Container ({'TxAd': wrong, 'PDU_langue': 34, 'PDU type': 'ADV_ind', 'RxAd': incorrect)), 'Payload': '2 \ x15 \ x00a \ x02 \ x00 \ x02 \ x01 \ x06 \ x07 \ x03 \ x03 \ x18 \ x02 \ x18 \ x04 \ x18 \ x03 \ x19 \ x00 \ x02 \ x02 \ n \ xFE \ T \ tAS-D1532 '}) As you can see that the length of the payload is in the form of PDU_length Shai's went to a 34. The payload has the following structure: octet: adress] [0-31] The rest of the octets: Advertisement] However, when I started par...

c# - In one event want to create an image and in same function want to start drag on that image -

मेरे पास XAML में एक छवि कैनवास है। & lt; कैनवास नाम = "आईएमजीकैनवास" & gt ; & LT; Canvas.RenderTransform & gt; & Lt; कम्पोजिट ट्रांसन्सफ़ॉर्म अनुवाद एक्स = "0" अनुवाद वाई = "0" केंद्र एक्स = "0" केंद्र Y = "0" & ​​gt; & lt; / संमिश्र रूपांतरण & gt; & LT; /Canvas.RenderTransform> & Lt; / कैनवास & gt; वर्ग कन्स्ट्रक्टर में मैं इस कैनवास में खींचें ईवेंट जोड़ रहा हूँ g = gestureService.GetGestureListener (imgCanvas); G.DragStarted + = नए इवेंटहाँडलर & lt; ड्रैगस्टार्ट किए गए गेस्टचरएवेंटअर्ज & gt; (g_DragStarted); G.DragDelta + = नए इवेंटहैंडलर & lt; DragDeltaGestureEventArgs & gt; (g_DragDelta); G.DragCompleted + = नए इवेंटहैंडलर & lt; ड्रैग कॉम्पलेटेड गेस्टचरएवेंटअर्ज & gt; (g_DragCompleted); अब 1 टैप फ़ंक्शन में मैं गतिशील रूप से छवि बना रहा हूं, और कैनवास के बच्चों के रूप में जोड़ रहा हूं जब टैप ईवेंट समाप्त हो गया तो मैं उस छवि को खींच कर पा रहा ...

ruby - What does self. mean in a class method? -

प्रोग्रामिंग रूबी में, मैंने देखा कि एक क्लास मेथड class file def self .my_open (* आर्ग्स) # ... एंड एंड उपसर्ग "स्वयं" क्या करता है। यहाँ मतलब है? वाक्यरचना def receiver.method का उपयोग कर आप विशिष्ट ऑब्जेक्ट वर्ग कुत्ता डीआरएफ़ छाल डालता है 'वाफ' एंड एंड सामान्य_डॉग = कुत्ते। नया गुस्सा गुस्सा = कुत्ते। नया डीईएफ़ angry_dog.bite डालता है "yum" end normal_dog.class # = & gt; कुत्ते को गुस्साजनक_डोग.क्लास # = & gt; गुस्सा गुस्सा-गुस्सा। बाइट # & gt; & gt; Yum normal_dog.bite # ~ & gt; -: 15: `& lt; मुख्य & gt; 'में: # & lt; कुत्ता: 0x007f 9a93064cf0 & gt; के लिए अपरिभाषित विधि` काट' (नोमथिएयर एन्टर) ध्यान दें कि भले ही कुत्ते एक ही कक्षा कुत्ते के होते हैं, उनमें से एक का एक अनूठा तरीका होता है जो एक और कुत्ता नहीं है। वर्गों के साथ एक ही बात कक्षा परिभाषा के अंदर, उस वर्ग के लिए स्व अंक। यह समझने में महत्वपूर्ण है। वर्ग फू आत्म # = & gt; फ़ू एंड अब इन दो वर्गों को देखें: ...

Different behavior of PHP’s include/require on Windows and CentOS -

ये मेरे PHP अनुप्रयोगों का कोड हैं myApp.php और mypartsA / main.php । myApp.php & lt;? Php echo ("##### मेरा ऐप अब शुरू हो रहा है !!! !!! & lt; / br & gt;" ); require_once ( '/ भागों / mypartsA / main.php'); ? & Gt; mypartsA / main.php & lt;? Php इको ("#### माईपरस ए आवश्यक है & lt; / br & gt;"); ? & Gt; और myApp.php और mypartsA / main.php निम्न संरचना में हैं। दस्तावेज़_आरॉट | + --- परीक्षा | | | + --- myApp.php | + --- भागों | + --- मेपार्ट्सए | + --- मुख्य.एफ़पी मैंने इस आवेदन को Windows + अपाचे पर एक वर्ष के लिए कोई समस्या नहीं के साथ उपयोग किया है, लेकिन हाल ही में मैं इसे CentOS + अपाचे के लिए माइग्रेट करने के लिए फिर से घातक हूं त्रुटि include_path PHP चेतावनी: require_once (/parts/mypartsA/main.php) [& lt; a href = 'function.require-once' & gt; Function.require-once & lt; / a & gt;]: स्ट्रीम को खोलने में विफल: लाइन / PHP / PHP / PHP / 99 / HTML / test / myApp.p...

load link into slider when clicked-ajax php jquery -

Image
I have a problem with this code if any organization can help me pls :( 2 categories in my database and I have a picture in all 2 categories, when the user clicks on any category code, then I want the image loaded in the image slider: $ ("# test" .load (' Test.php? Name = '+ categoryname NivoSlider ({effect:' random ', animated: 500, pause time: 3000,});}); Html code: gt; & lt; span id = "test"> test.php code echo "Itemprop =" text "> By looking at my code immediately, I can see 2 errors in my JS: 1) Line 1. $ (" # test) Should be $ ('# test') 2) line 5. Remove the comma i. pauseTi me: 3000, - & gt; pauseTime: 3000 should be PHP: echo "& lt; img src = '". $ Return "'alt ='" $ des_return "'title ='" $ Des_return "'/ / gt; ";

How to increase size of custom Progress dialog in android? -

I am using the following class to display progress dialog .. MyProgressDialog.java Public class expands the MyProgressDialog dialogue {public static MyProgressDialog Show (Reference Reference, Charsequence Title, Charsequence Message) {Return Show (Reference, Title, Message, Incorrect); } Public Static MyProgressDialog Show (Reference Reference, Fourth Centenary Title, Foursensen Messaging, Boolean Unconfirmed) {Return Show (Reference, Title, Message, Indefinite, Wrong, Zero); } Public Static MyProgressDialog Show (Reference Reference, Charity Title, Foursense Message, Boolean Unconfirmed, Boolean Cancellable) {Return Show (Reference, Title, Message, Uncertain, Cancellable, Empty); } Public Static MyProgressDialog Show (Reference Reference, Foursense Title, Foursense Message, Boolean Uncertain, Boolean Cancellation, OnCannelister Cancellation Writer) {MyProgressDialog Dialogue = New MyProgressDialog (Reference); Dialog.setTitle (title); Dialog.setCancelable (canceled); Dialog....

java - Time difference program -

I am using the following function to calculate time difference: i is not showing the proper output 1 month After the difference, it is showing a difference of 2 minutes. What's wrong with my program? public string timestamp diff timestamp t) {long T1 = T.G.time (); String str = null; Long distance; Java.util.Date date = new java.util.Date (); Long curtT = date.getTime (); Println (); System.out.println ("Current Timestamp" + is Crrut); Diff = (currT - t1) / 60; Int vested = (int) Mathflur (Diff / (1000 * 60 * 60 * 24 * 365)); Double balance = mathematics. Floor (difference% (1000 * 60 * 60 * 24 * 365)); Int days = (int) Math.floor (Balance / (1000 × 60 * 60 * 24)); Balance = Math Floor (Balance% (1000 × 60 * 60 * 24)); Int hours = (int) monastery. Floor (Balance / (1000 × 60 * 60)); Balance = mathematics. Floor (remaining% (1000 * 60 * 60)); Int Minutes = (Math) Math Floor (Balance / (1000 * 60)); Balance = Math Floor (Balance% (1000 * 60)); Int second = (mathflu...

janrain Social media login integration -

janrain trying to use social media login, but even though I do not understand what I do How should I add the user's information to my desk and open my session, now I configure the widget and everything and I get the following code: and then embedded in the divas: & lt; Div id = "janrainEngageEmbed" & gt; & Lt; / Div & gt; Now what is happening now? There are two options that are the first option in your server-side coding language Develop a token URL and write some functionality that will authenticate your system to your system. Then you will update janrain.settings.tokenUrl value with the path of the token URL janrain.settings.tokenUrl = ' REPLACE_WITH_YOUR_TOKEN_URL ' ;. The second choice would be easier to use a reproductive Angej plugin or widget written for your content management system or framework, which seems to be able to handle most implementations do that You are using web2py, in which Jainn Engage (it shou...

wordpress - Group Posts by Category in Monthly Archive -

I am trying to group class posts in a monthly archive, but know how to get it is not. This is my php I'm using the code archive.php & lt ;? Php $ terms = get_terms ("publicationcat"); $ Count = count ($ terms); If ($ count> gt; 0) {foreach (as word $ word) {echo " A target = \ "_ blank \" href = \ "" .wp_get_attachment_url (get_post_meta ($ post-> id, 'document_file_id', true)). " \ "& Gt; - & gt; POST_TITLE" & lt; / A & gt; & Lt; / Li> ";. Endwhile; echo" & lt; / Ul & gt; "; echo" & lt; / Div & gt; "; echo" & lt; / Div> ";}}? & Gt; The only problem is to display the same post title for all the conditions. When you take a loop through the post in each category, then you are not looking for posts related to that category, and instead You are looping through every post Please note that you can still get ...

What are the differences between Backbone.js and Node.js? And which is best? -

I'm feeling a little confused, there node. There are so many frameworks for 'stuff' related to JS. Can anyone be able to give an overview of differences between backbone.js and node.js? And which is the best? Thanks in advance. I am quoting it here with some sources: First of all, Excerpt from stack overflow question: Most of the things you listed are related only because they are written in JavaScript or otherwise used to compare them to comparisons of apples to oranges. It's like to ask what is the difference between the difference Toyota Camry and V6 engines. They are related, but do different things. Node Node. Also known as JS, is the node JavaScript environment on which we base our server-side JavaScript code on it. All javascript codes that you write, or install and run from packages with NPM, GitHub, etc, are executed by the node runtime environment. Backbone JavaScript can be compared to the framework. I believe it was originally writt...

android - Creating a Custom View and XML Namespace -

I am trying to create custom views in Android, I have mentioned all my attendants list in main activity and XML file But I have a main.xml error in: & Lt; / LinearLayout & gt; Do not you have any logic? You should add a constructor like this: public key activity (reference references, AttributeSet attrs) {super (references, attrs); } or public main activity (reference context) {super (reference); } You asked for a simple example of a custom view: Public Square Birdwave Extended ImageView {Personal Float Direction = 0; Paint paint = new paint (); Public Birdview (Reference Reference) {Super (Reference); } Public bird view (reference references, AttributeSet attrs) {super (references, attrs); Paint.setColor (Color.WHITE); Paint.setStrokeWidth (6); } Public Birdview (Reference Reference, AttributeSet attrs, int defStyle) {super (references, attrs, defStyle); } @ Override Protected Zero Measurement (int width mowersPEC, int heightmeasureSpec) {Setta...

regex - How do i extract a link from a longer link using php? -

After No one knows the best way would be to remove a link from another link that was what I was thinking, here Here's an example: If I link in the following format: http://www.youtube.com/watch?v=35HBFeB4jYg or http: // it. Answers.yahoo Com / question / index? QID = 20080520042405AApM2Rv or https://www.google.it/search?q=rap+tedesco&aq=f&oq=rap+tedesco&aqs=chrome.0.57j62l2.2287&sourceid=chrome& I.e. = UTF-8 # hl = hi & amp; Sclient = psy-ab & amp; Q = migliori + programatori & amp; OQ = migliori + programatori & amp; Gs_l = serp.3..0i19j0i13i30i19l3.9986.13880.0.14127.14.10.0.4.4.0.165.931. 6j4.10.0 ... 0.0 ... 1c.1.7.psy-ab.tPmiWRyUVXA & amp; PBX = 1 & amp; BAV = on.2, or.r_cp.r_qf &. Fp = ffc0e9337f73a744 & amp; BIW = 1280 & amp; Bih = 699 As soon as I know about removing web pages: http://www.youtube.com http: // It.answers. Yahoo.com https://www.google.it I was wondering what else can I use regular Expre...

android - IABHelper. queryInventoryAsync returns no purchases, yet launch product flow fails with "Item Already Owned" -

"postprint" itemprop = "text"> I'm facing an intermittent problem with the application billing version 3 provided by Google as IABHelper. Before starting a new purchase, I check with the queryInventorySync for bad purchasing. If found, I consume no bad purchases and start a new transaction, if someone does not go straight to starting a new transaction. 99% of the time it works fine Occasionally when queryInventoryAsync gives an unconsumed purchase, the following failed with the launchPurchaseFlow response: 7: the item already owned Information [IABHelper. ] Start async operation: Refresh list information [IABHelper] is doing proprietary item, item type: inapp information [IABHelper] Package name: jp.co.mycompany.myapp information [IABHelper] Calling getPurchases through continuation token: Null Information [IABHelper] Ownership Item Feedback: 0 Info [IABHelper] Continuous Token: Zero INFO [IABHelper] SKU Details Inquiries. Information [IABHelper] Q...

sql - Using NOT IN with GROUP CONCAT in MYSQL -

" नहीं के साथ" GROUP_CONCAT "फ़ंक्शन का उपयोग करके Strong> "कथन मेरे mysql क्वेरी में लेकिन अज्ञात कारणों से, यह सही मान नहीं लौटाता है: यहाँ मेरी क्वेरी काम नहीं कर रही है: पहला नाम चुनें, t_user से lastname जहां (status_Id not in टीआरटीस से GROUP_CONCAT (आईडी) का चयन करें जहां कोड = 'एक्ट' या कोड = 'WACT')) 46 पंक्तियां देता है यहाँ मेरी क्वेरी काम कर रही है: पहले नाम, t_user से lastname चुनें जहां (स्थिति_आईडी में नहीं (1,4)) 397 पंक्तियां GROUP_CONCAT उपकुंजी के परिणाम लौटाता है > (टीडीएसटीएस से ग्रुपकॉन्कैट (आईडी) का चयन करें जहां कोड = 'एक्ट' या कोड = 'WACT') = 1,4 ऐसा लगता है कि क्वेरी में केवल GROUP_CONCAT subquery द्वारा पहली आइटम वापसी का ख्याल रखना है। इसलिए मुझे समझ में नहीं आता कि क्या हो रहा है और क्यों नहीं दोनों ही मामलों में एक ही परिणाम है। अग्रिम धन्यवाद गेल इस में मामले में, आपको GROUP_CONCAT फ़ंक्शन का उपयोग करने की आवश्यकता नहीं है क्योंकि यह एक स्ट्रिंग मान देता है ...

javascript - Positioning On Across Different Browsers -

When I create a web page, then I should put all the features on the page in one place in different browsers. Occasionally some features are placed in different positions, when I run the page on different browsers. I am using this variable to determine what the browser is being opened is OK and for example if I // Firefox = (navigator.usager.indexoff (" Firefox ")! = -1); // var opera = (navigator.usager.indexoff ("opera")! = -1); // var ie = (navigator.userAgent.indexOf ("MSIE")! = -1); // var safari = (navigator.userAgent.indexOf ("Safari")! = -1); // var skrom = (navigator.usager.indexoff ("chrome")! = -1); 1 Is there a good way to do this when certain attributes are placed in different positions in different browsers? 2. How do I get back when I'm using 'navigator.userAgent.indexOf (...)'? Is it a boolean or some kind of collection that gives the status of the parameter, as if hemable? How exactly does the ...

forms - Between... And... To work without values -

I tried to do it in a million different ways. First of all I could not work at all, but Now I have been successful in working with values. What I need to do is, for my question, to filter my records based on what I put in my form. I used this movie in the 'Benchmarking' section of my movie yew column, and when I have my MovieVir 1 and Movie Year 2 text box in numbers, it filters out correctly is. form]! [Moovier 1] and [form]! [Search]! [Movie Year 2] But if I do not have any value then it does not come with any record. Any help? I have done a lot (well, at least I think I have it) I have tried to use wildcard "*", but then I came to know that you really do not use it with those tasks I can .... I am also trying. FILTERS in VBA, but it seems to work, maybe I remembered something? It's mine. Thanks in advance! :) You can add a check for the query in the query, for example [Forms] from SELECT *! [SearchForm]! [MovieYear1] and [Forms]! [Movie ...

internet explorer - Switching between user name and password text box and entering corresponding values using Selenium WebDriver java -

I am using Selenium to navigate to a page and take screenshots using Internet Explorer. But the problem is that login is taken care of by the Javascript warning box. Now there is a feature in Selenium where the focus can be brought in the warning box using the warning element and I have managed to bring focus and entered some values ​​in the username text box. The problem is that the Selenium password does not focus on the text box and enters the user name and password in the same box. I tried the Java AWT robot to click on the tab key and this focus changed, but Selenium does not recognize it and it records the username and password in the same box. Below is my code: robot robot = new robot (); Driver.get ("url"); Warning Warning = Driver. SwitchTo (). Warning (); Alert.sendKeys ("user name"); Robot.keyPress (KeyEvent.VK_TAB); Alert.sendKeys ("password"); Alert.accept (); What am I missing here? Is my attitude correct or do I have to take a ...

Best NHibernate multithreading pattern? -

As we know, the NHibernate session threads are not secure. But many of our long-running threads have a code path partition, all use the loaded objects in the initial thread. } There will be one session for each thread, but this will require the original object to reload each, in addition to this, the final method Is also making changes to the children and will run in a stale object exposition, if there was a change in the other session, or it had to be ejected / reloaded. All threads should use the same session What is the best way to do this? Save the queue in the initial thread (thread secure implementation), which is voted in the missing (instead of EndInvoke ()) from the main thread. Child threads can be included in the NHibernate object to be saved by the main thread. Use some callback mechanism to save / flush objects in the main thread. Is there anything similar to UI Thread Callback in WPF, Control.Invoke () or BackgroundWorker? Save / flush access to lock...

PHP If $_SESSION echo. PHP/MySQL -

मेरे पास एक auth.php स्क्रिप्ट है जो MySQL तालिका से एक मान को $ _ सत्र ['USERNAME'] में डालें ; यहाँ auth.php की स्क्रिप्ट है: & lt;? Php शामिल ("sql.php"); session_start (); फ़ंक्शन नष्ट () {अनसेट ($ _ सत्र ['यूआईडी']); सेट नहीं ($ _ सत्र [ 'USERNAME']); अनसेट ($ _ सत्र ['पूर्ण NAME']); शीर्षलेख ("स्थान: अनुक्रमणिका-प्रतिबंधित.एफ़पी"); } अगर (एज़ैट ($ _ सत्र ['यूआईडी']) और amp; जारी ($ _ सत्र ['USERNAME'])) {$ यूआईडी = $ _SESSION ['यूआईडी']; $ Username = $ _SESSION ['USERNAME']; $ Qry = mysql_query ("चयन करें * से उपयोगकर्ता 'जहां` यूआईडी` =' $ यूआईडी 'और `उपयोगकर्ता नाम` =' $ यूज़रनेम '"); अगर (mysql_num_rows ($ qry)! = 1) {नष्ट (); }} और {नष्ट (); }? & Gt; मेरे पास एक डैशबोर्ड है। Php, जो मेरा सीएमएस फ्रंट पेज है, जहां शीर्ष पर मैं गूंज $ _ session ['USERNAME']; जोड़ता हूं और यह है दिखा रहा है कि सीएमएस में लॉग इन किया गया है, इसलिए मैं sth...

addition - Add Problems In java -

I want input of two variables in the form of two variables Ans will be stored in another variable, the program will repeat after each additional expiration And ask for all types of preferences for the user and add it again. My question is how can I add all the ads again: Exm: input = 5 input B = 5 ans = 10 Egene program will ask for input = 6 input b = 6 ans = 12 now How can I take all "ans" values ​​along with the program and in addition to all the "ans" last reply = 10 + 12 = 22 code : import java.io. *; Import java.util.Scanner; Public class math {add public zeroes () {scanner keyboard = new scanner (System.in); Int a; Int b; System.out.print ("Write \ n one:"); A = keyboard.nextInt (); System.out.print ("Enter B:"); B = keyboard.nextInt (); Int c = a + b; System.out.println ("\ nans:" + c); Mathematics ob_m = new math (); Ob_m.add (); } Public static zero main (string rule []) {mathematics ob_main = new ...

java - file.canWrite(); file.canRead(); file.canExceute(); always return true though my file/directory had no access rights -

को फ़ाइल / निर्देशिका की अनुमति की जांच करने की आवश्यकता है I // filePath = path फ़ाइल / निर्देशिका एक्सेस उपयोगकर्ता द्वारा अस्वीकृत (खिड़कियों में) फ़ाइल फ़ाइल = नया फ़ाइल (फ़ाइलपथ); file.canWrite (); file.canRead (); file.canExecute (); सभी तीन रिटर्न सही हैं लेकिन मैं किसी फ़ाइल / निर्देशिका को हटाने में सक्षम नहीं हूं आपको जांचना होगा: SecurityManager.checkDelete (फ़ाइलपथ); जैसा कि में कहा गया है

c# - How to allow esc secuence charater in existing alphanumeric validation expression -

I only use the following validation expression to validate the string to accept alphanumeric characters (?! ^ [0-9] * $) (? ^ [[A-zA-Z] * $) ^ ([a-zA-Z0- 9] {6,50}) $ But it does not accept characters like ~,!, (), [,], {,} etc., I accept all these characters How do I add above expression? Thank you, You can use them for each character. Example (Requires repeat for all character types): string pattern = "(?" + Regex.Escape ("!") + "^ [0-9] * $) (?! ^ [A-zA-Z] * $) ^ ([one-zA-Z0-9] {6,50}) $ ";

object access without create array in php -

वर्ग कार {function __construct ()} / / echo 'car con'; } Function setInfo ($ car_arr) {foreach ($ key = & gt; $ मान के रूप में $ car_arr) {$ this- & gt; {$ key} = $ value; }}} मैं bellow तरह का उपयोग करने की कोशिश $ car1 = नई कार (); $ Car1- & gt; सेट इन्फो ('मेक', 'टोयोटा') - & gt; सेट इन्फो ('मॉडल', 'एससीपी 10'); ने मुझे त्रुटि संदेश दिया किसी गैर-ऑब्जेक्ट पर किसी सदस्य फ़ंक्शन सेट इन्फ़ो () को कॉल करें > मैं सेट ईन्फ़ो () विधि कॉल कैसे बदल सकता हूं $ car1- & gt; सेट इन्फो ('मेक', 'टोयोटा') - & gt; सेट इन्फो ('मॉडल', 'एससीपी 10'), उस कार वर्ग के बाद सेट करें $ make = 'टोयोटा', ​​जैसे कि मैं इस ऑब्जेक्ट को bellow जैसे प्रिंट कैसे कर सकता हूँ make = टोयोटा मॉडल = scp10 आपको चेन जैसी कॉल्स के लिए अपनी विधि के अंत में वापस $$; जोड़ना होगा ।

inner classes - Java: "uses unchecked or unsafe operations. Recompile with..." -

While spending significant time answering my life and rereading the generics chapter in my Java textbook, I can not fix problems with: public class RedBlackTree & lt; I compare & gt; {Private int calculation = 0; Private Red Black Node root; Private Red Black Node On Personal Red Black Node [] Stack; / ** * Internal range used to represent the nodes of red-black balanced binary search tree object. * / Private Class RedBlackNode implements comparative {Private I ID; Private boolean is_btree; Private red black node [] link; / ** * Constructor for objects of the RedBlackNode class. * * @ ID of the ultimate ID node * / personal red black node (id) {if (id == blank) {new nullioner exception ("ID can not be empty"); } This.id = id; This.is_btree = true; } / ** * Function to compare with the other object of the RedBlackNode object. * @ @ To compare the ultimate obj object * @ Return if inocent & gt; Passed, 1 returns; If the attacker & lt; Pass, return -1; If ...

sql - select multiple columns from mutiple tables -

उदाहरण। मेरे पास दो टेबल हैं कार आईडी का नाम 1 बीएमडब्ल्यू 2 फ़ैट Car_info कार_आईडी फ़ील्ड_नाम देश 1 वर्ष 2000 1 देश जर्मनी 2 वर्ष 1988 2 देश इटली एक चुनिंदा क्वेरी में मुझे यह कैसे प्राप्त हो सकता है? id name year देश 1 बीएमडब्ल्यू 2000 जर्मनी 2 फ़ैट 1988 इटली [/ code> आदर्श रूप में, आपको कॉलम होना चाहिए Car_info तालिका निर्दिष्ट करती है कि उस पंक्ति पर किस प्रकार की जानकारी प्रदर्शित की जा रही है यानी टाइप 1 वर्ष है, प्रकार 2 देश है। आप दो बार 'एएनडीओ' की मेजबानी में शामिल होने से दो बार 'एएनडीओ टेबल' में शामिल होकर गोल कर सकते हैं, जैसे: का चयन करें car.ID, car.Name, ci1.country [YEAR] के रूप में, ci2.country के रूप में देश से कार इनर में car_info के रूप में ci1 कार पर car.ID = ci1.car_id और ci1.field_name = 'वर्ष 'INNER कार_इन्फो के रूप में सीआई 2 पर कार। आईडी = सीआई 2 सीआर_आईडी और सीआई 2.फील्ड_नाम =' देश '

java - Get intersection points of line and shape -

Image
I have a custom size as shown in the image. Suppose that the blue rectangle covering the shape in the image shows the bounding box of that size. If I have to draw a line from the boundary of the bounding rectangle, how can I get the intersection points (in the image they use the green color)? I am using Java 2D, I have a generic path with all coordinates, out of which I draw the size on the screen. Idea You can take the Genre Path to your Segments (get-path, line-to, quad-to, cubic-to, Off) using the getPathIterator () method. Now you can search per segment for intersection with line. public fixed point [] getIntersections (path path, line line) {list & lt; Point & gt; Intersection = new arreelist & lt; Point & gt; (); PathEyiterator = path.getPathIterator (); Double [] cos = new double [6]; Double [] position = new double [2]; While (! It.isDone ()) {int type = it.currentSegment (coords); Switch (Type) {Case Pathitator. SEG_ MOVETO: pos [0] = Cor...

windows - Use of Integer Atoms -

डीडीई (डायनेमिक डाटा एक्सचेंज) में उपयोगी है। का उपयोग क्या है? केवल उपयोग मैं जानता हूँ कि अंतर्निहित संवाद के लिए परमाणु संख्याएं हैं वर्ग के नाम संदेश बॉक्स, और अन्य, # 32770 का उपयोग करें जो कि आप विंडो को वापस खोजने के लिए उपयोग करते हैं। कुछ अन्य हैं, मैं खुशी से उनकी संख्या और उपयोग भूल गया यह 1 9 80 के दशक, 16-बिट विंडोज़ और चरम संसाधन सीमाओं के दिन वापस चला जाता है। आप नमूना कोड देख सकते हैं जो इस परमाणु संख्या का उपयोग करता है। // अगर & lt; hWnd & gt; एक संवाद स्ट्रिंगबिल्डर एस.बी. है = नया स्ट्रिंगबिल्डर (260); GetClassName (hWnd, एसबी, एसबी। क्षमता); यदि (sb.ToString ()! = "# 32770") सत्य वापस; [संपादित करें] कुछ पूर्णांक परमाणु वर्गों को जोड़ा: #ifndef POPUPMENU_CLASS_NAME #define POPUPMENU_CLASS_NAME "# 32768" / * पॉपअपमेनू * / #endif #ifndef DESKTOP_CLASS_NAME #define DESKTOP_CLASS_NAME / * डेस्कटॉप * / #endif #ifndef DIALOG_CLASS_NAME #define डायलोग्ग्लाग्राम # # 32770 "/ * डायलॉग * / #endif #ifndef WINSWITCH_CLASS_...

How to do jndi lookup of MQ connection factory defined in Websphere app Server from Spring -

I am trying to connect to a MQ connection factory defined in Websphere App Server 7.0. But I could not find the correct connectionfitter interface for MQ to define in spring. However, when I tried to hardcode the connection details in the spring config file, I was able to connect to the Quoin manager. Working Code & lt; Bean id = "mqConnectionFactory" class = "com.ibm.mq.jms.MQQueueConnectionFactory" & gt; & Lt; Property Name = "Hostname" & gt; & Lt; Price & gt; 127.0.0.1 & lt; / Pricing & gt; & Lt; / Property & gt; & Lt; Property Name = "Port" & gt; & Lt; Price & gt; 1414 & lt; / Pricing & gt; & Lt; / Property & gt; & Lt; Property Name = "Quoo Manager" & gt; & Lt; Price & gt; MYQM & lt; / Pricing & gt; & Lt; / Property & gt; & Lt; Property Name = "Transport Type" & gt; & Lt; Price & gt; ...