Posts

Showing posts from January, 2014

docx4j - Nodes Omitted From XmlUtils.marshalToString() -

docx4j से XMLUtils.marshalToString () का उपयोग करते हुए, मेरे पास निम्न सामग्री दो स्थानों में समान स्थान पर है Docx फ़ाइलें (.docx unzipping के बाद संबंधित word / document.xml से निकाले गए) ये फ़ाइलें के बीच एकमात्र अंतर है: & lt; w: t xml: space = "संरक्षित करें" & gt; नई रेखा सबसे पहले & lt; / w: t & gt; और & lt; w: t xml: space = "संरक्षित करें" & gt; & LT; w: r & gt; & Lt; w: t xml: space = "संरक्षित करें" & gt; नई पंक्ति। & Lt; / w: t & gt; & Lt; / डब्ल्यू: r & gt; & LT; w: r & gt; & Lt; w: t xml: space = "संरक्षित" & gt; सबसे पहले & lt; / w: t & gt; & Lt; / डब्ल्यू: r & gt; & Lt; / डब्ल्यू: टी & gt; पहले दस्तावेज़ में, & lt; w: t & gt; नोड ऊपर के रूप में आउटपुट है। हालांकि, दूसरे में, एक खाली & Lt; w: t & gt; नोड निम्नानुसार मुद्रित किया गया है: & lt; w: t xml: space = "संरक्षित" & gt; ...

r - Strptime from factor variable in wrong format -

I am trying to use strptime () to parse the date with a component variable - but there is a hold My dates (wrongly) list day and month as a single instead of double digits. For example, my date is 5/5/2012 14:02 instead of 05/05/2012 14:02. /% Y% H:% M ") Is anyone sure? capital y will: test & lt; - "5/5/2012 14:02" Stratum (test, "% m /% d /% Y% H:% M") [1] "2012-05-05 14:02:00"

- Where Developers Learn, Share, & Build Careers

I found the following example on this site somewhere: import multi import ctypes import numpy NP shared_array_base = multiprocessing.Array (ctypes.c_double, built 10 * 10) shared_array = np.ctypeslib.as_array (shared_array_base.get_obj ()) shared_array = shared_array.reshape (10, 10) as # not copy loud shared_array.base Was there. Based shared_array_base.get_obj () # parallel processing def My_func (I, Def_param = Shared_array): Shared_array [i] = i if __name__ == '__main__': pool = multiprocessing.Pool (procedures = 4) pool.map ( my_func, (10)) print shared_array the above code works fine, but I want to add an array of shared array, some (like shared_array + = some_other_array up instead shared_array [i]; = i) local variable 'shared_array' assignments referenced earlier there is no reason to consider that I ACE Can not? is that a variable is assigned anywhere in a function, it is regarded as a local variable Is shared_array + = some_other_array equ...

objective c - remove object from NSMutableArray -

