Posts

Showing posts from February, 2015

linux - Where can I find the GNU ar file format specification? -

I need to use the created AR file, but I can not get a specification document defining the format . Can anyone tell me in the right direction? From : The AR format has never been standardized is; Modern archives are based on a common pattern with two common forms, BSD and GNU. More information is also here.

How do I use JQuery's event handler use a textbox with a submit button? -

I am a new JQuery user and submitting text through a text box and a list of a submit button on the web browser window As an item which adds to the end of an unordered list. HTML: & lt; Ul class = "list" & gt; & Lt; Li & gt; & Lt; / Li & gt; & Lt; / Ul & gt; JS: var text = $ ('text'); Var submit = $ ('submit'); Q: Will you use jQuery event handlers to submit text in a text box and submit my text using a HTTP request? Any advice and coding examples will be appreciated! Thanks! Create a form, enter all the form fields in it, then share the submit button var text a = $ ('. Text'); Var submit = $ ('. Submit'); Submit.click (function () {$ .ajax ({url: 'yourServerURL', type: 'post', data: text.val ()});});

ios - UILabel animating improperly -

Image
For some reason, the text of the UILB wants to set its alignment without animation, and I can not understand that the text How to live with the rest of the label I now have the following code: UILabel * label = [[UILabel alloc] initWithFrame: CGRactem (40,200,100,50)]; [Label set text: @ "label name"]; [Label setbackgram color: [UIColor blueColor]]; [Label set font: [UIFont systemFontOfSize: 17.0]]; [Label settextcroller: [UIColor blackcolor]]; [Label settextlegalism: nstextAlignmentCenter]; [Self.view addSubview: label]; [UIView Chetanvishvik: 3 Animation: ^ {[Label setframe: CGRactam (40,200,200,300)]; }]; This code is called in the action mode of the button. Generally the animation will be different from the label's creation, but I keep it in the same method for testing. For some reason when it moves, the label is completely changed because it is considered and I can change the size of the frame, though the text aligns itself in the horizontal axis. Which...

ruby on rails 3 - IntelliJ 12 won't pull in Sass variables -

