Posts

Showing posts from March, 2014

java - Using Intent, to enable GPS doens't always work correctly. How do I fix -

Image
The code below enables me to turn the user's GPS on and off, but many times it is correctly Although the icon for GPS scanning will be at the top of the screen in the user's Notification Bar The GPS icon will not be highlighted (The proprietor is enabled (eg LocationManager.GPS_PROVIDER );) Do not know if GPS is enabled or not. The code used to enable GPS: intent = new intent ("android.location.GPS_ENABLED_CHANGE"); Intent.putExtra ("enabled", true); SendBroadcast; Screenshots: Does not support

swing - How to set JTextField border size in java -

Image
I want to set the border height, the width of the JTextField and put it in the JFrame center in Java. I tried those ideas, but these ideas do not work. SetSize (), SetPrefferedSize (), SetMaximumSize (); Need help in advance thanks. Import java.awt.BorderLayout; Import javax.swing.JFrame; Import javax.swing.JTextField; Public class P {public static zero main (string [] args) {JFrame frame = new JFrame (); JTextField field = new JTextField (); Frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); . Add frame.getContentPane () (BorderLayout.NORTH, region); Frame.setSize (350,300); Frame.setVisible (true); }} JTextField GridBagLayout For example ... import java.awt.color; Import java.awt.EventQueue; Import java.awt.GridBagLayout; Import javax.swing.JFrame; Import javax.swing.JTextField; Import javax.swing.UIManager; Import javax.swing.UnsupportedLookAndFeelException; Import javax.swing.border.LineBorder; Public category border text {public static zero main (str...

c++ - Error c3892 iterator issue in VS2013 -

I am migrating a Visual Studio 2008 VC ++ project to Visual Studio 2013. I am getting a C3892 error when migrating one of my projects. I Here are some sample codes that have the problem again : Generates: int _tmain (int argc, _TCHAR * argv []) {struct student {int id; Integer digits; Bull changed; The Bull Operator & lt; (Const student and RPPARM) const {return false; } Student (int a, int b) {id = a; Points = b; Change true =; }}; Student X (10,500), y (15,600); Std :: multiset & lt; Students & gt; Myset; Myset.insert (x); Myset.insert (y); Std :: multiset & lt; Students & gt; :: reverse_iterator ear; (ITR = MySasset. RBZ); IARAR = MySite.Rend (); ++ IARAR) {STD :: COAT & LT; & Lt; ITRAT-> ID & LT; & Lt; "\ N"; Std :: Court & lt; & Lt; Iter- & gt; From the trail of & lt; & Lt; "\ N"; Std :: Court & lt; & Lt; Iter- & gt; Has changed & lt; & Lt; "\ N"; Iter- & gt; Cha...

android - Nested linear layout buttons texts cropped off at the end -

Image
एंड्रॉइड स्टूडियो 0.4.5 हैलो, मैंने एक गतिविधि से एक संवाद बॉक्स बनाया है। जो इस प्रकार प्रदर्शित करता है: रद्द करने में '' एल ' और हटाए जाने में 'ए' लापता है मैंने पाठ का आकार समायोजित करने की कोशिश की है, लेकिन वह काम नहीं कर रहा है मैं इसके साथ खेल रहा हूं। लेकिन कोई समाधान नहीं मिल सकता है। यहां मेरा एक्सएमएल लेआउट: & lt; linearLayout xmlns: android = "http://schemas.android.com/ Apk / res / android "android: orientation =" ऊर्ध्वाधर "एंड्रॉइड: layout_width =" match_parent "एंड्रॉइड: layout_height =" wrap_content "& gt; & LT; imageView एंड्रॉयड: आईडी = "@ + id / ivRabbitLogo" एंड्रॉयड: layout_width = "match_parent" एंड्रॉयड: layout_height = "64dp" एंड्रॉयड: scaleType = "केन्द्र" एंड्रॉयड: पृष्ठभूमि = "# ff20a3ff" एंड्रॉयड: सामग्रीमंडलियों = "का लोगो एप्लिकेशन "/ & gt; & LT; EditText एंड्रॉयड: आईडी = "@ + id / etUpdateDlgN...

.net - IP address and domain restrictions in iis through powershell -

Image
मैं powershell में बहुत नया हूँ IIS में powershell के माध्यम से आईपी पता और डोमेन प्रतिबंधों को बदलने के लिए यहाँ स्क्रीन शॉट है कि हम मैनुअल कैसे कर सकते हैं आईआईएस से करो। वर्तमान में मैं सेटिंग्स को बदलने के लिए इस कोड का उपयोग कर रहा हूं। सेट-वेबकॉन्फ़िगरेशन प्रॉपर्टी / सिस्टम। वेबर्स / सिक्युरिटी / एपसेक्युरी -नाम अनुमतिअनुक्रमित -अन्य "सच" -स्थान "IIS: \ Sites \ 123" - Pspath IIS: \ Sites \ 123 पता नहीं यह सही है या नहीं। कृपया मदद करें। संपादित करें: यह कोड अनिर्दिष्ट ग्राहकों के लिए प्रवेश मूल्य को टॉगल करेगा ताकि यह उस संबंध में सही हो। इसे बिना-पीSPath का प्रयोग करें और यह काम करेगा सेट-वेब कॉन्फ़िगरेशन प्रॉपर्टी / सिस्टम। वेबर्स / सिक्युरिटी / एपसेक्युरी -नाम अनुमतिअनुक्रमित -अन्य "सच" -स्थान "IIS: \ Sites \ 123"

c++ - how can i access variables from one form to another -

I am new to Q. There is a doubt about the values ​​passing in the form. I have declared Higher Classifier in Form 1 and have access to it in Form 2. That's why I have declared Higher Classifier in Form 2, but this Higher Classifier shows many announcements in Caseyard. So how can I differentiate between forms? I specify the Higher Classifier using the Extere keyword, but it still does not work. I can not use signals and slots because I have not been declared in the button_click event. When I call Higher Classifier in 2, I need to load that XML file. Nobody can help me. You can use the signal-slot to pass from I emit From where to the value and it will be your sign, then connect the signal with that slot, which is of that value. Your slot will be a way that will get value.

ios - unsigned char allocation comes nils in offset value objective c -

I'm getting pixel color values ​​with touch points. I've been doing this successfully but sometimes app error (EXC_BAD_ACCESS (CODE) = 1, address = 0x41f6864) The memory allocation problem is the source code for your reference. - (UIColor *) getPixelColorAtLocation: (CGPoint) point {UIColor * color = nil ; @try {{CGImageRef inImage = drawImage.image.CGImage; // Create the screen bitmap context close to draw the image format ARGB is 4 bytes for each pixel: low, Red, green, blue CGContextRef cgctx = [self-createARGBBitmapContextFromImage: inImage]; if (cgctx == zero) {zero return; / * error * /} size_t w = CGImageGetWidth (inImage); size_t H = CGImageGetHeight (inImage); CGRAct Rect = {{0,0}, {w, h}}; // Attract the image in the bitmap context. Once we draw, then in the memory allocated for reference for the presentation / then the // will be the raw image Data in the specified color space. CGContextDrawImage (cgctx, rect, inImage); // Now we can get an indicator in image ...

c# - A partial class has multiple form -

When I write a winforms application, I use an Implementation.cs file for each form Make them. I think is Form1.cs , I have a new file named Form1.Implementation.cs for the partial category form 1 I would like to get started with . Form1.cs contains all the event callback methods (what the designer has done), everything else Form1.Implementation.cs . It helps me write more readable code. Form1.Implementation.cs is the "subfile" Em> like Form1.Designer.cs , so I've edited the .csproj file . & lt; Include compilation = "Form1.implementation.cs" & gt; & Lt; DependentUpon & gt; Form1.cs & lt; / DependentUpon & gt; & Lt; / Compiled & gt; After reloading, Visual Studio will automatically dependence & lt; Subtype & gt; Form & lt; / Subtype & gt; The element does not show the double clicking Form1.Implementation.cs code but a designer with an initial blank form. Like it "class...

java - Regular expression for phone number validation -

Hello, I need regex for phone number verification for the following format + 1-646 -222-3333 I have written the expression like ^ (+) ([0- 9] {3} - [0- 9] {3} - [0- 9] {4}) But its not working Do I know why I did wrong? Try it out: string str = "+ 1-646 -222-3333 "; If (str.matches ("\\ + \\ d - \\ d {3} - \\ d {3} - \\ d {4}")) {System.out.println ("valid number"); } Else {System.out.println ("Invalid Number"); }

javascript - how to override the existing function in jquery -

इस सवाल का पहले से ही एक उत्तर है: 5 जवाब ये सभी जेएस के लिए डिफ़ॉल्ट है getEditor: फ़ंक्शन () {$ ('#datatableEditor') .remove (); Var एडिटर = $ ('& lt; div id = "डाटाएबल एडिटर" वर्ग = "पॉपअप एडिटेटर" / & gt;'); $ ('बॉडी')। प्रीपेंड (संपादक); Var संवाद = $ (संपादक) .dialog ({शीर्षक: 'आइटम संपादित करें', मोडल: सच, चौड़ाई: 'ऑटो', ऊंचाई: 'ऑटो'}); अब मैं एक और जे एस लिख रहा हूं। मुझे अपने जेएस में getEditor ओवरराइड करने की आवश्यकता है ... आप हेवन अपने प्रश्न का स्पष्ट रूप से वर्णन नहीं किया गया, लेकिन आपने जो शीर्षक में उल्लेख किया है उसके आधार पर: jquery में मौजूदा फ़ंक्शन को ओवरराइड करें ऐसा लगता है कि आप चाहते हैं एक jQuery के फ़ंक्शन को परिवर्तित करें और वे आमतौर पर $ .fn.getEditor जैसे परिभाषित होते हैं, यदि ऐसा है तो आपको करना चाहिए: (फ़ंक्शन ($) {var oldGetEditor = $ .fn.getEditor; $ .fn.getEditor = function () {// यदि आप चाहते हैं तो आप पुराने गेट एडिटर को कॉल कर सकते ह...

licensing - IBM Worklight - Do you require a license to use an app that's built using Worklight? -

I have created an application using the Vertical Studio Eclipse plugin, but I am not using the server part of the warklelight . The only thing I'm using from Warklight is some JavaScript methods. Do my app users need a workaround license? Publishing any application created using any IBM Vertical component is illegal / out of license . The program can only be deployed as part of the internal development and testing environment of the licensee for internal non-production activities, including testing, display tuning, Extra or programmatic extensions used internally by using fault diagnosis, internal benchmarking, scaffolding, quality assurance activity and / or published application programming interfaces. For any inquiries regarding the varkalite, I will suggest contacting IBM: Related Questions:

asp.net - jQuery Autocomplete onselect redirect (info from database) -

I want to input an autocomplete search, and when a user selects an item, Is sent to the definitive page. I have a database that contains names and URLs. So far, I have been able to get names from the database, and do the work completely. The thing is, I do not know how to create a connection between the selection event for the specific URL of the name. I am using asp.net: My .ASHX file: public zero process measure (HTTP reference reference) {context .Response.ContentType = "Applications / JavaScript"; String cnString = "cnnstringlocation"; String sql = "SELECT Name FROM [Table] where name like '%' + @ term + '%'"; SQL Commands CMD = New SQL Commands (SQL, New SQL Connection (CNS String)); Cmd.CommandType = CommandType.Text; Cmd.Parameters.AddWithValue ("@word", context.Request.QueryString ["word"]); SqlDataAdapter da = New SqlDataAdapter (cmd); Datatable dt = new datatable (); Da.Fill (DT); String [] items = n...

visual studio 2010 - cmd.ExecuteNonQuery() return no integer -

In my Visual Studio 2010, vb.net Due Row Integer as Integer Sql = "Enticing Set Exp_Amt = 0, where Exp_Amt is taped" cmd.CommandText = sql rowsAffect = cmd.ExecuteNonQuery () When I debug it using the F10 key , RowsAffect = & amp; HD Actually, the rows should have a value of 1 or 2 or something like that. Does it need to change settings in the VS-2010 IDE? To change the numbers shown in the watch, local, or auto window while debugging, While doing, you should right-click the grid and tick (for hex) or uncheck (for decimals) hexadecimal display option. 1 Perhaps other people did not even tell you where you are looking at this value, but they are the most obvious.

c++ - Why can the simplest template-template not be compiled? -

निम्न कोड VC ++ 2013 CTP के साथ संकलित नहीं किया जा सकता। टेम्पलेट & lt; टेम्पलेट & lt ; वर्ग & gt; ए, कक्षा बी & gt; Void f (A & lt; B & gt;) {} आउटपुट निम्नानुसार हैं: त्रुटि C2988: अस्वीकार्य टेम्पलेट घोषणा / परिभाषा त्रुटि C2059: सिंटैक्स त्रुटि : '& Lt; L_TEMPLATEDECL & gt;' सी 2065: 'ए': अघोषित पहचानकर्ता त्रुटि C2065: 'बी': अघोषित पहचानकर्ता त्रुटि C2988: अस्वीकार्य टेम्पलेट घोषणा / परिभाषा त्रुटि C2059: सिंटैक्स त्रुटि: ')' क्या आप इसका मतलब है? टेम्पलेट & lt; टेम्पलेट & lt; class & gt; कक्षा ए, कक्षा बी & gt; शून्य एफ (ए एंड एलटी; बी & gt;) {}

Location of the center of the map-fragment - Android Google Maps -

Image
I have to get the location of the center of my map piece. Of course this is not the center of the screen. I want to do something every time when this place changes. Whenever the user manages / scales, I need to place the center of my piece and do something with them. So, how can I do this? Thank you in advance for your help. @ComeraChange (CameraPoszes arg0). {Log V ("Tag", "OnMe Change"); Mlatitude = arg0.target. Latitude; mg = arg0.target.longitude; log V ("tag", "onmera change" + mlatitude + "+ + +");} I think this should work: MMap.getCamer APosition (). Target

how to insert radio button values and dropdown values to database postgresql using php -

I want to include the data in the PostChrase database which includes the radio button and the dropdown box. I try 3 different incomplete questions. Is of 1) $ query = sprintf ("inf value ('% s','% s', '% s ','% S ','% s', '% s','% d ') ", $ _ request [' title '], $ _ request [' name '], $ _ Request ['district'], $ _ request ['rurban'], $ _ request ['taluk'], $ _ request ['village'], $ _ request ['wardno']); 2) $ qry = "onf (title, name, district, rabon, taluk, village, wardano) Value ('$ tile', '$ name', '$ district', '$ rurban', '$ taluk', '$ village', '$ wardano') "; 3) $ qy = "enf (title, name, district, rabon, taluk, village, wardano) Value ('$ _POST [title]', 'General', '$ _ post [normal])', '$ _ POST [name]', '$ _ POST [district...

opencv - how card.io convert credit card image to clean binary image without any noise -

Dosage Anyone know how the card. Remove the non-text background without image processing and noise. I am making a credit card ocr engine such as card.io but it is very difficult to remove non-text background without any noise. Thus, it can not send NN to further process. So there is no experience on this kind of problem. Many thanks to who can check card scanning solutions for many types of cards OCR has developed, including those whith non-text backgrounds.

PHP Constant inside IF -

इस सवाल का पहले से ही एक उत्तर है: 9 जवाब PHP में स्थिरांक के साथ समस्याएं सोच रहा है कि कोई ये समझा सकता है: यह कार्य const _ROOT = 'd: / aphp / www'; गूंज "आर =" ._ रूट; ऐसा करता है: यदि (सत्य) परिभाषित करें ('_ रूट', 'डी: / एपीपी / www'); गूंज "आर =" ._ रूट; लेकिन यह त्रुटि देता है: पार्स त्रुटि: वाक्यविन्यास त्रुटि, अप्रत्याशित T_CONST यदि (सही) const _ROOT = 'd: / aphp / www' ; गूंज "आर =" ._ रूट; मैं PHP 5.3.2 का उपयोग कर रहा हूं इसका कारण यह है नोट : परिभाषित () परिभाषित करने वाले विरोधियों को परिभाषित करने के विरोध में, कस्ट कीवर्ड का उपयोग करके परिभाषित स्थिरांक को शीर्ष-स्तरीय दायरे में घोषित किया जाना चाहिए क्योंकि इन्हें संकलित समय पर परिभाषित किया गया है। इसका मतलब है कि उन्हें कार्य, छोरों या बयान में घोषित नहीं किया जा सकता है।

What type of API is OpenGL? -

Some APIs are pure specification, while some others (such as Windows APIs) also come with their own implementation (do I Right?). I know that there is nothing about OpenGL and to start, I want to know that the above two types of APIs are OpenGL? I mean, how can I use it in different platforms? Do I have to search the Internet and get an implementation, or have such a OpenGL done already? OpenGL is a pure specification API Implementation provided by Graphics Card Driving, so if you want to start programming with OpenGL, the first thing to do is to update drivers for your card. Not specified in OpenGL only (which is necessary to do anything with it)

c++ - Does RVO optimisation happens when a copy constructor is not defined for a class? -

मान लें कि मेरे पास यह कोड है: वर्ग आधार {सार्वजनिक: शून्य () {} निजी: int n; }; बेस फू () {बेस बी; // प्रोसेसिंग रिटर्न बी; } बेस में प्रतिलिपि कन्स्ट्रक्टर परिभाषित नहीं है और इसके सदस्यों को देखकर कंपाइलर एक को संश्लेषित नहीं करेगा। क्या इस कोड के लिए नामित रिटर्न वैल्यू (एनआरवी) अनुकूलन लागू है? जब एक संकलक NRV लागू होता है तो सटीक नियम क्या है? सबसे पहले, कोई सटीक नियम नहीं है, क्योंकि एनआरवीओ स्पष्ट रूप से मानक का हिस्सा नहीं है, बल्कि मानक के अन्य भागों द्वारा अनुमति है संकलक को कभी भी एनआरवीओ को नियोजित करने की ज़रूरत नहीं होती है, और अलग-अलग कंपाइलर को एनआरवीओ का उपयोग विभिन्न संरचनाओं से किया जा रहा है। आपकी स्थिति में, एनआरवीओ के इस्तेमाल को रोकना स्पष्ट नहीं है कोई स्पष्ट विध्वंसक या प्रतिलिपि निर्माता नहीं है, और लौटे गए वैरिएबल को किसी भी सशर्त या लूप ब्लॉक के बाहर घोषित किया जाता है। यह उस // प्रोसेसिंग क्षेत्र में क्या हो रहा है पर निर्भर करता है, हालांकि।

iphone - UINotification ios not received when app is in background -

I am using notification in an app when the app is activated, the notification is received, I process and everything is fine, but I did not get any information when the app is in the background or killed. What is the issue, can anyone help me? Thank you! This is what I am doing so far - (zero) Application: (UIApplication *) application didRegisterForRemoteNotificationsWithDeviceToken: (NSData *) deviceToken {tokenstring = [[ NSString alloc] initWithFormat: @ "% @", deviceToken]; TokenString = [Token string stringBitremeCountorsConnectSetset: [NSCRCTSat CharactersSatWithSearchersInstring: @ " & gt;"]] ;; Tokenstring = [[NSString alloc] initWithFormat: @ "% @", [tokenstring stringByReplacingOccurrencesOfString: @ "" withString: @ ""]]; NSLog (@ "Tokykin ID: & gt;% @", TokenString); } - (zero) Application: (UIApplication *) application didReceiveRemoteNotification: (NSDictionary *) userInfo {NSLog (@: "did...

wordpress - List all Level 2 pages -

I am looking at adding two navigation methods for a website. First of all the top level should be the top level page, I have to work it correctly. The point is that I see seeing a sidebar with all the sub-pages as a list. I just can not find any method to collect sub-pages and show all search results how to work with the sub-pages of the current page. The list needs to show all the pages what the current page is and This will do the following for you: $ subs = new WP_Query (array ('post_type' = & gt; 'page', 'page_on_pag' = & gt; -1); while ($ Subs-& gt; has_post ()): $ subs-> the_post (); if ($ post-> post_parent == '') is in progress; // It will skip top-level pages / The code goes here to show data;

c# - Get the unavailable status of an xmpp contact -

I am creating a Windows chat client using the Jabber-Net Library. When the user leaves, I use this code to set the unavailable status ... so that people can view their offline status. This is visible in XMPP customers like Spark. But I can not find another contact status. Setting this position .... How can I get it? Please help !! ... jabberClient1.Presence (jabber.protocol.client.PresenceType.unavailable, ApplicationVariables.chatstatus, ApplicationVariables.chatpresence, 0); I have found it myself ... and I am happy to share it . This can prove useful to those who want it .. Public Zero Request Message (jid jabberid) {tryIt = LastIQ iq = new LastIQ (jabberClient1.Document); Iq.To = jabberid; Iq.Type = jabber.protocol.client.IQType.get; JabberClient1.Tracker.BeginIQ (IQ, last message, blank); } Hold (Exception preceding) {DebugLogger.LogRecord (ex.Message + "[function:" + System.Reflection.MethodBase.GetCurrentMethod (.name "+" Class: XMPPWrapper] ...

sql - Convert old Oracle outer join syntax (+) to JOIN -

I have a question that used the old (+) syntax for Oracle And now I want to convert it to Access SQL This is my query: BOOKCODE.BOOKCODEID, select BookKode.BOOKCODENAME from Application_bookcode, BookCode where BOOKCODE.BOOKCODEID (+) = HMISUnitTest.APPLICATION_BOOKCODE.BOOKCODEID and HMISUnitTest. APPLICATION_BOOKCODE.ApplicationId = 7 What is the equivalent in Access SQL? If I remember the old Oracle external add syntax (and it long time ), the sign includes the related query SELECT BOOKCODE.BOOKCODEID, Bukkod on Bukokod from BOOKCODE.BOOKCODENAME the Application_bookcode LEFT. BOOKCODEID = APPLICATION_BOOKCODE.BOOKCODEID where APPLICATION_BOOKCODE.ApplicationId = 7

c# - Sharing a ListView across multiple TabItems -

I have started working on a project and for the first time I am using WPF. I am typing an XAM and seeing the results of the render and I have had reusability problems again. I have a tab control with three tabs. Each tab will have a list view, each list view will be identical in the case of layout / structure, but will hold different states of data. It looks like currently: & lt; TabControl & gt; & Lt; TabItem header = "green" & gt; & Lt; ListView & gt; & Lt; ListView.View & gt; & Lt; GridView & gt; & Lt; GridViewColumn Header = "Header 1" width = "100" /> & Lt; GridViewColumn Header = "Header 2" width = "100" /> & Lt; GridViewColumn Header = "Header 3" width = "100" /> & Lt; / GridView & gt; & Lt; /ListView.View> & Lt; / ListView & gt; & Lt; / TabItem & gt; & Lt; TabItem header = "amber" & gt; &...

random - Java Generating numbers -

How do I generate between 0.00 and 100? Like a function and after that I can call it like 'getRandom (0.00, 100)' P> Googling "Java Random" is the best result is created as first . Javadak context. Then try, int rand = new random (). NextInt (101) . This will generate a random number from 0 to 101 Unique then it will generate a random number from 0 to 100. Edit: As a comment, I was wrong, it is included in 0 to 100. One by one easy mistake

javascript - Check Username Using Ajax in Jquery Validation Engine -

I am using a query validation engine: I agree I want to use Ajax username field if user name already gets in db. It should be valid. Here is my code & amp; I have tried to do something like this: js: "check the ajax username": {"url" : "Phpajax / ajaxvalidatefieldUser.php", // You want to give additional data on the Ajax call "Additional Data": "name = eric", // If you provide a "warning text oak", then this field is called "alertcard" If confirmed, it will be shown as a green prompt: "* This username is available", "Warning text": "* This usage "WarningTextload": "* Valid, Please wait"}, HTML: & lt; Input class = "valid [custom [ajaxUserNameCheck]" type = "text" name = "user name" id = "userName" & gt; & Lt; / Div & gt; This gives an error in the alert: jqv: custom type is not allow...

Serial port, database connection and reporting in TideSDK -

I'm thinking of migrating tidesdk from my .NET to cross platform. I want to use tide SDK in desktop app development. I have tried wxwidgets but it did not quite like it but the tide seems to adopt SDK web standards like HTML5 and CSS3 which are beneficial because I know the technology very well. But before going into new technology, there is something to do. So I have some questions because I do not know tidesdk. What is the serialport library in tidesdk? Can I connect to messages like Maxode, Mongodb? Does any reporting and printing engine crystal report, rdlc? In the first stage of a project with the same requirement, Considering the option of using nodes to communicate with the device via USB or using the original drivers to install the socket stream on the node from the serial port and then directly in my application Any official way of using a well-known reposting solution (as far as I know), so I think that you have to improve a bit, but because You are bas...

python - Setting up a virtualenv: No module named 'pip' -

I have a fresh installation Python 3.3.4 on a Windows Server 2008 R2 machine. I've successfully installed the latest version of Setuptools, Pip and Virtualenv globally: dragon ez_setup.py easy_install pipp install virtualenv Now when I I get the following stack trace to set up a VirtualEng using the virtualenv ENV : New Python in Python.exe Executable setupOutol, pipes ... complete output from command [redacted path] \ ENV scripts \ python.exe -c "import sys, pip; sys .. d \ "] + sys.argv [1:]" setuptools pip: traceback (make the most recent call): File "& lt; String & gt; ", Line 1, In & lt; Modules & gt; Import Year: There is no module called 'PP' ---------------------- ------------------ ... setuptools, pipe ... has been installed.Traceback (most recent call final): File "C: \ Python 33 \ File "C: \ Python33 \ lib \ runpy.py", line 73, _run_code exec (code, run_globals) file "c: rung_name", l...

zend framework2 - zf2 database driven pages, dynamically processesed from single action -

How can single dynamic action be used in ZF2 for all database-driven (CMS) pages? If an action does not exist, it should be dbpageAction () . should be served by. I have the following route (and their respective control actions) in a controller: / contactus / sitemap Code> / aboutus (dbpageAction) or Any other DB generated page also dbpageAction () The same method may be used in your controller public function notFoundAction () {resonance "action does not exist"; // your code here}

c++ - Managing a project with header-only libs in Qt -

Now I'm creating a project that uses a templated, hence the header-only, library, and two apps is. My folder organization is as follows: base / lib base / app1 base / app2 what I am doing now It is that I have base / lib / lib.pri that looks like this: HEADERS + = ../lib/someHeader.h and I include it in the base / app1 / app1piro and base / app2 / ap2pero . However, in Qt Creator, it looks somewhat ugly, for two reasons: The path in the .pri file depends on it Does it from where it is included. For example, if I had another app, then for some reason I wanted to work in the folder anotherbase / app3 / . It looks at the project tree: (I think I need to read the codes after a list to beautiful-print) app1 - & gt; App1.pro - & gt; Header - & gt; Source files - & gt; Lib / - - Lib.pri - & gt; Header - & gt; SomeHeader.hAp2 - & gt; Ap 2.pro - & gt; Header - & gt; Source files - & gt; Lib / - - Lib.pri - &...

php - Connecting to remote MySQL database from local LAMP through a university proxy -

My laptop has been installed on my laptop to work on the web app for a project at the university. If I connect the web app to the local app database, then everything is fine and the app connects to the database. However, if I specify a remote database, then this error will be loaded for some time by appearing in the app: Warning: mysqli :: mysqli () [ Mysqli.mysqli]: (HY000 / 2003): '176.32.230.14' (110) can not connect to MySQL server /home/ben/site/inc/db.php Line 2 Connect Error (2003) '176.32.230.14' (110) can not connect to MySQL server and closes on this section of code: if ( $ Mysqli- & gt; Connect_uper) {die ('Connect Error ('. Mysqli-> Connect_errno. ')'. $ Mysqli- & Gt; connect_error); } When I'm connected to WiFi and Proxy in my university, then the remote database connection only fails. I believe the proxy is a possible cause for my problem. So, do I need to set up Apache to connect to the proxy? I...

java - lost between RDBMS, JCR, CMIS -

I have to start a new project to manage the data generated from the workflow laboratory. The generated data is hierarchical and there is no structured and structured data. A large part of the data will be office files and images. Inquiries of office materials and PDF documents are required. I started learning CMIS 1.1 for the first time. But I could not find any implementation of this. Alfresco feels best, but yet CMIS 1.1 is not implemented. Modsuph looks ok, but I do not know whether it is popular or not I am afraid that we did it with Seam 2. RDBMS is not very good for managing files and inquiries. So, what kind of technology to choose for this project? I have a good experience of Java + RDBMS development. Thanks Generally a document management system is an excellent solution for this Would like to Based on the effort you think about spending on this project, you can take advantage of the underlying web application that supports , from Alfresco CMIS 1.1 is co...

asp.net - what are all the page level events that get fired when a button is clicked? -

This was an interview question Page level events were removed when a button was clicked. In Asp.net Will all page level events be removed? No! Not all events are found after clicking on the button (postback). Page_int Event will not be left on postback. You can study more at this link: 1 - The page for each control on the web form The first stage of the life cycle is the initial phase of the life cycle. In the instx source, all the static declaration is populated with static control. First of all, an init event occurs for the page object, then init events for every control on the page is not available at this level, vestaste information is not available. 2 - Page.LoadViewState After initialization, the ASP.NET loads the scene position for the page. The viewstate contains the status of the situation, which was processed on the server for the last time. 3 - Page.ProcessPostData The post data is read from the request and the control values ​​apply. Marital contro...

javascript - Jquery live() alternative in Backbone -

मेरे पास कोड है: इवेंट: {'click .bet-block': ' क्लिक ऑड ',}, मेरी समस्या यह है कि जब आप एक गतिशील तत्व जोड़ते हैं यह इवेंट काम नहीं करते ... विधि की पहुंच Jquery Backbone में रहते हैं? कार्य करने के लिए आपके द्वारा गतिशील तत्व जोड़ने के बाद इस पंक्ति को जोड़ने के लिए कार्य करें: this.delegateEvents ();

android - How to move GridView to beginning ? -

I have a gridview and a button, and I need that when the user clicks the button, the grid view is initially Move / P> How can I do this? Try: mGridView.smoothScrollToPosition (0);

Recognize USSD code in textview in Android -

Image
एक ऐसी गतिविधि है जिसे मैं TextView autoLink विशेषता को सेट करना चाहता हूं >। इसके अलावा, मैं यूएसएसडी कोड को * 140 * 7 # की तरह पहचानना चाहता हूं और उस पर कार्य करना चाहता हूं जैसे फ़ोन नंबर, वेबसाइट यूआरएल, ईमेल पता जैसे इसे छुआ है। > [सूचना] सामान्य तौर पर, मैं एक अनुकूलित टेक्स्टदृश्य का उपयोग करना चाहूंगा जो यूएसएसडी कोड भी पहचान सकता है। मैं googling गया है, लेकिन मैं एक उपयुक्त समाधान नहीं मिल सका। अंत में, मैं अपने अनुरोध का समाधान पा सकते हैं। @ बंसान_माथारू टिप्पणी पर उल्लेखित होने के साथ-साथ, मैं एक टेक्स्ट वी्यूई तत्व हूं जिसे आप नीचे कोड में देख सकते हैं: सार्वजनिक वर्ग LinkEnabledTextView TextView का विस्तार करता है {// टेक्स्ट से * 140 * 1 # एकत्र करने के लिए पैटर्न पैटर्न ussdPattern = Pattern.compile ("(\\ * [0-9] + [\\ * [0-9] +] * #)"); निजी टेक्स्टलिंकक्लिकलिस्ट एमएलएस; निजी अर्रेलिस्ट & lt; हाइपरलिंक & gt; listOfLinks; सार्वजनिक लिंकइनेटेडटेक्स्टव्यू (संदर्भ संदर्भ, AttributeSet attrs) {सुपर (संदर्भ, attrs); ListOf...

javascript - Responsive Navbar not working -

Why do I have to make sure that does not work when you click the + sign, then nothing happens , When it appears to display a menu, I believe that JS is the problem. $ ('ResTaggle'). Click (function () {$ ('nav [role = navigation]'). Toggleclass ('active');}); have your class . Active with appropriate display announcement and you display: none; your .nav [role = navigation]

Order of records that DLookup uses to return first value (Access VBA) -

Hunters for a long time but for the first time posters apologize for any social impurity here. I am trying to use DLookup for a record in the table using VBA. I am after a specific record which is the date of a closest date (a user specified date) which is something Completes other criteria also. There is a possibility of having some records with dates from the same criteria, and I am only interested in that which is the chronological form of the fastest sdate A simple example of the following is the code I am using to obtain and obtain it. I use baseststring because there are so many similar DLookup expressions, so it saves typing and clarifies the code a bit (at least) to me. DoCmd.OpenTable ("Result") DoCmd.SetOrderBy "[Survey_Date] Desc" DoCmd.Close acTable, ("Result") for Baseline Testing Dlookup basetestString = "[device_ID] = '"& Amp; Equidated & amp; "'And [baseline?] = True_and format ([all_date]," ...

ember.js - Accepted practice to reset a bunch of controllers -

In many cases, in my app I need to reset a set of controllers (Ajax in reply, ...) . It occurs on different points in the application, so I always have a route / controller / view not available. I am trying to change all this (the old version of Amber): Reset the function () {Dashboard. Ritter TotalsController.set ("content", 0); Dashboard Ritter Total minutes controller.Set ("content", 0); Dashboard Kravdar QLD NNAGC Controller.Set ("Content", 0); }; And now I am doing: function reset () {var container = dashboard .__ container__; Container. Lookup ('Controller: Total Call'). Set ("content", 0); Container. Lookup ('Controller: Total minutes'). Set ("content", 0); Container.Locoup ('Controller: CollusionAgument'). Set ("content", 0); } But according to the container it should not be used for that. If I only have access to the application object, how do I get one controller? Before it w...

wordpress - Dropdown menu disappears when mouse moves over the WHO WE SUPPLY tab -

हाल ही में मुझे "WHO WE SUPPLY" नामक लटकती मेनू के साथ एक समस्या का सामना करना पड़ा। मुख्य_मेनू गायब हो जाता है, जब मैं उनके ऊपर अपना कर्सर हिलता हूं। मैंने इस तरह के समान सवालों के अन्य उत्तरों की कोशिश की है लेकिन मेरे मामले में वे बहुत मदद नहीं करते थे। मैं बस ड्रॉपडाउन तत्वों को अपने स्थानों पर रहने के लिए चाहता हूं जब मैं अपने माउस को उन पर ले जाता हूं ताकि मैं उनका चयन कर सकूं। क्या कोई समस्या की जांच कर सकता है? मेरी वेबसाइट लिंक डब्ल्यूएचओ हम आपूर्ति टैब पर जाने की कोशिश कर रहा है और आप देखेंगे कि मैं क्या कह रहा हूं। बहुत से thanx अग्रिम में .. .. जल्द ही एक उत्तर पाने के लिए! जहाँ तक मैं देख सकता हूं कि आपके "हम कौन आपूर्ति" एंकर टैग की "रंग" संपत्ति कुछ द्वारा अधिरोहित हो रही है अन्य वर्ग की रंग की संपत्ति और फायरबग आपकी शैली.css फ़ाइल की # 530 की ओर इशारा करते हैं। रंग संपत्ति का उल्लेख "# एफएफएफएफएफएफ" है जो कि सफेद रंग के लिए है इसलिए उस विशिष्ट वर्ग का रंग बदलें। असल में यह लिंक केवल उस रंग परिवर्तन की रंग संपत्ति ...

sql - Searching within column with mysql LIKE miltiple times -

I have to search a column for a string, several times for the same string variation, so I did it There will be words different from Raja, Rani, Knight, etc. But because it is as slow as I myself, I am thinking that any way I can adapt this query Try it out: SELECT * to 'user' User = 'king' or alias = 'king' or 'FIND_IN_SET (' king ', aliases)> 0;

c# - Add value to {0} -

मैं इन पते से आरंभ करता हूं www.example.com/nav/Default Aspx www.example.com/nav/Fruit/Apple.aspx मुझे क्या चाहिए nav और एस्पक्स पते से पाठ www.example.com/Default www.example.com/Fruit/Apple मैंने ग्लोबल में कुछ कोड की कोशिश की .asax फ़ाइल मार्गटैबल.रॉउट्स.मैपपेजरूट ("पेजरॉउट", "{0}", "~ / nav / {0} .aspx"); और यह अब काम करता है: www.example.com/Default लेकिन अब मैं जोड़ना चाहता हूं पृष्ठ , इस तरह से: www.example.com/DefaultPage रूटिंगटैबल.राउट.मैपपेजरूट ("पृष्ठ मार्ग", "{0} पृष्ठ", "~ / nav / {0} .aspx"); यह कोड काम क्यों नहीं कर रहा है? ऐसा करने का सही तरीका क्या है? अभिव्यक्ति "{0}" + " पृष्ठ " केवल एक स्ट्रिंग " {0} पृष्ठ " के समतुल्य है, इसलिए आपको मैन्युअल रूप से दो स्ट्रिंग्स की आवश्यकता नहीं है, लेकिन आप इसे केवल एक लिख सकते हैं एकल। मार्ग। MapPageRoute ("Christianity", "{0} पृष्ठ", "~ / nav / {0} /index.as...

maven - ShrinkWrap load libraries from POM for JavaArchive -

I am working on the Multi Maven module project And I'm using unit tests to use Arquilion. So far, everything is fine because I am also adding dependencies to my test class with my modules and other dependent modules. Example: .addPackages (true, "com.test.pk2") .addPackages (true, "com.test.pk1") Like to do this To simplify your unit tests, I shrink wrapping the Maven dependency resolver I File [] crLibs = Maven.resolver (). LoadPomFromFile ("pom.xml"). ImportRuntimeAndTestDependencies (). AsFile (); But I ran into some issues: I was not able to merge Java record in my final archive, and the last collection is not incapable to deploy. I do not get much support for Java archives. If I try to add jar files to the final collection, I was running in java.lang.IncompatibleClassChangeError. Am I missing anything or what is wrong with it, can anyone help with it? More on Technologies: Shrinkwrap 2.0.0 Glassfish 3.1.2.2 Maven 2....

android - java - Socket Stream -

I have to get the text from the stream but I do not get it correctly. Everything works well, but I only need to know how PrintWriter can be obtained in the string. I tried to convert printWriter with the function. Toaster () but it does not work correctly, the print is an alter string. Java: Private serverSockets server signals; Personal Static FINAL END CLIENTRPORT = 5000; Socket socket = faucet; Class Connect_To_Client tool runnable {@Override Public Zero Run () {try {Server_Socket = new ServerSocket (CLIENTRPORT); Socket = Server_Socket.accept (); } Hold (IOException e) {e.printStackTrace (); }}} Public BufferedReader input; Public string Get_Message_From_Server () {PrintWriter out = zero; String out_string = ""; Try {input = new BufferedReader (new InputStreamReader (socket.getInputStream ())); Println (input); } Hold (IOException e) {e.printStackTrace (); } Return (out_string); // text - problem} read one from the Buffered Reader do something like this...

python - Django: syncdb not able to add any model in data base -

I'm new to Django and am not able to add a model to my DB ?? OK, this is a portfolio model: import from core model from Models Import Unit # Make Your Model Here Class portfolio (models.model): "" genetic class to portfolio "" "name = model.ccarfield (_ ('name'), maximum_long = 255) youtube_id = models.charfield (_ ('youtube_id'), max_length = 255 ) Url_doc = models.CharField (_ ('Url_doc'), max_length = 255) Data = Model. TextField () unit = Model. Araginki (unit, verbos_name = _ ('unit'), empty = true, empty = true ( Portfolio) = = ('portfolio') comment = models.TextField (_ ('comment'), blank = true) class meta: verbose_name = _ ('portfolio') verbose_name_plural = _ ('portfolio') M = [('id')] Abstract = True def __unicode __ (self): Return u '% s'% (self.name) and this python manage. Py syncdb : Syncing ... Creating a Table ... Installing Custom SQL ... Installi...

oauth 2.0 - Multiple Token lifetimes in WebAPI2 with asp.net Identity -

"postproperty" itemprop = "text"> I am using ASP.NET Identity Provider with OWuth Middleware with OAuth in my WebAPI application. Use template to do I work OAuth your WebAPI endpoint I though, how do I provide different token life span of various requests to extend this architecture I'm failing to look for For example, my REST API will be consumed by a web application, and a mobile app. I want the mobile app to have a longer token lifetime than a web application. I see configuration following OAuth my Startup.Auth.cs file - // carrier to authenticate users app.UseOAuthBearerTokens to use tokens New OAuthAuthorizationServerOptions (application enable {TokenEndpointPath = new Pthstring ( "/ token"), provider = new ApplicationOAuthProvider & lt; ApplicationUserManager, DirectoryUser, Guid & gt; (PublicClientId), AuthorizeEndpointPath = new PathString ( "/ api / account / external login"), AccessTokenExpireTimeSpan = Ti...

c++ - Functional programming with boost: pass a boost::bind to a boost::bind -

I'm writing to try to get a functional approach for some code. Want to pass in another function that does something with it, and then to schedule a later function at a boost :: asio :: io_service . I inspired the definition of ( io_service :: post ) template ): #include & lt; Stdio.h & gt; # Include & lt; Boost / asio / io_service.hpp & gt; # Include & lt; Boost / bind.hpp & gt; Template & lt; Typename FUNC & gt; Zero foo_then_smile (FUNC handler) {handler (); Printf ("smile \ n!"); } Zero foo (int a, int b, int c) {printf ("important answer is% d \ n", a + b + c); } Int main () {boost :: asio :: io_service ioService; IoService.post (boost :: bind (foo_then_smile, boost :: bind (foo, 1, 2, 3))); Return 0; } But I'm getting: to call "bind (& lt; unsolved loaded type type & gt ;, :: : BI :: bind_t & lt; Void, void (*) (int, int, int), boost :: _ bi :: list3 & quot; boost :: _ bi :: value ...

robotics - Finch obstacle sensors is not working in java -

I'm new to Finch and Java code and I'm trying to create a new one by its sensors either left or right Moves to the right. help . Thank you if (suzie.isFinchLevel ()) {suzie.saySomething ("moving forward"); Suzie.sleep (1000); While (suzy.isbstakal ()) {suzie.setWheelVelocities (100,100); If (suzie.isObstacleLeftSide ()) {// right suzie.setWheelVelocities (100,2,2000); } And if (suzie.isObstacleRightSide ()) {suzie.setWheelVelocities (0, 100,2000); // left-left}}} It appears that you actually have to vlaues Remember that the sensor is not reached that you must first enter through the values ​​of the sensor (getObstacleSensors ()) method. Also remember that this method gives the value of each sensor as the boolean array. See Javadoc: getObstacleSensors Public Boolean [] getObstacleSensors () Two elements give the value of both the barrier sensors as the boolean array. Left sensor is 0 element, and the correct sensor is the first element. Returns: The ...

WordPress 3.9 and TinyMCE 4.0 Custom Button Plugin Fix -

, I do not see the problem getting custom font drop-down and Tinimiii documentation found Are not even help. The plugin was using the following functions: theme_advanced_buttons1_add_before, theme_advanced_fonts and tiny_mce_before_init to add font options. It does not work anymore and I have been told about the way to overcome this issue (so far) any thoughts ?? The current code is: // TinyMCE function wp_googlefontmgr_formatTinyMCE ($ init) add font selection // the option settings for {$ myfontlist = ""; $ Mycsslist = ""; $ Editorfonts = get_option ("wp_googlefontmgr_editorfonts", 1); $ Websafefonts = get_option ("wp_googlefontmgr_safefonts", 1); ($ Editorfonts) {if ($ websafefonts) {// get websafefont list $ safefontlist = 'Arial = Arial, Helvetica, sans-serif, Arial Black = Arial Black, gadgets, sans-serif, Comic Sans = Comic Sans MS, comic Sence MS, cursor, courier new = courier new, courier new, courier, monospace, Georgia = Ge...

PHP Returning False Before Being Ran -

In my PHP program, I have 2 radio buttons and submit buttons. I button 1 = EST button echo 2 = PST echo The thing that works fine is that, before choosing an alternative to me, my wrong values ​​are already echoing. How do I get the script after clicking submit button? (Code below); & lt ;? Php if (isset ($ _ POST ['EST'])) {date_default_timezone_set ('America / New_york'); $ Today = Date ("F, LJS YG: I: SA"); Echo today $; } And if (isset ($ _ POST ['PST'])) {date_default_timezone_set ('America / Los_Angeles'); $ Today = Date ("F, LJS YG: I: SA"); Echo today $; } Else {echo 'Select an option!'; }? & Gt; & Lt; Form action = "index.php" method = "post" & gt; Choose your time zone: & lt; Br / & gt; EST: & lt; Input type = "radio" name = "EST" /> PST: & lt; Input type = "radio" name = "PST" /> & Lt; Br / & gt; & Lt...

c++ - How to define methods in a base class that only work in derived classes? -

The title is slightly ambiguous, so I will say an example of what I want to achieve: Class ValuePtr {Public: Operator Canned void * () {return glm :: value_ptr (* this); // value ptr will not work on this class // (works only on glm type)}}; Square mat4x4: public glm :: mat4x4, public valuePtr {// ... but will work here}; Square Vec3: Public glm :: vec3, Public ValuePtr {// ... and here. } Is such a thing possible? glm :: value_ptr works only on glm type like glm :: mat4x4 , glm: : Vec3 , etc. The above seen method works if I implement it directly into derivative classes, but they should all be defined as operator construct * zero * in the same way. I should behave like a special behavior: define it in the general base class, whereas definition only works in derived classes. Thank you for the answer, I use this solution: template & lt; Class T & gt; Class ValuePtr: Public T {Public: Operator Constant * () {return glm :: value_ptr (* this); }}; Class ...

Enable logging in Apache CXF generated client -

I have followed the guidelines for locking soap requests on CXF website, but no logging in my logs Can see I have log4j, so I added - Dorg.apache.cxf.Logger = org.apache.cxf.common.logging.Log4jLogger Tomcat jvm args, then I created cxf.xml and put it in classpath. I did not find anything added in Log4J config to the logger too. What can be the problem? cxf.xml: & lt; Bem xmlns = "http://www.springframework.org/schema/beans" xmlns: xsi = "http: // www .w3.org / 2001 / XMLSchema-Example" xmlns: cxf = "http: // cxf. Apache.org/core "xsi: schema location =" http://cxf.apache.org/core http: // cxf Apache.org/schemas/core.xsd http://www.springframework.org/schema/beans Http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> & Lt; CXF: Bus & gt; & Lt; CXF: Features & gt; & Lt; CXF: Login /> & Lt; / CXF: Features & gt; & Lt; / CXF: Just & gt; & Lt; / Bean & gt; I use logging ...

c# - Environment.SpecialFolder.ProgramFiles returns the wrong directory -

I am working on the C # project and I am using the following code string root path = environment Gatefolder Path (environment specialfolder.profile file); However, when I see the root on my set of C: \ Program Files (x86). Why this happens because there is an environment. Special folder Programmable X86, which I thought would have returned above. Thank you for any help If your project is currently targeted The x86 platform will return both enum values ​​to the program files (x86) directory. Change your project to X64 , and specialfolder. Program Files should instead return the program files directory.

matlab - How to clip the amplitude of a wav file? -

I am trying to detect the pitch of the signal using an auto-correlation function with a clipping function. I have trouble clipping the clipfunction function. I tried to: [sig Fs] = wavread ('sound.wav'); N = length (sig); For I = 1: N if sig & gt; CL SIGP (I) = CIG (i) -CL (I); Other sig & lt; -CL SIGP (I) = CIG (I) + CL (I); Other Sigp (I) = 0; However, when I try to plot the clip part, the program is slow, and gives an empty plot. Any thoughts? You forgot to index the sig array in the conditional statement. See below: [sig Fs] = wavread ('sound.wav'); N = length (sig); For I = 1: N If sig (i) & gt; CL SIGP (I) = SIGG (I) -CL; Safe (I) & lt; -CL SIGP (I) = SIGG (I) + CL; Other Sigp (I) = 0; Let me know that this does not answer your question, and I'll give it another shot.

java - - Rounding a double up & removing the numbers after a decimal point - -

Can anyone tell me how I & amp; Then remove the numbers after the decimal places - & amp; Then convert this number to string? For example, start with a double value of 55.6666666666667 - Make it round to double value of 56.0000000000 - or start with 55.333333333333 - below the double value of 55.0000000000 - & amp; Then delete the decimal point and convert it back to zero-string. Thank you. The best way to round a value for the nearest integer is: int x = (int) math. (55.6666666666667); x will be 56. To use x a string at the end to round up or down, respectively, you Math.ceil () and Math.floor () For String.valueOf () . Like this: string xString = String.valueOf (x); If you want to do this in one line: string xString = String.valueOf (Math Field (55.6666666666667)); You can read more about the math category and the string class.

jQuery - Transfer Data by ID from PHP to JavaScript + jQuery -

There is a list with many entries (100+) identified by me (MongoDB-) ID Each entry is an HTML - In the table and there is a checkbox in it. When the user now chooses a group, then I have to ask the server that each entry is in a specific group. The query is not heavy to subscribe, but I can not execute it 100 + times, it is a lot of load. Currently I have php code to get group membership (too long to post) and the following javascript code, which is executed whenever it is selected: $ ('checkbox [data-type = "group"]'). Set each (function (idx, val) {// ID and check / uncheck it}); My problem is this: If I am in the selected group once, I can check once and then every ID. Your question is a bit difficult to understand, but I think you should post a JSON list and Post in a query, and it should handle the ITRT server-side, such as: id_list = {}; $ ('Checkbox [data-type = "group"]'). Each (function (idx, val) {the_id = // get an ID ...