Posts

Vim displaying files incorrectly on Windows 7? -

I am using vim 7.2 on Windows 7 and sometimes files are displayed incorrectly. But when I scroll through the file I have given the links to the images. The first and second files are displayed incorrectly, whereas in the last one it appears properly (near the cursor). Images are from a C ++ file, but this display also happens when I'm editing the Tex files

internet explorer - C# UpdatePanel Update seems to be working in Firefox but not IE -

I have a page with many updated panels on it. First there is a panel in which there is an event to close the panel with the gridview and update the update panel - then populate a control in the second update panel. It works fine in Firefox but does not resemble false in the panel visible in IE = false. Gridview is not statistic, so it does not appear, but there is still a place. I hope Firefox works. The second update panel in IE shows that there are some buttons in it, etc. Clicking on any of these throws an error. Microsoft JScript Runtime Error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid Postback or Callback Argument. The event is enabled in the configuration configuration or at the & lt;% @ page EnableEventValidation = "true"%> one page. For security purposes, this feature confirms that the argument for postback or callback events arises from the server control that was originally provided to them. If the data is valid and expected, use th...

.net - CheckboxList input Not working in IE7/6 -

I modified the ASP.NET checkboxlist using CSS. The use of this display hides the input: None and I am able to click on Labels and Cause Postbacks in Firefox but when I click the label in the checkbox list in IE it does not work. What can be wrong here? My code: & lt; Div style = "padding-left: 15px;" & Gt; & Lt; ASP: checkbox list id = "CLL" runat = "server" autopostback = "true" repeat layout = "flow" CssClass = "cb" = "cblD_On selected indexchange" by changing the on-select index; & Lt; / ASP: CheckBoxList & gt; CSS: .cb input {display: none; }. CB Label {font-size: 80%; Background: #fff url (../images/x.gif) No-repeat; Display area; Width: 300px; Height: 15px; Padding: 1px5px030px; } Invisible elements do not trigger in IE instead of using hidden elements Due to postback, there would be a better way to use JavaScript if you really want to be creative, you can alert AJAX :...

mysql - python log view application -

I need a GUI application or web app, where I can see the python log information I can select any required format but it should work with standard logging module. I have configured my logs in the file but I wanted to be logged to store in mysql db (this is possible), but I need a user interface to view logs from a remote location. . Any recommended device or approach? database for logging as you use any Python DB-API 2.0 compliant database interface Handler can write. Again, of course, you can see the logs using any framework that allows you to get and display data through the web. Or, you can use the outlined approach using the log-in chainsaw GUI. Here's a screenshot: Just two views - there is no doubt in it.

sql - Can a superkey include things that aren't part of the primary key? -

Can things that are not part of the primary key? logically speaking, if the column X in column {A, B, C} and A are the primary keys, then {A} , {A, B} {A, C} and {A, B, C} are all superkeys because in those sets you have all Know the value in the line (if it exists.) However, for some purposes it is not considered as a key in SQL, e.g. If the table is y in A and b , then you no usually enter a foreign key Y A, B) References X (A, B) , because {A, B} is not the primary key if you want to be able to declare that foreign key, then you UNIQUE constraint has to be added to X (A, B) which is disabled as it duplicates the part of the primary key In my opinion, this SQL In many flaws A.

dns - Can (domain name) subdomains have an underscore "_" in it? -

क्या सबडोमेन (डोमेन नाम) में उनको _ अंडरस्कोर हो सकता है? यहां दी गई अधिकांश उत्तर झूठे हैं डोमेन नाम में एक अंडरस्कोर होना पूरी तरह से कानूनी है मुझे मानक का हवाला देते हैं ,: डीएनएस ही विशेष लेबलों पर एक प्रतिबंध लगाता है जो संसाधन रिकॉर्ड की पहचान करने के लिए उपयोग किए जा सकते हैं। यह एक प्रतिबंध लेबल की लंबाई और पूर्ण नाम से संबंधित है। [...] डीएनएस प्रोटोकॉल के कार्यान्वयन को लेबल पर कोई प्रतिबंध नहीं रखना चाहिए जो इस्तेमाल किया जा सकता है। विशेष रूप से, डीएनएस सर्वरों को एक क्षेत्र की सेवा देने से इंकार नहीं करना चाहिए क्योंकि इसमें ऐसे लेबल शामिल हैं जो कुछ DNS क्लाइंट प्रोग्रामों को स्वीकार्य नहीं होंगे। मूल डीएनएस विनिर्देश भी देखें, अनुभाग 3.5 "पसंदीदा नाम सिंटैक्स "लेकिन इसे ध्यानपूर्वक पढ़ें। अंडरस्कोर वाले डोमेन जंगली में बहुत आम हैं _jabber._tcp.gmail.com या _sip._udp.apnic.net की जांच करें। अन्य आरएफसी अलग-अलग चीज़ों के साथ सौदा करते हैं। मूल प्रश्न डोमेन नाम के लिए था यदि प्रश्न होस्ट नाम (या यूआरएल के लिए, जिसमें होस्ट नाम शामिल...

iphone - UITableViewCell variable height with multiple UILabels and IB -

OK, so I have a situation that is driving me crazy. I am loading a UITableView with a custom UITableViewCell Now there are some pairs of UILBL in this cell. The order is: Label 1 label 2 label 3 label 4 Now there is a certain height of label 2 label 1, label 3 and label 4 According to the size of the string their height will need to be changed. I am using the recommended method to calculate the height for each label: - Size Font: C Restricted: Touchs: Linebreaker MODED: UILineBreakModeWordWrap Overlapping but not sure how is the status of these labels? Or is there a better way to do this? Thanks Create the position of the first label, get its shape, and then Create the status of each subsequent label by the frame of the previous label For convenience, you can put this code in a different method, to call it once, the height of that code is -tableView: heightForRowAtIndexPath: To use in the delegate method, as well as the -tableView: cellForRowAtIndexPath: th...