I have a very basic ruby ​​on the establishment of the rail I installed the bootstrap-sass gem Is, in the 'bootstrap-sass' ~ & gt; 2.3.1.0 In my jam file and ran bundle install restart all the applications I have a style.css.scss file in the app & gt; Property & gt; Stylesheets which @imports 'bootstrap'; Also, those styles are actually dragged into my app because they do front-end style, however, when I try to use a variable or a mixin, then in the image I Error, as well as IntelInage telling me that it can not detect variable I'm new to this whole process, so I'm trying to understand what is needed to solve it. I am using Ruby 2.0.0 and Rail 3.2.13 RC2 @import "Bootstrap"; Body {padding-top: 60px; } @import 'bootstrap-responsive'; .footer {margin-top: 50px; Color: $ Graylight; A {color: # e5e5e5; }} Without using variables here, there is a link to Live Dev site at Heruco: Edit: In my vendor / Property /...

javascript - Confusion over facebook JS SDK login -

मेरे पास दो अलग जेएस फ़ाइलें हैं, domready.js और fb-jssdk.js । jssdk sdk लोड करने और लॉगिन लोड करता है। यह प्रतिक्रिया से सही स्थिति देता है। जब उपयोगकर्ता लॉग इन होता है या परिदृश्य पर निर्भर नहीं होता है। मैं किस बारे में उलझन में हूं यह है कि मैं एफबी प्रतिक्रिया से प्राप्त आंकड़ों का उपयोग कैसे कर सकता हूं और एफबी के साथ। एपीआई नाम और ईमेल प्राप्त करने के लिए जब एक उपयोगकर्ता लॉग इन होता है और इसे मेरी साइट पर jQuery के साथ प्रयोग करता है। संपादित करें: मैं जानना चाहता हूं कि एक से अलग जेएस फ़ाइल जो कि एफबी कोड में है और इसे jQuery इवेंट हैंन्डलर के साथ उपयोग करते हैं इसलिए यदि मेरे पास testAPI () नामक फ़ंक्शन है जो प्रतिसाद प्रिंट करता है। कंसोल के लिए नाम, मैं प्रतिक्रिया के डेटा कैसे प्राप्त कर सकता हूं। नाम = "क्रिप्टनीट कबूतर" अन्य फाइल में काम करने के लिए? testAPI () फ़ंक्शन testAPI () {console.log ('स्वागत है! आपकी जानकारी प्राप्त कर रहा है ....'); FB.api ('/ me', फ़ंक्शन (प्रतिक्रिया) {console.log ('आपको देखने के लिए अच्...

Running a user defined function in a SELECT statement - MySQL -

मेरे पास unzip नामक एक सरल तालिका है। इसके पास तीन कॉलम हैं- - आईडी INT अनिर्धारित नल एटऑन्ग्रेमेंट , share_src VARCHAR (30) नल , निर्माता INT अनसॉल्टेड नहीं नल । मेरे पास checkSrc नामक फ़ंक्शन भी है, जो नहीं या हाँ देता है जब एक share_src इसे पैरामीटर के रूप में प्रदान किया जाता है मैं उन सभी पंक्तियों को वापस करना चाहता हूं जहां निर्माता है 10 और ( share_src रिक्त है या फ़ंक्शन चेक से परिणामस्वरूप हाँ हाँ )। वर्तमान में मैं यह कर रहा हूं SELECT * से WHERE creator = 12 और (share_src IS NULL) checkSrc (share_src) = 'yes') खोलें; लेकिन यह एक त्रुटि में परिणाम है क्वेरी में समस्या क्या है? मदद के लिए बहुत धन्यवाद .. SELECT * से खोलें WHERE निर्माता = 12 और (share_src NULL या जांच करें SRC (share_src) = 'yes'); कोशिश करो और मुझे बताएं। जांचें कि फ़ंक्शन सही डेटा प्रकार वापस कर रहा है या नहीं। इसकी वापसी की स्ट्रिंग प्रकार देखें।

Looking for insight into undocumented use of MATLAB's methods() function -

Image
I have looked completely, but does not see [ab] = methods (classname) documents . I mean, single variable output is documented, but not two-variable output. I can not find any documents in MATLAB or in the documented matlab, or here too maybe I missed it? If I call it with a matlab class, for example char [a b] = methods (char); Then there is a list of methods for all a , and b is [] But ... For Java classes, b takes a few useful values. Assume that javaClass is the name of a Java class or Java class. Usually, I'll call either a = method (javaClass) or = method (Java class, '- full') . However, I noticed that I also [ab] = method (javaClass) when I do: a is a cell containing a unique list of all class method names (as expected) b with an array of columns with each column X6 cell is: Fully qualified returning class method name Fully qualified method name Input parameters (in brackets), or just () 'throws ...

database - mysql: return multiple csv columns from joins -

मेरे पास यह प्रश्न है: SELECT * FROM 'test` टी छोड़ दिया' परिणाम `आर ओ आर r.test_id = t.id LEFT JOIN` पैरामीटर` पी पर p.test_id = t.id जो देता है: आईडी का नाम आईडी test_id विवरण आईडी test_id नाम 1 परीक्षण w / o पैरामीटर 1 1 पहला परिणाम नल नल नल 1 टेस्ट w / o पैरामीटर 2 1 दूसरा परिणाम नेल नेल नल 2 परीक्षा w / पैरामीटर शून्य नल 1 2 कमांड लाइन 2 टेस्ट w / पैरामीटर NULL NULL NULL 2 2 userid मुझे जो लौटाना चाहते हैं वह है: आईडी का नाम पैरामीटर पैरामीटर 1 परीक्षण w / o पैरामीटर प्रथम परिणाम, दूसरा परिणाम NULL 2 test w / paramters NULL कमांड_लाइन, यूजरआइड मैंने काम करने के लिए GROUP_CONCAT प्राप्त करने की कोशिश की है लेकिन नल निकाल दिए गए हैं क्या गड़बड़ी को वापस करने के लिए GROUP_CONCAT को मनाने का कोई तरीका है? मैं वास्तव में क्या करना चाहता हूं, ऐसा कुछ है लेकिन यह सब गलत है: SELECT *, group_concat (R.description), group_concat (p.name) से `परीक्षण` टी में आर छोड़ दिया गया है, r.test_id = t.id पर` परिणाम `आर छोड़ें,` पैरामीटर` पृष्ठ में p.test_id = t.id ...

oracle11g - ORA-00979: not a GROUP BY expression Error, how to resolve? -

चुनें एसएसएन, एफएनए, मिनिट, लन्ना, एवीजी (घंटे) एम्प्लोयी, वर्क_ऑन कहाँ EMPLOYEE.ssn = WORKS_ON एएसईएन ग्रुप द्वारा घंटे के द्वारा औसत (घंटे) डीईएससी यह ओआरए -00 9 7 की त्रुटि दिखाता है: अभिव्यक्ति से ग्रुप नहीं है मुझे आश्चर्य है कि यह काम क्यों नहीं कर रहा है? बीटीडब्ल्यू, सभी टेबल मौजूद हैं और किसी भी त्रुटि से मुक्त हैं। इसकी ओरेकल एई 11 जी में =========== UPDATE ========================== तालिका में अनुरोध के रूप में एसएसएन एफएएनए मिनिट लाईन एवीजी (एचओआरएस) 888665555 जेम्स ई बोरग - 666884444 रमेश के नारायण 40 99 9 887777 एलिसिया जे ज़ियाला 20 987987987 अहमद वी जब्बार 20 453453453 जॉइस ए इंग्लिश 20 123456789 जॉन बी स्मिथ 20 987654321 जेनिफर एस वालेस 17.5 333445555 फ्रैंकलिन टी वोंग 7.333333333333333333333333333333333333 मुझे लगता है कि आप इसके सटीक विपरीत से समूहबद्ध हैं आप की जरूरत है। आप चाहते हैं: चुनें एसएसएन, एफएनए, मिनिट, एलएएनए, एजीजी (घंटे) एम्प्लोयी से, वर्क्स_अन जहां EMPLOYEE.ssn = WORKS_ON.ESSN ग्रुप एसएसएन, एफएनएन, मिनट, एलएएनएआर द्वारा एवीजी (घंटे)...

c# - Resize an image in a PictureBox to as large as it can go, while maintaining aspect ratio? -

I am trying to create it so that an image in the picture box control will automatically adjust the size based on its size Keep the window but aspect ratio so far, just setting the SizeMode to StretchImage spreads the image to fit into the whole picturebox control, ignoring this aspect ratio. That's what I do not want. Is it possible to maintain aspect ratio, but still the image can go dynamically to spread large, because the form size changes? Is it possible to do this and is it still focused? I think that every time I change the size of the window, I can recreate the image in memory, but it looks like a bad idea. I believe that this has its effect Documentation says that: The size of the image has increased or the size ratio has decreased. You also set it to property, the "comment" section of the documentation of that function also says: The picture box fits using the zoom value To cause the image to stretch or shrink; However, aspect ratio is m...

c++ implicit conversion of string to char* matches wrong function signature -

I am writing a program that uses c string (char *) and c ++ string (std :: string). I have separated from worry for the example given below. #include & lt; Iostream & gt; #include & lt; String & gt; Hello zero (std :: string s) {std :: cout & lt; & Lt; "STRING function" & lt; & Lt; Std :: endl; } Zero hello (four * c) {std :: cout & lt; & Lt; "Chard Function" & lt; & Lt; Std :: endl; } Int main (int argc, char * argv []) {hello ("obscure"); Hi (std :: string) "string"); Hi ((four *) "charp"); Return 0; } When I compile this program, I get a warning: test.cpp: 14: Warning: string continuous one Conversion to dislike ?? ?? Four * one ???? Regarding the first call on Hello . Program running: CHAR function STRING function charge function It is showing that Hello with the first call signature Matching Hello (four * c) . My question is, if, as a C ++ program, a string...

delphi - Why is it not safe to use Socket.ReceiveLength? -

OK, also states that the socket buffer is not guaranteed to return the exact result of the bytes ready for reading , But if you take 1 in the socket, you see it. Receivebuf (What is it that wrapes the receiver lamps) This is Iioctlsocket to determine the amount of data with FIONREAD in the network input buffer which is pending Socket S can be read from. So, how is it safe or not bad? Example: ioctlsocket (socket.Socket Handle, FistRed, Longgunt (I)); The document you refer to is specifically called (emphasis my Note: Receive lineline is not guaranteed to be accurate for streaming socket connection This means that the length time I do not know before because it is being supplied with a stream of data, obviously, if you do not know how big the data is being sent before time, then you Can not set the client's expectations properly. To copy this file, consider it like a normal code. If you do not know ahead of time how many files you copy, you can not predic...

PHP MySQL how to associate two fields in one table row? -

If I could talk to your database tables do, I say "if client_id and salesrep_id are in the same line, so Most of the conditional logic has been found. I am struggling with this "in the same line" part. Basically, I was creating a system I am a sales representative who allows everyone to view the entire data table, but only to each representative This idea is to disable someone else's "edit" link in the display. Like ... & lt ;? Php if ($ row_listClients [ 'client_id'] & amp; $ row_list elected [ 'salesrep_id']) {? & Gt; & lt; td & gt; & lt; A href = "Edit_clients.php? Client_id = & lt ;? Php echo $ row_listClients ['client_id']; ? & Gt; "& Gt; Edit Obviously, the initial state does not work (and it will always be true), but everything else works great. It's just a bit that I'm stuck on I hope it is understood, I know that this is probably the most basic stuff. ...

python - How to overload equality and print in java? -

In Java, how can you increase the surcharge operation and print operation for a class? Python, you can do def __eq __ (self): or def __str __ (self): , but how to do it in Java can be done? I know that you can make a method manually and call it like equal or something else, but I want to know whether any real person Which works with == thanks Java does not support operating overloading. The == reference will always test for equality. Used to generate its output you can override toString in your class. And you are right about overriding the method with a warning: If you are overriding the equal method, then you should also override the method so that Treat your object with the correct HashSet and so on. Details about the contract between Hashod and equals / edit public class point {private} Int x; Private int y; Public point (int x, int y) {this.x = x; this. Y = y; } @ Override public string toasting () {return "(" + + "," ...

JavaScript table onclick -

I am working on creating a game where a table is displayed in a table. This letter displays when you click on any one letter (or TD). I used javascript to create tables after removing spaces / authors, etc. Here the code I used to create table createRow function (tableRowId, STARTINDEX, ENDINDEX) {var row = document.getElementById (tableRowId). Var index = startIndex; While (index & lt; = endIndex) {// sign is the characters to be displayed in the sign (signal [index]! = Undefined) {var newCell = row.insertCell (-1); Var newText = document.createTextNode (hint [index]); NewCell.appendChild (newText); } And {break} } Index ++; } The problem I have is that the onclick does not work with TD which was just created. var cells = documents. GetElementsByTagName ("td"); Cells.onclick = function () {cells.style.backgroundColor = "white"; } I should remember a step or something, maybe some small mistake in my code is probably a better way to do it. All s...

Wicket : Submitting data with a listview inside a form -

I have the following problems: Imagine a track list view, which looks something like this: List View & lt; Question & gt; LvQuestion = New ListView & lt; Question & gt; ("LV Question", question) {Personal Static last long serial VERSIONUID = 1L; @ Override Protected Zero Populated Entom (ListInstream Item) {Query q = item.getModelObject (); Item.add (new label ("question", q.get question ())); & Lt; String & gt; Possible answer = getFromDb (); Q.setPossibleAnswers (possibleAnswers); If (q.getComponent (.) Equals ("dropdown") {item.add (new dropdownPanel ("questionability", Q)); }}}; This list view is built within a form component; What I need to do is to answer each question using this list visit and they are recorded in the database. However, the problem is that I do not know how many will drop down the table to me because always there will It is a way of ensuring that when submitting the form to parents ...

c# - An expression of non-boolean type specified in a context where a condition is expected, near 'ID' -

Can someone indicate what is the cause of this error? I was trying to fix it, but I failed. I do not know what's wrong with 'id' ... which part generates this error? Here's my code: Secure Zero Button 1_kill (Object Sender, EventAggles e) {SqlConnection conn = New SqlConnection (); Conn.ConnectionString = SqlDataSource1.ConnectionString; String str = "select from student" + "where student id = '" + student id Text + "'and" + "password ='" + password " Text "" "; SqlCommand cmdSelect = New SqlCommand (str, conn); SqlDataReader Reader; Conn.Open (); Select Reader = CMD. Spare reader (); If (reader.Read ()) {if (StudentID.Text == "900000000") response. Type ("& lt; body onload = \" window.open ('Admin.aspx', '_top') "" & gt; & lt; / body & gt; "); Other feedback Type ("& lt; body onload = \" window.open ('user...

c# - How can i figure out KERNELBASE.dll Error? -

I'm getting the error from my window application. I could not understand the exception, because the special error is not logged in my exception logger file This is the reason why it is coming has failed in the application name :. Test.exe, Version: 1.0.0.15, Time Stamp: 0x51481394 Module name unsuccessful: KERNELBASE.dll, Version: 6.1.7601.18015, Time Stamp: 0x50b83b16 Exception Code: 0xe053534f Accidental Correction: 0x0000812f Process ID has failed: 0x The time to start% 9 applications has failed: 0x% 10 application path is unsuccessful:% 11 module path has failed:% 12 Report ID:% 13 Please find the code below Private zeroes frmSetTime_Load (object sender, EventArgs e) {try {string} cmds = System.Environment.GetCommandLineArgs (); // Here I get a command line argument; hold (exception before) {message box.Show (ex.message); } Finally {GC.Collect (); }} Public Zero ExecuteLogic (object obj) {try {// My set description of therad.sleep (5000); ExecuteLogic (obj); } Catch ...

Google Cloud Print: How long is the token good for (to submit jobs to cloud print)? -

How can I get credentials if my user uses Oath v2 for Cloud Print to get the credentials Am I at least 48 hours? We need to get access to the printer, and it should be kept for a few days. (It appears that we can rewrite the user once or twice a week once or twice, but certainly not more.) If Google Cloud Print can not do this, then Which systems can do? (Requires cross-platform printing, wins from the cloud, OSX and Linux, the ability to do raw printing only on local printers is required, not just printing printer printing.) Thanks ! There are two types of "credentials" in the OAuth2 process: Access token ( Its lifetime is low and it is determined by the expires_in field of the OAuth2 server response) and refresh token which is virtually permanent unless the user granted permission to cancel Is not done. You can get a valid access token when you receive a fresh token. The first method with refresh token parameter access_type = offline is returned to ...

Read from string (possible array usage?) C++ -

I'm trying to write alil function here which basically reads from the string. It reads every three letters and evaluates it using pre-condition (if statement). If the conditions are met then these three letters will be replaced with the new three letters. So this will output new string. I tried to write the code but the rhetorical argument seems right. The program runs but it does not print anything. Ignore the work name and the inaccuracy I'm just doing a sample function to test this. string amino_edes (string line) {string acid; String acid; String Newline; For (int i = 0; i & lt; line.length (); i ++) {acid = line [i]; } (Int i = 0; i & lt; 3; i ++) {acid = acid [i]; If (acid == "GUU") {acid = "zap"; } Newline = Acid; } Cout & lt; & Lt; "Acid:" & lt; & Lt; Newline & lt; & Lt; Andal; New line return; } for (int i = 0; i is "abcd" in the line, this loop is going to do this: acid = ...

ajax - Jquery Json extract node? -

How do I use Jquery to remove only 'customers_firstname' from the JSON format? & lt ;? Php echo json_encode ($ user)? & Gt; {"Customer"}: "created": "", "created": " "", "Modified": "2013-03-14 11:50:18", "customer_firstname": "Gerald", "customer_lostname": "Russ"}}, {"customer": {"Id": "14", "customer_gener": "f", "resumest": blank, "created": "2013-01-29 15:41:23", "revised": "2013-02- 14 15:08:42 "," customer_firstname ":" gym "," customer_lostname ":" carry "}}] Try this: HTML & lt; Ul id = "nameList" & gt; & Lt; / Ul & gt; JS Gender ":" M "," Result ":" A 15ff2aa27d616636b5bc30fac4dba38733f4e5f "," Created ":" 201...

c# - Windows Phone make Segoe UI symbol not appear as emoticon -

Image
I want to use a fly UI signal from the airplane in my C # / XAML Windows Phone 8 app. I am including this type of symbol in my page: & lt; TextBlock & gt; & Amp; # X2708; & Lt; / TextBlock & gt; The icon appears properly in the "Preview" pane in Visual Studio: However, when I run an app in a simulator or on the phone, it looks like: This symbol resembles the found in the emoticon keyboard: I can how to use the symbol of the airplane's Segoi UI so that it is completely white and does not beat as it appears in the emoticon keyboard? You can prevent this behavior by setting it to false (the default is true) Is: & lt; TextBlock TextOptions.DisplayColorEmoji = "False" & gt; & Amp; # X2708; & Lt; / TextBlock & gt; This will stop the conversion you are seeing.

jquery - Show already hidden content on select -

OK, I have the basic divs that are already being hidden through jquery and when clicking the anchor link I have used Chris Sears (CSS tricks) on the basis of window size / screen size: I used to have Chris Sears (CSS tricks) based on window size / screen size. . The problem is that it does not work on anchor links and I have tried. Swap, tried to move the window. Location and even documents. Location (checked only) but I do not even understand why it does not work completely, with only one chicken cut with his head. I thought that I should try to keep the document html # id as href and then maybe it will work, but no. I saw a lot of similar questions here. But I can not optimize your needs effectively. As you can see that I'm completely green but HELP is appreciated. If you want to show a hidden element, give an element an ID and # Specify the jQuery / CSS-type selector and ID for values ​​such as id . Then change javascript to show instead of redirect. This is a J...

Query to Convert Varchar HH:MM to Integer Minutes in SQL Server 2008 -

I have a table in SQL Server, where the name of a column is timespace datatype type (25) . It originally stores time in the format of HH: MM format. According to the requirement, now I need that it gives me minutes in real time with i.e. 01:00 gives me 60, 01:30 - & gt; 90. Please help me write queries in SQL Server 2008, so that Vorar (HH: MM) is changed to minutes (integer). Select > | TIMESPENT | ------------- | 00:12 | | 01:05 | | 10:00 pm Output: | Minutes ----------- | 12 | | 65 | | 600 | is here

php - CActiveDataProvider with condition value enum -

I have the databse field usetype enum ('0', '1'), with the default 1 position of CactiveDataProvider () When using the value enum it produces reverse rows $ DataProvider = new CActiveDataProvider ('ClubMember', array ('criteria' => array ('condition' =>, 'usertype = 1',)),) ; Produce all the line with Usertype = 1, that is, Username = 0. Try to use it $ dataProvider = new CActiveDataProvider ('ClubMember', array ('criteria' => array ('position' = & gt; 'ezert = "1"'))); This means that you should use the string as the value in ENUM, not the int

hibernate - HQL Insert fails while selecting a record from a table and inserting selected records in another table? -

My HQL entry query fails when selecting a record from a table and inserting selected records in another table . I am getting a "debugging" message in all the lists and there is a repetitive list in the console, but that company is not able to include the records in the table. DAo class code: - Public Zero Approved (Int. Company ID, String Verifier) ​​{session.beginTransaction (); Query query = session.createQuery ("temporary where companyID =?"); Query.setInteger (0, Company ID); @SuppressWarnings ("uncontrolled") list & lt; Provisional & gt; List = query.list (); Committed to session.getTransaction (). If (list.size ()> 0) {System.out.println ("inside the list"); (Provisional P: list) {System.out.println ("revision list"); Approve query = session. Create a company "(Company IDIID +, Annual Valvefottexport, Annual VolumeTileXport, Company, Company Name, Company Email, Company Name, Company Type, Contact Presenta...

Difference between comment.Patch and comment.Update in Google Drive API -

I went through both the method documents and it seems that both of them do so. And also note that the patching comment does not require the content , even if it needs to call patches () method. So, this is the difference between the comment.patch () and comments.update () methods in the Google Drive API? PS: I am using Google-Drive Java SDK for my implementation. Thank you. Patch is used to perform partial performance and while saving some bandwidth, for example , You only want to update a field in the resource. For more details on patch work and other performance tips, please see the Google Drive SDK document:

php - regex for extracting hash tags without spaces -

मैं इसका उपयोग कर रहा हूं: $ t = "#hashtag #goodhash_tag संयुक्त राज्य # L33t यह "; $ QueryVariable = ""; If (preg_match_all ('/ (^ | \ s) (# \ w +) /', $ t, $ arrHashTags) gt; 0) {array_filter ($ arrHashTags); ($ ArrHashTags) array_unique; $ Count = count ($ arrHashTags [2]); यदि ($ count & gt; 1) {$ counter = 1; विदेशी मुद्रा ($ arrHashTags [2] $ strHashTag के रूप में) {यदि (preg_match ('/ # \ d * [a-z _] + / i', $ strHashTag)) {if ($ counter == $ count) {$ queryVariable = $ StrHashTag; } और {$ queryVariable = $ strHashTag। "और"; } $ NewTest = str_replace ($ arrHashTags [2], "", $ टी); } $ काउंटर = $ काउंटर + 1; }}} Echo $ queryVariable। "& Lt; br & gt;"; // यह टैग की सूची $ newTest गूंज; // यह शेष टेक्स्ट है ऊपर $ t पर आधारित आउटपुट है: #hashtag और #goodhash_tag और # l33t संयुक्त राज्य यह पहली समस्या: अगर $ t = '# हैशटैग # अच्छाहैश_टैग संयुक्त राज्यों # l33t this'; यानी दो टैग...

java - Drools rule engine Usage-Handling Huge data -

I have a case where I am getting a packet from a device and to put that data into a MySQL table . There are 4000 devices and every device I get packets every two minutes. Each packet data is needed to monitor and perform some database operations. So I plan to monitor the packet and use Dorlos to implement various rules. I suspect that it will dump a lot of data I suggest you to capture the packet You can use it for Network Packet You have to open it and this is a DLL file and you have to paste it into windows / system 32.

PHP-MySQL merge many query into one query to execution fast -

I have a PHP script to add a new record and this record is written to table1 ,

How to integrate jquery code in extjs4 -

I am working in extj. I want to find the specific city season. I got the reference from "" All the information related to the given city in the JSN format by typing the following code in the HTML file - & lt; Script src = "http://ajax.googleapis.com/ajax/libs/JQuery/ 1.5.1/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; JQuery (document) .ready (function ($) {$ .ajax ({url: "http://api.wunderground.com/api/4ab310c7d75542f3/geolookup/conditions/q/IA/Pune.json", Data Types: "JasonP", success: function (perced_jason) {var location = parsed_jason ['location'] ['city']; var temp_c = parsed_json ['current_observation'] ['temperature_string']; warning ("current temperature" + location + "Is:" + temp_c);}}};}); Its working correctly now I get this jquery code in the extjs controller Want to integrate it. So, no one guides me how to do it in extjs Can you gu...

Programming & running Windows files under Linux? -

Is Windows installed on Windows when it is not possible to use Windows as a Windows executable program or run under Linux ? I mean what I have heard of alcohol, but nothing, download the Windows Library and use it to emulate a Windows environment to run those programs. Instead of downloading it for a second time, it is easier to use it in advance. I do not want to write all the code again but instead just tell the example Alcohol does not download DLS windows, it reloads APISs so to run Windows applications, you have to use something like either a wine or virtual machine. BTW: The question would look better on Superuser dot com BTW2: If this is about programming: You can try to compile for mono-like frameworks and various OS .

c# 4.0 - Authentication for Box in C# 4.0 -

I am trying to use token using the code below in the C # language, but I have 400 bad requests exception Are getting . Code: WebRequest httpWReq = WebRequest.Create ("https://www.box.com/api/oauth2/token"); String postData = "grant_type = authorization_code"; PostData + "" & amp; Code = "+ code; postdata +" "& amp; customer_id = MY_CLIENT_ID"; PostData + "& amp; client_secret = MY_CLIENT_SECRET"; PostData + "" & amp; Redirect_uri = https: //www.google.com "; byte [] data = encoding. UTF8.GetBytes (PostData); HttpWReq.Method =" POST "; HttpWReq.ContentType =" application / x-www-form-urlencoding " ;); Stream.Write (data, 0, data. Lang);} Var response = httpWReq.GetResponse (); Var responseflow = response using the HttpWReq.ContentLength = data.Length; (stream stream = httpWReq.GetRequestStream ()) Gaterespanstream (); (Var Reader = Using new streamminder (responses) {v...

c# - Postback page on query string -

This question has been repeated, when I am getting value in my query string, I have to post page back . If I want to post back here (request.jquery string ["hotelid"] = = null) // { I How can I post back the page? You can use it: if (request. QueryString ["HotelID"]! = Null) {page_load (sender, e); } or this: if (request .QueryString ["HotelID"] = null) {Response.Redirect (Page.AppRelativeVirtualPath.ToString () ); } Hope this helps :)

Would appending to a non existing element create a new instance of that element in JQuery? -

In my browser, I have a textbox and a submit button, using text from the textbox, At the end of the anodized list, I want to add as a list item. The unstarred list is not present yet, but I want to present the text under the text box and submit the button. I created this function: Code: Function display (text) {// Text box 'text' $ ('ul' ) .append (' When I use .display (), I want to be able to display the text in the parameter as a new list item in an unordered list. Question: Does JQuery make a new 'ul' if someone is not in existence yet or should I make one first? If so, am I using JQuery correctly to add a list item to the unordered list? Any advice helps! Thanks! First you $ (' ') Should use a new & lt; Ul & gt; , while $ ('ul') select the element already present. For more information, see Then you can rewrite the code like this: var ul = $ ('& Lt; ul & gt; '); // Save the new...

ASP.NET WCF Service error "The calling thread must be STA, because many UI components require this. "? -

I have some window workflow that use some .net assemblies. I'm reaching some hardware from these workflow windows, my XYZ services being published on IIS through the Virtual Directory methodology, all help. Now I want to consume my workflow with my net web application. I have created a WCF service and a web client (on web client request) try to load workflows (success) and execute my WCF service The problem is that when I call the execution of the load workflow, it gives the exception "The calling thread should be STA, because many UI components need it." If you do not have a single thread apartment thread using a WinForms / WPF object from a thread This will be an exception. In order to use those items from your WCF service, you need to create a new thread, STA that is to set up the flat state on the thread and then start the thread. My trivial example takes a string and it checks against a spell check feature of a WPF text box: public ValidatePasswor...

multithreading - JAVA: managing DataInputStream on multiple threads using same socket -

Basically, I have a main thread that will accept a socket and get a dataInstream object And then can pass this input object to different sub threads where they will use it for the data obtained and will do various tasks. But this will not work because both the threads are using the same object so that they can hear that when a user sends something, I do not know who can read it. I still have the idea: 1- Create in some way the organizer receives incoming requests and redirects them to the responsible thread (I'm not sure how to do this). 2- When a thread is expecting a sequence of incoming requests (based on time), other threads have to sleep so that it can capture inputstream (which I'm not sure is done ). How to apply any other ideas or how? Thanks! (In the worst case, I must be in the same formula.) I recommend that you have used ReadWriteLock , look at its API and examples in depth.

php - Apache 404 error redirecting one site's error page for all other sites also -

I have 3 machines which are in my machine (in the localhost) site 1, site 2, site 3 named. Whenever the page is found, then redirecting to your related 404 pages instead of redirecting to the site's 404 error page is being redirected. Maybe I can set Apache's default error page somewhere. Can anyone help me in this regard How to reset it back .htaccess file in the root of your site, I think a line similar to ErrorDocument 404 /errors/404.html Should say a # and refresh

libcurl - android load library specified version instead of generic version library -

I have successfully created my Android app using libcurl. But I could not load my program. The error message I received is: The library can not be loaded: soinfo_link_image (linker.cpp: 1635): The library "libcurl.so.5" required by "mylib.so" Could not load "; Because of Load_library (linker.cpp: 745): The library" libcurl.so.5 "was not found In my program, I only found libcurl.so file I tried to use only the libcurl.so file (delete the libcurl.so.5 file and recompile it) but the loading error still exists. I The file was seen inside the apk file, only libcurl.so file. I think my problem is mylib somewhere mentioned libcurl.so.5. But after removing libcurl.so.5, recompile, error is left. Mylib.so libcurl.so dependent, is not dependent on libcurl.so.5 file? this is I have modified the config file by removing all the major tags in the config file. Now, at least, it works.

android - Hide ScrollView's ScrollBar ONLY during configuration configuration change -

जब ScrollView पहली बार प्रकट होता है, या एक कॉन्फ़िगरेशन बदलाव होता है, तो स्क्रॉल बार दिखाई देगा, तो दूर लुप्त हो जाना। अगर मैं स्क्रॉलव्यू के स्क्रॉल बार को बिल्कुल नहीं दिखाना चाहता, तो मुझे पता है कि मैं scrollView.setVerticalScrollBarEnabled (false); गतिविधि के क्रय के दौरान। हालांकि, एक ही समय में, मैं स्क्रॉल पट्टी को प्रदर्शित करना चाहता हूँ (तब लुप्त होती) केवल जब उपयोगकर्ता स्क्रॉल कर रहा है , ताकि वह एक विचार कर सकें कि स्क्रॉल पट्टी का स्थान क्या है। क्या कोई तरीका है जिससे मैं दोनों हो स्क्रॉल बार को छुपाएं ScrollView पहली बार दिखाई देता है, या कॉन्फ़िगरेशन बदलाव होता है। स्क्रॉल बार दिखाएं, जब उपयोगकर्ता स्क्रॉल कर रहा है। ScrollView पहली बार दिखाई देने पर स्क्रॉल पट्टी छुपाएं, या कॉन्फ़िगरेशन बदलाव है। उपयोग करें: scrollView.setVerticalScrollBarEnabled (गलत); पर onCreate विधि। स्क्रॉल बार दिखाएं, जब उपयोगकर्ता स्क्रॉल कर रहा है। का प्रयोग करें: @ ओवरराइड संरक्षित शून्य पर रिज़्यूम () {super.onResume (); ScrollView.post...

SQL SERVER: data insert -

Sorry guys! I do not know what to do with this task. Data is similar to this question, but when I put new data into big_table.bench_id and I should also see this data in the BATCH_ID table? I have tried to force them with the keys, but big_table is already the main key so do not know what to do. Please any advice would be appreciated. Big_table.bench_id: ** bank_id ** 31 51 51 61 61 61 71 71 I have two columns Another bit_id table is created: ** different_bank ** ** ** ** ------------------ ---- ------- 31 1 51 2 61 3 71 2 For example, if I add new code like '111' to big_table.bench_id: ** bench_id ** 31 51 51 61 61 61 71 71 111 So it will also appear in other table: ** specific_bank ** ** number ** --- -------------------------- 31 1 51 2 61 3 71 2 111 1 Do you really come from another table The Shykta? You can create a scene to get it. Create table xxTemp (bench_id int); Insert XxTemp (bench_id) values ​​(31), (51), (51), (61), (61), (61), (71...

iphone - How to get cutom sound file to play in Apple Push Notification Service? -

I want to play a custom sound file to inform the user. I use JavaApin as a third party library and I have developed a connector to connect to Java Anne to send notifications to the devices. I only have the file path of the sound file that is saved in the local drive of the server. String input is required for the sound feature to produce payloads. Can anyone help me solve this problem? To send only a file name of the sound feature is a sound file that is already installed on your device Is part of the application made. You can not send a file to your server in the notification.

extjs - Sencha Touch dataview and initialize doesnt work together -

I have a problem with my code. I want to use Sequence Touch data view and I try to initialize the event By then everything works just fine. When I put it, intimate events, my dataview can not be generated. Here is my code. Can you help me?) Ext.define ("xxx.view.Spread", {extension: 'excetrateview', xtype: 'xxxspread', id: Data: [{name: 'test', desc: "testtest"}, 'spreadform', config: {styleHtmlContent: true, store: {// autoLoad: true, fields: ["name", "desc"], Name: 'test', Desc: "test"},],}, itemTpl: '& lt; img src = "https://si0.twimg.com/profile_images/1089012240/sencha-logo_normal.png" /> ; {name} You have to configure one for your listeners And hold the initialize event there. config: {styleHtmlContent: true, store: ... // More conference listeners here: {initialize: function () {Console.log ('init'); }}}

php - How to display count information to page -

I have created a query to select and count specific fields from a table and query the query from the second table with the name Corisepending Example Item name for showing the results on page that works when I run it in SQL on localhost, but how it works. Count tieme name 2 - count here is the query $ objects-> Connect (); // calculation question $ countQuery = 'SELECT a.isubId', b. `SIBID`, b. 'TBL_Lit`,' TBLSBs 'B WHERE a.IsubId `= B.`` SIBID Group By A`IISIIIBID'; from SUUTTile`, COUNT (A. CivilId`); // Query $ Objects- & gt; Run query ($ countQuery); I will show results on page First your function $ objects- & gt; Query ($ countQuery); The result will be returned back to the array that you can get: $ result = $ objects-> Query ($ countQuery); and then apply the $ loop to the result; Yes add as COUNT (a.subId) cnt as well and then resonance result $ [0] -> gt ; Cnt; Depending on your return array format....

ruby on rails - Reject element from array in efficient way -

my array is arr = ["wow what", "what anis", "I am in", "I am in", "in the night", "at night", "at night", "at night", "at night", "at night", "day", "day", " "In Delhi", "in Delhi" but "I am", "going", "go", "us"] arr.each do. El | | If! El.match ('in') & amp; Amp; ! El.match ('is'). Empty? Fresh_arb & lt; & Lt; But I have 110k elements array and it is giving 8sec that, this is too much time I can do it in any other way Thx Use delete_if arr .delete_if do | E E. Match ('in') & amp; Amp; E.match ('is'). Empty? End arr

php - Why does not work CActiveDataProvider after change criteria -

यह कोड ठीक काम करता है: $ मापदंड = नया सीडीबीसीट्रेटिया; $ मानदंड- & gt; तुलना करें ('आईडी', 1); $ डेटाप्रदाता = नया कैक्टिवडेटाप्रदाता ('उपयोगकर्ता', सरणी ('मानदंड' = & gt; $ मानदंड)); विदेशी मुद्रा ($ डेटाप्रदाता- & gt; getData () $ मान के रूप में) var_dump ($ value- & gt; आईडी); लेकिन जब मैं CActiveDataProvider उदाहरण बनाने के बाद मापदंड बदलता हूं तो यह काम नहीं करता है: $ मापदंड = नया सीडीबीसीट्रेटिया; $ मानदंड- & gt; तुलना करें ('आईडी', 1); $ डेटाप्रदाता = नया कैक्टिवडेटाप्रदाता ('उपयोगकर्ता', सरणी ('मानदंड' = & gt; $ मानदंड)); $ मानदंड- & gt; तुलना करें ('आईडी', 2); विदेशी मुद्रा ($ डेटाप्रदाता- & gt; getData () $ मान के रूप में) var_dump ($ value- & gt; आईडी); यह वापसी खाली है! ऐसा क्यों है? आपके पास कोई नतीजे नहीं हैं क्योंकि आप अपने मानदंडों में कोई शर्त जोड़ रहे हैं: उत्पन्न एसक्यूएल इस तरह दिखेगा: WHERE id = '1' और id = '2' अगर आप उपयोगकर्ता 1 ...

process - How to run Linux program from Java code -

I am trying to create a disk space with java code using qemu-img, so I have a process and runtime I'm installing the client. When the command to run the program is not executed, though I use the same mechanism for equal performance and it works fine. That's why I am thinking that I miss something or not. stringbuilder command builder = new string builder ("qemu-img create -f" + + selected storage type + "~ /" + storeName + ".img" + storageSize + "m"); Println (commandBuilder); String command = commandbill.stisting (); System.out.println ("This is right:" + Command); System.out.println ("Creating Image ..."); Runtime runtime = runtime.at timetime (); Process process = null; Try {Process = runtime.exec (command); System.out.println ("Try to Process .. Hold"); } Hold (IOException e1) {e1.printStackTrace (); Println (e1.getMessage ()); } Finally {System.out.println ("Finally Entry"); Process.dest...

c# - Can Set RequestValidationMode="2.0" page level? -

Based on ASP.NET 4.0 I am developing a web application and am receiving some pages of potentially dangerous requests (containing some markup codes). . Instead of setting RequestValidationMode = "2.0" in web.config, can I set that property to only those few pages? Answer somewhere hidden in MSDN, hope it helps you too .. better than ever Also do not try to do this & lt; Location path = "test.aspx" & gt; & Lt; System.web & gt; & Lt; HttpRuntime requestValidationMode = "2.0" /> & Lt; /system.web> & Lt; / Location & gt; context

python - output changes if font is defined inside a function and if inside __init__ -

what is my doubt I got two different outputs Code which I believe is doing the same thing, I describe both cases below. Case 1 What did I do I did the following __init __ And then the self.big font is used inside that category's function: de F quitwin (self, event = none): self.window.destroy () self.window = Tk () self.window.title ('license and credit') self.frame = frames (self.window) self.frame .pack () r = frame (self frame) r.pack () m = message (r, text = "licensed under wtfp license", font = self.big) m.pack () b = Button (r, text = 'quit', fg = 'red', bg = 'black', command = self vandu dostorey, font = self. Big) bpc (side = 'bottom') Output: Case 2 I have changed the code code: ex> def quitwin (self, incident = none): self. Windows Dostoy () self. Windows = tc () self Window Tit ('license and credit') self.frame = frames (self.window) Self.frame.pack () r = frame...

sharepoint - Find a specific field on a site and the set it to “Required” in a EventReciever -

I have created an event receiver that creates a site when it is activated. There is an announcement webpage on this site when they click on "ad declaration", newform.aspx pops up as a dialogue and there is an area called timeless, the need to make it necessary , So the field other should be used and it prevents the user from adding an announcement how can I find that specific field and set it to be necessary in my event I can answer? & lt ;! - FieldName = "Finish" FieldInternalName = "Expired" FieldType = "SPFieldDateTime" - & gt; This way I have made progress so far: Public override zero feature disabled (SPFeatureReceiverProperties properties) {if (properties.Feature.Parent is SPWeb) {Var web = Properties Fiction. Mother in the form of SP vaib; Var expiredDate = web.Fields.GetFieldByInternalName ("Finished"); ExpiredDate.Required = true; ExpiredDate.Update (); }} Any kind of tips or help is appreciated! ...

regex - How can I combine matching rules in vim into one? -

I have a log file containing my debug, normal and serious entries as well as some information that is regular Type) for data eg [code] [20130313: 123412] [210313: 100114] General: This is the normal log [210313: 100114] DEBUG: ../ ./common/ Additional information I would also like to remove both debugs entries, as well as those who did not start with [ Do it] I know that I It may do so would: : g / debug / d and : g! / ^ \ [/ D How can I add it to one? Or use a regex properly? Change them both as positive or negative rules (as appropriate), and then you Or to match the other \ | ("or"). : g / ^ [^ \ [] \ | DEBUG / d It has to be done with ^ [^ \ [ , or debug For lines starting with lines

javascript - Display and Hide a Div using check box -

Image
मेरी आवश्यकता की तरह है, अगर मैं एकल कारक चुन रहा हूँ तो मैं केवल एक प्रकार के प्रमाणीकरण मोड का चयन कर सकता हूं। यदि कोई भी प्रमाणीकरण मोड चुना गया है, तो इसी डिवी को दिखाया जाएगा, कई कारक में मैं दो प्रमाणीकरण मोड का चयन कर सकता हूं, लेकिन अगर मैं दो प्रमाणीकरण मोडों का चयन कर रहा हूं तो केवल पहले चेक किए गए दिवे का प्रदर्शन होता है, लेकिन दूसरी जांच की गई डिवीज़ प्राप्त करें प्रदर्शित 2 विकल्पों का चयन करते समय दोनों div प्रदर्शित करने के लिए। मैंने इसे करने की कोशिश की: यदि ($ ('# chkOTP')। है (': चेक')) {$ ('# OTPMain')। शो (); } और अगर ($ ('$ chkVoicePrint')। है (': चेक')) {$ ('# VoicePrintEmailCampMain')। शो (); } और अगर ($ ('$ chkPersonInfo')। है (': चेक')) {$ ('# RandomAuthMain')। शो (); } और अगर ($ ('$ chkPastHis')। है (': चेक')) {$ ('# PastHistoryMain')। शो (); } और अगर ($ ('$ chkSQ')। है (': चेक')) {$ ('#QuqionMain')। शो (); } धन्यवाद अग्...

SIP INVITE Request Port getting messed up -

Image
Developing NAT Traveler solutions, using, it works fine, but often unsuccessful of SIP invert, especially Cisco is on the router 1. SIP Register Port is sent by 1024 : Source: 107.108.188.26 Destination: 107.108.188.52 User Datagram Protocol, SRC Port : 1024 (1024), DST Port: SIP (5060) 2 SIP status 200 OK Source: 107.108.188.52 Destination: 107.108.188.26 User Datagram Protocol, SRC Port: SIP (5060), DST Port: 1024 (1024) 3. SIP / Sdp INVITE Source: 107.108.188.52 Destination: 107.108.188.26 User Datagram Protocol, SRC Port: SIP (5060), DST Port: SIP (5060) Ideally, the port sent with 1024 steps Should be 1 and step 3. Please point me to any possible reason behind that and Contacts fields in your registrar In the request, specify both port 5060: sip: 192.168.5.2@107.108.188.26: 5060 . It expresses that you want to receive calls (i.e. INVITE) on this port. . If you want to get INVITEs at port 1024, change Yuri's host part to 107.1...

android - TranslateAnimation with %p not working in in samsung S3 -

Image
Hi friends, I am translating the animation where I need to move my view (which is at the center of the screen But not at all) at the top so that it can be kept 9 DP from the top in the container. I have come to know that if I translate the view from 0% to P to 52%, then it will fit exactly in the container layout for the XHDDI device. Google Galaxy Nexus device (720 x 1280) but the same thing is not working on Samsung S3 In S3, I need to go to the page 50% to see. Please tell me how can I solve the issues dependent on this device? And why does this happen? Thanks in advance. You can use different animation values ​​for different screens. For example you can put the same XML file for the animation values ​​in- xhdpi and some value switches. In this way all xhdpi devices will load the animation all the other device will load the default animation.

end an incoming call programmatically in android -

I want to end the incoming call program through my app. After searching I got the code which uses com.android.internal.telephony but says it does not work for more than 2.3 versions. I got the code to participate in a call through key press event intent = new intent (Intent.ACTION_MEDIA_BUTTON); KeyEvent event = new KeyEvent (KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_HEADSETHOOK); I.putExtra (Intent.EXTRA_KEY_EVENT, event); Context.send Ordered Broadcast (I, blank); Is there any similar method available to end the call? Plz help Check it out to take this link out after snatching and then disliked it And this won Solution Call a window as soon as you get a broadcast for incoming Place your end call button in the center in the same direction as the default Android and Call button in the center so that the user clicks your button but you can The event below will pass on and therefore call upon ending with Android, but you become a winner.

javascript - How to record and play voice in ios6 using HTML5 -

We are developing web applications in HTML5 and Javascript. We need to implement the functionality of voice recording. We have used it but it is not helping to use Flash for recording on the iPad. Can you please consider which is the best option for recording sound in the web application in the iPad? Thank you > You can create an app using PhoneGap - this way you will get access to some basic APIs like: var media = new media (); Media.startRecord ();

excel - "12/2013" in cell automatically changes to "12/1/2013" -

In Excel, to prevent this automatic change of values ​​such as: "12/2013" from 12/1/2013 " If I enter" 12/2013 "in a cell, then it will auto-change to" 12/1/2013 " "text"> Right click on cell (or cells after choosing them) - & gt; Format Cells - & gt; Number - & gt; Enter the text of the course data and re-enter it.

How to identify button click in getChildView of ExpandableListView in android -

I am creating ExpandableListView in my Android app. I have created a hair xml layout that repeats to specific numbers. My XML layout has a delete button that is set in the form of BDDLELAT in XML. By clicking the delete button I want to delete a specific child. Example: Group: remove hair 1 hair 2 remove chili 3 code> Now my problem is how to identify which child's delete button is clicked. Since all the delete buttons are the same ID in my XML layout, please suggest me a solution. In your adapter, where you inflate your line layout, you can set a tag ( With setTag () method) on each Delete button. The tag can be the position of the row that matches this delete button. Later, when someone clicks the button, in the onClickListener , you get the button tag ( V.getTag () ), that Delete the integer and the row in position.

php - submit on correctly entered captcha -

I have the following page with an option box, when the user selects the following option and then click on the submit , Then takes them to the corresponding URL, however the user should write the correct string in the box that corresponds to a simple static captcha image which is on the screen. Currently the code looks like this, although I need help setting this situation so that it should be typed in the "abcdef" box before it is otherwise giving an error. & lt ;? Php // Check to see if the form has been submitted. If (isset ($ _ POST ['menu1'])) // If the form is submitted, redirect to the selected option. Header ('location:' $ _POST ['menu1']); }? & Gt; & Lt; Div style = "padding-left: 50px" & gt; & Lt; P class = "ariel" & gt; & Lt; Strong & gt; & Lt; / Strong> gt; & Lt; Br / & gt; & Lt; / P & gt; & Lt; Form method = "post" & gt; & Lt; Table cl...

MySQL Natural Sort (like OSX Finder) -

I have searched for it for a long time, but the solutions I have found are not working as I want. Explain to me: I have a table that includes thousands of products, each with alphanumeric SKU, is also used for sorting. product number (integer), class code (number of alphabet characters), product model variation (optional, variable number of alphabet characters) For example: mant 12 cl (without spaces) MANT1 MANT2 MANT2C MANT2D MANT2W MANT3: / p> Now, I ordered them like this (and if these were the filenames, the OSX finder would get them completely ordered) MANT4C MANT9 MANT12 MANT12C MANT12CL MANT12P MANT13 MANT21 MANT 24 MANT24D MANT29 course sku command is clearly wrong: MANT1 MANT12 MANT12C MANT12CL MANT12P MANT13 MANT2 MANT21 MANT24 MANT24D MANT29 MANT2C MANT2D MANT2W MANT3 MANT4C MANT9 and order of length (SKU), sku problems model variations sorting: MANT1 MANT2 MANT3 MANT9 MANT12 MANT13 MANT21 MANT24 MANT29 MANT2C MANT2D MANT2W MANT4...

sql - "ORA-00923: FROM keyword not found where expected" Encountered in my oracle query -

SELECT TITLE, कोंकैट (TO_CHAR (एसएम ((रेट-रिटेल) / COST) * 100), '100 '),'% ') एएस "मार्कअप" शीर्षक से पुस्तकें ग्रुप से; :: गोल :: :: मैं अपने उत्पादों (पुस्तकें) के लिए मार्क-अप की गणना करने की कोशिश कर रहा हूं। :: ZE समस्या :: :: जब मैं कहा एसक्यूएल चलाने की कोशिश करता हूं, तो मुझे त्रुटि मिलती है ओआरए 00923: कीवर्ड से नहीं मिला "Itemprop =" text "> आपके कोष्ठक संतुलित नहीं हैं I को 4 बाएं और 5 सही मानते हैं I यह त्रुटि आम तौर पर तब होती है जब एक स्वरूपण त्रुटि होती है जो एफआरएम क्लॉज तक पहुंचने से रोकती है (लापता / अतिरिक्त अल्पविराम, असंतुलित वर्ग, आदि)

Changing github identifiers in eclipse -

I'm working on a project shared via github and eclipse, and I'm committed to no problems , My partner entered the wrong identifier (user name and password), he pushed the remote for the first time. Thus, every time he tries to push and be committed to the repository, the eclipse uses those misinformers who log on to Zithub and it fails. Is there any way to change those identifiers? If it has entered the wrong user name, then it will be windows / preferences / Search for git and configuration section, it can change it. Otherwise, the wrong password can be entered, it can search for safe and on the Safe archive section, on the Content tab, It can change the password on the git section