Posts

Showing posts from July, 2013

bash - Concatenate output of two commands into one line -

I have a very basic shell script here: Book in Alt_moabit Book_arrival Leave Door_flowers in laptop laptop for 10 12 15 1 9 22 25 32 39 45 60 in Do I in 0 1 Do "$ file \ t $ qp \ t $ i" & gt; & Gt; Psnr.txt ./command & gt; $ File- $ qp-psnr.txt 2 & gt; & Gt; Psnr.txt does command calculates some PSNR values ​​and file a comprehensive summary for each combination of the file Writes in, qp and i . This is right. 2 & gt; & Gt; One line information that I really need but when it is executed, I get: Alt_moabit 10 0 Total 47,8221 50,632 950,1031 Alt_moabit 10 1 Total 47,8408 49,9973 49,8197 Alt_moabit 12 0 Total 47,0665 50,1457 49,6755 Alt_moabit 12 1 Total 47,1193 49,4284 49,3476 I What is needed, however, is this: Alt_moabit 10 0 Total 47,8221 50,632 950,1031 Alt_moabit 10 1 Total 47,8408 49,9973 49,8197 Alt_moabit 12 0 Total 47,0665 50,1457 49,6755 Alt_moabit 12 1 Total 47,1193 49,4284 49, 3476 How can I get it? (If you...

css - Move link image 5px up on hover -

How do I get an effect on CSS and HTML on the portfolio page of this site? I thought that just something like this would work: one img {margin top: 5px; } An IMG: Hover {margin-top: 0 pixels; } but it was not working, even if I put it: hover over the link instead of img I opened my code and css but I do not understand this for my life Found. Please help :) status: relative will work: An IMG: Hover (Position: Relative; Top: -5px;} Note that the status: relative reserves the place in the document flow such as element not Move. But I think in this case, this is not an issue.

Dropping IE6 Support; What Do We Gain? ... HTML / CSS / JavaScript Functionality & Techniques -

The web development community is at the tip of the tip to support Internet Explorer 6 - even Microsoft is counting its demise! This raises a very interesting question ... What advantage do we have? We have been weighed by the ball and the series which IE6 is so long that with IE 7 as the new baseline for backward compatibility, all the good stuff Which we have neglected expect us from our browsers? For example, I'm actually CSS chained class . .class1.class2.class3 {background: #fff; } & Lt; Div class = "class1 class2 class3" & gt; & Lt; P & gt; Content Here & Lt; / P & gt; & Lt; / Div & gt; PS was inspired by this question. Web developer approach from , surprisingly very little in the way of additional functionality, is present in many other browsers The standard API is still missing. In IE7, the benefits of many small improvements in the IE7 are higher compared to IE 6. Better but incomplete PNG transparency sup...

php - form multioptions select -

This is my part of the code and I have to withdraw more than one attribute (piece of information) from the banner status function / pre> $ this-> Setcontext (auto: NTTPMMTTPART); $ This- & gt; SetMethod (auto :: METHOD_POST); $ This- & gt; SetMethod ('post'); // An email element $ this-> AddElement (add '' text ',' banner_title ', array (' label '= & gt;' banner title ',' required '=> true,' filter '=> array (' string trim ')); $ This- & gt; Adelament ('text', 'banner_type', array ('required' = & gt; right, 'filter' => array ('string trim')); $ This- & gt; Element ('checkbox', 'is_active', array ('label' = & gt; 'active', 'required' = & gt; true, 'filter' => array ('string trim')); $ Banner_position = New Zend_Form_Element_Select ('banner_position'); $ Ba...

language agnostic - What's the syntax to run an executable from an html page in a browser? -

Of course this page will not be from a remote server on my PC. I create a launch page for my most commonly used software Want to I started windows programmers feel very troublesome and can not find any freeware which actually does a good job Do not say that this is not possible because I have already referred this to a file While doing the first with javascript: /// But I do not remember what the exact syntax is. Will this work in Google Chrome? If you use the file: /// , then the browser The file will download Even IE's choice of "run" is actually just downloading a temporary directory for the first time, then running it, a browser actually runs just one XE because the browser does not care about that thing Were kept. You can run a local web server with a small code that "run this program when the user clicks on this link". This will be the web server running the program, not the browser, but it will have the same effect.

terminology - dynamic binding and dynamic linking -

Quote from , dynamic binding orthogonal for dynamic linking Is ... I was wondering how to understand the meaning of orthogonal? Is it because Like compiling source code deep into the machine code, and links to different machine codes are like horizontal, and therefore they are orthogonal of each other, (static / dynamic) Binding name is a concept in compilation In the static / dynamic linking linking Is a concept? If in dynamic linking Thanks! , Any included binding, i.e., any organization involving objects (data and / or code) with identifiers is dynamic binding? "orthogonal" means that the presence or condition of one (in a more abstract sense) is not dependent As a practical example, suppose dynamic binding is the resolution on runtime that should be executed on which part of the code is a result of the function call in the source code. That piece of code may exist in a library that is linked to the executable on link time (static li...

php - what the best way to add multiple tags to a blog post? -

I really want to add more than one tag to a blog post when users select them from a field, To store the tags in Mysql, I have the fields to keep all tags, or one by one or tag_field = (cats, animals, fur) OR cats id2 animals id 3 fir I used the first example Area was thinking and was detonated lists and they were separated in a tag when the user brings them !!! :)) Thanks You should use three tables: A table where you store posts; One line per line A table where you store tags; Used by many posts, and a post can contain many tags - and there is no duplication of any kind of data. So, basically, your table will look like this: Post-ID; Primary key - Date - Title - Content tag - ID; Primary key - name posts_tags - tag_id; primary key ; Foreign key for tags. Tag_id - post_id; primary key ; Foreign key for Posts.post_id

java - problem in moving data's from one page to the other in android -

