Posts

Showing posts from June, 2011

php - WordPress plugin adds the number 1 to content if activated -

Image
If the plugin is active, then my wp plugin adds numeric 1 to the content. add_filters ('the_content', 'poc_shop_cart_button_filter'); Function poc_shop_cart_button_filter ($ the_content) {$ new_content = $ the_content; $ New_content = Include (WP_CONTENT_DIR. "/custom_php/shop-cart-button.php"); Return $ New_content; } This is the page in which I am including the plugin: if (isset ($ _ cookie ['_ abs_34287GjNW'])) {$ CookieID = htmlspecialchars ($ _COOKIE ['_ _ _ _ _ _ _ _]' ', ETAQUOTES,' UTF-8 '); } And {$ cookieID = ''; } $ SupplierID = get_bloginfo ('name'); Required (Abospace. 'Wp-content / custom_php / included / connect db.fp'); Try {$ Conn = new PDO ("mysql: host = $ host; dbname = $ dbname", $ user, $ pass}; $ Conn- & gt; exec ("SET CHARACTER SET utf8"); Calculate as $ Sql ​​= "SELECT COUNT (*) with` shopping cart` where supplierID =: supplierID and cookieID ...

javascript - Need InDesign script to run on file open -

I have this javascript which saves a copy of a file. I need that whenever a file is opened, it automatically runs and saves that copy in a specific folder. Here's what I've done so far: var myDoc = app.activeDocument; MyDoc.save (); var myFile = myDoc.fullName; Var myDate = new date; Var mySuffix = "_Backup_" + myDate.getDate () + "_" + myDate.getMonth () + "_" + myDate.getHours () + "-" + myDate.getMinutes () + "-" + myDate.getSeconds () + ".index" mybaseName = myDoc.fullName.fsName.match (/ (. *) \. [^ \.] + $ /) [1]; Var myNewFile = new file (myBaseName + mySuffix); myFile.copy (myNewFile); Therefore what you want is called an event listener. (See the "Working with Event Listener" section.) Save your .jsx file to the "Startup Script" folder. (On a Mac, this is the / application / Adobe InDesign CS6 / script / startup script /.) / P> #targetengine "session" app.addEve...

screen - Android WheelView Error -

I'm having a lot of problems when trying to add a review to my Android activity. I keep it on the screen and it's a There is an error that pops up. Note: This project contains Java compilation errors, which may cause rendering failures for custom views. Fix compile problems first. Exception took place during the rendering: Resource value could not be resolved: 0x7F020058 are logged in exception details window; View & gt; Error log android.content.res.Resources $ NotFoundException: Resource value could not be resolved: 0x7F020058 at android.content.res.BridgeResources.throwException (BridgeResources.java:693) android.content.res.bridgeResources.get click (BridgeResources.java1264) at kankan.wheel.widget.WheelView.initResourcesIf Required (WheelView.java:427)) at kankan.wheel.widget.WheelView.calculateLayoutWidth (WheelView.java:482) kankan.wheel.widget android.view.View.measure (see .JavaEND_BOLD6497) on Android.widget at .heelView.onMeasure (WheelView.java Tell18...

python - Create directories based on filenames -

I am making a complete start to programming, so I apologize if it is really original I have other questions Have seen that which are related, but this particular problem has not been solved - at least it is not what I can understand. I need to prepare a list of files; Create a separate directory for each file containing the directory name based on the name of each file; And put each file in its related directory. You should keep an eye on the libraries. I wrote an example for you that it will remove the file extension of each file in a given folder, create a new subdirectory, and move the file to the related folder, ie .: c: \ test \ - & gt; Test1.txt - & gt; Test2.txt will be c: \ test \ - & gt; Test1 \ - & gt; Test1.txt - & gt; Test2 \ - & gt; test2.txt code: import glob, os, shutil folder = 'c: test / file_path / In 'Glob.glob (os.path.join (folder,' *. * ')): New_dir = file_path.rsplit ('. ', 1) [0] os.mk...

php - mysql_fetch_assoc not fetching data -

I am currently trying to exceed the style of a movie but I am getting the following errors: Notice: Undefined index: ID_generation --- on Line 34 Notice: Undefined index: ID_generation --- at line 35 incorrect integer value : '' Id_genre '' in line 1 for $ style = ($ _POST ['style']); $ Genre_match = mysql_query ("Choose style from style, where style = '$ genre'") or die (mysql_error ()); $ Row_genre_match = mysql_fetch_assoc ($ genre_match); $ Genre_id = $ row_genre_match ['id_genre']; $ Insert_genre = mysql_query ("Include in movie_generator (` id_film`, `id_genre`) value ('$ fid', '$ genre_id')") or die (mysql_error ()); int (41) string (1) "6" Your SELECT not return id_genre $ genre_match = mysql_query ("SELECT id_genre FROM genre WHERE style = '$ genre'") or Die (mysql_error ());

java - Hadoop 2.2 - Combine Reducer Output -

मेरा नक्शा / कम करें फार्म का लाइनों को आउटपुट करता है Key1 5 Key2 8 Key3 4 Key1 7 Key3 3 और मैं इन परिणामों को चाबी द्वारा मूल्यों का योग प्राप्त करने के लिए एकत्र करना चाहता हूं I तो कुछ ऐसा है: कुंजी 1 12 (5 + 7) कुंजी 2 8 की 3 7 (4 + 3) भोले-भाले को केवल एक दूसरे से जुड़ना होगा पहले एक के पीछे काम को कम करें / कम करें, लेकिन यह अकुशल है क्योंकि आपके पास आवश्यक से दो बार अधिक I / O है, ओवरहेड आदि। इसलिए मैं इस समाधान से बचाना चाहता हूं। इसे करने का सबसे अच्छा तरीका संभवतः जैसे मानचित्र - & gt; कम 1 - & gt; कम 2 जहां कम से कम 1 का उत्पादन कम 2 का इनपुट है। दुर्भाग्य से, ऐसा करना असंभव प्रतीत होता है (उदाहरण के लिए देखें)। मैंने भी देखा है, लेकिन इससे कोई मदद नहीं करता है क्योंकि यह कई चरणों को कम करने की अनुमति नहीं देता है। तो आप इसके बारे में कैसे जा सकते हैं? Hadoop 2.X में कुछ नया है जिसे मैं इस्तेमाल कर सकता हूं? धन्यवाद। मैपर बिना कई रिड्यूसर का उपयोग करना संभव नहीं है मैं सुझाव देता हूं कि आपको दोनों नक्शे को संयोजित करने की कोशिश करनी चाहि...

Filtering a collection based on the existence of an object in each hasMany in Ember.js -

I try to filter an example of Ember.Enumerable based on the existence of an object I am here. Each item has Haimney association. App.Project = DS.Model.extend User: DS.hasMany 'user', async: true App.User = DS Model.extend () How can I filter the collection of projects based on the existence of an individual user object in each project user array ? users = @ store.find ('user', 1) @ store.find ('project'). Filter (Project) - & gt; Project.get ('user'). Then (user) - & gt; User property async: true on the project model on user , project.get ( 'User'), which in turn is returning from the filter () call instead, I have to return it to the user Whether or not the user is an object in the array. This is a simple question that I am still dirty with my javascript promises. I think you are having problems here: project. Get ('user'). Then (user) - & gt; The first parameter of then is the...

javascript - binding a click event on a directive's child element -

More angle delusions, that is, why can not I divide an element of a child's instruction into a click event? app.directive ('expandingTile', [function () {return {restrict: 'A', link: function (scope, amm, ethers) {elem.bind ('click', Function () {console.log ('elem hit!');}); Elem.find ('div # closebtn'). Bind ('click', function () {console.log ('found child hit!' )}}}}}}}]); Try to use this link: function (scope, element) {$ timeout (function () {element.on ('click', '#ind', function () {console.log ('inside first child's event handler) Do not forget to inject timeout in the directive.

Scringo Login status changes not received on Android -

I am trying to implement Scringo Login Status Status on Android but my broadcast receiver is never called I have followed the instructions described on , so I have registered my broadcast receiver: & lt; Receiver Android: name = "com.jino.footster.MyReceiver" & gt; & Lt; Intent-Filter & gt; & Lt; Action Android: name = "com.scringo.LoginBroadcast" /> & Lt; / Intent-Filter & gt; & Lt; / Receiver & gt; And then I defined my brocost receiver: package com.jino.footster; Import com.scringo.utils.ScringoLogger; Import android.content.BroadcastReceiver; Import android.content.Context; Import android.content.Intent; Public Class Myreasevar Broadcast Receiver Expands {@ Override Public Records on Receive (context reference, intention intent) {if (intent. Gate action). Equal ("com.scringo.LoginBroadcast")) {boolean isLogin = intent.getExtras (). GetBoolean ("isLogin"); String account id = intestine. Tag ...

php - Subst a string reverse to the last slash -

Hello, I have a string with the path. I do not need the whole path to what substr Is possible in the last slash? Based on the code below, I do not need the model name . Thank you for any indication you can give. $ path = userdir / modeldir / model name Try to blast the array by using slash as a delimiter? $ pathArray = explosion ('/', $ path); This should give you the entire folder tree as the array. For more information see:

python - How to extract array from the first element of triples in 2d array of triples using numpy -

I have an array with size (480, 640, 3) and I have an array Using all the first elements that are made using triple. I tried newArray = array [np.arange (array.shape [0]), np.arange (array.shape [1]), 0] But he gives it: can not be transmitted in a shape I understand why, and if it works So it would not really be that I wanted anyway. I want to end with an array with size (480, 640) , and that command would give me the 1d array. So, how do I get what I want? I'm browsing docs and tutorial numpy, but I do not know a lot of the vocabulary (I'm just starting to use this nowadays) that I do not understand what I should do. Looks like you want to take a piece on the depth axis: in [8]: A = np.ones ((480,640,3)) [9]: a [:,:, 0] outside [9]: array ([[1., 1., 1., ..., 1., 1., 1.], [1., 1., 1., ..., 1., 1., 1.], [1., 1., 1., .. ., 1., 1., 1.], ..., [1., 1., 1., ..., 1., 1., 1.], [1., 1., 1., ..., 1., 1., 1.], [1., 1., 1., ..., 1., 1., 1.]]) [10]: one [:,:, 0...

php - How to add information to a specific column in a pre-existing database -

I have a database called "code> week1 that contains columns: age, address, polling Center, voter history, status, gender, border, county, and zip5 . All the rows except the voter history are already in the table! I need to import the voterhistory column from text file by name in the table named Vahist where Voternum is equal to vhist text file's voternum of the week's table. The text file can insert several rows voter history column and must be separated by a comma For example: There is a person with voternum = 1234 within 1 week. In the vhist text file there are 3 records where voternum = 1234 . is a voter history = 2011 , a voter history = 2012 , and a voter history = 2013 is This means that when importing the vahist text file, those 3 records should be imported into the Voter History column of Week 1 table so that: 2011, 2012, 2013 . Sorry if it seems misleading, but this is the only way I know how to explain it. If...

javascript - Load html file - and access element ID's -

I have loaded an html file and "kept" it in a single device: Document .getElementById ('my_div'). innerHTML = '& lt; Object type = "text / html" data = "table.html" & gt; & Lt; / object & gt; '; Works fine, but when I try to get an ID of it in the table (from table.html) I become empty / undefined. Var table = document.getElementById ('my_table'); / * No! * / I think I'm doing it at the wrong time or in some way. Can you help me I have to do this with jQuery built-in AJAX method, .load () . Load ('/ filepath / table.html'); Var table = $ ('' ('/ my_div_id' #my_table '); // other code, possibly :)});

jquery - graceful fallback to normal file uploader on mobile devices (windows mobile issue) -

I dragged a good html5 and tried to apply the drop. Everything works well, but it does not work on mobile devices (not surprisingly because they do not have a desktop). That's why I tried to fallback well on the normal file uploader, when a user clicks on a dropable area. I used only one solution, I know (so if you know something better, please tell me). Actually I have a dropable area and a & lt; Input type = "file" & gt; which is hidden when I click on an area, called input. Well, it works in the iPod, iPad, iPhone then I found out that the problem with Android (I can not use the display: any , Visibility: must use hidden ). As you can see here & lt; div id = "dropzone" & gt; & Lt; / Div & gt; Click & lt; Input id = "file" type = "file" /> $ ('# Dropzone') ('Click', function () {$ ('# file'). Click ();}) And, it works fine Android, and iOS device, but It still fails ...

Ask to change layout of the GridView on ASP.NET by C# -

Sorry for the stupid question, but I really have to ask how to handle this task. "post-text" itemprop = "text" I have a lot of questions here but I can apply it to my work. Maybe I'm not enough to understand it. Please suggest me My project is written by C #. They used Gridview to show data from the database. But now, my client wants to use Gridview and wants to make the same shown table as old, but it is different. My current table shown is: number | Name | DOB | Position | ... 1 | Name A | 01/01/2014 | Onl | ... 2 | Name b 01/01/2014 | Off | ... 3 | Name c 01/01/2014 | Off | ... 4 | Name D | 01/01/2014 | Onl | ... Now, I want to change it like this: No. 1 name | Name a DOB. 01/01/2014 Status | ONLY --------------------------------- Number 2 Name | Name B Dob | 01/01/2014 Status | Online --------------------------------- Number 3 Name | Name C Dob | 01/01/2014 Status | Online - Number 4 - Name | Name D.Dob. 01/01/2014 Status | ONLY -------------...

gcc - What's freestanding mode for libstdc++? -

- अक्षम- hosted-libstdcxx केवल फ्रीस्टैंडिंग सी ++ रनटाइम समर्थन का निर्माण करता है & lt; gcc & gt; / libstdc ++ - v3 / configure --help से यह फ्रीस्टैंडिंग मोड क्या है और सीमाएं और लाभ क्या हैं? बहुत कम के लिए मुझे पता है कि ऐसा लगता है कि यह libstdc ++ के कुछ स्थिर संबंध के बराबर है, लेकिन फिर इस "मोड" का क्या मतलब है यदि आप बस * अपनी एक पुस्तकालय बना सकते हैं? यह एक अच्छा स्पष्टीकरण की तरह नहीं है। "फ्रीस्टैंडिंग" एक सी ++ प्रोग्राम के लिए कम से कम विन्यास है , "होस्टेड" (उन्नत मानक ओएस सुविधाओं का उपयोग करने के लिए पूर्ण मानक लायब्रेरी समर्थन) के विरोध में। सिद्धांत में, "फ्रीस्टैंडिंग" सी ++ प्रोग्राम नंगे लोहे पर चलने के लिए किया जा सकता है। "फ्रीस्टैंडिंग" मोड में केवल निम्नलिखित हेडर सुरक्षित रूप से उपयोग किए जा सकते हैं: cstdarg cstddef अपवाद सीमाएं नया अपवाद टाइपइन्फो वैकल्पिक के साथ: cxxabi.h। और सी + 11 11एं: initializer_list टाइप_ट्रेट आवेदन सीमित रनटाइम सुविधाओं ...

javascript - how to escape sql injections? -

I have encountered a problem that when I use SQL in the query like follow up: sql = "select from chat, where keywords like% key%"; When I execute% param with this parameter, it will query all the results of this table. So how can I solve this problem? select from where customers like '% ground%'; you "symbol"

qsqlquery - two sql query mix for one -

I want to add two pieces in one code, but I get an error: 1 SELECT idstd, namestd, idmajor, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15 Kernel by tbcheked) as the idmd command (SELECT 1) variant (by idstd), idstd, namestd, idmd, idstd, namestd, idmd, source pivot (max (status) For Col IN (C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15) ) PIV this code is if Column Location in currently , absent or then leave the values ​​of , . Example: id | C1 | C2 | C3 | C4 | C5 | I have another piece of code for counting the status: SELECT idstd, namemajor, SUM (case when status = ' Present 'now 1 ELSE 0 ADD) Currently, SM (case when the situation =' absentee 'then 1 ELSE 0 AD) absent, leaving the SM (case when the situation =' leave 'then 1 ELSE 0 ADD), TBKCAD Output from the idstd, namemajor ORDER idstd from the group: Output: id | Current | Absent | Skip 1 3 1 1 Now, I want to get involved in both qu...

How to create fadein effect in JavaScript using for-loop and anonymous function call -

I am making a simple feedin effect using pure javascript. For this, I have tried three methods. M1 is using recursive functionality and is based on the M2 loop and anonymous function and is based on the M3 loop and string based function call . Under the code M1 , the code is giving the right output as FEDIN effect. But the Fidin effect does not work under M2 and Now the Fidin effect is generated under M3 . Can someone guide me how to produce Fadin using M2 effect for loop and anonymous function calls M1 ------ works perfectly ------ function starter () {var i = 0; Var el = document.getElementById ("div1"); Fadein (l, i); } Function feedin (L, I) {i = i + 0.01; Seto (L, I); If (i & lt; 1) {setTimeout (function () {fadeIn (L, I);}, 10);}} function set (L, I) {el.style.opacity = i; } Starter (); M2 ------ does not work ------ function starter () { var i = 0; Var el = document.getElementById ("div1"); Fadein (l, i); } Functio...

Convert XML to JSON using XSLT and remove namespaces -

I'm new to XSLT. I have to convert the XML to JSON using XSLT. I have the following XML: & amp; Lt; getEndUserCriteriaListForRangeResponse xmlns = "http://xxxx.xxxx.xx.com/" & gt; & Lt; endUserCriteriaList & gt; & Lt; ns0: endUserCriteria xmlns: ns0 = "http://xxxx.xxxx.xx.com" & gt; & Lt; ns0: DefaultValue & gt; & Lt; ns0: customValue & gt; Parameters & lt; / ns0: customValue & gt; & Lt; ns0: eucValue & gt; Parameters & lt; / ns0: eucValue & gt; & Lt; Ns0: eucValueId & gt; Parameters & lt; / Ns0: eucValueId> & Lt; / ns0: DefaultValue & gt; & Lt; ns0: eucId & gt; Parameters & lt; / ns0: eucId> & Lt; Ns0: label & gt; Parameters & lt; / Ns0: Labels & gt; & Lt; ns0: ranges & gt; & Lt; Ns0: id & gt; Parameters & lt; / Ns0: ID & gt; & Lt; ns0: rangeName & gt; Parameters & lt; / ns0: rangeName & gt; ...

Java to Find Unclosed HTML Tags -

How can I get a tag in an HTML string that has no closing tag and can close it? HTML string with a tag without tags: & lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; P style = "margin-top: 0" & gt; Dada & lt; / P & gt; & Lt; Input size = "1" type = "text" value = "A" & gt; & Lt; / Body & gt; & Lt; / Html & gt; to & lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; P style = "margin-top: 0" & gt; Dada & lt; / P & gt; & Lt; Input size = "1" type = "text" value = "A" & gt; & Lt; / Input & gt; & Lt; / Body & gt; & Lt; / Html & gt; Thanks! I have two options for you (I like the second most important.) 1 Instead of parsing a well-formed or valid XML, parses as HTML because it is found i...

java - How to serialize using @Jsonview with nested objects -

मेरे पास एक ऐसा वर्ग है जिसमें दूसरे वर्ग का संग्रह है। class A {@ JsonView (वर्बोसेविएए.मंमिलेल। वर्ग) स्ट्रिंग फ़ील्ड 1; @ जेसनव्यू (वर्बोसेव्यूए.कम्पलेट.क्लास) स्ट्रिंग फ़ील्ड 2; @ जेसनव्यू (वर्बोसेव्यूए.कम्पलेट.क्लास) संग्रह & lt; B & gt; bEntities; } वर्ग बी {@JsonView (वर्बोसेव्यूबी.मंकिल। वर्ग) स्ट्रिंग फ़ील्ड 2; @ जेसनव्यू (वर्बोसेव्यूबी। पूर्ण। क्लास) स्ट्रिंग फ़ील्ड 3; } जब मैं VerboseViewA.Complete का उपयोग करते हुए कक्षा ए serialize, मैं संग्रह bEntities VerboseViewB.Minimal का उपयोग कर serialized होना चाहता हूँ। वहाँ इसे प्राप्त करने का एक तरीका है? यह मेरी समस्या को हल करता है मुझे यकीन नहीं है कि इस समाधान का बेहतर तरीका क्या है। वर्ग ए {@JsonView (वर्बोसेविएए.मंमिलेल। वर्ग) स्ट्रिंग फ़ील्ड 1; @ जेसनव्यू (वर्बोसेव्यूए.कम्पलेट.क्लास) स्ट्रिंग फ़ील्ड 2; @ जेसनव्यू (वर्बोसेव्यूए.कम्पलेट.क्लास) संग्रह & lt; B & gt; bEntities; } वर्ग बी {@JsonView ({VerboseViewA.Complete.class, VerboseViewB.Minimal.class}) स्ट्रिंग फ़ील्ड 2; @ जेसनव्यू (वर्...

html - Difference between -webkit , -khtml ,-moz ,-o property in css? -

-webkit-box-shadow, -khtml-box-shadow, -moz-box-shadow के बीच अंतर क्या है, सीओएसएस में -ओ-बॉक्स-छाया? मेरा सीएसएस इस तरह से है: बटन: हॉवर {-webkit-box-shadow: rgba (0,0,0) , 0.5) 0 पीएक्स 2 पीएक्स 5 पीएक्स; -khtml- बॉक्स-छाया: आरजीबीए (0,0,0,0,5) 0px 2px 5px; -मोझ-बॉक्स-छाया: आरजीबीए (0,0,0,0,5) 0px 2px 5px; -ओ-बॉक्स-छाया: आरजीबीए (0,0,0,0,5) 0px 2px 5px; कोई तत्काल मतभेद नहीं हैं, यह अलग-अलग ब्राउज़रों को बताने के लिए एक विक्रेता उपसर्ग है व्याख्या कैसे करें, इस मामले में, संपत्ति बॉक्स-छाया ऐसा इसलिए किया जाता है क्योंकि विभिन्न ब्राउज़रों संभवतः इसे अलग तरीके से कार्यान्वित कर सकते हैं। विक्रेता उपसर्ग भी आपको प्रयोगात्मक सुविधाओं का उपयोग करने की अनुमति देता है या अंतिम रूप देने वाली विशेषताओं का उपयोग नहीं करता है।

php - JavaScript error in function which calcs sum of two values -

This is my JS code to match two digits script type = "text / javascript" & gt; Function match () {var a = parseInt (document.getElementById ("a")); Var b = parseInt (document.getElementById ("two")); Var c = parseInt (document.getElementById ("sum")); var d; D = a + b; If (D! = C) {Warning ("something is wrong !!"); } And {warnings ("success"); }} & lt; / Script & gt; To generate the HTML code two digits and check this process. & lt; form action = "#" method = "post" onsubmit = "return match ();" & gt; & Lt; input type = "text" name = "one" id = "one" value = "& lt ;? php echo rand (1,9);?> & gt; Read-only = "Read-only" /> + & lt; Input type = "text" name = "two" id = "two" value = "& lt ;? php echo rand (1,9);?> & Gt;" Read-only = "Read-only...

Can we generate release notes from TFS -

Can we get information released from check-in history? We are using TFS 2012. We get released most of the time every week or every 14 days. Can we make a release document from TFS? How to do something One way to do this is to work items (such as user stories And worms) to generate your release notes But for this, your team needs discipline to file an information in TFS, which allows it to add items of work with the release. For example: Requirement of developers to add a change set with task items In the "Iteration" or "Build in work items to identify the release Integrated "Use Then you can create a suitable team query and export it to Excel to create release notes.

ruby on rails - Stop Sidekiq recurring jobs -

I am using codic and sidekick for recurring jobs: include Sidekiq :: Worker Cadetic :: Scheduling repetition (II (3)} DIF display (id, last_account) # Magic ends However, now I want to stop the entire enqueving process. How do I want to remove the whole process from the semantic system? This looks like it's late, but here we go to someone. / P> You can remove all the scheduled sidetiq process like this: Sidetiq :: scheduled.each {| occurrence | Event.delete} As far as sidetiq is to stop the line of extra jobs, I'm not sure This is how it works or how it can stop dynamically.

ipad - Smooth scrolling of text (Autoscroll) in UITextView iOS -

I'm working on a project where I have some text in UItextview App wants to continuously smooth scroll text and also Wants to manage your scrolling speedI mean that the text should scroll smoothly and the app has a slider where I can manage the speed. Below is some sample code I am using. It works well in the simulator, but it runs with the jerk in the device or should I need to pause after some line. Can you please suggest any solution? Any suggestion will be appreciated. NSTimers actually fire incidents in connection with the NSRun loop attached from time to time, (Or should be), therefore, if you have a child (or background) running in a separate thread, then NSTIMERS will set fire to NSRunLoop of that thread instead of NSRunLoop of that formula. A fire at the NSTimer event thread where you have a timer. If you have set a timer on the main run loop, the timer will set fire on the main thread and secure and synchronized. With input events So I have some suggestions...

iContact php jSON parsing issue -

I am playing with the iContact API and running into a problem. After creating a contact using the API, I am trying to retrieve the recent feedback so that I can parse the contact ID to send that message to the contact or add it to the list. New customer iContact var_dump ($ oiContact- & gt; addContact ('usersemailaddress@here.com), blank, empty,' joe ',' smith ', blank,' 123 somewhere LN ' , 'Ep 12', 'Somewhere', 'NW', '12345', '123-456-7890', '123-456-7890', Faucet)); // final response is received (result $ obj = $ oi contact-> getLastResponse (); are shown below when $ obj vars print It gets " contact ": [{" contactId ":" 1009090 "," prefix ":" "" FirstName ":" which "," lastName ":" Smith " "123456", "Postcode": "NW", "Postal Code": "A", "City": ...

MYSQL - INSERT INTO using WHERE condition of Table 1 -

After reading the "INSERT INTO" post and the document, I am still unsure what I want is possible or not . I want to change the update below to an INSERT, because I have many 100-thousand (speed issues): update city c SEET c.g17h = '3196504', c g17q = '25 9 3487 ', c.g17k =' 0 ', c.g17w =' 0 ', c.g17s =' 0 'where p17t = 30 and p17l =' 30 '; Update city c SET c.g1h = '0', c.g1q = '0', c.g1k = '0' , C.g1w = '0', c.g1s = '0', where p1t = 1 and p1l = '1'; However, my best solution does not work: Enter city (g17h, g17q, g17k, g17w, g17s) and select '3196504' , '25 9 3487', '0', '0', '0' semestore tab where p17t = 30 and p17l = '30'; This is definitely because my situation where I can be satisfied only in the first table (city), but not in the second, which is just a table of values, while the city's Table data sets where e...

java - "Unable to load library: JNA native support not found in resource path" on trying to load JNA library on Mac OS X -

मेरे पास इस तरह एक जेएनए पुस्तकालय स्टब है: सार्वजनिक इंटरफ़ेस FREngine लाइब्रेरी का विस्तार करती है {निवासी लाइब्रेरी JNA_NATIVE_LIB = नेटिव लाइब्रेरी.जस्टिनेंस ("फ्रेगिन"); FRENGINE INSTANCE = (FREngine) Native.loadLibrary ("FREngine", FREngine.class); } अगर मैं किसी भी तरह से इस पुस्तकालय का उपयोग करने की कोशिश करता हूं, तो मुझे वाकई भ्रामक त्रुटि मिलती है: java.lang.UnsatisfiedLinkError: पुस्तकालय लोड करने में असमर्थ 'FREngine': जेएनए नेटिव सपोर्ट (डार्विन / लिबफ्रेगिन। जेनिबिल) संसाधन पथ में नहीं मिला (... यहां पूरे वर्ग की जगह ...) यह मुझे क्यों भ्रामक है: .jnilib जेएनआई पुस्तकालयों के लिए फ़ाइल एक्सटेंशन है। जब से मैं जेएनए का उपयोग कर रहा हूं, तो मुझे उम्मीद नहीं होगी कि जेएनआई अपने खुद के अलावा किसी अन्य जेएनआई लाइब्रेरी का उपयोग कर सकें। "Jnidispatch"। इस फाइल के लिए जेएनए कक्षा की तरफ देख रहा है, Em> नरक में कोई रास्ता नहीं यह वहां होगा क्योंकि यह सिर्फ कुछ यादृच्छिक पुस्तकालय है जो मैं आयात करने की कोशिश कर रहा ...

How to create encrypted hash passwords for drupal 7 -

After searching on the internet, I came to know that passwords with Doppel 7 are not encrypted via MD5. What are possible ways to encrypt passwords in Drupal 7? With Drupal 7, passwords are not encrypted via MD5 and receive a password in Drupal7 There are several ways to set up / set up using Drawer (for your information, not used in your case): Dash Upworld Administrator - password = "new password" Without a Dish, if you have clear access to the server: (For your information, do not use it in your case Or cd Drupal root directory & gt; Copy the resultant hash and paste it into the query: Update User Set Name = php scripts / password -hash.sh 'myPassword' 'Admin', pass = 'pasted_big_hash_from_above' where UID = 1;

security - Symfony2 - Full authentication is required to access this resource. -

I want to redirect the anonymous user to the login page, but (obviously) faced a problem. I get an error: Full authentication is required to access this resource. I This is an internal server error, by adding form_login I can address this, but I have written a custom author and using form_login will result in the fact that my custom ldap orthore providers are no longer using it. (Which means that users can no longer access any time) Security: firewall: dev: Pattern: ^ / (_ (profiler | wdt) | CSS | image | JS) / Security: Incorrect Login: Pattern: ^ / API Security: False Security: Status: Pattern: ^ / Unnamed: True ldap: Correct Logout: Path: / Logout Target: / Login Provider: Chain_provider: Chain: Providers: [In_memory, ldap ] in_memory: Memory: User: admin: {password: adminpass} ldap: id: ldap_user_provider encoders: SIM Genuine text predictions \ parkingbundle \ unit \ user: plain text access_controll: {path: ^ / login $, roles: IS_AUTHENTICATED_ANONYMOUSLY} - {path: ^ ...

javascript - not able to add docprops plugin to ckeditor toolbar -

I am using ckeditor 4.3.4. I have downloaded a plug-in called Dopprop with dependency. But when I add to the toolbar, the button is not displayed. I use Toolbar like this config.toolbar = [{name: "document", group: ['mode', 'document', ' Doctor '', items: ['source', '-', 'save', 'newpage', 'preview', 'print', '' '' cut ',' copy ',' paste ',' pastetext ' '' ['Clipboard', '' 'clipboard', 'undo'], ['search', 'substitution', '-' 'pastefromed', '', pasteformword '', 'template']}, {name: ',' ',' Undo ',' phiro ']}, {name:' edit ', group: [' search ',' selection ',' spell-checker ' ], 'Select', '-', 'skate']}, {name: 'form', item: ['form', 'checkbox', ...

Getting input from user in the form of a command - Java -

I want to use a Java scanner as a command from the user Command arg arg is separated from the space. I command and RGS to string [] call command . thanks curlip I have started now and I have it (thanks for some: () public static zero main String [] args) {Boot.boot (); scanner scanner = new scanner (system.in); string [] command = scanner.nextLine () string () string [] command listopupput = Boot.command.commands.get (Command [0]); Object [] [] argsArray = New string [1] [command.length - 1]; Class (lt ;? & gt; [] argsArrayClasses = new class & lt ;? & gt; [] For {object []. Square}; for (int i = 0; i & gt; argeşararere Lamp - 1; i ++) {if (i! = 0) {argusarre [0] [i] = command [i];}} invoice mode (command listoputput [lanti-1], "command", Algueren Classes, Argasier [0]; Scan er.close ();} You can do something like scanner scanner = new scanner (System.in); string [] command = scanner.Nextin (). Trim (). Partition ("")...

audio - AudioInfo Is not recognized (ruby-audioinfo gem) -

I get the following error while trying to use the audioInfo class (which comes with Ruby-Audioune Mani): Crude continuous playlists controller :: audioInfo I have collected the gem I have also restarted my server, Mp3Info is working fine because I am using ruby-mp3info gem as well as Rail 4 and latest GEM version Obtained using: You need gem to your playlists controller class. Try putting it on top of your file: requires 'audioinfo'

c# - Cannot Convert Type Void to Generic List -

I have two lists: a list of countries and jobs public list & Lieutenant; Countries & gt; getSharedCountries (string brand name) {var items = SharedJobs.Where (a => a.brandName == brandName); Var items2 = items.OrderBy (a => a.CountryCode); Country = new list & lt; Country & gt; (); String country = null; Foreach (item 2 items) {if (Country! = Item.CountryCode) {Country = item.CountryCode; Country. Add (New Country () {Contra Contd = Item. County Code, Job Id = Meet Sherzb (Item Country Code)}); }} Return Country; } Public Zero getSharedJob (String Country) {var items = SharedJobs.Where (a => a.CountryCode == country); JobNetDetails = New list & lt; JobDetail & gt; (); CareerBoardDetails = New List & lt; JobDetail & gt; (); JobSharkDetails = New list & lt; JobDetail & gt; (); JobServeDetails = New list & lt; JobDetail & gt; (); Int AusCount = 0; Foreign items (different items in items) {if (country == "AUS") {AusC...

c# - Json.NET deserialization on DateTime - not the right time(-6 hour) -

My application is the client and server-client and server exchange Jesan data the same client and server (4) This data category public domain MyData (); time zone {; Set; Start Public Date Time {get}} server, I select data from the database MS SQL and give the client. When I start off deserialized on the client data field is off-6 hours. How do I get the right time? Can I get the right time using the JsonSerializer settings on the client? I tried var jsonSerializerSettings = new JsonSerializerSettings () {DateFormatHandling = DateFormatHandling.MicrosoftDateFormat, DateParseHandling = DateParseHandling.DateTimeOffset, DateTimeZoneHandling = DateTimeZoneHandling.Local}; Var result = JsonConvert.DeserializeObject & lt; MyData & gt; (Content, jsonSerializer settings); But it gives offset of +3 I need offset +6. datetime converted serialization for UTC. try something like this: deserialziation you need to change it var dateWithLocalTimeZone = myDate.ToLoca...

audio - Having trouble correctly saving a nested form that has file_field -

To upload and read file information using paperclip and ruby-mp3info, I have a form that is a playlist And makes its children, track: & lt;% = form_for (playlist). F | & Gt%; & Lt;% if playlist.rr.a.a.a? & Gt%; & Lt; Div id = "error_explanation" & gt; & Lt; H2 & gt; & Lt;% = Plural (@playlist. Errors quote, "Error")%> Banned from saving this playlist: & lt; / H2 & gt; & Lt; Ul & gt; & Lt;% @ playlist.errors.full_messages.each do | Msg | | & Gt%; & Lt; Li & gt; & Lt;% = msg% & gt; & Lt; / li & gt; & Lt;% end% & gt; & Lt; / Ul & gt; & Lt; / Div & gt; & Lt;% end% & gt; & Lt; Div class = "field" & gt; & Lt;% = f.label "Name:"% " & Lt;% = f.text_field: name% & gt; & Lt; / Div & gt; & Lt; Div class = "field" & gt; & Lt;% = f.label "Image:"% " & Lt;% = f.fi...

osx - XCode: access Segmented Control on TableView -

I have a TableView with 2 columns. Seganded control buttons in the second column are two segments. What I want to do is modify the "enabled" property of the button for each row before the table is first displayed. I searched and failed to find the right solution How can I get access to the Segmented Control for each line? Use representative method (NSTableColumn *) aTableColumn Row: (NSInteger) rowIndex {if ((cell KindOfClass: [NSSegmentedCell class] - (zero) Table view: (NSTableView *) aTableView willDisplayCell:]]] {If (1) // Add your position {{(NSSigaded cell * ) Cell set enabled: no]; }}}

r - Parallel implementation of least angle regression -

I'm looking for R package or script which has applied at least angle regression or lasso in parallel fashion . Does anyone have an idea? Yes, the Lars package will do this. See this package - and R command Lars (x, y, type = c ("lasso"))

Can I use Amazon's DNS servers for my mail server -

Image
We have a domain mydomain.com, which we have registered with the UK Registrar. We are using Amazon's Route 53, and this domain has been added to root 5 and is using the following types of servers; ns-558.awsdns-05.net ns-1755.awsdns-27 co.uk ns-466.awsdns-58.com ns-1343.awsdns-39.org I have added a relevant A record for www, to indicate our elastic IP for this domain. We are also running MailEnable on this EC2 server (Windows 2012 is running) The Mailable Server is asking me to enter the DNS address (), I think it will be used when sending the email . My question is, which DNS address / server can I use? Do I use ns-558.awsdns-05.net ns-1755.awsdns-27.co.uk NS-466. awsdns-58.com ns-1343.awsdns-39 Can i do Organization You can see the DNS address (SAS) in the screen shot. You can not use those Amazon servers because they are only official (they will only tell about domains that they know about as a recursive proxy Instead) you can use Google's public ...

Using JSHint with Mocha and Chai -

I am running the MOCHA test (as an unbreakable library with the CHI). JSHIT Fire is currently a warning every time he encounters a line like this: Expectancy (mistake) .to.be.null; The problem reported is: / p> Expected an identifier and instead saw 'tap' (a reserved word). Does JSHint have any comfort options to fix this problem? At the moment, the only solution I have found is that the file contains special options at the beginning of the file: / * jshint-W024 * / problem with it This is that it needs to be included in each test file (and I have to separate the JSHIT option from the code myself). I think there is a lot in it. You can enter the following settings: at the top level of your test suite {"Expr": true, "es5": true} In a .jshintrc file I'm still on version 1.1.0 jshint and thus both settings are required, but apparently 2.0.0 version and above es5 is set to true by default expr setting is documented. ...

bash - Shell script to verify if file is equal to a number n -

इस सवाल का पहले से ही एक उत्तर है: 16 उत्तर मैं bash पर काफी नया हूँ प्रोग्रामिंग। यहां मेरी पूर्ण समस्या है: शेल स्क्रिप्ट लिखें जो मापदंडों के जोड़े (एक फ़ाइल नाम और एक नंबर एन) लेता है और प्रत्येक जोड़ी के लिए यह सत्यापित करेगा कि फाइल का आकार संख्या n के बराबर है। यहाँ क्या है मैंने ऐसा करने की कोशिश की: {$ 1 .. $ {@: (- 2): 1} .. 2} में जे के लिए {$ 2} #! / Bin / bash करें। $ {@: -1} .. 2} यदि [$ (stat -c% s "$ i") -एक्की $ j] तो फिर से इको करें $ i $ j else इको $ i नहीं है $ jf किया गया मैं प्रत्येक जोड़ी से वैरिएबल में फ़ाइल नाम डालने का प्रयास कर रहा हूं और जम्मू में प्रत्येक जोड़ी से नंबर n होगा। तब मैं अपनी फ़ाइल के आकार की जम्मू (संख्या n) के साथ तुलना कर रहा हूं। मुझे यकीन नहीं है कि मैं क्या गलत कर रहा हूं, मैंने अपने कोड के कुछ शोध और परीक्षण वाले भागों को देखने के लिए किया है कि यह काम करता है, लेकिन कुछ कथन के लिए मेरे साथ गलत है क्योंकि यह पूरी तरह प्रिंट करता है। आउटपुट: [: -एक: अपेक्षित ऑपरेटर अपेक्षित {cs.cs.2} नहीं {12..12..2} ...

angularjs - Declaring and using angular directives that map id, name, and ng-model to a single field -

I want to use / use an AngularJS instructions to avoid making some unnecessary HTML and to make it even easier For how do I use bootstrap elements. I want to use a command like this: & lt; MyDirective id = "person.lname" label = "last name" & gt; & Lt; / MyDirective & gt; The template I want AngularJS to write: How do I declare a command to be able to create this template and binding with the NG-model still work? Renamed I added the label tag to it, reflect how the id / name will be used for the input element. The generated template will allow you to click on the label and the focus will be placed on the input element. You should do this: . Directive ('my directive', function () {return: {model: '= identifier', id: 'identifier', label: "{{id}}"> {{label}} See: & lt; My-directional label = 'last name' identifier = "person.lname" & gt; & Lt; / My-direc...

More MenuItems shown than needed after rotation in Android -

Image
I have an app (for 4.0 and above) in which MenuItem s Actionbar (with one more 'always' and 'ifRoom' or 'never' property). So the problem happens ... If I launch the app in landscape, actionbars resembles the following: When I rotate the landscape from the picture, the actionbar looks like this: Img src = "https://i.stack.imgur.com/cBn19.png" alt = "Pictures from Landscape"> As you can see, they show more icons than they look like Give, i.e. title bar and tab menu (nav Has not left any space for Geshn menu). Actually, 4 items are shown in portrait mode (this is a separate actionbase) and it seems Android does not know that there is no split actionbare now. Please suggest that what can I do to fix this? :) Edit My menu.xml: Menu xmlns: android = "http://schemas.android. Com / apk / res / android "& gt; & Lt; item android: id = "@ + id / action_share" Android: icon = "@drawable /...

.net - Getting local Printer Names in c# web application -

I have created a simple crystal report as a web application using the C # code. When I print using the Printtoprinter method it is printed with the default printer. I want to list all the printers in favor of the client from that list. I want to choose a printer to print..If any Can I help code in C #? Or give an idea about this? As you wish it is not possible to crystal report or C # side "PrintToPrinter" is used to directly print directly to the server's default printer, where your app is hosted / deployed. It is important that you have HTML-javascript function (Onload for this you will need to generate an HTML from your C # code and open it with jquery on the second page - The initial function that provides the list of printers Check the link with the example to get the printer list.

joomla2.5 - Run custom php code in joomla module backend page -

I am using Joomla 2.5, I am working on a module. Some javascript loads in my module foreman. I will run some PHP code in the backend, when the admin clicks on the save button. How to do it You can write a plugin that uses the first trigger, first when you press the save button , The plugin is run. You can do any verification on the data sent by the post, if this fails then just return false and you will return to your form. Here you can see some documents on how to do this here:

javascript - How to click on a input field and fire event in knockoutjs and test it? -

What I am trying to achieve is that when the user clicks on the input field, Want to turn on the page? I am using haphocus but this works only for the first time when I click on the search bar and then the event is not called. & lt; Div class = ".home-search-panel" & gt; & Lt; Input type = "search" data-bind = "hasFocus: searchInputFocus ()" name = "q" placeholder = "@. Search placeholder copy" value = "@ request .QueryString [" q "]" maxlength = "150" Class = "input-product-search" autocomplete = "off" /> & Lt; / Div & gt; ) .offset () top. }; And I think this code is using DOM manipulation which is hard to test without using jquery-jasmine . My thoughts ... You should searchInputFocus () after ( ), It should only be the search InputFocus Hasfocus if does not focus on one control, it Creates focus on control If the binding parameter ev...

ios - loop music with SKAction -

I want to loop my background music with an ascation but the music stops after a line when I Let's move to another scene. Is there a way to start the loop and play it on different scenes? Now the code is placed in the init method of MyScene - is there a better place ... maybe the Finnish launching option? Here's what I've tried: if (Delegate.musicOn == Yes & amp; representative.CongressIISplaying ==) {SKAction * playMusic = [ Switched Placeface Named: @ "Loop.Wave" Waiter End: Yes]; SKAction * Loop Music = [Skeleton Ritactic Action: Play Magic]; [Speed ​​run action: loop music]; Delegate.musicIsPlaying = Yes; } You are SKAction . Instead, use AVAudioPlayer : NSString * filePath = [[NSBundle mainBundle] pathForResource: @ "music" type: @ "MP3"]; NSError * error; AviDio Player * GameSeniellop = [[AviPlayer Player] at with content of URL: [NSUr File URL: Pathpath] Error: & amp; Error]; If (error) {nslog (@ "error in...

javascript - Prepend argument to arguments then apply -

I have a function, message which takes an overview to define the message type And then is added to any other argument to create a message for the function message (type) {var msg = _.rest (arguments), purely an undisputed one. Add (""); // will actually be used to set a type of div on div / but I'm just using console.log so that it can be as simple as ever. Console.log (type + ":" + msg); } I want to provide helpful tasks, error , warning , information , which just call With the right type, I am just unsure about the best way to go about this. I can think of two ways but I am not sure I go about it in the right way. Or maybe I want to finish things. The first path seems a little unnecessary, creating a new array, the first argument and logic are flat. Message. Now (this, _. Fleeton (["error", logic])); The other way seems a bit ... messed up? Array.prototype.unshift.call (logic, "error"); Message.apply (this, argum...

c# - How to reset an image to default in Windows Form -

I have created a photo box in my windows form. I set it to a special image in the Properties section. I have then coded a method that changes the image based on criteria. Have you tried just changing it to the default image within your code? pictureBoxName.BackgroundImage = yourDefaultImage; Currently, create a new zero method and whenever you want to reset it to the default, call it: public static zero setizetationToday () {PictureBoxName background image = yourDefaultImage; } Then call for method setImageToDefault ();

collections - Java HashSet remove(e) method doesn't behave as I expected -

I am unable to understand the logic behind this. Case 1: Hashसेट Shortset = New Hashet (); For (abbreviate i = 0; i OP: Size: 3 cmsets: [0, 1, 2] Case 2: Hashless Shortset = New Hashet (); For (int i = 0; i Op: Size: 1 comma: [2] I want to understand the main reason behind this, why do it The output is different from what is behind the scenario by changing from short to int . The problem is that in the first case, expression i i - 1 type int those values ​​are respectively small and integer Boxing on - the integer is not set, so it can not be removed. You can fix this with an artist: for (abbreviate i = 0; i In your second case, both i and i - 1 type of int (Then boxed on integer ), so the entries you are adding can also be deleted ...

c# - Group and Filter Collection by another Collection in LINQ -

I have a large set of data in this form: public class permission {Public string url {get; Set; } Public string user {get; Set; } Public string permission level {get; Set; }} and list & lt; String & gt; As is a second collection. SiteCollections . Sample data: http: // domain / project / 1 http: // domain / project / 2 http: // domain / project / 3 http: // domain / project / 4 http : // domain / project / 5 Now my goal is to list this list; Permission & gt; Permissions by users . So it gives me var filteredAndGrouped = data.Where (u = & gt; u.User == @ "domain \ username") After this I want to add this result to the group from the part of its URL. Started with a URL of SiteCollections, if each permissions URL is started with D. == @ " Domain \ user ") .GroupBy (d = & gt; SiteCollections.Any (sc = & gt; sc.StartsWith (d.Url))) This group is right with a key / Are incorrect and are the only URL which is excatly ...

Google Plugin for Eclipse not use last version of libraries -

मैं ग्रहण के लिए Google प्लगइन और ("प्लगइन & gt; Google API जोड़ें ..." )। मैं जानना चाहूंगा कि वह कुछ पुस्तकालयों के अंतिम संस्करणों का उपयोग क्यों नहीं कर रहा है उदाहरण के लिए, अगर मैं इस प्लगइन से ड्राइव एपीआई जोड़ता हूं, तो यह गूगल-एपीआई-क्लाइंट के अंतिम संस्करण का उपयोग नहीं कर रहा है (प्लगइन 1.16 का उपयोग कर रहा है और 1.18 रिलीज है)। मैं Google के अंतिम संस्करण का उपयोग करता हूं एक्लिप्स के लिए प्लगिन। क्या यह सामान्य है? धन्यवाद। यह Google प्लगइन के लिए एक्लिप्स में एक बग है अभी के लिए, आप निश्चित रूप से एपीआई का नवीनतम संस्करण डाउनलोड कर सकते हैं। (बीटीडब्लू, क्या आप वाकई GPE संस्करण 1.16 का उपयोग करते हैं और संस्करण 1.12 नहीं हैं?)

ruby - Rails-less gem error, LESS not processing because gem is pointing to wrong file -

I'm working on a rail app and using less I just change my project to a temporary file Has been saved after editing, and now I am showing an error that reads: Low: On parserer / operation on an invalid type (/ Users / USERNAME / Desktop / PROJECTNAME /app/assets/stylesheets/custom_bootstrap/custom_bootstrap.less) There is no error in the above file, but in a deep glance, better errors Showing path of: () usr/local/rvmruby-2.1.1@PROJECTNAME/gems/less-2.5.0/lib/less/js/lib/less/parser. Js The problem is that the file above does not exist; I think it is looking for a file that exists: / usr / local /rvm/gems/ruby-2.1.1@PROJECTNAME/gems/less-2.5.0/lib/less/js/lib/user/parser.js Does that file point to Is there any way to do this? Thank you before time I got the error at least, now my project (= custom_bootstrap.less imports a ton of custom import files before that which is not necessary. Removing these files has fixed my problem. Just to backup however, ...

regex - String substitution shell for latex -

I am trying to optimize an article to include in a LaTeX document. For this I am using the replacement letter for the cal. Although I get a problem with some of my questions like quote marks. For example, with this article: Loss Problems The Europa N bet Los Masomos en Tudos Los Pesses "Alemenia no Estre cresendo RAPPind, Pero Conspiracy Vitta La Riaida en la RCCAN", Pasa Guilan "Ai Erllanda, por izapello, la econoia came 20%. En francia, la citecion no es dasperada, paro el near tempoño en anhingana almenia". Mientras, Italia y Espaà ± a yes vuelto a caer en la recesiÃÆ'à ⠀ ™ ÃÆ'à ¢ â,¬Å¡Ãƒâ € šÃ, · If it is any The word has been found at the beginning, but a '' (they are 2 characters: \ x27 \ x27) If this is the end, then the result should be the paragraph (should also be% sysmbol): Europe has no problem, which is not for any son. "Almania no estre crescendo RAPIDEndo, pero conserviai vitat la ricaida en la resción", das g...

javascript - check if form is submitted successfully html5 -

मेरे पास कोड है & lt; div class = "form-group" & gt; & lt; लेबल = "store_account_name" & gt; स्टोर शीर्षक & lt; / label & gt; & Lt; input type = "text" value = "" class = "form-control" नाम = "store_account_name" id = "store_account_name" प्लेसहोल्डर = "कृपया बाह्य स्टोर की दुकान का शीर्षक सम्मिलित करें" आवश्यक है & gt; & Lt; / div & gt; & Lt; div वर्ग = "फॉर्म-समूह" & gt; & Lt; label = "store_url" के लिए & gt; स्टोर यूआरएल & lt; / label & gt; & Lt; input type = "url" value = "" class = "form-control" नाम = "store_url" id = "store_url" प्लेसहोल्डर = "कृपया मदद अनुभाग में वर्णित के रूप में स्टोर यूआरएल सम्मिलित करें" आवश्यक / & gt; & Lt; / div & gt; बटन सबमिट करें पर मैं यह जानना चाहता हूं कि फ़ॉर्म मान्य है या नहीं। मेरे पास एक अवरोधक घटना ...