Posts

How to Compile C# using a Text Editor in Linux? -

I'm a noob on Linux and in Windows, I write C # in Notepad ++ and using CScript Compile it. I have installed Linux Tent 17 and I want to write and compile from C # to creative text. How do i do this Install the Mono Framework () I'm not familiar with sublime text , But * to mono command line. Compile CC files mcs hello.cs or you can do just anything in mono development ()

asp.net mvc - ASP MVC 5 FilterConfig for custom exception with view in subfolder -

मैं अपने कस्टम प्रकार अनुपस्थित सेटिंग अपवाद के अपवाद को पकड़ना चाहता हूं, और एक कस्टम त्रुटि पृष्ठ दिखाता हूं। मैं प्रदर्शित करने के लिए दृश्य निर्दिष्ट करने के लिए FilterConfig का उपयोग कर रहा हूं: सार्वजनिक श्रेणी FilterConfig {सार्वजनिक स्थैतिक शून्य RegisterGlobalFilters (GlobalFilterCollection फ़िल्टर) {filters.Add (नया HandleErrorAttribute {ExceptionType = typeof (अनुपलब्ध सेटिंग), देखें = "गुम सेटिंग", ऑर्डर = 2}); फिल्टर। जोड़ें (नया हैंडलएररएट्रिब्यूट ()); }} यह काम करता है अगर मैं अनुपस्थित सेटिंग्स ~ / दृश्य / साझा में मेरी प्रोजेक्ट में रखते हैं, लेकिन I एकाधिक कस्टम त्रुटि पृष्ठों हैं और उन्हें ~ / views / error /...//>> पर एक सबफ़ोल्डर में रखना होगा यदि मैं MissingSetting.cshtml मेरे पसंदीदा स्थान पर, मैं समझ नहीं सकता कि मेरा फ़िल्टर सही दृश्य कैसे दिखा सकता है मैं एक त्रुटि पेज कहूंगा "आपका अनुरोध संसाधित करते समय एक अपवाद उत्पन्न हुआ। साथ ही, पहले अपवाद के लिए कस्टम त्रुटि पृष्ठ निष्पादित करते समय एक अपवाद उत्पन्न हुआ। अनुरो...

python - Django Form Submission Failing -

I am working on a small app that will save specific location information about the places you have made The problem I am experiencing is that clicking on the submit button does not seem too much on the 'Save New Location' page. This ... / locationlib / savenew /, which is considered URL which saves form input as a new model object, but both debugging according to the print statement and what really happens, never said that function goes. I have had success with other forms using the Django but this one I think is dripping. Can someone give me an idea about what is going on here? def New (requested): return render (request, 'locationlib / new.html') DEF savenew (request): printed 'savenew name' Name = request POST ['name'] Latitude = float (Request. POST ['latitude']) Longitude = Float (Request. POST ['longitude']) = print 'all variable sets' l = location (name = name, longitude = Longitude, Latitude =======================...

google chrome - Why does Java 8 from Netbeans hijack Java 7 running in my browser? -

Java 7 is my system default JRE on all new web browsers to JR 7 Configured to open, such as the default Netbeans has prepared Java 8 on a new instance, because its 'isolated' defaults (separate in the context of the rest of the system). Consider the scenario: Chrome is up and running fine, I'm inspired by code and then open Netbeans. When Netbeans loads, Chrome's Java is funky - I now have JavaScript Can not interact with applet (like Chatanda handshake does not happen, scrollbar becomes non-responsive, has a host of any other discrepancies). I take the steps to resume Chrome, and the frame does not either load out of the "defined" layout on the page, or do not stack. Keep in mind, I'm (deliberately) running any Java 8 program outside Netbeans. Why does this happen? My suspicion is that JRE8 system replaces pointers for API calls in AP .. I would agree that JR sandbox would expand in that machine version library, but it does not seem like that....

The compiler show error message when using ProjectExplorer in Eclipse Kpler -

मैं केप्लर में निम्नलिखित कोड का उपयोग करता हूं: कोड> प्रोजेक्ट एक्स्प्लोरर प्रोज एक्सप्लोरर = (प्रोजेक्ट एक्स्प्लोरर) प्लेटफ़ॉर्म यूआई.टवर्कवर्ब ()। GetActiveWorkbenchWindow ()। । GetActivePage () findView (IPageLayout.ID_PROJECT_EXPLORER); और मैंने org.eclipse.ui.navigator.resources.jar को जोड़ लिया है, हालांकि, जब मैं अपनी प्रोजेक्ट को संकलित करता हूं, यह एक त्रुटि संदेश दिखाता है: प्रकार org.eclipse.ui.navigator.CommonNavigator हल नहीं किया जा सकता है। सामान्यनैविगेटर में org.eclipse.ui.navigator प्लगइन में है, इसलिए अपने प्लगइन की निर्भरताओं को जोड़ें।

html - Bootstrap Center Form & Logo like Responsive Search Engine -

What would be the best way of a logo and form in the middle of the page when responsive? Currently, I have something like & lt; Div class = "container" & gt; & Lt; Img src = "logo.jpg" class = "logo img-responsive center-block" & gt; & Lt; Form role = "form" & gt; & Lt; Div class = "form-group center-block" & gt; & Lt; Div class = "input-group" & gt; & Lt; Input type = "text" class = "form-control" placeholder = "search" & gt; & Lt; Span class = "input-group-btn" & gt; & Lt; Button class = "btn btn-default btn-sm" type = "submit" & gt; & Lt; Span class = "glyphicon glyphine-search" & gt; & Lt; / Span & gt; & Lt; / Button & gt; & Lt; / Span & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Form & gt; & Lt; / Div & gt; The...

Not sure how to invoke the buying process for in-app purchases in iOS with Objective-C -

मेरे पास इस तरह एक विधि है - (IBAction) मेकपर्चज़: (आईडी) प्रेषक {UIAlertView * message = [[UIAlertView alloc] initWithTitle: @ "खरीदारी शुरू करना" संदेश: @ "बस ठीक दबाएं।" प्रतिनिधि: शून्य रद्द करेंट्यूटनटाइट: @ "ओके" अन्य बटनटाइटल्स: शून्य]; [संदेश दिखाने]; // अपने उत्पाद आइडेंटिफ़ार्स को किसी एनएसएसई में रखें और उचित उत्पाद अनुरोध (उदा। दृश्य में) में करें। SKProductsRequest * productRequest = [[एसकेपीप्रोडक्ट्सएक्वेस्ट एलोक] इनट विथ प्रोडक्टआईडेंटिफायर: @ "2"]; ProductRequest.delegate = self; [उत्पादकांड शुरू]; एनएसएसईट * उत्पादआईडेंटिफ़ार्सफोरपर्चज़ = [एनएसएसईटी सेट विथ ऑब्जेक्ट: @ "2"]; [[PlanIAPHelper साझा इंस्तांस] खरीद उत्पाद: उत्पाद]; } अंतिम पंक्ति में एक वाक्य रचना त्रुटि है क्योंकि यह नहीं जानता कि उत्पाद चर क्या है क्योंकि मैंने इसे नहीं घोषित किया है और यह मेरी समस्या है मुझे यकीन नहीं है कि इस ऑब्जेक्ट का निर्माण कैसे किया जाए ताकि इसे खरीदा जा सके। क्या कोई मुझे यह सही ढंग से काम करने में मदद करने में सक्ष...