मेरे पास दो तत्व हैं: NSMutableArray * mruItems; NSArray * mruSearchItems; मैं एक UITableView कि mruSearchItems धारण मूल रूप से, और एक बार उपयोगकर्ता स्वाइप और एक विशिष्ट पंक्ति को हटा देता है, मैं खोजने की जरूरत है । mruItems अंदर कि स्ट्रिंग के सभी मैचों और उन्हें वहाँ से हटा दें मैं NSMutableArray पर्याप्त उपयोग नहीं किया है और मेरे कोड मुझे किसी कारण से त्रुटियों देता है: - (शून्य) तालिका दृश्य: (UITableView *) tableView commitEditingStyle: (UITableViewCellEditingStyle) संपादन शैली के लिए RowAtIndexPath: (NSIndexPath *) indexPath {if (editingStyle == UITableViewCellEditingStyleDelete) {// यहाँ जोड़ें जब आप NSInteger i ; मैं = 0; (Self.mruItems में आईडी तत्व) {अगर के लिए ([(NSString *) तत्व isEqualToString: [self.mruSearchItems objectAtIndex: indexPath.row]]) {[self.mruItems removeObjectAtIndex: मैं]; } और {i ++; }} [Self.searchTableView पुनः लोडडेटा]; } } त्रुटि: मैं अब देखते हैं कि तार के कुछ उद्धरण चिह्नों के बीच नहीं हैं (UTF8 में लोगों को हालांकि रहे है...

jquery jump menu strips out everything after "?" -

I have a simple jump menu that I have found. It worked great until I wanted to go to it on a page "?" In the URL, this "?" After everything strips out so why when i mywordpresspage /? If I try to go to Id = 1, the jump menu takes me to mywordpresspage /. I do not know a lot about jquery ... I mostly work with php. Here is the code: & lt; Script type = "text / javascript" charset = "utf-8" & gt; $ (Document) .ready (function () {$ ('site_quick_jump'). Change (function () {if ($ (this) .val ()! = '') {$ ('# Site_quick_jump_form'). Attr 'Action', $ (this) .val ()); // $ ('# site_quick_jump_form'). Submit (); // Go!}});}); // Doctor Prepared & lt; / Script & gt; & Lt; Form id = "site_quick_jump_form" method = "get" action = "" & gt; Browse Survey: & amp; Nbsp; & Lt; Select class = "site_quick_jump" & gt; & Lt; Options ...

uinavigationcontroller - IOS customized navigation back button is not working -

I did not work the following in my Visual Controller: I am using the storyboard. [Super Viewedload]; UIImage * backImage = [UIImage imageNamed: @ "Back Page"]; UIBarButtonItem * backButton = [[UIBarButtonItem alloc] initWithImage: backImage Style: (UIBarButtonItemStyleBordered Target: zero operation: zero]; BackButton.title = @ "Test"; [Self. NavigationEystem SetbackBarbootNitim: Backbutton]; Please help thank you. Try [[UIBarButtonItem Appearance] setBackButtonBackgroundImage: [UIImage ImageNamed: @ "someimage.png"] forState: UIControlStateNormal bar Metrics: UIBarMetricsDefault]

Python multiprocessing Queue failure -

Text after "div class =" itemprop = "text"> I create 100 child processes proc_list = [process (target = simulator, arg = For proc in xrange (result_queue,)) for i (100)] and start them proc_list: proc.start () Keeps each process in result_queue (example of multiprocessing.Queue) doing some processing. DEF emulation (alg_instance, image_ids, gamma, result, 10000 tuples after simulation, sim_semaphore): (rs, qs, t_us) = alg_instance.simulate_multiple (image_ids, gamma, simulation) all_tuples = Zip (rs, qs, t_us) for results in all_tuples: results.put (result) sim_semaphore.release () I should be getting 1000000 tuples in the queue, but different runs After I get these (sample) size (?): 14912 19563 12952 13524 7487 18350 15986 11928 14281 14282 7317 Any suggestions? My solution of multiproduction issues is almost always used to access manager objects while revealing the interface equals The implicit implementation is very simple and there ...

asp.net mvc - How to pass collection of anonymous objects from controller to view -

I'm new to MVC, so please forgive me if my question seems silly or very simple. I am using an entity data model for So in my model folder, I've added an EDMX file and I can use model classes and strongly typed ideas from my controllers. The problem arises when I access more than one table in my controller like If I have the following tables in my DB: Departments (DepartmentID, DepartmentName, DepartmentPhone) Insurance (InsuranceID, InsuranceName, InsuranceAddress) Employee (EmployeeID, EmpFName, EmpLName, DepartmentID, InsuranceID) And I want to display a list of employees with my department and insurance information. In my controller action method I can access DB using EDM and get information in an anonymous type: using (above reference = new MyEntities ( )) {Var model = (reference.Departments in D.DepartmentID on d.DepartmentID is equivalent to joining e in context.Employees e.DepartmentID I.InsuranceID on context.Insurances to join e.InsuranceID new selecti...

android - ActionBarSherlock: java.lang.NoClassDefFoundError: com.actionbarsherlock.R$styleable -

Image
मैं एक्सेलश्री इंडिगो और एडीटी आर 20 का उपयोग कर एक्शनबारशर लॉक 4.1 के साथ एक छोटे से नमूना एप्लिकेशन बनाने की कोशिश कर रहा हूं। मैंने एक रिक्त गतिविधि के साथ एक नया एंड्रॉइड प्रोजेक्ट बनाया, एक्शनबारर्सलॉक.जर को लिब्ज़ में कॉपी किया और उसे बिल्ड पथ में संदर्भ दिया। ऐप सफलतापूर्वक बनाता है, लेकिन एमुलेटर (2.2 का प्रयोग करके) डिवाइस (4.0.4 का उपयोग करते हुए), यह त्रुटि के साथ क्रैश करता है: java.lang.NoClassDefFound त्रुटि: com.actionbarsherlock.R $ styleable com com.actionbarsherlock.view.MenuInflater $ MenuState.readItem ( MenuInflater.java:328) ... मैं proguard का उपयोग नहीं कर रहा हूँ। मैंने ActionBarSherlock प्रोजेक्ट को साफ करने का प्रयास किया है, मेरे नमूना प्रोजेक्ट के लिब्स में नया जार कॉपी कर रहा है , और फिर मेरा नमूना प्रोजेक्ट सफाई कर रहा है। मेरा मुख्य गतिविधि.जावा काफी सरल है: पैकेज com.example.lrn; आयात करें com.actionbarsherlock.app.SherlockActivity; आयात करें com.actionbarsherlock.view.Menu; Importroid.os.Bundle; सार्वजनिक कक्षा मुख्य गतिविधि शर्लोक...

uml - What design patterns to be used in this class diagram? -

I am working on the application to create a class diagram of the video store. Customers can subscribe to the retailer in order to be informed about the new release. Can I use the supervisor design pattern for this requirement? And there are some requirements for the application: Ability to create and retrieve movies for each category Retailer 10% discount vouchers for randomly chosen customers I have done this class diagram without any pattern which is straightforward, I want to improve it by applying design patterns in the diagram. Any suggestions what patterns can be used? ScriptsPromskratch said, this: I have done this class diagram without any pattern which is straightforward. I want to improve it by applying design patterns in the diagram. Any suggestions what patterns can be used? There is a very bad idea ... The "advantage" of the design pattern is that you can give names to the things you have encountered while solving your problem, so it is easy to transm...

performance - c++, fastest way to check if a file exists? -

There are several ways to check if a file exists. The options I know: Access () Do anybody know which of these best performances? Edit: Estimate walking / dev / shm where access time is not a factor. Here the runtime switch will dominate the operation of kernel mode and file system drivers - even Exclude disc time. It is highly unlikely that none of these will offer the best performance Best Interface - Promotion :: Filesystem .

android - Is there a way to have a radio group be laid out horizontally? -

I have 2 radio buttons inside a radio group right now they are standing vertical I tried to put them in a horizontal container , But it did not mess up. Can there be a radio group button for the line horizontally? pre & lt; LinearLayout xmlns: Android = "http://schemas.android.com/apk/res/android" Android: layout_width = "fill_parent" Android: layout_height = "wrap_content" Android: orientation = "horizontal" & gt; & Lt; RadioGroup Android: id = "@ + id / radioSex" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" & gt; & Lt; Android: layout = "wrap_content" android: text = "chat_content" android: text = "chat" & Lt; Android: layout_height = "wrap_content" android: text = "players" Android: check = "true" /> & Lt; / RadioGroup & gt; & Lt; Android: text = "home" Android: ...

asp.net - When designing a custom HTTP 404 error page, how to notify Search Engine of the 404 status? -

In order to update the index, search engines should no longer find a file Once I Had tried to include the Response.StatusCode = 404 in the Page_Load event on the custom 404 error page, but the result was that the custom page could not be loaded web.config file's & lt; CustomErrors & gt; In the element, there is a statusCode attribute, is it a good way to inform the search engine 404 about status? I would recommend adding it to web.config & lt; CustomErrors & gt; & Lt; Error .... Because it is easy to maintain in a file, then inline coding on every page is a big winner if changes are needed, then all you have to do is update config file and complete Instead of a solution, just release a config

- Where Developers Learn, Share, & Build Careers

On my blog (which I am in the process of redesigning content in a more efficient way), I have From http://new.kn3rdmeister.com/blog.php to handle a simple redirection RewriteRule setup for http://new.kn3rdmeister.com/category/blog/ (And also works backwards too) In .htaccess: RewriteEngine On RewriteRule ^ blog / .php $ / category / blog / [R = 301, L] rewriteille ^ category / blog /? $ Blog.php [L] ... That only bankya works now what I have to do, rewrite /blog.php ? Pagenum = x to / category / blog / page / x / in .htaccess: ... RewityCand% {THE_REQUEST} ^ (get | post | top) \ blog \ .php \? Pagenum = ([0-9] *) \ HTTP / RewriteRule ^ blog \ .php $ / category / blog / page /% 2 / [R = 301, L] rewritable ^ category / blog / page / ([0- 9 ] +) / $ Blog.php [l] The first rule I can do is to finish the job, but this query does not have to be springs, Instead, like ... /blog.php?pagenum=2 is equivalent to the example Add a question mark at...

mod rewrite - RewriteRule redirect /pages/view/about to index.php?pages/view/about -

I've created the .httaccess file under my directory "codeIgniter" I'm trying Http Http://www.domain.com/codeIgniter/pages/view/about http://www.domain.com/codeIgniter/index.php?pages/view/about Redirect my current Httaccess File is + Rewrite rules on follow-up links ^ codeIgniter / pages /(.*)$ $ 1 [L] But my page is not redirecting. How should I change my .httaccess file? Try changing your rewrite rule with the following: Reveries ^ (. *) CodeIgniter / pages /(.*)$ http://www.domain.com/codeIgniter/index.php?pages/$2 [L] I suspect, the passing URL is more text in the beginning compared to "codinger / page ...". The Character symbol (^) is a symbol of the beginning of a string in RegEx. However, if you are using CodeIgniter, have you enabled the query level only? Generally, when a framework is used as codeigner, then you want to embrace MVC and custom URL.

php - jQuery dynamically added form element data not sent to database when user is on intranet -

I have an interesting problem that I have created a farm to make races for runners. The form allows the user to add more than one runner and sign them all at a time. Extra runner functionality is programmed using jQuery. Here is jQuery which adds extra runner ... & lt; Script type = "text / javascript" & gt; Var current = 1; Clone (true) .removeAttr ("id"). $ (Document) .ready (function () {$ ("# addrunner") click (function () {current ++; $ newrunner = $ ("# runnerTemplate"). Each (function (i) {var $ currentElem $ $ (This); $ currentElem ("id", "fieldSet" + current), beforehand the Internet ("# runner template"); $ newrunner.find ("input") .prop ("name", $ currentElem .prop ("name") + current, $ currentElem.prop ("id", $ currentElem.prop ("id") + current);}) $ newrunner.find ("$ CurrentElem.prop (" name " $ CurrentElem.prop ("nam...

Is there an eclipse plugin that runs google's cpplint.py on open files? -

I would like to be able to run cpplint.py from eclipse so that I can get it In those places where I am doing wrong style decisions (at least according to Google style guide) I don do not know cpplint.py , but you should be able to run any Eclipse device as "external device". See below Run & gt; & Gt; External tools can also be arguments so that you can incorporate the current project or similar path. The output is placed in the console view and if the message from the tool is anything from other tools (such as "file: line: message"), then you also need hyperlinks from relevant files.

iphone - iOS AVAudioPlayer makes other app's background music stopped -

I have an exercise app that needs sound play I use the aviadio player to play sound but when the audio When the play starts, the background music stops with another app (radio streaming app). How can I not disrupt it in background music? Because I want the user to listen to music while exercising Thank you. You can use the following code where you use AVAudioPlayer: // set audio session NSError * sessionError = zero; [[Avidio Session Shared Instance] Set Category: Avidio Session Category Intent Error: And Session Error]; [[Avidio Session Shared Instance] set active: yes error: and session error]; If you want to set up a delegate, you can add this line of code: [[Avides session shared instance] setDelegate: Self];

ruby on rails - why the belongs to association return a Fixnum object -

रेल 3.2.2 mysql2 मेरे पास निम्न संबंध हैं, वर्ग टॉकिंग केस & lt; एक्टिवरेकॉर्ड :: बेस एसएएमटीए: मेडिकल सीज़ेड एंड क्लास मेडिकल कैसेज & lt; ActiveRecord :: बेस में है_मैं: talking_cases समाप्ति कंसोल में: a = टॉकिंगसीज़.पहले a.medical_case कभी-कभी यह 0 लौटता है और कभी-कभी यह ठीक काम करता है। और मैं medical_case ऑब्जेक्ट प्राप्त करने के लिए MedicalCase.find (xx) का उपयोग कर सकता हूं। क्या कोई इस प्रश्न को पूरा करता है? निम्नलिखित कंसोल आउटपुट है: विकास वातावरण लोड करना (3.2.2 रेल) ​​ [1] प्राइ (मुख्य) & gt; ए = टॉकिंग सीज़.पहले टॉकिंग कैस लोड (0.4ms) का चयन करें `बोलने वाली_कैसे`। * से` बोलने वाली सीसेज 'सीमा 1 = & gt; # और लेफ्टिनेंट; टॉकिंग कैसे आईडी: 15, यूज़र_आईडी: 231, वार्तालाप_आईडी: 7, उपनाम: "एक ?? ² ए साढ़े", मेडिकल_case_id: 42, मेडिकल_case_name: "ç³ ?? एक ° ¿¿¿? È è ?? ¾ç? ??? ä¹ ?? ä¸ ?? ", बनाया_टः" 2012-06-21 03:38:36 ", अपडेटेड_ैट:" 2012-06-21 03:38:36 "& gt; (यह ठीक है) [2 ] प्राइ ...

css - can i put a space between the content and the arrow in an html select drop down? -

I have a select drop down, in which the word is in the form of "girl" option. The problem is that the arrow on the "L" lot selection of the girl is close to the drop-down object. How can I put a little more "space" between the word / content (all the options, I mean. I do not need to target just "girL") and a little arrow? I have tried putting a place after "girl", but it has no effect (i.e. the problem still exists). Here it appears (like) gender: | Boy V | | Women | Here's what I want: gender: | Boy V | | Girl | Yes, I know that everyone has a lot to know about what I am about. Pip HTML or CSS, I'm indifferent to the method of solution! setting width / code> is not a solution for every case Flexible width Sometimes useful. padding-write is also not a solution, because it only adds a space between the arrow and the right border, but not between text and arrows. For the constants list item...

windows - Uninstall parallels plesk panel, I can't -

I have installed parallel Plasac Panel 9.5 of Windows on Windows Server 2003 x64, now I can not uninstall, Error: The Windows Installer service could not be accessed. This can happen if you are running Windows in safe mode, or if the Windows Installer is not installed properly. Windows is not running in safe mode, and I try to install Windows Installer, but I can not And it is not what I can do to uninstall. Can this help me with the problem? I uninstalled Plesk Panel 11 using the Windows "Uninstall a program" feature It seemed as it displayed a dos window and was informing me about each module, but it did not take anything from the IIS. In addition, the fully parallel directory structure was still fully persisted after the installation of "successfully". I have removed the websites and application pools from the IIS manually and the entire directory and file structure in Windows Explorer was manually removed. However, I had to finish the process fo...

Fill in Jquery Autocomplete -

This question can not be answered, but it may be because it is very easy. I'm trying to use an autocomplete based on the Jquery UI and I'm using their remote Jason data source where you type in something and pulls a list of data from a source. However, when you click on Autocomplete, it does not fill the data in your textbox even if they archive the callback. Thinking about how to configure it so that you click AutoComplete, it automatically completes it for you. Try this type of $ (".selector" ). Autocomplete ({select: function (event, ui) {...}}); You can select the value in "ui.item" You want to fill the same text box with the selected value $ (this) .value = ui.item.label The selection inside the function

sql - How can I update extreme columns within range fast? -

I have 40 tables that look like the following, and each table has 30 million records. Table rodeata : pk ( carogirdid , time ) range-id Time islampled value -------- --------------------------------------- ----------- - 1 2012-07-01 00: 00: 00.000 0 - & gt; 1 65.36347 1 2012-07-01 00: 00: 11.000 0 80.1672 9 1 2012-07-01 00: 00: 14.000 0 29.1 9 716 1 2012-07-01 00: 00: 25.000 0 - & gt; 1 7.05847 1 2012-07-01 00: 00: 36.000 0 - & gt; 1 98.08257 1 2012-07-01 00: 00: 57.000 0 75.35524 1 2012-07-01 00: 00: 59.000 0 35.35524 As of now, IsSampled Column is 0 for all records. I need to update the records, so that for each category ID and for each minute range, record with Max (value), min (value) and IsSampled in the first record Must be 1 for I have created the following procedural queries, but it takes a lot of time to run. (Approximately 2h 30m for each table) announcement @ start datetime DECLARE @endRange datetime DECLARE @endTime datetime SET @startRa...

Easy way to integrate Jasmine JavaScript unit testing with TFS Build CI -

I am writing Javascript Unit Test using Jasmine. However, those tests are run inside the browser, not as part of MSTest. I want my TFS to break continuous integration when a Javascript unit test fails. I know that there is a solution for this in Visual Studio 2012, but I'm in 2010 (and possibly even in the future). Is there an easy way to integrate Jasmine based JavaScript into a unit test with TFS build? Test runner enables you to run your queen and Jasmine JavaScript unit tests command line or visual studio. So you should be able to integrate into your TFS build through the invoke process.

android - Will java compiler optimize a method call on a final static variable ? And what happens when it becomes dalvik code? -

मेरे पास निम्न कोड है float square (float val) {return val * val ;} बूलियन isInCircle (अंतिम फ्लोट एक्स, अंतिम फ्लोट y) {फ्लोट वर्गडस्टेंस = स्क्वायर (सीएक्स - एक्स) + स्क्वायर (cy - y); वापसी वर्गडिस्टंस & lt; वर्ग (RADIUS); } जहां RADIUS एक स्थिर अंतिम फ्लोट है। क्या जावा कंपाइलर कॉल वर्ग (रैडीस) का अनुकूलन करेगा? क्या होता है जब यह dalvik कोड android के लिए परिवर्तित हो जाता है? क्या यह अनुकूलित हो जाएगा? जावा में अनुकूलन रनटाइम पर (जहाँ तक मुझे पता है) किया जाता है (मशीन कोड में अनुवादित किए जाने पर बाइटकोड अनुकूलित किया जाता है)। तो इसका उत्तर हां और नहीं है। परिवर्तित कोड समान रूप से अनुकूलित किया जाएगा, लेकिन यह JVM पर निर्भर करता है, इसके साथ क्या होगा। मेरे अनुभव के मुताबिक, यह बहुत ही JVM पर निर्भर है और शायद इसकी सेटिंग (अनुकूलक की उत्तेजना) में है। मैंने SHA1 के लूप के साथ चलने की तुलना करने की कोशिश की है और बिना Windows JVM और Linux के एक के। एक मामले में लूप के बिना कोड कई गुना तेज होता था, दूसरे में (मैं लिनक्स पर सोचता था) केवल 40...

- Where Developers Learn, Share, & Build Careers

Can I type my own custom static method in the map-reduce that I use every key-value pair Would you like to call me who enters my Mapper? You can do this and I do this all the time. The methods you can call are either static or not. Actually: If you call an external code from the code included in your project, when you export the project to .jar file then bundle with your code. If you refer to the methods from a .jar file included in the build path for your project, you need to give that cluster the name of the .jar file on every node The job runs, and edit your HADOOP_CLASSPATH variable in your $ HADOOP_HOME / conf / hasoop-env.sh file on the server and restart your cluster. Otherwise you will not get a class that has not found a mistake. An example is: export HBASE_CLASSPATH = / path / to / one / file.jar: / path / to / other / file.jar

actionscript 3 - Can I detect if the monitor is wide or Square and set Video accordingly? -

I created a Flash presentation that runs in full screen, is a few seconds animation, then a video starts and When the video goes to this main menu. The video is with 720x1080 (16: 9), but my document in flash is 768x576 (4: 3). I've resized the video according to the 768x576, so it comes black and white at the top and bottom. It is fine when my Flash presentation runs on the square monitor, whether the monitor is wide. And I need an "action script" to detect the type of monitor (wide or square), if the video keeps the same on its square, but if the monitor is wide then it starts the video in full screen. You can use the square, it has two properties, screenResolutionX And the screenResolutionY , which gives you this information, gives you the resolution of the primary screen. Would you like to re-think your assumption that a monitor square is a screen resolution of either 4: 3 (640x480, 800x600, 1024x768, 1280x1024) or any other aspect on my wide screen wh...

- Where Developers Learn, Share, & Build Careers

When I try to compile a little lua program, I get these errors: Undefined reference to ` Of course, I have the link with the -lll lua5.2-dev installed on my ubuntu if you have any more information Ask me if you need it. Thank you! When I try to compile a little lua program, I get these errors No link program you receive these errors. To add -ldl to the end of your link line is to be fixed.

vb.net - Multi line text box in asp.net -

मेरे पास एक बहु लाइन टेक्स्ट बॉक्स है जैसे: & lt; एएसपी: टेक्स्ट बॉक्स CssClass = "Txtform" आईडी = "txtWhom" runat = "server" ऊँचाई = "78px" पंक्तियाँ = "10" टेक्स्टमोड = "बहुउद्देशीय" & gt; & lt; / asp: textbox & gt; का कहना है कि मैं उस टेक्स्ट बॉक्स में निम्नलिखित पाठ लिखूंगा: प्रिय महोदय, महाप्रबंधक, एचएसबीसी, एचएसबीसी। जब मैं उस पाठ को vb.net कोड के पीछे एक वेरिएबल में लेता हूं ... और इसे दिखाने के लिए एक क्रिस्टल रिपोर्ट भेजता हूं ... केवल ... पहली पंक्ति में दिखाया गया है ... में उस मामले में केवल "प्रिय महोदय," दिखाया गया है ... लेकिन मैं सभी पाठ चाहता हूं .... मैं क्या करूं? क्रिस्टल रिपोर्ट में उस टेक्स्ट ऑब्जेक्ट के लिए "कैन ग्रो" विकल्प का उपयोग करें = & gt; राइट क्लिक - & gt; टेक्स्ट ऑब्जेक्ट = & gt; प्रारूप वस्तु = & gt; का चयन करें विकल्प हो सकता है संवाद बॉक्स में विकल्प। यह चर लंबाई क्षेत्रों के लिए रिपोर्ट में खड़ी बढ़ने के लिए ...

What is 'erase block' in `mkfs.jffs2' utility in Linux? -

mkfs.jffs2 What's the 'erase' block in the utility? I can not get anything by googling, maybe because of my lack of skill, can someone tell me what is this? Can anyone tell if 'erase'? JFFS 2 runs on raw flash, not on devices such as USB sticks which have firmware that make them traditional Looks like discs. Raw nand flash can be erased in very large blocks (i.e. set bits to 1). The "deleted block" is the size of a block that the device can erase. See / proc / mtd to see what your system thinks is the removable block size of each device (you need to use an MTD (/ proc / mtd) Memory technology device, i.e. raw flash) device will be required and JFFS2 will be useful.)

regex - JavaScript/Jquery Dynamic RegExp generation -

I have searched this place a lot, and I'm working on my regular expression, but not dynamically. id_name string that is selected dynamically, then regexp should change the match with a single variant, which is in "wals" for some reason, when I Without the variable regexp code, it works as a purpose, I think I can do something wrong with the conversion in a regexp object. Original String: obj = values.replace (/ {name} (. *?) {\ / Name} /, 'igm'); Regexp object: again = '\ / {' + id_name + '} (. *?) {\\ /' + id_name + ' } \ / '; Regexp = New RegExp (again, 'igm'); Obj = values.replace (regexp, vals); Thanks in advance You / and if you build regex through the constructor You are not required to avoid that character: re = '{' + id_name + '} (. *?) {/' + Id_name + '}';

scala - akka actor testing using play -

I want to test my actor Is it possible to check every case to get the function? def receive = {case msg: string => Println ("Success" + Message) Case User: VerifyIfUserExistActor = & gt; Built-in valetime timeout = timeout (30 seconds) val future = platActor? User Val Result = Wait Result (future, timeout. Duration) .asInstanceOf [user] Sender! Case of OTD Description: OTD Description = & gt; Println ("SUCCESS" + ottDetails)} Yes, if you want to test You are sending a successful message and just want to see that your actor system works you can use case _ => Println ("sending message success")

html - Good tool/software package for simple web design -

I'm a server-side Java developer, without experience in web design (and not more interested than honestly) CSS only) though , I need to create a website as part of my work. Ideally, I would like a tool with a similar tool, but with the possibility of getting the generated HTML files and deploying them anywhere. I have tried Composer and Dreamweaver but I have to do some simple. Any thoughts? You can try bluegriffin () which is open source and works fine. But in my opinion this will not be easy by using the basic skills and putting together simple layouts based on HTML tables.

ios - NSURLConnection's delegate method, asking for authenticationChallenge is not getting fired? -

I use the NSURL connection to call the webservice and my key is in China with a client certificate I had the connection to the - (zero) connection: (NSURLConnection *) receiverment challenge: (NSURLAuthenticationChallenge *) challenge After I removed this certificate and for the bunch of keys Adding a new, NSURLConnection still keeps the credentials that I've already given it and I Pass 417 with the error code, which was 200, before I remove the old certificate. Ask NSURLConnection for credentials, forcefully Or how to close the credentials of an existing SSL connection or authentication challenge. NSURL Connection is playful animal, and I have been similar in the past few days I'm having problems But I have found a solution to my problem and there are some suggestions that what could possibly be due to any problems you may have. TLS First of all it is a possibility that what is happening with you, TLS layer is credential caching. This is due to the fact ...

C# List and Memory -

I'm new to C # and thinking that list1 is actually removed from memory after list1 = null; from the list & lt; String & gt; List1 = New list & lt; String & gt; () {"Carrot", "fox", "explorer"}; & Lt; String & gt; List2 = New list & lt; String & gt; (); List2.Add (List1 [0]); List2.Add (List1 [1]); List2.Add (List1 [2]); List 1 = null; This code is for documentation only, in my real case the list item 1 is really big, and I need to remove it from memory, and only with List 2, this original The fraction of list 1 is. . I accept the list 1 [0] and the list 2 [0] is referring to the same object in memory until I update 2 [0] with the new value. .. Is it true? There are many questions I have to try to answer them differently: Did the list 1 be removed from memory when the reference to list 1 is set to empty? No, the collection has been removed from the list when the garbage collector is cleaning the hea...

how to solve ev.is undefined in mozilla firefox? -

Hi all I get this exception in Mozilla Fire Fox Timestamp: 7/12 / 2012 11:44:12 AM Error: EV is undefined source file: http://netloader.cc/run.js Line: 1 When I error console Itemprop = "text"> Google search, looks like this is malware and / or suspicious tracking script. For example, to see many results with the instructions to search for "netloader.cc/run.js". It is possible that your browser has some extensions installed

git - Allow node.exe and ignore all other .exe -

I want to node the file. Exe But ignoring all other .exe files, how can I get it? My code is not working: #Compiled source #################### build / *! Node.exe * .exe * .o * .so * .com * .pdb * .i Specify the following order: ! From Node.exe * .exe : *. Exe! Node.exe Previous description "Overwrite" last.

python - Is it okay to set instance variables in a Django class based view? -

I am trying to get Django class based ideas (CBV). BlahView (TemplateView): Template_name = 'blah / blah.html' def get_context_data (self, ** kwargs): #code ... def find (self, request, ** kwargs ): # More code ... Now, I know that I can get request advice from myself. Now to say that I want to parse the parameters of these requests and want them to be stored in the classroom. Can I store it in self.xxx ? Now, obviously how classes work, it is considered directly. But I can not exclude the flow of control by looking at the definition of see > TemplateView ). as_view () refers to being an 'entry point' I think about setting the example variable in the beginning of get_context_data () I do not think the right to initialize. Can I define a __init __ () for my CBV? If so, can there be a threading issue or something like where many page-access probably work with a global example of my parsed data? I know that this is a bit messy, but I'm just...

Facebook API - How to get user's address, phone #? -

Can any Facebook user use the address, phone #fql or graph api? The following 'FQL' and 'Current City' and 'Hometown' are under 'Basic Information', but 'Address' or 'Phone' is not under 'Contact Information'. Username, first number, first name, lastname, birthday_date, current_space, hometown_location, photo, profile_value, timezone, user name, profile_update_username (xxxx) For these reasons specifically and intentionally not for reasons of spam prevention (possibly Other reasons are also available through the API ...

Google-Big Query with JavaScript -

I'm kind of new with Google APIs and Javascript, Any one instance or Tutorials How can I add the Google-Big Query API by using Javascript and load the data from a sample table to a simple HTML page. Thanks in advance for this. Try to do something like this: & lt; Html & gt; & Lt; Top & gt; & Lt; Script src = "https://apis.google.com/js/client.js" & gt; & Lt; / Script & gt; & Lt; Script src = "https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; // user submitted variables var project_id = 'XXXXXXXXXXX'; Var client_id = 'XXXXXXXXXXXXXXXXXX.apps.googleusercontent.com'; Var config = {'client_id': client_id, 'scope': 'https://www.googleapis.com/auth/bigquery'}; Function ShowProject () {var request = gapi.client.bigquery.projects.list (); Request.execute (function (response) {$ ('# result_box...

- Where Developers Learn, Share, & Build Careers

I am trying to select a specific object in a JSON query. I have decoded it, and although I have spent a few hours searching for answers, I am unable to determine one for this specific case. I would like to select the URL from the blog response, although I can not go behind the array. $ oauth-> Fetch ("http://api.tumblr.com/V2/user/ info"); $ Json = json_decode ($ oauth-> Milest Response ()); $ Url = $ json- & gt; Feedback-> User-> Blog; $ Url1 = array ($ url- & gt; url); // This line does not give me a URL - I get an array ([0] = & gt;) print_a ($ url1); When I do not run the array, I give it: array ([0] => stdClass object ([name] = & Gt; 12748784 [URL] = & gt; http://12748784.tumblr.com/ [followers] => [[primary] => 1 [title] = & gt; untitled [description] = > [Admin] = & gt; 1 [Update] => 1341883193 [Post] => 1 [Draft] => [[Message] => 4 [Queue] => 0 [asks] = & gt; 1 [ask_anon] = & gt; [...

- Where Developers Learn, Share, & Build Careers

मेरी स्ट्रिंग कुछ ऐसा है var query = "@id" = 4 OR @ आईडी2 & lt; 6 और @ id3 & gt; = 5 और @name = foo " अब मैं इस स्ट्रिंग के साथ क्या करना चाहूँगा हर" समानता "परीक्षा को उलट करना है प्रतिलिपि '> =' द्वारा '& lt;' , '& Lt;' '' = 'और' = 'द्वारा'! = 'तक! परिणाम मुझे चाहिए: var reverseQuery = "@id & lt; 4 OR @ id2 & gt; = 6 और @ आईडी3 & lt; 5 और @नाम! = Foo " हम इसका उपयोग नहीं कर सकते हैं: रिवर्स क्वैरीई = क्वेरी। स्थान (/ & gt; = / g," & lt; ")। क्योंकि इसका परिणाम @id> = 4 OR @ id2 होगा & Gt; = 6 और @ आईडी3 & gt; = 5 और @नाम! = Foo ठीक है? तो यह कैसे अच्छी तरह से करना है? धन्यवाद, एक ही स्थान का उपयोग करें कॉलबैक फ़ंक्शन जो प्रतिस्थापन निर्धारित करता है। query = query.replace (/ (& lt; =? | & Gt; = | | = | & lt; & gt; |! = =) / जी, फ़ंक्शन (एम) {स्विच (एम) {केस 'और लेफ्टिनेंट;: वापसी...

asp.net - Clear Enabled textboxes in form using jquery -

I need to empty / reset text box values, when it is only readable = true or enabled = false. I used the reset function in my code but my code does not work function reset form ($ form) {$ form.find ('input: text, input: password, input: file , Select '). Val (''); $ ("Input [type = 'hidden']", this) .each (function () {this.value = '';}); $ Form.find ('input: checkbox') .removeAttr ('check'). RemoveAttr ('selected'); } & Lt; ASP: Text Box ID = "Txacted" runat = "server" readonly = "true" /> any suggestions .. I'm not sure what your reset function is doing to me because I condition to read only The check is not showing, but you can try: & lt; Given from your code:> :) i.e. Use APIs; .prop and check the status of the property or attribute: The other hope is that your objective :) If you are curious: and this can be easy: function reset fo...

ajaxcontroltoolkit - ASP.NET how to assign to CalendarExtender attribute SelectedDate = CalendarTextBox.Text -

AjaxContolToolkit साथ ASP.NET। मैं एक CalendarExtender संपादन योग्य अंदर है GridView नियंत्रण मैं एक साधारण बात करना चाहता हूँ:। के existring दिनांक मान assing TextBox.Text या Label.Text को चुने हुए दिनांक विशेषता को अधिक उपयोगकर्ता-अनुकूल बनाने के लिए विशेषता यह काम बहुत आसान है, है ना?! ... gt; & LT; एएसपी: लेबल आईडी = "accdateLbl" runat = "सर्वर" पाठ = '& lt;% # बाध्य ( "totalaccdate")% & gt;' & gt; & lt; / एएसपी: लेबल & gt; & Lt; / ItemTemplate & gt; & LT; EditItemTemplate & gt; & LT; एएसपी: पाठ बॉक्स आईडी = "accdateEditTxtBox" runat = "सर्वर" पाठ = '& lt;% # Eval ( "totalaccdate")% & gt;' रीडऑनली = "ट्रू" / & gt; & LT; एएसपी: CalendarExtender आईडी = "accdateEditTxtBoxCalendarExtender" runat = "सर्वर" TargetControlID = "accdateEditTxtBox" स्वरूप = "dd-MM-yyyy" PopupButtonID = ...

- Where Developers Learn, Share, & Build Careers

I am using a popular CSS hack that enables border radius in Internet Explorer 8 that is found here goes: (). This works as expected in IE8, except for any pure page, in which the post is back and SmartNavigation = true, I get a JavaScript error on the postback invalid logic line 87, it is in the html file, where the spherical The Diva is being retrieved with the offset / offsetwidth of the corner. CSS does not work properly and the layout is completely messy. I put a javascript alert in this html file so that it is considered to be a rounded corner to show the value of the offsetwidth of the container. When you first see the numerical value in the page, right click on the alert and display the CSS as it should. On posting back, the alert will show a value -1. Right click on the alert, and CSS is broken. If there is an error at the post office, invalid argument line 87 (actually 88 with warning now) and does not render CSS, why is it unable to post OffsetWide / Offset Post? I su...

unix - Need Comma seperated output for N number of values in Shell -

इस सवाल का पहले से ही एक उत्तर है: 12 जवाब नीचे दिया गया एक स्क्रिप्ट है एक्स आउटपुट की संख्या: #! / Bin / bash instant_client = "/ root / ora_client / instantclient_11_2" आउटपुट = '$ instant_client / sqlplus -s HRUSER / HRUSER @ TOMLWF & lt; & lt; EOF सेट लाइन से सेट फीडबैक सेट करें 10000 सेट पेजेज़ 10000 चयन गिनती (1) ऑनबोर्डिंग कैंडिडेट्स से, उम्मीदवार सी में जहां o.candidateid = c.candidateid और o.JOININGSTATUS = '0091' और to_date (o.joiningdate) = to_date (sysdate) 5); EOF exit` echo $ आउटपुट आउटपुट: cand1 cand2 cand3 cand62 अपेक्षित आउटपुट: cand1, cand2, cand3, cand62 यदि आपको रिक्त स्थान की आवश्यकता नहीं है: ... | पेस्ट-डी, -स - यदि आपको रिक्त स्थान की आवश्यकता है: ... | पेस्ट-डी, -स - | Sed 's /, /, / g'

jar - Juno - Java Build Path - project cannot be read or is not a valid ZIP file -

Image
मुझे यह त्रुटि मिल रही है: विवरण संसाधन पथ स्थान प्रकार आवश्यक पुस्तकालय के लिए पुरालेख: प्रोजेक्ट 'होम' में 'src / Program.java' पढ़ा नहीं जा सकता है या मान्य पिन फ़ाइल नहीं है होम बिल्ड पथ बिल्ड पथ समस्या इस त्रुटि का क्या कारण है और मैं इसे कैसे ठीक कर सकता हूं? कृपया नीचे दिए गए नेविगेशन का पालन करें: राइट क्लिक (प्रोजेक्ट) - & gt; जावा बिल्ड पथ - & gt; पुस्तकालयों आगे में लाल क्रॉस चिह्न के साथ सभी प्रविष्टियों को ठीक करें। आप विज़ार्ड के दाईं ओर हटाएं और जोड़ें बटन का उपयोग कर उन्हें भी हटा सकते हैं और उन्हें ताज़ा कर सकते हैं।

c# - Deserializing an object containing a list of int's -

मेरे पास int की एक सूची युक्त एक धारावाहिक ऑब्जेक्ट के एक आरईएसईएस सर्विस रिटर्निंग एक्सएमएल है वस्तु कोड नीचे है सिस्टम का उपयोग कर; System.Collections.Generic का उपयोग कर; System.Linq का उपयोग कर; System.Text का उपयोग कर; System.Xml.Serialization का उपयोग कर; नाम स्थान All.Tms.Dto {[XmlRoot (नामस्थान = "http://schemas.datacontract.org/2004/07/All.Tms.Dto")) सार्वजनिक कक्षा ReadSensorsForVehicleIdResponse {सार्वजनिक सूची & lt; int & gt; सेंसर आइडलिस्ट {प्राप्त करें; सेट; }}} जब यह ऑब्जेक्ट सीरियल कर दिया जाता है तो एक्सएमएल जेनरेट होता है और इस रूप में भेजा जाता है: & lt; readSensorsForVehicleIdResponse xmlns = "http: //schemas.datacontract .org / 2004/07 / सभी टीएमएस.डेटा "xmlns: i =" http://www.w3.org/2001/XMLSchema-instance "& gt; & lt; सेंसर आईडीलिस्ट xmlns: a =" http: // स्कीमास microsoft.com/2003/10/Serialization/Arrays"><a:int>107</a:int></sensorIdList></ReadSensorsForVehicleIdRes...

objective c - string has prefix PHP -

संभव डुप्लिकेट: कैसे एक बयान करता है कि अगर $ mystring का उपसर्ग "http: //" है, तो {कुछ करो}। मैंने उद्देश्य-सी में ऐसा किया है: यदि ([mynsstring हैप्रफ़िक्स: @ "http: //"]) {// कुछ करें ...} मुझे नहीं पता कि कैसे PHP में ऐसा करें अग्रिम में आपकी सहायता के लिए धन्यवाद। सरलतम if (substr ($ mystring, 0, 7) === 'http: //') {// कुछ करना} अक्षरों की सही संख्या लेने के लिए निश्चित रूप से याद रखें ।

How to use Erlang file:read_file_info permissions/mode info? -

फ़ाइल के लिए एर्लंग डॉक्स: read_file_info / 1 राज्य "फ़ाइल अनुमतियाँ [हैं] योग" और "अन्य बिट्स ... सेट हो सकते हैं", आत्मविश्वास बढ़ाने नहीं। और, Google मेरा मित्र यहाँ नहीं है। मैं फ़ाइल: read_file_info / 1 , द्वारा दिया गया विधा वापस लेना चाहता हूं, उदा। लिनक्स मशीन पर 33188 , और इसे अधिक मानव पठनीय और / या पहचानने योग्य, जैसे rw-r-r - या 644 । कोई भी युक्तियां, लिंक या दिशाएं काफी सराहा गई हैं। छोटा जिस तरह से: io_lib: प्रारूप ("~ .8 B", [मोड])। ... या: io_lib: प्रारूप ("~ .8 बी", [मोड बैंड 8 # 777])। मोड = 33204 के लिए ये दो आपको क्रमशः देगा: ["100664"] और ["664"] । लंबा रास्ता: प्रिंट (मोड) - & gt; प्रिंट (मोड बैंड 8 # 777, [])। प्रिंट (0, एसीसी) जब लंबाई (एसीसी) =: = 9 - & gt; एसीसी; प्रिंट (एन, एसीसी) - & gt; चार = पर्म (एन बैंड 1, लंबाई (एसीसी) रिम 3), प्रिंट (एन बीएसआर 1, [चार | एसीसी])। पर्म (0, _) - & gt; $ -; पर्म (1, 0) - & gt; $ X; पर्म (1, 1) - & gt;...

internet explorer 8 - Why does ng-class="ng-app" break AngularJS? -

To work with fingerprint in IE7 and IE8, I type id = "ng-ap" and class = "ng -Apps "" in my NG-Ape element: html id = "ng-app" class = "ng-app" ng-app = "myApp" & gt; Lt; div ng-view & gt; It always works in the past, but now I have two separate- Class = "ng-app" is added for different projects, and now both the views are not render in any browser. Does IE 7/8 change the compatibility? Rica has changed? I'm using version 1.0.2 from the CDN. Thanks. Edit note: Add theory will reduce some issues. Thanks @ Mike Patraas / Code> Original: Try this lang = "en" class = " Ng-app: myapp "id =" ng-app "ng-app =" myapp "xmlns: ng =" http://angularjs.org "& gt; & Lt; Head & gt; A & lt ;! - [If LT IE 9] & gt; A & lt; Script src = "http://html5shim.googlecode.com/svn/trunk/html5.js" & gt; & L...

coffeescript - When does the "fat arrow" (=>) bind to "this" instance -

The fat arrow can be used in different settings but in any way I want that with the example Does not always bind. fat arrow binds on 3 occasions While declaring the method While declaring the function in a global context, 1 while declaring a method When the Coffeescript compiler has the following synthetic pattern within a class declaration class A somemethod: (paramlist) = & gt; This will give the following code within the creator of class A this.somemethod = __bind (this.somemethod, this); Overwriting the initial assignment with the bound version of the definition function for that example 2 When declaring a function within a method When you define a function with a fat arrow inside a method, the coffeeplus compiler automatically creates one closure of the external method and shadow it variable _this Any questions for @ inside the internal function The reference will use the variable _this in the generated JavaScript code somemethod...

javascript - What event to use instead of onmouseout to run when mouse is not over the element? -

I want to run a script when I'm not hovering an element, it's something else which in the 'onmouseover' event Was activated before and was disabling some more. So I'm using the onmouseout event to run this script, however, problem is that if I do not leave the element and then leave it, then the script is not running yet. This happens if the example element rotates fast or the window loses the focus. How can I solve this? Edit: Let me explain it in some other way, what I want is an event when no element is touched by the mouse. What if you get the whole page (via Code Buddhung) onmouseover Find out, and when it will enter a new element, the element detects that the basic elements that you have seen in the past have been the origin of the current target element, if not it, then you know that it has left the original DOM node Is, even if the onmouseout was fire.

wpf - App class and MainWindow class relationship -

In a WPF project, what kind of a main word class are associated with an AP class? Because of what I am asking for, because in Project Design Base on MVVM, I see some functions that the main windows Can be controlled by Xaml.cs or its code has been applied to the app class instead. Thank you. The main window is usually StartupUri in App.xaml You can remove StartupUri in App.xaml and override OnStartup such as App.xaml.cs safe override zero start (startup eventsErgus E) {var mainWindow = new main window (); Main window DataContact = & lt; Your Datacontex & gt; MainWindow.Show (); }

- Where Developers Learn, Share, & Build Careers

Image
दिया गया: निजी कैलेंडर कैलेंडरInstance = Calendar.getInstance (); सार्वजनिक लंबे समय तक मिलिशिया () {calendarInstance.set (वर्ष, महीने, दिन, घंटे, मिनट); वापसी कैलेंडरInstance.getTimeInMillis (); } जैसा कि मैंने इसे समझ लिया, परिणाम युग के बाद से समय के साथ वापस आता है, मिलीसेकंड में वर्तमान समय से यूटीसी मिलीसेकंड के रूप में। यह देखते हुए कि मेरी परीक्षा हमेशा वस्तुएं सेट करती है, समय के रूप में परिणाम अलग-अलग क्यों होते हैं? विस्तृत मॉटेंट = नए क्षण (2012, 11 , 1, 1 9, 9); अपडेट करें: मैं अपने आप को दूसरा अनुमान लगा रहा हूं क्योंकि Img src = "https://i.stack.imgur.com/Qlxfd.png" alt = "यहां छवि विवरण दर्ज करें"> उसी समय की अवधि के लिए मुझे 1_351_796_940 // http://www.epochconverter.com 1_354_410_540 // मेरा नंबर मुझे लगता है कि आपको उपयोग करना चाहिए यदि आप ऐसा करते हैं तो यह आपको प्रत्येक बार मिलिसेकंड की सटीक संख्या वापस कर देगा। सार्वजनिक लंबे समय तक मिलिशिया () {calendarInstance.clear (); CalendarInstance.set (वर्ष, म...

performance - IIS 7 request duration monitoring -

If there is a way to monitor the duration of the request on an iis server, then I am personally keen on a solution I came along, but it is actually a resource and this is the reason I am asking questions, just to gather more opinions. My plan is to take the time period of each request and send it to the graphite so that the real time view of the webserver is realized. The idea I have come up with is to use Pauschell with my web design module. And if you run the get-item IIS: \ AppPools \ DefaultAppPool For example, Get-WebRequest gives you all the requests at that app pool, which contains a lot of information, including time information. This is the thing that I should have a script that every 100 ms get all the requests and that is a little wasteful, a method of telling the Iis to put the request period time (in milliseconds) in the log is? Because then I want as much information as I need. I do not know there is such a feature on IIS, but I have reverse between Intern...

android - How can I find API Key and where do I use it? -

I have two questions: I have to find apiKey and I think The MD5 code, but when I copy MD5 to the sign up key in Google, it writes that this is wrong but I copy the MD5 of CMD. I get Apki first, but Google now writes it wrong !! Is it possible that I got the first APKI for this problem? But I do not get an APK to debug any final version. How can I get the final version when I get an API? Should I Select Export? Where do I use APK? Do I use it in my program's layout folder in the map's epic? Steps to create an API for release: 1 Building Keystore - from Eclipse & gt; Right-click on the project, and then click on Android Tools & gt; Export signed application package. 2. Open the CMD and Zero bin folder. You should be in some CD (depending on the location where you have installed JR): c: \ Program Files (x86) \ Java \ jre7 \ bin & gt; Now type the following CMD keytool -v -list -alias & lt; Your nickname & gt; -Kistore & lt; Path...

- Where Developers Learn, Share, & Build Careers

I have a Grails app that uses the rest of the plugin When I started my war Deleting directory leaving directory and launching it, deploying the application failed due to the following error: 2012-11-01 15: 48: 33,931 error [org.jboss.web.tomcat.service Deployers.JBossContextConfig] XML Error Parsing: context.xml org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser I believe it's a version containing Grails App no Rbhit is on XercesImpl and near the Jebis also own we improve it usually by setting them in the "area provided by removing or" Aksrisimpl our app. I am trying to explain how to fix this deployment issue. I'm assuming that I'm buildingconfig To edit the GOV script and tell it, any way, is it right to exclude axes? How do I do this plugin? If this was a "dependency", which is easy to specify exclusion. But I'm not sure how to do this plugin ... Any ideas? Add it to your BuildConfig.groovy : I...

- Where Developers Learn, Share, & Build Careers

Would it be best to store Seconds in IBJ-C / IOS as an Int or NSNumber? Unfortunately I am not able to use NSTime because I am storing it on a server, and they do not do NSTime. Thanks for any advice. I do not think that it really matters a lot for simplicity, I would say an int'l because it started There is no need to do

java - Sending Object from SOAP Handler to Web Service -

How can I send objects to a web service with SOAP handlers? I know that I can modify the SOAP message but I am trying to send back the whole message. I do not have access to the SOAP envelope in the web service. Besides, this is implementing a wsdl and I can not change the parameter type, which is a specific type of XML. So I'm thinking of using some kind of parallel messaging mechanism between the SOAP handler and the web service. in SOAP handler, public boolean handle message (SOAPMessageContext mc ) {... BytereunputSpread Out = New Bytereanputstream (); SOAPMessage soapMsg = mc.getMessage (); Mc.put ("Soap Messaging", Outside); Mc.setScope ("Soap Messaging", MessageContext.Scope.APPLICATION); ...} In the Web service: Message Contintbox Message Ctx = context.getMessageContext (); String Doc = (messageCtx.get ("soapMsg")). ToString ();

javascript - Iterate over object, knowing when you're on the last iteration -

I need to be repeated on an object, but I know when I am on the last iteration. How can I do that? Objects do not have the "length" attribute, so I can not count the number of moving and compare it to the comparison length. I am tempted to do something var len = 0; (Key in obj) {len ++; } Var i = 0; (Key in obj) {i ++; Var last_iter = (i == lane); ...} Is there a better way? You can find the number of keys to be used: Var n = object. Key (obje). Length A shim is available on pre-ES 5 browser. The possible solution to your problem is: var keys = Object.keys (obj); While (keys.length) {var key = keys.shift (); Var value = ojjj [key]; If (! Keys.length) {// it is the last key}}

ios - iOS6 multi route audio -

IOS 6.0 brings "multi-route audio" support to the iPhone / iPad. For example, allowing users to listen to a deck in the headphones by playing it and its benefits It is only mentioned in the AVAudio session category reference: AVAudioSessionCategoryMultiRoute You can output different streams of audio data to different output devices at the same time . For example, you will use this range to set audio to a USB device and headphone. This category can be used for input, output, or both. To use this category, more detailed knowledge, and contact, with the capabilities of available audio routes are required. Available in iOS 6.0 and above. How can two different streams be brought in for different routes? Answering to yourself: There really is no information in the iOS Developer Library, but Hopefully all information is required in WWDC developer sessions. Search for: WWDC 2012 session 505: audio session and multiroot audio in iOS by Torrey Holbrook Walker...

- Where Developers Learn, Share, & Build Careers

I have assets which are required through data annotations to work perfectly, to form this form, but I do not want to make this property necessary for editing. How can I go about doing this? You can create different view models to create and edit scenes. Class and get the succession of those 2 visual models of that general category. public class customer view model {public string name {set; Get;} public string locale {set; Public class CreateCustomer: CustomerViewModel {[Required] Public String LastJobTitle {set; Get;}} public class EditCustomer: CustomerViewModel {public string LastJobTitle {set; Get;}} and you can use them in this manner in your methodology create public actions () {var createVM = New CreateCustomer (); See return (createVM); } Edit Public Functionality (id) {var editVM = New EditCustomer (); Var Customer Model = Repository Gate Customer (ID); EditVM.LastJobTitle = customerModel.LastJobTitle; // set also return other attributes (createVM); } Then ...