Posts

javascript - Tablesorter and automatic sorter digit? -

I have a lot of tables using the table on my website and I sorter: 'finding a way to sort the numbers I am 'a column that has a specific class name: "class =" note ". I know that it is to do with a header: $ (".blabel: {header: {sorter: 'digit'} // column number, type}}); but to do so, The way that is html like this: H class = "{sorter: 'digit'}" & gt; note or classname anywhere in JavaScript like this $ ("Tableer Note."). Tableer () ... ? Because my column "note" was the third column some time ago, sometime fifth etc. I ask because without the order of "digits" Specified, the tableer does not know how to sort the numbers ... Here it is shown what I mean: Thank you. If you are using me, then you can complete it at least two By different ways: Add a sorter-digit class name to the header & lt; Th class = "note sorter-number" & gt; Note ...

How to convert date value from day to Quarter in SAS -

मेरे पास इस तरह एक डेटा सेट है: दिनांक 01JAN90 01APR90 01JUL90 01OCT90 01JAN91 01APR91 01JUL91 01OCT 9 मैं दिनांक मान को दिनांक 1990Q1 1990Q2 1990Q3 1990Q4 1991Q1 1991Q2 1991Q3 1991Q4 में परिवर्तित करना चाहते हैं मैं एसएएस में कैसे कर सकता हूं? ऐसा कुछ प्रयोग करें: प्रारूप दिनांक yyq ;; जहां "तिथि" आपकी तिथि चर है यह आपकी नौकरी करेगा। संपादित करें: datetime7 के बाद त्रुटि, यदि आपकी डेट वर्णमाला स्वरूप में है, तो पहले तिथि स्वरूप का उपयोग करके दिनांक को निकालें और फिर दिनांक को प्रारूप लागू करें। sasdate = datepart (तारीख); एफएमएनेट = डाल (ससाडेट, यिक।); यहां fmtdate आपका अंतिम उत्तर है। प्रारूप yyq के लिए देखें। डेटप्टर के लिए देखें उम्मीद है कि यह आखिरकार

ios - UITableViewCell with dynamic content and dynamic row height -

Image
I have the same view as a table view Each question can have a dynamic number of answers and hence the height of the cell can be changed. I need to avoid manual coding as much as possible (to create programming buttons and label programs and to add to the TableView content view) and do everything with XIB and interface builder What is the best way to do this? You can design each room like the IB: Register it with table view: [self.tableView registerNib: [UINib NibWithNibName: @ "YourSubclass" bundle: zero] forCellReuseIdentifier: @ "cell"] ; Apply and UITableViewDataSource and UITableViewDelegate methods, as indicated by @GoodSp33d. These methods are necessary to tell the table view about your dynamic content so there is no way to do this alone in IB.

Eclipse luna 64b does not start (java 8u20 64b unzipped, win7 64b) -

I am trying to start developing a PHP / js app in Eclipse, but I do not start it on my own Could the computer I am working on a Windows 7 64 bit machine and I have administrator rights (this is a corporate computer). I downloaded the JDK version 8u20 64 Bx, and opened it with 7zip, I copied all the files in D: \ jdk8_20 (for example inside). I downloaded the eclipse from the website (latest version Luna, 64 bit), and unzipped it on my desktop. I modified eclipse.ini to accept the uncliped JVM to use. It does not work with the following logic (exits from Java -1): -vm D: \ javapath \ bin \ javaw.exe I used this argument (as I have advised): -vm D: \ javapath \ jre \ server \ java.dll Now I can see, when I start with Explips.exe without admin rights or without, the Eclipse logo page (which shows the loading process at the beginning) very soon, and nothing Does anyone know / have an idea of ​​what I have done wrong? I can not install Java in general, as I use c...

linux - How to match filenames in different directories?(bash or python) -

मेरे पास दो निर्देशिकाओं में फ़ाइलों का एक सेट है ~ / Desktop / dir1 और ~ / Desktop / Dir2 मुझे dir1 में फ़ाइलों को dir2 या इसके विपरीत में फाइलों से मिलान करने की आवश्यकता है फ़ाइल नामों में / dir1 हैं: 1.out, 2.out ... 21.out फ़ाइल नामों में / dir2 हैं: chr-1.out, chr-2.out ... chr-21.out मैंने अजगर में एक प्लॉट स्क्रिप्ट लिखी है, जिसके लिए कमांड लाइन तर्क स्वीकार करता है फ़ाइल नामों और फ़ाइलों की सामग्री के आधार पर कुछ भूखंडों का निर्माण करता है तो सवाल यह है कि फाइलों को कैसे मिलान किया जाता है और इसे एक स्क्रिप्ट में प्रदान किया जाता है? मैंने bash का उपयोग करने की कोशिश की, लेकिन मैं यह नहीं समझ सकता कि यह कैसे करना है शायद यह अजगर से संभव है? मैं इसे हाथों से कर सकता था, लेकिन मैं यह सीखूँगा कि यह कैसे स्वचालित रूप से करना है। बाश में, पैरामीटर विस्तार का उपयोग करें: #! / Bin / b Dir1 / *। बाहर गूंज "$ f" "dir2 / chr - $ {f # dir1}}" किया

ios - storing [NSNull null] values in NSUserDefaults, from JSON serialization, causes unwanted exceptions -

I found the app where I use a JSON based API. As part of JSON, often values ​​are set to "blank". It can be normal: {"data": ["one", "two", "three"] , "Name": blank, otherwise: 10} Recently I tried to store a diverse NSDictionary hierarchy that was converted from the JSON object into NSUserDefaults. Unfortunately, this causes an exception if there is zero data, converting to [NSNull null] in iOS is evident that it can not be saved in priority I was thinking that someone worked on it earlier is? I tried to add some arguments, which, with limited success, first remove all the empty values ​​from JSON, but it is inappropriate to modify the data before saving it. Do you have a better way of handling it? You can first convert your NSDictionary into NSData, then store it safely in NSUserDefaults ( Because NSNull corresponds to NSCoding). // archive NSDTA * data = [NSKEADArtic archivesDatabaseAssociation: dictiona...

javascript - Highcharts: update chart when data actualized -

I am using and I like the chart to update each other. I have it now: I have a timer window.setInterval (updateChart, 1000); and it executes each second data properly. But I have no idea about how to make the scene real. It is important that I do not want to attract charts repeatedly every time. I just want to move points and add new ones. Does anyone know how to do this? See the series. Edepoint Your updateChart function gets: function update chart () {for (var source = 1; source update.