I have three activities named as A, B and C, as in the activity, there is some data like name I Date of B. in activity and activity. Now in Activity C, I want to display those names and date of birth. I tried to use the steps given in the following link I am able to move from activity B to C, but data stored in Activity A is not visible The following is the code that I have placed in Activity A myIntent = new intent (getBaseContext (), UserInformation.class); MyIntent.putExtra ("i1", name); MyIntent.putExtra ("i2", add); StartActivityForResult (myIntent, 0); The following is the activity that I have used in Activity B myIntent = new intent (getBaseContext (), UserManual.class); MyIntent.putExtra ("i3", regno); MyIntent.putExtra ("i4", dob); StartActivityForResult (myIntent, 0); The following is the activity that I have used in Activity C @Orride Create a public void form (bundle saved instenstate) {super.onCreate (saved...

How to efficiently get a number of words from a text using perl? -

I need to get ~ 50 words before the text to type the users of my application. I have done the following : Use strict, use precautions; Use utf8; Binomod (STDOUT, ': utf8'); My $ text = & lt; & Lt; TXT; Ð ÐμÐ³Ñ ?? Ð »Ñ ?? Ñ ​​?? Ð½Ð¸Ñ ?? Ðμ DD Ñ ?? Ð ° Ð · D ни поР· воР»n ?? вР° N ?? Ð'Ð ° N ?? Ñ ​​?? Ñ ​​?? Ñ ​​?? им Ñ ?? Ð ° Ð ± Ð »Ð¾Ð½Ð¸ в Ð'Ð ° ннÐÑÑ ?? Ðμ Ñ ?? D. Ð ?? овÐμÑ ?? ÐμÑ ?? о Ð ± n ?? кви dn ?? имвоР»D Ð¿Ñ ?? ÐÑÑ ?? Ñ ​​?? о Ñ ?? Ðμ Ñ ?? Ñ ​​?? впР° Ð'Ð ° N ?? Ñ ​​?? Ñ ​​?? Ñ ​​?? Ñ ​​?? Ð ° Ð Ð Ð Ñ? Ð Ð - Ñ? ÐμÐ ± Ðμ Ñ ?? и. Ð ?? Ð ° Ð¿Ñ ?? и Ð ÐμÑÑÑ ??, Ñ ?? ÐμÐ³Ñ ?? Ð »Ñ ?? Ñ? нР- ÑÑ Ñ ​​?? DD Ñ ?? Ð ° Ð · "test" Ð¿Ñ ?? ÐÑÑ ?? Ñ ​​?? оdn ?? ÐÑÑ ?? но Ñ ?? Ðμ Ñ ?? Ñ ​​?? впР° Ð '° Ñ ?? Ñ ​​?? Ñ ​​?? Ñ ​​?? имвоР»Ð½ÐÑÑ ??? ниР· "test" Ð ?? ожÐμÑ ?? Ðμ Ð'Ð ° вкР»n ?? Ñ ​​?? DN ?? Ðμ Ñ ?? Ðμжим, нÐμÑ ?? Ñ ​​?? Ð²Ñ ?? Ñ ​​?? ви Ñ ?? ÐμÐ »Ðμн ÐºÑ ?? м Ñ...

XML C++ library for simple messages -

I need an XML library for generating simple XML messages. I have come from a Java background Xerces-C ++ Some suggestions for pointing at the XML library are found because it was transferred. The other suggested library has its advantages in the memory, but it is not all of my needs. I need an API that supports an easy creation. In addition to this, when I want to send XML through Ccom, will I have to pay attention to the serialization or can I send plain XML texts? P> Overall the focus is on creating XML and there is no parsing. will be a simple XML library edit: If XML is really simple, you can also output XML tags to your code, for example, see TINXML, for example (section 'Building Documents Programmatic'). Something like this: std :: stringstream s; S & lt; & Lt; "& Lt; tag & gt;" & Lt; & Lt; Var & lt; & Lt; "& Lt; / tag & gt; \ n"; Std :: cout & lt; & Lt; S.str ();

jquery - make background green easy as possible -

With jquery, and with a super simple HTML page loaded hquery, I want to make the background green. No CSS is loaded, just really has the original HTML page and jquery script loaded. How do I beat the background? The easiest means is to use CSS, link a stylesheet with the following declaration: / P> html, body {background-color: # 0f0; } If you do not want to link to a stylesheet, use it: & lt; Body style = "background-color: # 0f0;" & Gt; Use or JavaScript: document.getElementsByTagName ('body') [0] .style.backgroundColor = '# 0f0'; or jQuery, if you want to: $ ('body'). Css ('background-color', '# 0f0'); It is worth noting that, if you are ready to include the jQuery library 1 , then you have a proper stylesheet, content and design For a true separation. Even if you only include CSS in the head of the document, instead of specifying the use of jQuery, or style attribute, after that Sty...

entity framework 4 - EF4 equivalent of NHibernate IUserType -

I want to map a model property that is typed as a timezonefof for a column in the database. In NHib, I have just made a UUSerttepe "Time Zone Infosstring" which changed back and forth and then used Type Typeface. How can I do this type of work using Entity Framework 4.0? The unit is not equal to the framework The user types of NHibernate will require you to make separate assets in your unit for this and Only string assets must be maped. Something like: Public Partial SegmentMientity {Public Timezone Information Timezone {To Get {Return Pars (Time Zone Infostrong); } Set {TimeZoneInfoString = value.ToString (); }}} Where this category is part of your part for the Autogenerated Entity. I Timezone Infostrost is the property mapped to your entity and Pars Your conversion argument is in and toasting .

CSS - Fix an element at the very bottom of page for left/right horizontal scrolling -

I have a website scroll horizontally using this script: Sometimes this With the build I have a vertical scrollbar because, depending on the user's resolution, copy can move beyond the visible part of the page. I have some information in the footer that I want to scroll horizontally with the page, but I want it to be very bottom of the page if there is a scrollbar, not just the window. Use of this CSS: .footer {status: fixed; Bottom: 10px; Left: 100px; } Not what I want because the footer will overlay the copy of the site. So I also tried to do something like this: html, body {min-height: 900px; } .footer {status: fixed; Top: 880px; Left: 100px; } Whatever was not working because the notification was always pushed to the visible part of the page. So I'm essentially looking for a solution class = "post-text" itemprop = "text"> I'm not sure that you can get it completely CSS Can do with. I have a javascript (or jqu...

javascript - Calling a GWT Java function from an html script tag -

I have a GWT project and I would like to add a script tag to the main HTML file of the GWT project located in my client code Java function. According to , I should add something like the following HTML tags: Where com.myCompany.myProject.client.myClass is the class path and myFunction is the Java function that I want to call. When I have nothing with the following implementation of my function: public zero myFunction () {HTMLPanel panel = new HTMLPanel ( ) "I have been called"); . Add RootPanel.get () (panel); } That is, myFunction is not being called. But when I make the same call with the JSN method, it works thanks "post-text" itemprop = "text"> The work you are trying to do is not working because the GWT compiler has produced code size To reduce the name of all identifier names changes: Therefore myfunction () is present, but it is called something else. You were looking at the old version of the docum...

xcode - (MonoTouch): The Apple iPhone SDK is not installed -

I would like to create Iphone applications using C # / .net Mono development application for Monochowech application, I get the following error: Apple iPhone SDK is not installed. By mistake, I may have installed the software in order that there is no way to fix my installation for Monochoch? Here are my system details: Mac OS X Edition: 10.5.8 Processor: 2.8 GHz Intel Core 2 Duo Downloaded and installed: XCode 3.1.3 Mono 2.6.7 (Intel) Mono Developer 2.4.2 Mono Touch (eval 3-1.2.6) If I installed If my IDE is not messed up and the solution is not being created then can I decide to set up anyway? I came back and installed the software mentioned above correctly Apple iPhone SDK is not installed. Please help me !! !! Mono Touch (like iOS SDK) requires OSX 10.6. OSX 10.6 Xcode 3.2.6 with iOS 4.3 SDK Mono Touch 3.2.6 ol>

javascript - Using "this" combined with other elements? -

I use PHP and jQuery I'm trying to do something like this: $ (this + '. My_child_class'). Html ('test'); I have a dynamic list of elements and when I click on a button I use "this" to get the current element in the group. The problem is that I want to get the class "my_child_class" which is somewhere within the current element group. The above jQuery do not work. The HTML may look like this: & lt; Div class = "item" & gt; & Lt; Div class = "container" & gt; & Lt; Div class = "my_child_class" & gt; Content & lt; / Div & gt; & Lt; / Div & gt; & Lt; Input type = "submit" / & gt; & Lt; / Div & gt; & Lt; Div class = "item" & gt; & Lt; Div class = "container" & gt; & Lt; Div class = "my_child_class" & gt; Content & lt; / Div & gt; & Lt; / Div & gt; & Lt; Input type...

visual studio 2010 - How to save and manage Debug->Exceptions preferences in VS2010? -

For example: 1. I am fixing a bug and needing to break exceptions. I set up to break all the exceptions. 2. Then I decided to break some exceptions and disabled them. 3. I resolved the bug and disabled all the exceptions. Oops, all preferences have gone. 4. I got another bug and really need to repeat annoying steps. 2. So, how to avoid repeating step 2? This is partial on my question but still quite a helpful answer. Last week I was working on this program which initially produces many exceptions. I do not have to see them but after the start I need to see all the exceptions. Therefore, I have written a simple AutoHot script, which toggle the main set of exceptions when pressing the global hotkey (Ctrl + Alt + e): msvs: "Microsoft Visual Studio Ex: = "exception" ^! E: Settlement Matchmaking, 2 Win Activate,% MSVs% WIKVAT Active,% MSWS% Send% ^ S Sleep, 200 Send and Winwet Active,% eg Click Click 396 100 Click 396 120 Click 396 160 Click 396 180 Click 620 ...

wif - How do I increase session timeout with W.I.F / SAML tokens / FedAuth cookie -

I think the default timeout is something like every half hour. I want to change it, have anyone got any idea for 2 weeks? Is this usually done with the STS side or the client side? Is the form validation going on the way, or is it irrelevant now? Continuous cookiepeasive repeaters should be enabled on RP Your web You need to configure it in: & lt; Microsoft.identitymodel & gt; & Lt; FederatedAuthentication & gt; & Lt; WsFederation persistentCookiesOnPassiveRedirects = "true" /> & Lt; CookieHandler Continuous session session = "60.0: 0: 0" /> & Lt; / FederatedAuthentication & gt; & Lt; /microsoft.identityModel>

Form post asp classic xmlhttp -

I am trying to post a form from another site which is not mine, but I can not give it an error I am This post is mounted on the site like this: & lt; A href = "javascript: document.result.submit ()" class = "lnk-more" & gt; Veja o advance to lead a »» » / A & gt; & Lt; Br / & gt; & Lt; Br / & gt; & Lt; Form name = "results" verb = "http://enquete.terra.com.br/enquete.cgi" method = "post" & gt; & Lt; Input type = "hidden" name = "id_enquete" value = "144143" & gt; & Lt; Input type = "hidden" name = "oppo" value = "0" & ​​gt; & Lt; / Form & gt; And I'm riding this ASP script to create this post: & lt;% dim objHttp dim str str = "Id_enquete = 144143 & Opcao = 0" objHttp = Server.CreateObject set ("Msxml2.ServerXMLHTTP") objHttp.Open "POST", "http://enquete.terr...

x86 - Is it possible to vectorize a multiplication in VC++ without SSE4? -

I want to vector a multiplication operation. I tried to use _mm_mul_epi32 , but my CPU only has support for "MMX, SSE (1,2,3,3 s), EM64T" instruction. Can someone please tell me I can use any other function? It depends on the limit of your coefficient - this is 16 beats then SSE 4 (for example mm_madd_epi16 , mm_mulhi_epi16 , mm_mullo_epi16 , mm_mulhrs_epi16 , etc.). If you need 32 bit operands but they are unsigned, then you can use mm_mul_epu32 . Alternatively, you can find float conversion in float and SSE useful in SEE, and if this requires improvement through 4x SIM then cost can be justified.

jquery - Where do you put the value for the datepicker -

I am using datepicker in jQueryUI and require inline dates. The documentation says that instead of an input tag, a div is configured with .datepicker. However, I can not find a way to specify a date for the picker to display by default. You can have "value" for input but what do you do with a div ??? say: through a date object or current Specify a string in the date format as a string, or a few days of today (like +7) or a string of values ​​and periods ('Y' for the year, 'm' for the month, 'w' for the week ',' D 'for the day, like' + 1m + 7d '), or weak for today. Therefore, you want to make sure that data.resFullDate is similar to dateFormat , such as $ ("#datepicker"). Detector ({defaultDate: data.resFullDate, // eg 10-03-28 date format: 'yy-mm-dd'});

C# foreach question -

क्या C # में निम्न कोड के लिए कुछ प्रस्ताव है (refactoring terms) : मैं संभवतः जोड़ी के प्रत्येक (एक्स, एक्स) के लिए जैसे एक कॉल के साथ दो foreach कॉलों को बदलने में सक्षम होना चाहूंगा / यह किया जा सकता है? foreach (अनुक्रम में छवियाँ 1)। {Foreach (अनुक्रम में छवि image2) {if (image1! = Image2) {Metric.SetImageMetric (नई ImagePair (image1, image2), 1.0); }}}} अजगर के itertools.product के रूप में काफी कुछ नहीं है ( ) , लेकिन आप लिनक का इस्तेमाल कर सकते हैं, जैसा कि ब्लॉग द्वारा किया गया है।

c# - XNA Cards Games -

I want to create a card game using C # and I get some API that gives me access to the card , But this API C ++ requires a wrapper. Are there some methods of XNA Framework to use the card for card games like Card.dll? A short answer: No, there is no card API for XNA unless my Google-Fu is terrible is not. I do not think it will be difficult to roll your own. It is very basic, you only need the card array, card / color on card and every card on the card. Flipped or not. For card display order, you can use the Sprintbap Depth Parameter so that you do not worry about relying on your card array. I also have graphic cards in a single textured sheet to avoid switching expensive textures all in real time.

c# - Execute file in resourses folder without copying it to disk -

Image
I have the executable file in the resource folder. I am able to find the file by typing that file on disk and file the file Using Process.Start method to run executable Here's an example of how I do this: How can I execute a file without writing to disk? Is there any way that I can execute the file from memory? Or maybe execute it directly from the Resources folder? You can not do one of the very hard press requirements of Windows, an executable is present on the disc This is fundamental to its architecture, slowing down malware authors is a pleasant effect. If you want to know more about it, then Google "Memory Map File"

rotation - Javascript rotate image with mouse coordinates -

Image
I am using a vertical effect which is the mouse position of users (http://webdev.stephband.info/ jparallax / Index.html). I am trying to find out in a way that the ball will rotate too. So it will appear as if the user transfers his area on the mouse, runs on the ball screen. I have found some JavaScript examples that show how to rotate an item on a mouse click, I do not just put all this together in JS to make enough lid. P> This is more tactical advice than a reply, but the rolling ball To look realistic, make sure that it rotates at the rate that corresponds to the circumference of the ball otherwise it will look fake.

regex - Php Regular Expression to Replace href=“URL” to onclick=myfunction(URL) -

With Php, I want to convert all the links to the Javascript function, for example: From: & lt; A href = "URL" & gt; ABC & lt; / A & gt; to ex> $ doc = new DOMDocument (); $ Doctor & gt; LoadHTML ($ HTML); Foreach ($ doc-> getElementsByTagName ('a') as $ elem) {if ($ elem-> hasativity ('href')) {$ elem- & gt; Set attribute ('onclick', 'some function (' .json_encode ($ elem-> getAttribute ('href')) ')'). $ Elem-> RemoveAttribute ('href'); }}

firefox - Programmatically create new tab on SAFARI works as new WINDOW instead -

Using _newtab or _blank, any browser should be able to open a new tab for a given link. I have tried that works for the site of a project and both Firefox 4 and Google Chrome but Safari 4.0.3 always opens in a new window. How can I force the Safari to open a link in a new tab? Does this problem have something to do with Safari settings ...? ASAP help, thanks a lot! As stated: This Safari is in the setting

iphone - ios - UITableViewCell programmatically or in IB? -

First of all, let me know that I am interested in performance for my tableview, because there is a lot of data in every cell Some pieces of What is my thinking, is it a better idea to program my table view cell program or use the interface builder? What are your professional and cons to each? If you have many UILBables UITableViewCell, there may be an impact on the display. Try entering a cell in the IB, make sure the cell identifier in the IB matches the cell identifier, which you are using dequeue in the code. Also make sure that all labels are set on opaque, because this will help in performance. Whatever is done, use profiling with the core animation tool on the device and try to scroll the table when you scroll, you will get an FPS reading - 20 fps is a bit choppy , But acceptable, far below it is actually choppy, a target will be 30 fps or more. If the display is not good, or if you have a transparent label due to the background you're using, consider usi...

I am using this code in php which show -

संभावित डुप्लिकेट: त्रुटि: चेतावनी: हेडर सूचना को संशोधित नहीं किया जा सकता है - हेडर पहले से ही भेजे गए हैं (C: \ Program Files \ VertrigoServ \ www \ alok \ cookies \ Time \ session.php पर शुरू होते हैं: 5) C: \ Program Files \ VertrigoServ \ www \ alok \ cookies \ टाइम \ session.php पंक्ति 8 पर & lt;? Php session_start (); $ निष्क्रिय = 10; $ Session_life = समय () - $ _SESSION ['टाइमआउट']; गूंजें "$ session_life"; यदि ($ session_life & gt; $ निष्क्रिय) {session_destroy (); हेडर ("स्थान: लॉगआउट.एफ़पी"); } $ _SESSION ['टाइमआउट'] = समय (); ? & Gt; आप पहले से ही "$ session_life" गूंज किसी भी अन्य डेटा का प्रिंट होने से पहले हेडर को भेजा जाना चाहिए

cancan - Spree Custom Roles Permissions -

I am trying to give some custom roles within specific custom permissions This answer has not been found anywhere role_ability.rb Role of the class Cancen :: Ability Deaf Initialize (user) user || User.new # if user.has_role for guest? What can "Administrators" do: Management, All Elsf user.has_role? "Retailer": can manage, product and can: be read: all end and end I thought it could be a popular idea that the user should manage the role manager Management and some other models ... If I change elsif user.has_role? "Retail" can: management, product to elsif user.has_role? "Retailer": can manage, all it does the requisite work ... I can use all administrative areas I only "retailer" Be able to: Tho manage the products !! ;) "Administrators" have a role associated with only one user, i.e. all roles are users. You can probably see where it is, retailers can sign up and sell items To do this, the...

iphone - Releasing custom class object -

मेरे पास एक क्लास है जिसे रेस नाम का अनुसरण करें @interface Res: NSObject {int _id ; NSString * _name; NSString * _comments; // ... और कई अन्य वस्तुओं के लिए } @ प्रॉपर्टी (नॉनैटोमिक) इंट आईडी; @property (nonatomic, retain) NSString * नाम; @property (nonatomic, retain) NSString * टिप्पणियाँ; मेरे विचार पर मेरे पास एक यूआईटीबल दृश्य है, मैं यूआईटीडेफ़ील्ड में यूआईटीएफ़फ़ील्ड के भीतर यूआरएबल वीक्सेल के अंदर मान दर्ज करूंगा, इसलिए मैंने कोड नीचे जोड़ दिया है - (UITableViewCell *) तालिका दृश्य: (UITableView *) तालिका दृश्य सेलफोराअटइंडएपपाथ: (NSIndexPath *) इंडेक्सपैथ {// कोड सेल स्विच बनाने के लिए (indexPath.row) {केस 0: // लेबल [[सेल टेक्स्ट लैबेल] setText: @ "नाम:"]; // टेक्स्टबॉक्स यूआईटीफ़ेस्ट फिल्ड * _txtName = [[यूआईटीईफ़िक्फिल्ड एलोक] इनिटविथफ्रेम: सीजीआरएक्टमेक (100, 0, 180, 44)]; [_txtName सेट अस्वीकृत: स्व]; [_txtName सेटटैग: 0]; [Cell.contentView addSubview: _txtName]; [_txtName रिलीज़], _txtName = शून्य; टूटना; मामले 1: // ......} अब जब उपयोगकर्ता टेक...

Android app exit, which Mechanism to use? -

There are ways to exit the following application 1. ActivityObject.finish (); 2. Runtime.GetRime () Exit (0); I should know how it is being used & amp; When ? If there is any other way please tell me thanks in advance Shrenik It's usually not good to get out of an app in Android. This is against Android nature before reading something before reading it.

how to send email from an android application -

मैंने अब तक यह कोशिश की है register.setOnClickListener (नया OnClickListener () {@ । सार्वजनिक शून्य onClick (देखें v) {प्रयोक्ता नाम = username.getText () toString ओवरराइड ();। ईमेल = email.getText () toString (); println ( "रजिस्टर बटन क्लिक किया"); System.out। println ( "उपयोगकर्ता नाम है:" + प्रयोक्ता नाम);: ( "पाठ / सादे") i.setType; आशय मैं = नए आशय (Intent.ACTION_SEND), println (+ ईमेल "ईमेल आईडी है") i.putExtra (Intent.EXTRA_EMAIL, ईमेल); i.putExtra (Intent.EXTRA_EMAIL, ईमेल); i.putExtra (Intent.EXTRA_SUBJECT, "तुम एयरो इंडिया के लिए पंजीकृत हैं"); i.putExtra (Intent.EXTRA_TEXT, "जाओ इस ई-मेल से बाहर प्रिंट, जबकि आयोजन स्थल के लिए आ रहा "); try {startActivity (Intent.createChooser (मैं," मेल भेजें ... "));} पकड़ (android.content.ActivityNotFoundException पूर्व) {ex.printStackTrace () ;}}}); import android.app.activity; Import android.content.Intent; Importroid.os.Bundle; आयात करें android.view.Vi...

c# - How can I programmatically subscribe to all the events of an object? -

Text after "div class =" itemprop = "text"> I subscribe to events highlighted by 3rd party component like a WPF GridView in All I'm trying to order some debugging in addition to the suggestion that it can not be as well as debugging and stuff, like I would like to know that it can be done. Rooted events worked fine like this: var type = tree.GetType (); Do {var staticFields = type.GetFields (bidding flag.static | binding flag.medical); foreach (var in staticFields staticField) {if (typeof (RoutedEvent) .IsAssignableFrom (staticField.FieldType)) {tree.AddHandler ((RoutedEvent) staticField.GetValue (zero), New RoutedEventHandler (OnRoutedEvent), true); }}} While ((type = type.BaseType)! = Type (object) / * & amp; amp; FULLName.StartsWith ("Telerik") * /); Public Zero OnRoutedEvent (Object Sender, System.Windows.RoutedEventArgs e) {Debug.WriteLine (e.RoutedEvent.ToString ()); } However, with typical events this does not seem to work. ...

How to parse a xml type HTTPResponse in Android -

I have an Android app, where I use the POST method to get the answer. Here's my code: ................................... ....... HTPRPS section http rpspoice = httpclient.execute (httppost); HttpEntity resEntity = httpResponse.getEntity (); This works fine and I get a response in XML format but I have to parse that XML file and get node value. I tried to do this: DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance (); DocumentBuilder db = dbf.newDocumentBuilder (); Document Doctor = DB Parse (new input source ()); Doc.getDocumentElement () Normal () .; But I do not know what should be given to new input source () because I do not want to use a XML type HTTPResponse URL. Thank you! Thanks everyone for the answer. I have just found a way to overcome my problem.

android - Global Variable with extended Application Class -

I used to use but when i get variable im error: 03-28 09: 01: 36.492: Warning /System.err (706): java.lang.ClassCastException: android.app.Application What's this? I changed my code to & lt; Application Android: name = "MyApplication" Android: Icon = "@ Drawable / Icon" Android: label = "@ string / app_name" & gt; After I shut it off I did not even work it before even doing it. Edit: OK, because this is my application twice, now I had added it to the application which was created by eclipse but now it needs permission ?! EDIT2: Got it! I believe the problem with the duplicate application file has not been fully solved from the file Completely remove the manifest file, go to the Applications tab, confirm that the name field is empty. Add the name of your application file there and click on the link. This will make the application file again. Hope it helps.

i want to do seetings for proxy in android emulator -

& gt; एडीबी खोल # sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db sqlite & gt; सिस्टम मूल्यों में डालें (99, "http_proxy", 'प्रॉक्सी: पोर्ट'); sqlite & gt; .exit लेकिन यह अस्थायी समाधान है .... मैं प्रतिमान करना चाहता हूं ... जब मैं अपने एमुलेटर को पुनरारंभ करता हूं तो मुझे फिर से सभी सेटिंग्स सेट करना चाहिए..इस समस्या का हल क्या है ....

URL in rails 2.3.10 -

O People! How can this possible: http: // localhost: 3000 / questiond_id = 5 & token = 734893789568495 (They will have only one question and token (unique) and all of them) ? In Routers.rb? Or where? Thank you very much! You can reach the rail as you like: http : // localhost: 3000 / questions / 5? Token = 734893789568495 In Routes. Rb file resources: question You can restrict it with only one option if you do not want to take another action. For this, you can use the show action of the controller and your path will be like this question_path (: id = & gt; 5,: token = & Gt; '734893789568495 ')

asp.net - Is there a mono alternative for IIRF isapi rewrite filter? -

I am transferring some ASP.NET projects from Cherokee / NGNX to IIS and I need a solution for url rewriting is. I'm using (great project), but it only works on IIS Rewrite a URL - In a handler in Cherokee: You should be able to rewrite the URL with it.

blackberry - Better method of hadling navigation flow in app -

I have different screens in my app and for each screen, I have a button that is a new screen One button is clicked to push - QuizButton .set change listener (new field change listener) {change public zeros field (field field, favored context) {UiApplication .getUiApplication () .PushScreen (new customsin ());}}); Is there another 'MVC-like' method to handle navigation flow or not? whenever you want to push a new screen you create a square Which enhances the main screen and whatever manual object takes, the constructor in the constructor and in the logic presses the next screen as the constructor. So whenever you are ready to navigate this to your project, then create the object of this custom class and send the screen object as an argument to the constructor

Android Signed APK showing incomplete -

I signed the application using Eclipse Export Wizard. When I published it, users started complaining that the application is behaving incorrectly. (Originally, the APK did not have the necessary picture and audio and therefore showing wrong behavior). Some information on the application and signings that I have tried I have a lite version and a paid version. Both have been signed with the same keypair. Lite version is working perfectly and giving full version error. I have tried to export the signed packages again and tried to install directly on the device (instead of uploading the market) Both the full version and the light version Using the Shared Library (code base is the same.) The difference is as follows. The full version is the 5-fold processing of the light version. The light version is APK ~ 2.6 MB and the full version is ~ 10.4 MB. Absolute cult In the RAN I have 170 images (mostly PNG of 5-10 KB) and ~ 55 MPS files. In the version I have 45 images and 15 MP3...

c# - UpdatePanel inside Repeater -

In my UserControl, I am trying to update an updated panel which is in such a repeater: / P> HTML-mark & lt; Asp: UpdatePanel id = "updDocumentQuickView" runat = "server" UpdateMode = "conditional" & gt; & Lt; ContentTemplate & gt; & Lt; Asp: repeater id = "repofolders" runat = "server" on item data = "repoders_ontamadatabase" on item command = "reporter_onlinecomment" & gt; & Lt; ItemTemplate & gt; & Lt; Asp: LinkButton id = "lnkFolder" runat = "server" & gt; & Lt; / Asp: LinkButton & gt; & Lt; Asp: UpdatePanel id = "update files" runat = "server" updatemode = "conditional" & gt; & Lt; ContentTemplate & gt; & Lt; Asp: Repeater id = "repFiles" runat = "server" on item data = "repFiles_OnItemDataBound" & gt; & Lt; ItemTemplate & gt; & Lt;% # Conta...

iphone - Will it be a constraint for App approval by AppStore? -

I am considering optimizing the UIAlert view in my application. I want to show this image with this message, according to the situation (such as error, warning, etc.), warning view, when I am warning the user. I'm not going to expand my customized warning view from UIAlertView (and I'm sure it's possible) instead it will be standard with standard methods according to my requirements from IIView. Will Apple reject my app if I change the look and feel of the warning functionality? I do not think so ... There are thousands of ways to present a warning to the user if it UIAlertView or custom view, I do not think Apple will reject our app for this ...

Customizing the Bash prompt to include number of suspended processes -

I have read and I would like to add the number of prompts which are currently suspended by pressing ctrl + z. . According to that list, I have to use \ j to be able to complete it. Ideally, I would like to add : (number) at my prompt which is more than zero and regular and white if it was zero If this "if" behavior is not possible, then I could always read it white and regularly. Can anyone help me with this? Below is the output of my PS1 variable. Farmer @ dev: ~ / testDir $ echo $ PS1 \ [\ e] 0; \ U @ \ h: \ w \ a \] $ {Debian_chroot: + ($ debian_chroot)} \ u @ \ h: \ w \ $ Thanks! PS1 = '... ...: [$ (((\ \ & Gt; 0)) & amp; amp; amp; amp; amp; amp; amp; [amp; \ j \ [$ (tput sgr0) \] ... '

optimization - scheduling problem- using excel solver with binary constraint -

I am using a solver in Excel to solve a linear optimization problem. I want the solution (the number excel will count) to be binary I set the binary as an obstacle in the sovler and also set the barrier with equal or equal to 1 or 0, but the program does not solve Will! Numbers end, like .99 ..., .83 ..., etc. idea? Even if you can get it with a spreadsheet software like Excel I do not recommend it. Spreadsheets software has poor numerical accuracy, see.

asp.net - Need advice on adding items to Shopping Cart -

I'm going to implement the original shopping cart. I've already done this already, but looking for a better way. In fact, the way I first set up the table, it was like this: MyCart table: UserId ProductID Quantity TotalPrice 06 PID08 1 499.00 06 PID06 2 200.00 06 PID04 1 499.00 06 PID01 1 499.00 06 PID09 1 499.00 02 PID25 1 499.00 As you can see, there are only 2 customers in their cart Items are added 06's There are five items in the shopping cart and items in the shopping cart 02 . I'm thinking that it would be better to insert an array, instead of just adding and adding and adding, but what about a list? Can you add a list to the DB table? How do you add items to a "cart"? This is almost exactly how I will implement it, except that I have GUIDs as keys Appears to be used. However, you should not store the price in that table; It can be easily calculated by multiplying the price of the product on the basis of quantity. If you all...

C# LINQ Ignoring empty values in datatable -

I have a statistic that I have grouped as follows: var result = data From {group = data.Field & lt; String & gt; New Group {gr.p.Key.Group, PRAS = grp.Average (c => Convert. ToDouble (c.Field & lt; String & gt; to view ("group_no")} Now, the average function is also calculating empty cells in its calculation. For example, with 10 cells populated with only 5 values. I want the sum of 5 values ​​divided by 5. How can I ensure that what I want? Thanks. Maybe something like this: PRAS = grp.Select (line = & gt; row.Field & lt; string & gt; ("PAKT Total"). Where (S => String.IsNullOrEmpty ()). Repeat (convert.). Additional ()

asp.net mvc - Is it possible to have an MVC 1 csproj file that will be compatible with both VS2010 and VS2008? -

I have a partner who is using VS2008 and I am also, but I want to switch to VS 02010 . He is not going to switch, but as soon as I switch, I have to change the project (which really does not go smoothly and takes some time to decide) and if I return it to the repo So it will not work on it for everyone. Is there any way to use our version of both options? I do not want to change it every single day ... There is no easy way to do this Both of you You do not need to stay on the same version as long as you do not want these types of headaches. You can create two CSProj files, you can commit both and open the one you want to work with; But whenever you update the project with a new class, it still does not handle it in maintaining it.

Can we pass an array as parameter in any function in PHP? -

I have a function to send mail to users and I give one of its parameters as an array of IDs Want to Is this possible? If yes, how can this be done? Suppose we have the function: function text message ($ id, $ userid) {} ​​ $ id should be an array. You can pass an array in the form of logic, it is copied by value (or Which essentially means to you), so that you can like array_pop () (and similar) to everyone and nothing will affect it beyond. function sendemail ($ id, $ userid) {// ...} sendemail (array ('a', 'b', 'c'), 10); You can actually accept only one array by entering its type in the logic signature of the function ... function sendemail (array $ id, $ Userid) {// ...} You can also call the function as an array with your arguments ... Call_user_func_array ('sendemail', array ('argument1', 'argument2'));

java - JAXB Nesting a Collection -

I am having trouble creating a collection of JACAB objects within another JACAB object, with some of my structure Seeing the problem below? I get an empty pre-user array list using the following empty code: string test = "STO-request" gt; user-id & gt; 3119043033121014002 & lt; / User ID & gt; & lt; Pre-User-ID & gt; & lt; User-Id & gt; 3119043033121014999 & lt; / User-Id & gt; & lt; User-Id & gt; 3119043033121014555 & lt; / User-Id & gt; & lt; / Pre-User-ID & gt; & lt; / SS-request & gt; "; SSORequest ssoRequest = null; Try {JAXBContext jaxbContext = JAXBContext.newInstance (SSORequest.class); Unmarshaller unmarshaller = jaxbContext.createUnmarshaller (); SsoRequest = (SSORequest) unmarshaller.unmarshal (new string reader (test)); } Hold (exception e) {e.printStackTrace (); } @ XmlAccessorType (XmlAccessType.FIELD) @ XmlRootElement (name = "SSO-request") public class SSORequest {@XmlEle...

group by date in linq -

I have a table in which the datetime null field in the SQL server is to group results based on the year of that region I am trying. But, when I wrote a Linux query, I did not get intensive for the year for that area. It only shows HasValue and value because I think it changes the faucet type, how do I group in this case? You must group the group's value on year Nullable & lt; DateTime & gt; such as obj.DateTimeField.Value group obj In G

sql - Translate this MySQL query to PyGreSQL -

I am working on a Ruby app which uses the mysql function XOR (^) and BIT_COUNT (). However I now need to run an app on Herakok, which runs PyGreSQL. I can not find any documents for PyGreSQL bits that can help me. Anyone can translate this mysql query so that it will work when the pygresql is executed on the database? SELECT * FROM "photos" WHERE BIT_COUNT (phash ^ 2061756291569501157) & lt; = 15 pygresql gives me an error error: operator does not exist: text ^ bigint thanks . Select where the photo (SELECT SUM (((phash :: bigint # 2061756291569501157) ) & Gt; & gt; bits & amp; 1) Generated_images (0, 63) bit) & lt; = 15

How can I prevent MS Access from connecting to my MS SQL Server database? -

MS Access is the cause of many performance issues used to connect to SQL Server. How can I stop MS Access from connecting to my MS SQL Server database? He adds as a user

java - Cannot run single unit test with JUnit and Eclipse for data-driven testing -

I have snatched this problem from all unnecessary complexity and attached two files for clarity. In reality, I want to load the required input to test from the database. In the example, I have a map of the suit in the suit category instead of the result from the query. I have a complex comparison instead of simple one in the way of TestOverride . Basically this way I had to solve the database (suite map) in a dynamic way to create a test suite through a test. Apart from this, it is important that when I run it with eclipse, I can see the test name. If you run suits (just click on it and take it on eclipse) it works great. The only test being passed is test4, however, I want to be able to run a single test with this type of construction (a single suit would be good, but I would be happy with the same test). In other words, after running all the suites, I would like to go to the Junket Window, right-click on a single test and run it. If I do this then it does not work. I am ...

iphone - Airplay sample Audio -

In my app, I need to create a video with audio. I am now using the Air Play model but in it Only video is produced and I need to create a video with audio. Help me solve any problem. Regards, First of all, you need to increase your acceptable rate is. Second, it's enough for what you are asking for. I am not familiar with air play, but have to start with my suggestion. This will introduce you to core-audio and give you a template to access the audio input. I highly recommend for the visual aspect that provides a lot of example code It will take a while to assimilate both materials, but you will end up with a better application .

javascript - CSS determining active media query -

There is no direct way to determine which media query is active in javascript (not included in parsing css code is)? For example, I have two questions: @ media screen and (max-width: 800 px) media screen and (minimum-width: 801 px) / Code> Without parsing and viewing the client, how can I tell which of these is evaluated? Although this is an old question, when it ranks high on googling for the problem . is official and supported by (IE10 +) and will allow you to query certain media queries currently matching. From the original question: if (window.matchMedia ('screen and (max-width: 800px)').) {Matches} // match it } And {// do not match} You can also listen for that query when the result of that query code is returned to that window.matchMedia again Start Ns: var mql = window.matchMedia ('screen and (max-width: 800px)'); Mql.addEventListener (function (mq) {if (mq.matches) {// matches it} else {// do not match}});

objective c - Extract the text between the two substring in NSString -

I need to remove all the lines between the two stars, such as start and end in nsstring For example, & lt; Some text & gt; Start Line 1 Line 2 & lt; Some text & gt; Start Line 1 Line 2 Completion I need to discard all the lessons that are not coming under these blocks. Any idea how to do it see -componentsSeparatedByString: in NSSTING DOCUMENTATION.

java - JNI - problem with threads and jobject -

I have said a native program that creates another thread, which adds itself to JVM. Now I want to reach JVM's methods, but it fails. Here's the code: // // This is the original work that is called first. // It's running which creates another thread, and also calls printing-methods in my // Java applet. // JNIEXPORT void JNICALL Java_EIGC_1Applet_app_1_native_native_1start (JNIEnv * jenv, job job) {printAppletConsole (JONV, job, "unused ATM"); // Save current Java VM; // save the main applet class; // Used by the main thread jenv-> GetJavaVM (& amp; applet_java_jvm); M_job = Job; // Start working and start it applet_thread_main = new EIGC_Applet_thread (& amp; main); Applet_thread_main- & gt; Start (); } // // This is the running thread that was created // it will float and will call the printing method in the applet // unsigned __stdcall main (zero * args) {// JNIEnv JNIEnv * jenv = new JNIEnv (); // JVM applet_java_jvm- & gt; Attach thre...

jquery - Disable user to leave page in certain cases (javascript) -

I have seen many examples that the user has to ask if he really wants to leave the currently opened page, but I Never seen a code which warns about leaving a page, if it's going to some pages, while silently allowing it to other pages. Actually, I'll need a property that is clicked on the href URL of the page in the future (or some other event triggers). Thx Similar questions: Onbeforeunload It is possible to capture the incident What is not possible to do this, the URL will have to go to the URL of the page, an unconventional hack has to get the URL of the link provided on the last link, but the user's privacy Infringes on

Handling ExtJs 'fileuploadfield' on the server using ASP.NET MVC? -

I have a simple ExtJs form panel in which the file is uploaded field. When I submit the form to the server, all the major value form Values ​​are sent to the server, but the key values ​​do not pair for the file upload area. Does anyone know why this is? (I have attached a few code snippets below) In addition to how can I manage uploading on the server. That is, I would like to upload an image to the server and save it from anywhere on the server? Public JSOUSsetTemplate Experiment Details (string first name, string photopath) {GetData Data = Representative {Return Repo. (First name, photopath); }; Jenson resultbusjesurzult = getageanrilt (data); Jenson Result Jason = Portal Jackson Result (Jessenley Rezultate, Jason Yunus Behavior Alove Gate); Return json; }}}} {Item: 'firstname', xtype: 'textfield', name: 'firstname', maximum length: 10, permission box: wrong}, {xtype} : 'Fileuploadfield', id: 'form-file', empty text: 'select an im...

Sql Sum OF related Tables -

itemprop = "text"> This is the SQL statement: select dbo.tblWorkflow.WorkflowName, IsNull ( (Select the sum (dbo.tblSchemaOperation_Execution.ExecutedQuantity * dbo.tblOperationItemPrice.UnitPrice) as the amount dbo.tblSchemaOperation_Execution Join from within dbo.tblOperationItemPrice dbo.tblSchemaOperation_Execution.OperationID = dbo.tblOperationItemPrice.OperationID Group by dbo.tblSchemaOperation_Execution. SchemaYear, dbo.tblSchemaOperation_Execution.SchemaNO (dbo.tblSchemaOperation_Execution.SchemaNO = dbo.tblWorkflowActivtyInsatnce.SchemaNO) and (dbo.tblSchemaOperation_Execution.SchemaYear = dbo.tblWorkflowActivtyInsatnce.SchemaYear)), 0) dbo.tblWorkflowActivtyInsatnce Inside as ActualAmount Dbo.tblWorkflowActivtyInsatnce.WorkflowID = dbo.tblWorkflow.WorkflowID on interactive dbo.tblWorkflowActivtyInsatnce.WorkflowActivityID = dbo.tblWorkflowActivity.WorkflowActivityID where dbo.tblWorkflowActivity JOIN (dbo.tblWorkf lowActivtyInsatnce.StartDate is not z...

asp.net - Using Varnish for cache along with IIS -

Can we use a varnish cache server to serve ASP.Net pages? My intention is to host another cache server to improve performance by the most access and shared data caching. To hire another IIS server, it will have to spend again. Instead, can I use another cache server to store web pages like varnish / squad and serve cached data? Varnish can be used to cache IIS data, but the real question is whether it will speed up the IIS in the first place? It depends on the loading of your IIS server, but seeing that caching will be relevant (actually making things faster), then you probably have to test the second, more scalable options Will benefit from this.

android - Can a Gridview have both an onclick and onitemclick listener? -

I have a gridview for employing an image adapter. At present, a person can click and long click each individual image in Gridview. I am trying to add functionality so that anyone can click on the gridview, which is to say that there is no space filled with image adapters. This is my endeavor like this: mGridViewWords.SsetAdapter (new AACButtonAdapter (this, button_size, TouchButtonAdapter.TOPIC_WORDS, MDB)); MGridViewWords.SsetOnItemClickListener (New OnTimeClicklist) {ITEMClick on Public Zero (adapterview & lt ;? & gt; parent, v, int position, long id) {AddWordButtonAction (TouchButton) v)}}); MGridViewWords.SsetOnClickListener (New SelectViewListener ()); MGridViewWords.setOnItemLongClickListener {New BooleanOnLogClickListener} {Public Boolean ON ITEM LongClick (adapterview .setOnClickListener () , I get this error in the logcate: Java.lang Runtime Exposure: Do not call set-clickclicks for an adapter view. You might want to set up instead of setOntemeClickList I...

c# - Need domain modeling advice - hopefully common scenario -

And thank you in advance for your time. We are using CSLA 3.5.1, however, eventually, there can not be much in the problem with CSLA. My company has gone very far from the road of a normal modeling error and it is facing end. I have simplified the following domain objects to clarify the problem: We have definition of 3 sections like: Class person: BusinessBase class student: person class teacher: person We are using NHibernate for our ORM, and students and teacher classes in our sub-sections of the person in our mapping Have joined (we have individuals, student and teacher tables), one Utpnn key as using PersonID. The problem, as you can guess, now we have a situation where the student can also be a teacher under the current item and the data model, it causes a primary key violation, when We try to add a student who is already a teacher or vice-versa. Question one: Is there a CSLA magic that I can perform if not ... In researching this problem, I have to solve i...

encryption - Moved asp.net site to new server, getting "Key not valid for use in specified state." error -

I have set up a new, clean servers to run our asp.net 4 website. I imported the configuration of one of the existing servers, copied it to the wwwroot folder, and imported the PFX file from the "old" server. The new server process the following error throws during the payment of our website shopping cart and carriage: [CryptographicException: Key is not valid for use in specified state .] System.Security.Cryptography.ProtectedData.Unprotect (byte [] encryptedData, byte [] optionalEntropy, +15 data Protekshnsscop Scope) +374 Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ProtectedKey.Unprotect () Microsoft.Practices.EnterpriseLibrary .Security.Cryptography.SymmetricCryptographer.Decrypt (Byte [Encrypted Text] +66 Microsoft.Practices.EnterpriseLibrary . Security.Cryptography.SymmetricAlgorithmProvider.Decrypt (byte [] cipher) 187 Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.DecryptSymmetric (string symmetricInstance, byte [] cip...

vbscript - Session.Property in WiX custom actions -

I'm converting from InstallShield to install in WiX. One of the custom actions is VBScript, which is the reference session. Property ("SETUPEXEDIR") which represents the location of the setup files in InstallShield. When the script runs through YX, the expression evaluates an empty string. How do I get that value inside a VBScript for a Wix custom verb? Thank you! If you do not do this, the value is InstallShield Setup.exe (if using one) MSI has a public property with no setup.exe, you have no assets. The MSI will have the closest asset built in to get the directory to get the values ​​parsed in VBScript. Property ["Basic Database"] will be used.

iphone - errorLog error in xCode4, wasn't there in beta -

I'm trying to compile an app which works fine in xCode4 beta, but I have these errors Version: Error: Expected Identifier or '(' Before 'if from "From This Line in MPMoviePlayerController.h: @ property (nonatomic, readonly) MPMovieErrorLog * Errorlog NS_AVAILABLE_IPHONE (4_3); and: the same error on this line AVPlayerItem.h: - (AVPlayerItemErrorLog *) Errorlog NS_AVAILABLE (10_7, 4_3); MediaPlayer I use Apple sample projects and that the app delegate adjust header: # import & LT; UIKit / UIKit.h & gt; #import "MyMovieViewController.h" @interface MoviePlayerAppDelegate: NSObject & LT; UIApplicationDelegate, UITabBarControllerDelegate & gt; {UIWindow * window; MPMoviePlayerController * movieplayer; UITabBarController * TabBarController; MPMovieErrorLog * eRrorLog; } @ Property (Nonomatic, Retaining) IBOutlet UIWindow * Window; @protecti (nonomatic, reserved) IBOutlet UITabBarController * Tabbar Controller; @protec...

resources - Bioinformatics databases with negative results? -

Bioinformatics databases such as BioRGR collect many interaction results for protein and genes in different species from a variety of publications and experiments, but since all such combinations are not tested after drying with such conjugation test bias, and some Is tested more than once. Should not they collect all the negative consequences? Is there a resource that collects both positive and negative interactions systemically with high throughput and low throughput experiments? "post-text" itemprop = "text"> This can help: And So far I know that compounds such as non-hitting or non-binding medicines are present

c# - Is there a way I can make a div runat server? So i can turn it into a control? -

Is there any way that I can create a div runat server? So can I turn it into a control? In asp.net? EDIT: How can I tell my code below to create the div id = test runarat server? while (reader.Read ()) {System.Web.UI.HtmlControls.HtmlGenericControl div = new System.Web.UI.HtmlControls.HtmlGenericControl ("div"); Div.Attributes ["class"] = "test"; //div.Style["float "] =" left "; Div.ID = "test"; Image IMG = new image (); Img.ImageUrl = String.Format ("{0}", reader.getstring (1)); // this line to SQL syntax // img Need to represent in iJurl = "~ / UserData / 2 / UploadMag / Batman-for-Facebook.JPG"; Img.AlternateText = "Test Image"; Div.Controls.Add (img); Div.Controls.Add (ParseControl (String.Format ("& amp; nbsp;" + "{0}", Reader. GetString (0))); Div.Style ["Clear"] = "Both"; Test1.Controls.Add (div); } yes & lt; Div runat = ...