Posts

Showing posts from June, 2014

php - What is wrong with this mysqli query? -

I am adding a new email address to a database when I check to see that the user If using , then (! ($ ($ $ Stmt = $ dbConnection- & gt; ('SELECT' email_addr 'FROM'). TABLE_NAME. 'WHERE' email_addr` = When I try to run (if (($ ($! ($! ($! ($! ($! ($! ($!) And 'INSERT INTO'. 'TABLE_NAME' ('Email_addr`, `date_subscribed`,` act_code`, `subscribe_ip`) value (?,?,?)')))) Error me unknown column ' Email_addr is found in '' field list ''. I tried a lot and thought maybe adding the backix would solve the problem, but it did not happen. If you want more code, please let me know. Resolve: There was a typo in constant.In PHPmyadmin Thanks for everyone to ask to run the query, so I searched for the problem. Unknown column 'email_addr' in the 'Field List' This error indicates that you have a column name Those who are present are not present. Review your table to make sure it's the c...

javascript - keyup only works one time -

$ ("# hi")। कीप्रेस (फ़ंक्शन () {$ ("। हाय")। Html ("लिख रहे हैं..."); }); $ ('# Hi')। कुंजी (फ़ंक्शन () {$ ("। हाय")। देरी (1000) .क्यू (फ़ंक्शन () {$ (यह)। Html ("");});}); जब मैं एक टेक्स्टबॉक्स में "हैलो" टाइप करता हूँ (#hi) तो कुंजी केवल पहले अक्षर के लिए काम करता है और फिर यह गायब नहीं होगा। आप देरी के बजाए एक टाइमआउट का उपयोग कर सकते हैं: var टाइमआउट; $ ("# Hi")। कीप्रेस (फ़ंक्शन () {// किसी भी पूर्व समयबाह्य साफ़ करें टाइमआउट (टाइमआउट); // लिखना टेक्स्ट $ ("। Hi")। Html ("लेखन ..."); / / एक सेकंड के बाद पाठ निकालें यदि कोई और कुंजी तब तक दबाए नहीं जब तक टाइमआउट = सेट टाइमआउट (फ़ंक्शन () {$ ("। हाय")। Html ("");}, 1000);});) ??? यहां एक कामकाजी उदाहरण है: यहाँ पर विचार यह है कि आप "लेखन ..." टेक्स्ट को निकालने के लिए समयबद्धता निर्धारित करते हैं कुंजी स्ट्रोक के बाद एक सेकंड यदि एक दूसरे के भीतर एक नई कुंजी स्ट्रोक बनाई जाती है, त...

Press a key with Java -

I was thinking that by pressing the key with Java, it is not certain how certain types of square Which should be like sendKeyPress (); or some. You can easily do with orbit. For example, press Enter : Robot R = New Robot (); R.keyPress (KeyEvent.VK_ENTER); R.keyRelease (KeyEvent.VK_ENTER);

cordova - iOS Phonegap returning weird purchase receipts -

I'm looking at many purchase attempts with this strange transaction receipt from my PhoneGap iOS app, which appears to be invalid I try to verify it at the iTunes endpoint. window.plugins.inAppPurchaseManager.onPurchased = function (transactionId, productId, receipt) {// receipt is MC4wMDAwMDA = which base64 decodes 0.000000} me There is a doubt on a hack, but I want to verify that we are not doing anything wrong. Use the official InappPurchaseManager plugin, 1.7 on the PhoneGapp-Plugin Repo Cordova. I'm not familiar with the plugin you are using, but I do not think you There are some programs in it that make receipts in an attempt to steal in-app purchases. Apple recommends acquiring receipts through its own server to make scams of their products more difficult for hackers and hacks. You can read about Apple's receipt verification and their recommended best practices. People who start with receipts like MC4wMDAwMDA = or Y29tLnVydXMuaWFwLj are common ...

- Where Developers Learn, Share, & Build Careers

This is a simple example, but for this I need this, the transition is not working Will need to use animation. When the element is hovering, the animation easily animates the element when the element is closed which pulls it back to its original settings without animating it back. Is there any way to change its settings instead of snapping it back? Animate needs to be used for this: the hover event, but when the element closes, I can use the transition, if it does work, I can not get it to work is. I have tested your version in Google Chrome and it worked fine for me even in Firefox compatibility And it also works good for me. What I have now here: HTML: & lt; Ul & gt; & Lt; / Li & gt; Trial & lt; / Li & gt; & Lt; / Ul & gt; CSS: ul {background color: black; White color; Width: 100px; Height: 100px; } @ -mose-keyframe flow-down {0% {padding-down: 0%; } 100% {padding-down: 30%; }} @ -WebKit-keyframe flow-down {0% {padding-bott...

jquery - Sliding Page Transitions -

I have to create a site that wants to slide between pages, but what I found about sliding page transition Is it for single page sites, for some SEO and marketing purposes, would it be possible with jQuery or some other language instead of many pages that are loaded on the page? You have to post the entire html on the new page (possibly in a form value encoded), then at the load of the new page, in fact First show this basic HTML and then slide it to the new page. Although it may be slow,

- Where Developers Learn, Share, & Build Careers

मुझे निम्न कोड में एक समस्या है: fstream s ("tst.txt ", Fstream :: बाइनरी); S.seekp (5, एफस्ट्रीम :: बेख); S.write ("परीक्षण", 7); इसे फ़ाइल में पहले पांच वर्ण रखना चाहिए, जैसा कि यह है, लेकिन ऐसा नहीं है! यह पूरे पुराने डेटा को त्यागने के लिए, मुझे पुराने डेटा को रखना होगा और फ़ाइल डेटा का सिर्फ एक ब्लॉक अधिलेखित करना होगा, और यह किसी भी एक बाइनरी मोड में होना चाहिए? अग्रिम में धन्यवाद। इसे आज़माएं: fstream s (" Tst.txt ", fstream :: binary | fstream :: in | fstream :: out); S.seekp (5, std :: fstream :: beg); S.write ("परीक्षण", 7); एक ओपनमोडा ध्वज निर्दिष्ट करके, आप अपने एफस्ट्र्रीम कन्स्ट्रक्टर कॉल में डिफ़ॉल्ट ओपनमोलोड को ओवरराइड कर रहे हैं।

- Where Developers Learn, Share, & Build Careers

I am working with several jQuery plugins and when trying to do configuration scripts in different implementations , The combination of plugins is there a conflict in JavaScript, and there is no proper way to find out what is the conflict to oppose it You need firebug (Mozilla) or web inspector (webkit)

Firefox 3.5+ sqlite database for saved passwords -

My goal is to import thousands of hostnames / logins / passwords into the SQLite database "signons.sqlite". I believe the table is "moz_logins". This file is located on ~ / .mozilla / RANDOM_STRING.default / signons.sqlite for me I'm trying to understand two things out: 1) What is the encryption method used for encryption and encrypted passwords? 2) What is the guide column / how is it worth its price? If the answer is somewhere on the lines of "Need to read the source code", then this work may be larger than I imagined. Any help would be appreciated. Have you seen? There are several article links in it, the key should be in key3.db behind the main password, if necessary. You need a way to handle passwords. Take a look. The GIDE is a unique ID of some kind, which is generated somehow :) There are some programs available, such as backup / decryption, instead of the RTF of FF, you have a look at them Can be inserted.

asp.net mvc 3 - Entity Framework version error in my small code first project -

I am writing a small test project to wet my feet with the EF code for the first time, unfortunately, when I try to compile, I get the following error: assembly uses backend, version = 1.0.0.0, culture = neutral, public key token = zero 'Entity Framework , Version = 4.3.1.0, culture = neutral, public key token = b77a5c561934e089 'which refers to the assembly The higher version is 'EntityFramework, version = 4.1.0.0, culture = neutral, public keynote = b77a5c561934e089' c: \ Users \ Kevin \ Documents \ Visual Studio 2010 \ Projects \ CFTest \ Backend \ bin \ Debug \ Backend.dll CFTest For some reason, a version is conflict, but I do not know how to fix it. Edit: My app .config: & Lt; / ConfigSections & gt; & Lt; EntityFramework & gt; & Lt; DefaultConnectionFactory type = "System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" & gt; & Lt; Parameters & gt; & Lt; Parameter Value = "Data Sour...

javascript - bizzare undefined variable -

I have a multi-dimensional array in which there are objects, and if I am in a particular property, then I I want to remove COFFEESCRIPT For the data columns in the Bent Spinner for all data columns, I have data in column console.log i, brentSpiner.refreshRate # DataColumn.remove i If BrentSpinner .refreshRate-1 above console.log works as expected when the line is commented below data columns, I will call the data in column console.log i, brentSpiner.refreshRate dataColumn.remove i if brentSpiner.refreshRate -1, then the above errors Reference is: brentSpiner console.log (i, Brentspinrkfresseret); In the firebug How to be undefined on Earth by the presence of a second line can be the variable in the above line? Rendered JavaScript failed for (_i = 0, _len = allDataColumns.length; _i & Lt; _len; _i ++) {dataColumn = allDataColumns [_i]; For (i = _j = 0, _len1 = data column.Lambi; _j & lt; _len1; i = ++ _ j) {brent spinner = data column [i]; Console....

numpy - How to efficiently get eigenvector decomposition with scipy or lapack? -

I want to find an eigenvector decomposition of a dense complex matrix a A = VDiEG (Lambda). V = -1 Matrix needs only a few eigenvectors to regenerate properly for your needs, although I need to determine which eigenvectors to include For some of my non-trivial filtering performance on eigenvalues, it is not appropriate to use a singular value decomposition, as eigenvalues ​​/ eigenvectors are physically meaningful results that I want to work with. Are there. I have a convenient cover around scipy.linalg.eig , which is the code of Lepac's code, JEGEEV routine, V ^ - 1 should be available from the appropriate scale version of left eigenvectors. I used to expect that this to be more efficient and more stable to turn the matrix of corrected eigenvectors However, when I compare two methods, It seems that both eigenvectors left in discrete metrics are much less precise than inverted using the right eigenvectors. Probably this is a round-of-the-clock or a typo error. I...

wcf - CQRS Implemetation -

I'm trying the CQRS theory for example: I list the supplier I want to manage it. This is a supplier's own address, the supplier's address can be replaced with the current address list. Before changing the supplier's address, I need to make sure that the address has not been removed. I am using the RavenDB database to store the supplier, address. WCF for synchronous call: Application & lt; - & gt; WCF Services & lt; - & gt; The service bus & lt; - & gt; text "itemprop =" text "> An event sourcing sample included with the RavenDB source, which you can get started, see and

- Where Developers Learn, Share, & Build Careers

When to use 'lock' in multi thread programming? Just lock that think that each thread will modify or lock that check which can access every thread even though it will not be modified? struct share_data {/ * share data * / thread_ID; } Thread 1 will start the main () function: initial share data / * lock required / all threads (share_data. Thread_id, and status) / * login share data thread_id, lock or not? */ Go out. Other threads would be: using share_data, / * locked or not? * / Modify share_data, / * lock * / exit Thank you for your attention, and if you have more time, more detail about the actual code: / * The number of threads will be user input Structure "tdata" and "tlist" information of each thread, which includes: "tid" - Thread ID, which is the sheath by the first argument of pthread_create (), "trader" which calls pthread_create () for each video The order is "status" stores the work state of each thread,...

doubles in embedded python -

Then I am writing a group of C ++ classes that run Python scripts. I have worked the code to run any script from a specified directory, and I can fix the value and return. But I have an issue that I can not find the python set up for example, when I was using long values, then I would say "PyLong_AsLong ([whatever Value I'm trying to change from a PyObject for a long time) "- but there is a PyDouble_Something in Python / C API for it? My Google search is nothing yet. Do you want to, do not you?

java - Programming Style: Try Catch and External Dependents -

I have a simple style question I'm writing that in an application there are several class methods that an attempt / hold block As well as the external functions of the block that depends on the outcome of the block, for example (in psudo code): try {start_transaction; Persist_data; Stop_transaction; } Hold {rollback_transaction; } Finally {} if (transaction_successful) send_message; Once the transaction is successful, I can think of the test, the only way is to try a method variable flag in the catch hold blocks, and after that I will undoubtedly work, although I want to know What is that traditional "knowledge"? It is possible that the attempt of "send_message" should be in the catch block, though it may be unnecessary clutter? I think this is a very straight question - just trying to make sure my code is well structured / organized. It looks like you have a proper leveling of your software / on increasing the coordination for this class / method Wil...

python - pycurl equivalent of "curl --data-binary" -

I want to know the equivalent of this curl command in pycurl: curl - data - Binary @ binary_data_file.bin 'http: // server / myapp / method' Note: The above curl statement uses the post method. I have to use it for compatibility with my server script. request library means that to keep these simple things: / P> import request r = requests.post ('http: // server / myapp / method', data = {'aaa': 'bbb'}} or dependent end data: import request r = requests.post ('http: // server / myapp / method', data = file ('binary_data_file. Bin ',' rb ') Read ())

- Where Developers Learn, Share, & Build Careers

When trying to learn about Poco networking libraries, I came to the following snippet: Class MyRequestHandlerFactory: Public HTTPRequestHandlerFactory { Public: Virtual HTTPRequestHandler * createRequestHandler (Const HTTserverRequest & amp;) {New MyRequestHandler Return; }}; I have a problem with the return type ( HTTPRequestHandler * ) and the method is unable to understand logic ( const HTTPServerRequest & amp; ). Why is it that the return type HTTPRequestHandler indicator? Does new MyRequestHandler return an address for an object which can be referenced in its base type? In addition, I understand that the const is used to make the context irreversible so that the method can not change the referenced object, but no name for the reference type Has been given and it is not being used in the createRequestHandler Can anyone tell me what's going on here? Thanks return type If you see the "Learning Poko" code web site, class MyR...

javascript - Parallax "scrolling" only through navigation -

Since I'm still new to JavaScript / Jaguari / HTML5 / CSS3, I thought I would ask you a question for everyone Ask more experienced programmers out there. I'm stuck at the beginning of my program logic. I want to make a website with a vertical "scrolling" effect, though the user should have an effect when clicking the navigation button on the edges of the screen. The layout of the website will be such that o "o oxo o " o "contents are divs," x "is" home "page (point of origin ). If the user clicks on the arrow (from the point of origin) at the top of the screen, the page will scroll down. The same goes for any of the other directions. I want a huge picture of background setting which is a vertical effect Using the "scrolls" feature of the specific device It changes its position on the edge. I am trying to figure out my mind for two days that any help will start with this, and please tell me that I need to be more...

Can't extract values from text file in C -

Image
I have a text file of approximately 2000 lines, which is created like this: 1 1 Name 1 Last N 1 58C 1600 1310.40 6 1 0.22 2164.80 1 2 1 Name 2 Last N 2 22D 1700 1523.37 4 1 0.13 897.26 1 1 3 3 Name 3 Last N 3 34 C 1600 11 9 5.84 2 1 0.26 836.16 1 2000 3 NameX LastNX 46 d 6000 6000.00 1 0 0.00 0.00 1 What I want to do is read all those values ​​from the text file and store them in arrays: Integer ID [2100]; Four numerals [2100] [30]; Four Applesido [2100] [30]; Int Adad [2100]; Int Pusto [2100]; Four citogora [2100]; Int'l Sealdo I [2100]; Float Sulemo A [2100]; Int antigezed [2100]; Intentitro [2100]; Float Airport [2100]; Float Ahoro [2100]; Intibre Libre [2100]; But when I am trying to read them, I got lots of garbage in the console The way I am trying to read and store them In arrays: // path no. 1 four line [70]; While (fgets (line, 70, data)! = Null) {flush (;); Sscanf (line, "% d% d% s% s% d% c% d% f% d% d% f% f% d \ n", and id [i], & am...

gradle build does not include jars in classpath -

हर कोई यहां निर्माण स्क्रिप्ट है apply {plugin} 'जावा'} स्रोतसंसाधनता = 1.5 सूची वसंत = ["org.springframework: वसंत- webmvc: $ वसंत विर्सन @ जार", "org.springframework: spring-orm: $ springVersion @ jar", "org.springframework: spring-context- समर्थन: $ वसंत विर्सन @ जार "] सूची स्प्रिंग_जएस = [" org.springframework.webflow: spring-js: 2.0.7.RELEASE@jar "," org.apache.ibatis: com.springsource.com.ibatis: 2.3.4.726 @जर "," कॉम। कॉओको: कॉम। स्पिंगर्स.कॉम: 3.2.1@जर "," org.apache.axis: com.springsource.org.apache.axis: 1.4.0@jar "," जावैक .wsdl: com.springsource.javax.wsdl: 1.6.1@jar "] कॉन्फ़िगरेशन {संकलन} {विवरण = 'संकलित क्लासपाथ' ट्रांसिटिव = सच} रनटाइम {extilesFrom compile}} def स्थानीयMavenRepo = 'file: //' + नया फ़ाइल (System.getProperty ('user.home'), '.m2 / repository')। AbsolutePath repositories {mavenCentral () maven {url localMavenRepo}} निर्भरता {com...

java - How to parse soap response message? -

I want to parse the following XML snippet: Can anyone help me in this I understand the elements and all I'm not able to retrieve and just retrieve the bus and employee ID nodes and its values ​​ & lt; Soapenv: envelope xmlns: soapenv = "http://schemas.xxx/Yyy" xmlns: idi = "http: // xxxx /" & gt; & Lt; Soapenv: header / & gt; & Lt; Soapenv: body & gt; & Lt; Idi: Retrieve & gt; & Lt; RequestXML & gt; & Lt; CUSTOMERNUMBER & gt; 111 & lt; / CUSTOMERNUMBER & gt; & Lt; EmployeeID & gt; 222 & lt; / EmployeeID & gt; & Lt; / RequestXML & gt; & Lt; / Idi: Retrieve & gt; & Lt; / Soapenv: Body & gt; & Lt; / Soapenv: envelope & gt; Please look at the XML above and give some pointers to parse it. You should use a framework that should be made to create and parsing an object model model from WSDL. Axis 2 JADS Jx-RPC Choose one and use it.

Utilizing Node.js Along Side Another Platform (Grails) -

We have a grails application in the wild. We want users to provide a better experience to current browsers and provide some auto-updates to site pieces. With all the options and especially with Grails, I'm not impressed. I really want to use WebSocket and till that point I have checked, I believe our best The option is node. Js. But obviously we can not do our application again. I like Grails So my idea is that we use Node.js along with Grails basically as a read-on proxy between the client and the data. All nodes The JS application pulls data from the database and distributes the client on websacet. Is it like a legitimate approach? Is there anything else that someone else did? Definitely feels appropriate; I recommend using socket.io to implement your transport (if the browser supports them, then it will use websitet; otherwise it will use different fallback mechanisms) You can use any cross-root problems To avoid, you might want to use a reverse proxy such as ngin...

asp.net - how can i access string variable value of .aspx.cs file in .aspx file -

im एक स्ट्रिंग मान प्रतिगमन के रूप में regression = (सत्र ["प्रतिगमन"]) हो रही है। ToString (); में .aspx.cs फ़ाइल है, तो मैं इस मान को .aspx फ़ाइल में SqlDataSource संपत्ति के SelectCommand में नीचे का उपयोग करना चाहता हूं SelectCommand = "SELECT [issue_oid], [issue_num], [ प्रतिस्थापन], [स्थिति], [परीक्षण_बी], [परीक्षण_ऑन], [पैच_नाम], [आगमन_ऑन], [पिछले_इनफ़ो], [टिप्पणी], [is_duplicate] से [itt_monthly_patch_issue_list] जहां स्थिति = 'परीक्षण नहीं' और 'प्रतिगमन =' & Lt;% # regression% & gt; `` .aspx.cs फ़ाइल पेज_लोड विधि निम्नानुसार है संरक्षित शून्य पृष्ठ_लोड (ऑब्जेक्ट प्रेषक, इवेंटआर्ग्स ई) {यदि ((सत्र ["उपयोगकर्ता नाम"]। ToString ()) == string.Empty {Server.Transfer ("regressionType.aspx"); } प्रतिगमन = (सत्र ["प्रतिगमन"])। ToString (); Usrname = (सत्र ["उपयोगकर्ता नाम"])। ToString (); DataBind (); } कृपया मुझे सुझाव दें कि मैं यह कैसे कर सकता हूं? पहले से धन्यवाद ... आप अपने SQLDa...

jersey - Remove type-information from JSON result -

Currently I'm trying to create a webservice which only gives a list; @ Path ("/ random") @ SINGLEN Public Class Random {@GET @ path ("/") @ products (MediaType.APILICATION_JSON) Public MySsult & lt; String & gt; Test () {MyResult & lt; String & gt; Test = new MyResult & lt; String & gt; (); Test.add ("great"); Return examination; }} And my MyResult class looks like this: @ XMLRailAllanment public class MyResult & lt; T & gt; Applies to Iterable & lt; T & gt; {Private Arrestist & lt; T & gt; _items; Private int_total; Public MyResult () {_items = New ArrayList & lt; T & gt; (); } Public array list & lt; T & gt; GetItems () {back _items; } Public Zero Set (Arrayist & Lt; T & gt; Items) {_items = items; } Public int getTotal () {Return _total; } Public Zero Settlement (total integer) {_total = total; } Add Public Zero (T Items) {getItems (). Add (item); } Public Iterator ...

- Where Developers Learn, Share, & Build Careers

I have used sharekit to publish my Facebook project on Facebook and Twitter. But each time I share on Facebook or Twitter, a popup is coming and click on it, click on the button will be part of the content. The issue is that I do not want this popup and want to publish directly to Facebook or I got the solution. There is a function in SHKFacebook.m and SHKTwitter.m "Eeto Share" should return and your problem should be resolved. Thanks

google app engine - webapp2 jinja2 context_processor -

I am creating a project on GAE, webapp2, jinja2 and I use it for authorization. To use sessions with users from webapp2.request in templates, I want something like Django's context_processor to help me solve this problem. There are several ways to achieve this. The easiest way is probably to look like this: def extra_context (handler, context = none): "" adds additional context. " Loaded from settings like "reference = context or {} #degego" and running different template processors # I do not do this in my projects because I am not yet creating another framework # so I like to keep it simple: return Dict ({'request': handler.}}, ** references) # --- Somewhere handler in response --- get DF (self): my_context = {} template = get_template_somehow () self.response.out.write ( Template .Redder (** extra_context (auto, my_cont Ext)) I like when my variable templates are in Global, then I can access them in templates widgets without ...

html-css change img hover -

I am trying to convert image hover to another picture which I found is not working for me yet is. Here's my HTML & lt; Div id = "navbar" & gt; & Lt; Table style = "margin-left: automatic; margin-right: auto;" & Gt; & Lt; TR & gt; & Lt; Td> & Lt; A href = "index.html" & gt; Div id = "navbar_button" style = "background-image: url (images / navbar_home page); width: 213px;" & Gt; & Lt; / Div & gt; & Lt; / A & gt; & Lt; / TD & gt; & Lt; Td> & Lt; A href = "play.html" & gt; Div id = "navbar_button" style = "background-image: url (images / navbar_playong); width: 213px;" & Gt; & Lt; / Div & gt; & Lt; / A & gt; & Lt; / TD & gt; & Lt; Td> & Lt; A href = "home / index.php" & gt; & Lt; Div id = "navbar_button" style = "background-image: url (images / navb...

- Where Developers Learn, Share, & Build Careers

मेरे पास ऐसे एक लेआउट के साथ एक WPF फॉर्म है: & lt; ग्रिड & gt; & LT; डेटा ग्रिड & gt; ... & lt; / DataGrid & gt; & LT; कैनवास & gt; ... रनटाइम पर बनाई गई लाइनें शामिल हैं ... & lt; / canvas & gt; & Lt; / ग्रिड & gt; आप देख सकते हैं कि मेरे पास एक डाटाग्रीड है जहां मैं फ़ाइलों को लोड करता हूं। दैटग्रिड के कुछ कक्ष लाइनों से जुड़ा हो रहे हैं। इन पंक्तियों को कैनवास में रखा गया है यह सब वास्तव में ठीक काम करता है लेकिन अब मेरे पास एक बड़ी समस्या है मैं अपने पूरे फॉर्म को ज़ेड-इंडेक्स से नहीं जाने के लिए सभी लाइनों को अक्षम कर सकता हूं। केवल एक ऐसा क्षेत्र जहां वे नीचे स्क्रॉल करते हैं, वे हैं DataGridColumnHeader क्या आपके पास कोई भी विचार है कि मैं क्या कर सकता हूं कि रेखाएं कम Z- इंडेक्स है, फिर मेरा DataGridColumnHeader, लेकिन एक बड़ा या मेरे DataGridCells के समान? आप इस समस्या को किसी सेट के माध्यम से हल नहीं कर सकते, क्योंकि यह इंडेक्स केवल एक पैनल के भीतर तत्वों के z- क्रम को नियंत्रित करता है। आप हालांकि कैनवस को...

android - Target "-resource-src" does not exist in the project "HelloWorldTest". It is used from target "compile" -

& lt;! ओवरराइड "compile" लक्ष्य मंच में android_rules.xml को परीक्षित ऐप के बाहरी पुस्तकालयों को शामिल करने के लिए - & gt; & Lt; लक्ष्य नाम = "संकलन" निर्भर = "- संसाधन- src, -aidl" विवरण = "कंपाइल प्रोजेक्ट की .java फ़ाइलों को .class फ़ाइलों में" & gt; & Lt;! - यदि एंड्रॉइड नियमों का उपयोग किसी परीक्षण प्रोजेक्ट के लिए किया जाता है, तो इसके कक्षापथ में प्रोजेक्ट के स्थान का परीक्षण होना चाहिए - & gt; & Lt; condition property = "extensible.classpath" मान = "$ {test.project.absolute.dir} / bin / classes" else = "।" & Gt; & Lt; isset property = "test.project.absolute.dir" / & gt; & Lt; / हालत & gt; & Lt; javac encoding = "ascii" target = "1.5" debug = "true" extdirs = "" destdir = "$ {out.classes.absolute.dir}" बूट क्लासपैथ = "android.target.classpath" वर्बोज़ = "$ { वर्बोज़} "classpa...

sql - Mysql Stored Procedure SQLYog issue -

I have set up my site in a way that I am developing on localhost and Then updates it and everyone is good to go then, but there is a problem with processed processes . When I create an archived procedure on the local host and then the server is using sqlyog copy then it has been copied but, I can not convert it to live . To do this, I have to create another with a few dummy names and then manually copy & amp; Paste the code of SP and execute it to make it. Any issue that could be the issue here? UPDATE Due to the execution of SP with this problem only I think that this error has definitely been found: The user specified as a fixed ('root' @ 'localhost') does not exist I am not expecting this problem because I copy the process Before deleting clear , it looks like its own probably by force sqlyog Adds . when you are live ('root' @ ' Localhost ') In place of the local host, enter the user name in place of the ro...

html - How to display blog post in wordpress? -

I have a WordPress theme "hatch", and I'm doing it for my photography. I usually do website with HTML / CSS (in Dreamweaver) and this is the first time Wordpress is doing. In my homepage, you can see recent posts as thumbnails. I'm thinking of creating a new menu, called 'blog', basically just like normal topics, blogs Displaying the post. It can be a bit easier, but I did not find the code to display the posts as a normal display. Website lizettephotography.com Thanksgiving! Liz No need of code Create new category "blog" Add the category to your main menu. Then add a new post to the blog category. Clicking the Blog menu link will show all the posts in the blog category. You need to format the post design. Edit: In order to activate the post formats, in WordPress 3.1+, you will have to open your theme, the functions.php file and paste the following code : add_theme_support ('post-format', array ('one side...

php - How can I see if tel: is actually linked to a device that can make a call? -

I am currently on a project to find out if a device can make phone calls. It depends on whether it can or does not, I need to switch the approach and implement two separate functions, there is a phone to make a number on a phone: on HTML, the other is a button for you , Which will enter your number and we'll call you using 'Phonality.' Currently, I have been able to install such plugins / libraries such as Varuf or Terraubourfal, which is 100% reliable way to detect mobile phones or tablets. / Desktop can make a phone call. Is there any server side or user-side solution, such as in the Vorphl / Terwurf or in a JavaScript ajax call that I missed "I do tele: works" or something of that nature. Here is a PHP class that I can use to download a mobile browser for free. Once you can set up correctly, you can use the code like this: if ($ Detect-> isMobile ()) {// Any mobile platform / Or you may be more specific: if ( $ Detect-> isiOS ()) {...

Java get image extension/type using BufferedImage from URL -

I'm familiar II, where the URL does not have a file extension. Then I want to do local storage, but I want to upload the image file extension (I.e. JPG, PNG, etc.), which I can not reclaim its extension through lazy imaging. How can this be done? There will be no other way. Use You can get image readers using A file containing I have not tested it myself, but you can try it: ImageInputStream iis = ImageIO.createImageInputStream (file); Iterator & LT; ImageReader & gt; ImageReaders = ImageIO.getImageReaders (iis); While (imageReaders.hasNext ()) {ImageReader Reader = (ImageReader) imageReaders.next (); System.out.printf ("formatName:% s% n", reader.getFormatName ()); }

php - imageMagick mogrify module not found -

I am facing a problem with mogrify when I try to run it from the command line, Receives this error from "mogrify: Unable to open module file The surprisingly adequate file is unavailable on the other box but my script works. I am doing an modified IPTC injection, which I extracted with the convert. Any clue how to work it? Install additional packages? Problematic machine config: Version: ImageMagick 6.2.8 04/17/08 Q16 file: /usr/share/ImageMagick-6.2.8/doc/ index Html copyright: Copyright (c) 1999-2006 ImageMagic Studio LLC One working Version: ImageMagick 6.5.9-0 2010-02- 12 Q16 http://www.imagemagick.org Copyright: Copyright (c) 1999-2010 ImageMagic Studio LLC Features: OpenMP Image magick version 6.2.8 installed on your problematic machine probably has mogrify library At the same time, or it is not installed correctly. Try to re-install the imagination and match the library version to one you have installed on the job.

javascript - Window.print() does not take the current url -

According to this code, I am using the following code, the new window will open with the source of the URL. But when printing, it is showing: Empty printing: Before loading the page load correctly, the page URL is also: empty but it changes in the given URL. var url = "http: // localhost: 8080 / recruitment / docs / Kenyeth% 20_1340800082258 / Kenyighth% 20_sreem_1340800082258.pdf"; Var printwindow = window.open (url, '_blank', 'fullscreen = yes'); // setTimeout ('2000); Printwindow.focus (); Printwindow.print (); Have you tried: printwindow .onload = function () {printwindow.focus (); Printwindow.print (); };

html - css position absolute for child element of a table-cell div -

संभव डुप्लिकेट: मेरे पास प्रदर्शन है: तालिका लेआउट। डेमो है। दूसरे पैनल में div #pos है जो स्थिति: पूर्ण है। इसी तरह इसकी मूल तत्व i.e. div # two है स्थिति: सापेक्ष । जब मैंने #pos {width: 100%} दिया है, तो उसे div # two की चौड़ाई मिलनी चाहिए? लेकिन यह #wrapper की चौड़ाई हो रही है जो कि div # 2 के माता-पिता है। क्या यह टेबल-सेल की व्यवस्था का व्यवहार है? मुझे ऐसा करने के लिए क्या करना चाहिए जिससे कि div # pos के पास उसके अभिभावक की चौड़ाई होगी मैं #pos के लिए चौड़ाई के लिए हार्डकोड नहीं करना चाहता हूँ अग्रिम धन्यवाद। आपने रैपर को तालिका के रूप में सेट किया है और #one और #two जैसा कि तालिका-सेल है, इसलिए # एक और # दो अब इनलाइन तत्व हैं और आपका div #pos जो स्थिति है: निरपेक्ष ब्लॉक है तो अब #wrapper जो कि उत्तराधिकार में पहला ब्लॉक तत्व है #pos के मूल एक एकल परिवर्तन किया। #wrapper & gt; Div {प्रदर्शन: टेबल-पंक्ति; } क्या यह आप की तलाश में है?

matlab - String to Enumeration -

मेरे पास एक गणक है: classdef कमांड गुण कमांड स्ट्रिंग; सिफ़ पढ़िये; अंत विधियों obj = आदेश (commandString, readonly) obj.commandString = commandString; Obj.readonly = readonly; और मेरे पास एक स्ट्रिंग है: currentCommand = अंतराल की समाप्ति स्थितिमोड ('पी', गलत) ट्रैवलडीस्टन्स ('s', गलत) 'PositionMode'; मैं वापस करने में सक्षम होना चाहता हूँ: कमांड.पोजीशनमोड क्या विधियां (स्थिर) फ़ंक्शन obj = str2Command (स्ट्रिंग) obj = eval (['आदेश।' स्ट्रिंग]); संरचनाओं के साथ, आप वस्तुओं के साथ उपयोग कर सकते हैं। currentCommand = PositionMode कॉल आदेशों के साथ। (CurrentCommand) आदेश के लिए मूल्यांकन करता है और इस प्रकार आपकी समस्या को एक सुरुचिपूर्ण और सुविधाजनक तरीके से हल करता है।

android - Decoded bitmap results in larger size -

I'm trying to store a bitmap (which I've already read from a file) in a better shape After decoding, BitmapFactory.Options.inSampleSize . The problem is that the file size of the stored bitmap is at least double the size of the original file. I have searched a lot and how can I find out how I can work with it, because I do not want to do it for memorable efficiency (I can reuse archived bitmap later) This is my way What I describe: personal bitmap decodeFileToPreferredSize (filef) {bitmap b = empty; {// decode image size Log.i ("bitmap", "imported image size:" + f.length () + "bytes"); Bitmapfile Option o = new bitmapfile Option (); O.inJustDecodeBounds = True; BitmapfinderDiscoverFile (FAAA.S.O.O.O.O.L.O.T.), O); // Check that the user defined the custom image size int scale = 1; If (pref_height! = -1 & amp; pref_width! = -1) {if (o.outHeight> gt; pref_height || o.outwidth & gt; pref_width} {scale = (Math) Math.pow (2, (Int) Mat...

sql server - Coalesce FETCHING 0 ROWS inside stored procedure but fetches result as a query -

नमूना डेटा srno उत्पादनाम StartDate AStartdate pStartdate 1 नया 11-11-2010 11- 11-2010 11-11-2010 2 पुराने 01-01-2011 11-11-2011 09-11-2010 3 माध्यम 01-01-2012 01-01-2012 16-07-2012 4 बाहर 01-08-2012 16 -01-2012 16-07-2012 मेरी क्वेरी वैकल्पिक प्रक्रिया [dbo]। [Status_yearly] (@MID NVARCHAR (अधिकतम)) के रूप में आरंभ करें (अधिकतम) SELECT @Years = Stuff ((चुनें SELECT DISTINCT ', [' + Cast (वर्ष (यू। स्टार्टडेट) एन.वी.आरएआरएआर (4)) + ']' से [उत्पादों] xml पथ के लिए (' '), 1, 1,' ') DECLARE @date nvarchar (अधिकतम) SET @date = CONVERT (VARCHAR (10), GETDATE (), 105) - SELECT DECLARE @ SQL nvarchar (अधिकतम) SELECT @ SQL उत्पाद से [y] के रूप में 'उत्पाद' 'एएस स्थिति,' 'कुल उत्पाद' 'के रूप में [YEAR], उत्पादनाम, वर्ष (यू। स्टार्टडेट) चुनें और कहां मिड =' '' + + एमआईडी + '' और यू.फ्लैग & lt; & gt; डेटा) PIVOT (COUNT (उत्पादनाम) के लिए [y] में ('+ + वर्ष +')) PivotTable UNION ALL चुनें *...

- Where Developers Learn, Share, & Build Careers

Can I use Spring Breath for mobile web development? This is a very basic question but I tried Google but I can not find any tutorials on this. Nobody can suggest anything on this. Yes you can use it, because I think Spring is a Server side java framework and for mobile web development, I do not think that customizing the page's look-end-angel does not require you to do anything special, which can be done through theme themes. Liferay can start from 6.1 you can also define. You can go to the site for a quick demo of it, and try changing the window size of the browser, and then see how the page changes even if you want this site to be a mobile You can try to look in the phone. Hope this will be helpful.

c# - writing to rfid -

सार्वजनिक void writeToCard2 (स्ट्रिंग स्रोत टेक्स्ट, स्ट्रिंग कार्ड टाइप) {cursor.Current = Cursors.WaitCursor; Int itemLength = sourceText.Split (',')। लंबाई; SourceText = itemLength.ToString () + "," + SourceText + ","; बाइट [] डेटाबाइटअरे = एन्कोडिंग। गेट एन्कोडिंग (9 32) .गेटबाइट्स (स्रोत टेक्स्ट); //textbox2.Text = बिटकांकर। टॉस्ट्रिंग (डेटाबाइटअरे); इंट डेटाबाइटलेैंगल = डाटाबाइटअरेरे। लांघ; Int writeLength = dataByteLength + 11; बाइट [] लिखनाबाइटअरे = नया बाइट [लिखित लिंघन]; writeByteArray [0] = 0x02; // एसटीएक्स writeByteArray [1] = 0x00; // ã ?? ¢ ã ???? ã ?? एक ¬ ?? ¹ writeByteArray [2] = 0x78; // ã ?? ³ã? ??? ã ?? ³ã ???? writeByteArray [3] = Convert.ToByte (dataByteLength 4); // ã ???? ã ?? ¼ã ?? ¿é ?? · writeByteArray [4] = 0xa1; // नौकरी © ³ç' ° ã ?? ³ã ???? ã ?? ³ã ???? WriteByteArray [5] = 0x00; // æ ?? ¸ एक ???? ¾ ¼ ÃÆ'à एक € ™ Ã⠀, एक · ÃÆ'à ¢ एक, ¬ Å ¡Ãƒâ € SA, एक ?? एक ?? एक ?? एक ?? ? ªå ?? · writeByteArray [6] = Con...

- Where Developers Learn, Share, & Build Careers

I want to create a shape file which can be used with GIS solution map. The situation is such that the user will draw some polygons on the map by clicking on it. Therefore, I have long time to attract polygon. Now I want to export this size for a long time so that it can also be shown on other GIS applications. I do not know anything about the shape files, so creating a size file is a tough task? Does anyone tell me where I want to start searching? Thank you for your help You can apply it to a doctor Well, of course, do not do that. Google will definitely help you for the size file library There is a good thing to start with the sharks: Other options here (not that young)

NURBS library for Delphi -

Can you recommend some libraries to manipulate the available splinines for Delphi? I did a search, but I have C / C ++ / Python binding. What features do I need: Add Splene to 2D: Rotating, translate, mirror, scale and intersecting, spelling with polyline, connecting spletting with palletline. Edit: What is GLScene is because I need only support for 2D Splene And besides for 3D surfaces, I do not want the library to be kept with the rendering engine. I want to make some calculations and GLCCN is not in line with my needs. Take a look at this Here is an example of duck nurse ... Good luck ...

- Where Developers Learn, Share, & Build Careers

मैं अपने कोड में टूलटिप रंग कैसे बदल सकता हूँ & lt; style x: key = "टेक्स्टबॉक्स" एरर "लक्ष्य प्रकार =" टेक्स्ट बॉक्स "& gt; & LT; Style.Triggers & gt; & Lt; ट्रिगर प्रॉपर्टी = "मान्यकरण। HesError" Value = "true" & gt; & Lt; सेटर संपत्ती = "टूलटिप" मान = "{बाध्यकारी रिलेटिव सोरस = {x: स्टेटिक रिलेटिव एसस। स्व}, पथ = (मान्यकरण.एरर्स) [0] .एयर्रॉंन्टेंट}" / & gt; & Lt; / उत्प्रेरक & gt; & LT; /Style.Triggers> & Lt; / शैली & gt; अपनी स्वयं की टूल टिप शैली बनाएं नोट करें कि स्टाइल को defult होना चाहिए & gt; शैली TargetType = "ToolTip" & gt; ... & lt; / style & gt; इसे "textbox इनर्रर" शैली लागू करना है।

ios - Get other key values when know one of them in a NSDictionary -

& lt; सरणी & gt; & LT; सरणी & gt; & LT; dict & gt; & LT; कुंजी & gt; उपयोगकर्ता नाम & lt; / कुंजी & gt; & LT; स्ट्रिंग & gt; BMWM6 & lt; / स्ट्रिंग & gt; & LT; कुंजी & gt; इंजन & lt; / कुंजी & gt; & LT; स्ट्रिंग & gt; 4.0 & lt; / स्ट्रिंग & gt; & LT; कुंजी & gt; छवि & lt; / कुंजी & gt; & LT; स्ट्रिंग & gt; bmwM6.png & lt; / स्ट्रिंग & gt; & LT; कुंजी & gt; डीलर & lt; / कुंजी & gt; & LT; स्ट्रिंग & gt; संयुक्त राज्य अमेरिका & lt; / स्ट्रिंग & gt; & LT; कुंजी & gt; फोन & lt; / कुंजी & gt; & LT; स्ट्रिंग & gt; 10000 & lt; / स्ट्रिंग & gt; & LT; कुंजी & gt; मूल्य & lt; / कुंजी & gt; & LT; स्ट्रिंग & gt; 68 & lt; / स्ट्रिंग & gt; & LT; कुंजी & gt; श्रेणी & lt; / कुंजी & gt; & LT; स्ट्रिंग & gt; बीएमडब्ल्यू & lt; / स्ट्रिंग & gt; & Lt; / d...

c# - Specify an order while unzipping files -

I am using dotnet zip library to programmatically zip my files. As a result zip file is then uploaded to the server using SFTP. My question is, is there a way on which files should be unzipped on the server. I am not sure about the job, which works to cancel the work. Edit: For each of these documents, there are 100 documents in the zip (usually PDF) and 100 metadata files. The metadata file ends with the .metadata. With such extensions, the file triggers a job on the server to see the document specified by metadata. After removing all other normal files, I can remove .metadata files from these zip. A common approach to this type of thing is often to remove it at a temporary location, then Luggage pick up at the pick-up location later In this way you should not have any problems with the files or order of half-written, and failing to fail if you do not leave the half-data set to the consumer needed.

.htaccess - How can I rewrite specific URLs on an existing site to load pages from WordPress which is installed in a subdirectory? -

I have an existing site, which is created with CodeIgniter on example.com. I have a WordPress install example.com/wp. The URLs look like this: example.com/wp/my-page I am trying to explain that displaying contents of example.com/wp to example.com/my-page How to write / My-page while still showing URL as example.com/my-page CodeIgniter controls the index.php file, so I can not use WordPress's index.php in the root. I am halfway there, I have worked with a plain HTML file, but by joining WordPress, the URL can be rewritten in the / wp subdirectory. Here's what I'm using Example.com root: & lt; IfModule mod_rewrite.c & gt; Follow the ReturninIn On Options Time Links Reitibase / Reprocessor Rule ^ my-page / wp / my-page [P] & lt; / IfModule & gt; When I go to example.com/my-page, at the end of the example / wp. I think it has something to do with standard WordPress .htaccess / Wp / directory which looks like this: # WordPress and lt; Ifm...

How to insert value into a column with a default value? [PostgreSQL 9.1] -

मेरे पास ऐसी तालिका है: बनाओ टेबल कर्मचारी (आईडी इंटेगर डिफॉल्ट नेक्सवील ('आईडी ':: रेगक्लास) नहीं है, नाम का चरित्र नहीं है, शून्य, नियोक्ता INTEGER DEFAULT (-1); और मैं इस तालिका में STH सम्मिलित करना चाहता हूं (मैं नियोक्ता को डिफ़ॉल्ट के रूप में छोड़ना चाहता हूं -1): कर्मचारी (नाम, आईडी) मूल्यों में शामिल करें ('डो', 2); लेकिन मेरे पोस्टग्रेएसक्यूएल 9.1 शिकायत कर रहा है: त्रुटि: तालिका "कर्मचारी" पर डालें या अपडेट विदेशी कुंजी बाधा "FK_employer" विस्तार का उल्लंघन करता है: कुंजी (नियोक्ता ) = (- 1) तालिका "नियोक्ता" में मौजूद नहीं है मुझे पता है कि id = -1 के साथ कोई नियोक्ता नहीं है, लेकिन फिर भी, मैं इसे इस तरह चाहता हूं। मैं इस प्रदाता के लिए नियोक्ता को -1 के रूप में निर्धारित करना चाहता हूं। क्या यह postgreSQL के साथ संभव है? डिफ़ॉल्ट नल करें क्या यह अच्छा है? नियोक्ता इंटेगर डिफॉल्ट रद्द

cakephp - CakeDC Users Plugin - Is there a way to change the user id? -

I am working with the KDCD user plugin (https://github.com/CakeDC/users) When you add a user, it adds them to a database with a very long 'id' field (i.e. 5092b9c5-1734-4d1f-a98b-210b46204441). I tried to go through the code to remove it, so it is only auto-infinite after the last id, but I do not know where to change. Does anyone know what line thanks! This is likely to be your table structure when you enter your "id" field CHAR (36) If set, KPHHP automatically uses. Just change that field to int (10) auto-incineration, and return it to "normal". (Although, personally I am a fan of UUIDs). Just remember - in the context of any field, user_id should also have the same field type.

- Where Developers Learn, Share, & Build Careers

I have a function, it is said inside a loop, it generates a set of integers for each loop For example: Results for Loop: 1: {1 2} Result for loop 2: {1 1 1} Results for loop 3: {2 1 1 3} Results for loop 4: {3 1 3 2} And this Function can generate duplication results, for example, result 2 and result 3 are identical. I should put these results inside a data structure, but can not be repetitive, if the result 2 is the same result 3, then one of them should be kept, how to get it C ? If the limit of items is quite low, then you can use a bitmap as a mean of calculation As if you want to represent the set of integer in the range of 1 to 32, then all the 32-bit integers used as a bitmap are required: 00000001 00000001 00000000 00000000 - set {8, 16} ^ 8 16 etc. If the range is large, then use the array of bytes, where each bit indicates that the value in this condition is present in the set: # MAXVAL 1024 Typedf Unsigned four bitmap_t []; Byte bitmap [1 + ...

c - About hash functions -

Let's consider a bidirectional array, as declared as the following: #include & lt; Stdbool j & gt; Bull array [N1] [N2]; I must know that there is a true value in each row of this array in the same position. For example, the following is correct: {{1, 0, 1, 0}, {1, 0,}, {0, 0, 1, While this is false: {{1, 0, 1, 0}, {1, 0, 1, 0} {0, 0, 1,}} I have tried to do this: Fixed UITx_T hash (Controll ball * T, size_ty n ) {Uintmax_t retv = 0U; (Size_ty i = 0; i & lt; n; ++ i) if (t [i] == true) retv | = 1 & lt; & Lt; I; Retv retire; } Static int_valid {bool n} {return n! = 0 & amp; Amp; (N and (n -1)) == 0; } Bull check (ball t [n 1] [n 2]) {uintmax_t thaas [n 1]; For (size_t i = 0; i But this is only for N1 and lt; = Sizeof (uintmax_t) * CHAR_BIT works with . Do you know the best way to solve it? Why not just create another array that is the size of N2 (number of columns), Set it all to true , then with and each row in the end, ...

How to fill an array in parallel in C -

I need an algorithm which can fill an array (size n) from the same value, in log (n) time, in parallel. This means that for naive solution (i = 0; i & lt; = n-1; i ++) will be t [i] = 10 is not enough Because it takes o (n) time, I need something that can O (log (n)) take . It is very important that I mentioned that it has to be done in PARALLEL. I was thinking about a dependency, but I can not figure it out. There are several ways to confuse yourself as a simple loop for (i = 0; i & lt; = (SIZE / 2); i ++) {arr [i] = 10; Arrival [Size- (i +1)] = 10; } which you consider to be O (N / 2) but in fact you have to type the value in the code n bar, whatever you take, you will eventually The assignment operation will execute n times.

- Where Developers Learn, Share, & Build Careers

I am doing a simple search to implement the algorithm that can find the row of the table with the maximum value on a particular column Are there. Then, he should get all the rows that are close to the maximum value on a particular column (can these 2 steps be combined?) Then, out of the selected rows, I have to find someone who is the least in any other column The value is. Bonus: If there are many such entries, then I will need to be of the lowest value on another column. Yes, I know that it is easy to do this with SQL (ITE), but I do not want to waste time in parsing the data in the data test. I am interested in a simple idea on how to do this (pseudocode is okay) and, right now, I can think of some complex as well as these lines: Repeat on all rows & amp; Find the minimum value in the new list of rows Repeat all the rows again and "close" the list to the maximum. You are doing the right thing as long as your line values ​​are , you can not go thro...

- Where Developers Learn, Share, & Build Careers

Note that I know this is not the best or most optimal way to do this, but I have participated in it It's somewhere eager and I'm curious as the answer. I have a Pearl script which is called an init which runs and sometimes dies. To debug it instantly, I have a quick wrapper Perl script that is originally set with the path # $ path. While joining (1) {system ("$ path / command.pl") ("", @ ARGV). "& Gt; & gt; / var / log / outlog 2 & gt; and 1"); So 30 # later added this one to the bottom ...} Press it from the command line and it runs properly and expected, Command.pl is called and the script Basically there will not stop again until the hair process dies. However, when calling a start script (actually through start-stop-daemon), the system command returns immediately, command.pl is running. So it goes around to go one more and then again and again (it was not fun without order of sleep). PS shows (many) commands. The guard...

ejb 3.0 - How do i do a like statement in ejb-ql? -

संभव डुप्लिकेट: मुझे एक उदाहरण से यह कोड मिला है, मैं ईबीजे क्यूएल के साथ एक खोज कैसे करूं? SELECT OBJECT (पी) व्यक्ति पी WHERE से (पी.नाम की तरह? 1) मैं यहाँ से कैसे जारी रखूं? मैं परिणाम वापस करना चाहूंगा जहां p.name में स्ट्रिंग "टेस्ट" होता है मुझे समाधान मिला यहाँ एक उदाहरण है। क्वेरी क्वेरी = em.createQuery ("SELECT c से TestEntity c WHERE c.titleLIKE: searchString"); Query.setParameter ("खोज-स्ट्रिंग", "%" + "परीक्षण" + "%");

- Where Developers Learn, Share, & Build Careers

I'm writing a mobile app that uses O-Ath to "connect to Facebook": 1) Assign Facebook with authentication 2) Do not force your users to register on any other website. 3) Get Facebook information I have implemented the server-side-login of Facebook): I can not understand that with the user After Nekt How will maintain user sessions. The flow from here is end-to-end, please correct me if I am wrong. 1) User logs in to my server (Android app using webview) 2) Server redirects user to Facebook Client_id, redirect_url, status and permissions) 3) User now Facebook Is facing the login dialog. 3.1) If the user rejects: Facebook calls redirect_url and informs the server that there was an error (the flow expires here) 3.2) If the user accepts: Facebook has set up the redirect bar (my server) Gone state (for CSRF security) and have a call with a code. 4) The server communicates on Facebook and sends it to the AP_ID, Redirer, Client and CAD and in return, Face is c...