Posts

Showing posts from February, 2015

sql server 2008 - Comparing TimeStamp value in C# -

I created a new column in an existing database, allowing me to allow Rovers to operate concurrency: Changing the table MyTable columnName Add lineworld In my class I added the following property by public [] columnname {get ; Set; } In this method I use an error when using this property Effectively on System.Data.Linq .binary 'can not change type' byte [] ' I am removing this property by adding toArray (myObj.ColumnName.ToArray ()) I am My ASP. In the net page, I add a hidden control to a repeater and Rohhindfide Value = Convert. Assign values ​​to ToBase64String (myObj.ColumnName); Now I am trying to compare this column with that object pubic bool myObject objFound = GetAllObjects.First ( O = & gt; O.ID = myObj.ID); If (objFound.ColumnName == myObj.ColumnName) but the values ​​are not the same? After reading some links in changing the timestamp, I have tried appreciate any help on this. I do not know anything about the SQL...

javascript - Setting html form values using js function with multiple attributes -

PHP में मुझे इसके साथ एक बटन मिल गया है: onclick = "myFunction (& amp; ; Value1, $ value2, $ value3) " जावास्क्रिप्ट: फ़ंक्शन myFunction (atr1, atr2, atr3) {document.getElementById ('form_input1' ) .value = atr1; Document.getElementById ('form_input2')। Value = atr2; Document.getElementById ('form_input3')। Value = atr3; Document.getElementById ('popup_form')। Style.display = "block"; } लेकिन मान सेट नहीं हैं। जब मैं विशेषताओं और सेट मान के बिना फ़ंक्शन का उपयोग करता हूं, तो यह ठीक काम करता है: फ़ंक्शन myFunction () {document.getElementById ('form_input1')। Value = "8"; Document.getElementById ('form_input2')। Value = "abc"; Document.getElementById ('form_input3')। Value = "56"; Document.getElementById ('popup_form')। Style.display = "block"; } मैं php में दिए गए विशेषताओं से फ़ॉर्म मान सेट करने के लिए अपने फ़ंक्शन को कैसे परिवर्तित करूँ?...

JSF with Prettyfaces navigation -

I am using JSF 2.2 with PrettyFaces 3.3.3 in my Entreprise application. I am thinking that the way I handle navigation is correct (AdminCompaniesController.java): @ManagedBean (name = "companiesBean") @ViewScoped @URLMappings (mappings = {@URLMapping (id = "admin-companies-view", pattern = "/ admin / company / view / # {id}", viewId = "/ admin / companyView.jsf"), @URLMapping ( Id = "admin-companies-view", pattern = "/ admin / company / edit / # {id}", viewId = "/ admin / companyEdit.jsf"), @URLMapping (ID = "admin-companies-add ", Pattern =" / admin / company / add ", viewId =" /admin/companyAdd.jsf "), @URLMapping (id =" admin-companies " A. List "pattern =" / admin / companies ", viewId =" /admin/companies.jsf ")}) public class administrator Consulting controller executes Siriyliz qualified {@EJB private Kanpanisewa Kanpanisewa; Private coll...

c - How do I modify a linked list node using a void? -

इस सवाल का पहले से ही एक उत्तर है: 4 जवाब मेरे पास एक प्रोग्राम है, जो सिर पर एक नोड है मैं सिर को शुद्ध करना चाहता हूं, हालांकि मैं इसे शून्य के अंदर करना चाहता हूं। इसलिए मैं सिर नोड को विधि में पास करता हूं: शून्य निकालेनोड (नोड * सिर) {सिर = शून्य; } हालांकि यह मुख्य कार्य में सिर को नहीं बदलता है, केवल शून्य में। क्या किसी को पता है कि एक नोड के मान को बदलने के लिए जो एक पैरामीटर के रूप में एक शून्य के रूप में पारित किया गया है? पीएस: एक आवश्यकता के मुताबिक, मैं नि: शुल्क समारोह, या किसी भी स्मृति अनलोडिंग विधि का उपयोग नहीं कर सकता। आप इसे इसके बजाय करना चाहेंगे: शून्य निकालेनोड (नोड ** सिर) {(* सिर) = नल; } यह वास्तविक पॉइंटर को NULL में बदल देता है, ताकि यह अब कुछ भी इंगित नहीं कर सके।

android - Stop mp3 playing on another button click and exiting page -

I have tried all those examples that I can find on this site but I do not seem to do this work can. I need that if any MP3 file starts by pressing a button, then the second button is pressed, the last MP3 stop and a new start. I also need to stop this page. Can anyone see what I am doing wrong? import android.app.activity; Import android Media. Audio manager; Import android Media. media Player; Importroid.os.Bundle; Import android.view.View; Import android.view.View.OnClickListener; Import android.widget.Button; Remove public class buttontofirstaidaed activity OnClickListener {Private MediaPlayer mp1; Private Media Player MP3; Private Mediaplay MP3; Private Media Player MP4; Private Media Player MP5; Private Media Player MP6; @ Override Protected Zero (Bundle Saved Instantstate) {Super. NET (Saved Instantstate); SetContentView (R.layout.firstaidaed); SetVolumeControlStream (AudioManager.STREAM_MUSIC); Button ButtonAd1 = (Button) Find VVBIID (R.BattanAid1); Button ButtonAd2 =...

substring - How to read from lineX to lineY C# -

I am trying to parse a .log file and found it in one section that looks like this GetCompressedLogResponse Received: GetCompressedLogResponse: Id = GetCompressedLog, LoggerType = LoadProfileLogger, NumberOfRegisters = 5, NewLogId = 3281, info = HeadOfLoggerIncluded LogID RealTimeClock Logger_Status Logger_Data_Quality EnergyA14 EnergyA23 [KamDatTimeStatus] [No Unit] [No Unit] [KWH] [KWH] ------ -------------------- - ------- ------ ------------------- --------- ------- - 3264 02 2014-03-31 T 0 08: 00 00 00 000000000000 0.17 0.00 3265 02 2014-03-31 TT8: 15: 00 0000 00000000 0.17 0.00 3266 02 2014-03-31 TT 08: 30: 00 0000 00000000 0.17 0.00 3267 02 2014-03-31 TT 08: 45: 00 0000 00000000 0.1 7 0.00 2014-03-31 13: 20: 42,049 DEBUG 4B414D00000001184917.GetConventionalDataTask - Updated timestamp for logger load profile logger over time 31-03-2014 12:20:42 How do I obtain 2 lines between getConventionalDataTask lines, then the line from the program line (in which GetCompressedLogRespo...

c# - Intentionally cause a fatal exception -

I need to make a fatal exception on demand using C #. Although I have taken enough time in this unknowingly, now I need it, I can not find any easy way. It is easy to divide by zero reference error or zero etc. But I need something without the option to continue the CTD. Thank you for your help. Do not use one exception to accomplish this, there are many more side-effects to the program at all A non-exclusion exception that eliminates the program is a CLR policy that can be changed by both a custom CLR host and even today by the legacy disciplinary policy definition definition. Without any clarification without taking any incident,

osx yosemite - Xcode create bot for an existing Remote Git Repo -

I am running Xcode 6 with OS X Server 4 with Remote GIT Repo (TFS Supported by) on a different server I can not seem to create a bot in the exode and it points in a remote GIT repo on a team foundation server. When Xcode Preferences is added to accounts, the repo works properly properly. When I add a bot, it goes to 'Verification Certification' and then an HTTP status code 404 (-1) Any ideas? This is not a list of remote repo. This server is used to work well before 3.2.x and Xcode 5 thanks

box api - Provide user to be able to choose files from his Box using my website -

In the box API, some type of dropbox is similar, to provide user functionality to choose from their box And through the feedback API, for our backend / file data through the frontend? Yes, you can do this easily by uploading a box-file: & lt; Div id = "box-select" data-link-type = "YOUR_LINK_TYPE" data-multischeck = "YOUR_MULTISELECT" data-client-id = "YOUR_CLIENT_ID" & gt; & Lt; / Div & gt; Full details here:

javascript - onClick Window.Location does not work in Chromium (Linux version of Google Chrome) -

I think I'm stupid or something else, but I do not get my onClick to work through Chromium There is a Linux version of Chrome (Firefox is OK, as is IE) Here are some HTML code: & lt; Form & gt; & Lt; Select name = "month" & gt; & Lt; Option value = "1" onclick = "javascript: window.location.href = '& lt; SOPAGE & gt;' Return Return; '' Jan & lt; / Option & gt; & lt; Option Value = "2" & gt; February & lt; / Option & gt; & lt; Option Value = "3" & gt; March & Lt; / option & gt; Option value = "4"> April gt; option value = "5" & gt; May & lt; / option & gt; & Lt; option value = "6"> Jun & lt; / option & gt; Option value = "7" & gt; July & lt; / option & gt; & lt; option value = "8" "> August gt; Option value =" 9 "& gt; September ...

ios - How to resize UIImageView in Swift -

I have an image in my UITableView cells, but for some cells, I do not want to show the image, so I decided The size of the image height due to the remaining space is zero (you know that I can not use hidden = true. So, I tried everything, but I did not resize the image So, here's my code, so how to resize? Cell! .imageImage.layer.frame = CGRectMake (0, 0, 0, 0) cell! .imageImage.layer.masksToBounds = true I also tried: Cell! .imageImage.frame = CGRectMake (0, 0, 0, 0 ) Cell! .imageImage.layer.masksToBounds = true then what should I do? If you are using the default UITableViewCell with UITableViewCellStyleDefault , you must subclass the UITableViewCell and layoutSubviews method must be implemented, and there the image frame must be set.

javascript - How to remove axis, and other information from Bar Chart? -

I need to draw a line graph, but no ax, value, etc. And finally the percent Question: How to remove all objects from the graph, indicate axes, axes, etc. You only need to leave a line graph and interest. $ ('# audition'). JqChart ({Legend: {Views: false}, range: {Views: false}, title: {text: 'chart title, font:' 12px sans-serif ', linewidth: 1, // Stroke Style:' black ' , Brostail 'white'}, animation: {duration: 1}, range: [{pointWidth: 0.2, type: 'time', or style: "# 7fbbe5 'data: [[A 33]], the label : {stringFormat: '% s %%', the value of "data value", Font: '11px sans-serif', [ 'A', 67]], Tikvicosn: {show gridlines: false} label: {StringFormat : '% S %%', value type: 'data value', font: '11px sans-serif', fillStyle: 'white'}}]}); I have an image where I show what I have, and what I want: You can add jqChart X - - var axes = $ ('# jqChartDiv...

gwt canvas element not working in IE 10 -

I have a page that has a canvas element for e-mail signatures. The application is in gwt, it is working on all other browsers, except IE 10. Attach screen shots. I get this JavaScript exception: 21: 51: 20.945 [error] [app] Exempt exceptions come out in com.google.gwt.core. client.JavaScriptException: (typos): undefined property 'VML' on com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript (BrowserChannelServer.java or unable to get a null reference: 248) com.google.gwt.dev .shell.ModuleSpaceOOPHM.doInvoke (ModuleSpaceOOPHM.java:136) .dev.shell.ModuleSpace.invokeNativeObject com on com.google.gwt.dev.shell.ModuleSpace.invokeNative (ModuleSpace.java:561) com.google.gwt .apply (Impl.java) com on google.gwt.dev.shell.JavaScriptHost.invokeNativeObject (JavaScriptHost.java:91) (at ModuleSpace.javaociety69) com.google.gwt.core.client.impl.impl. Com .google.gwt.core.client.impl.Impl.entry0 (Impl.java:213) (unknown source sun.reflect.GeneratedMethodAccessor42.invoke)...

bioinformatics - How to get a makefile to run all commands, regardless of targets or dependencies -

I am writing a GNUmakefile to create a workflow to analyze some organic sequence data. The data comes in a format called fastcock, after which many cleaning and analysis tools run. I have added to everything I wrote, which takes me completely before quality control, and after that quality control happens my problem is that I am not sure how to run 'fastqc' commands, Because its target workflow does not have dependency for any other phase. % _sts_fastqc.html% _sts_fastqc.zip:% _sts.fastq # After the quality control performance, fastqc reads $ ^% _sts.fastq:% _st.fastq # -t with trim quality sickle Reading on the basis of $ ^ income tax illumina -o $ @% _st. Fastq:% _s.fastq # Remove Defective Read Tag Distrast Adapter $ $% _s.fastq:% .fastq # Trim Adapter Skin-A & Lt; Adapter.fa & gt; -O $ @ $ ^% _fastqc.html% _fastqc.zip:% .fastq # Turn on Quality Control before cleaning fastqc $ ^% .fastq:% .sra # Convert .fastq to .sra fastq-dump $ ^ source: = $ (wildcard ...

regex - Date Regular Expression Match 2 or 1 Digit Date or Month -

इस सवाल का पहले से ही एक उत्तर है: 15 उत्तर मुझे यह regex एक आदर्श है सभी शर्त समय प्रारूप पर मिमी / डीडी / yyyy से मिलान करने के लिए, लेकिन मुझे इसे थोड़ा संशोधित करने की आवश्यकता है अगर कोई व्यक्ति 09/04/1980 को अपना काम परिपूर्ण करता है, लेकिन यह 5/9/1990 (1 अंक) त्रुटि होगी: ( क्या कोई मेरे लिए इसे ठीक कर सकता है? यह मेरा वर्तमान रीजेक्स है: (? :( ?: 0 [1-9] | 1 [0-2]) / (?: 0 [1-9] | 1 [0-9] | 2 [0-9]) |? (:( ?! 02) (?: 0 [1-9] | 1 [0-2]) - (?: 30)) | (:( ?: 0 [13578] | 1 [02]) - 31)) / (?: 19 |? 20) [0- 9] {2} (? :( ?: 0 [1-9] |? 1 [0-2]) \ / (?: 0 [1-9] | 1 [0-9] | 2 [0-9]) |? (:( ?! 02 ) (?: 0 [1-9] | 1 [0-2]) - (?: 30)) |? (? :( ?: 0 [13578] |? 1 [02]) - 31)) \ / (: 19 | 20 ) [0- 9] {2} इसे आज़माएं। 0 वैकल्पिक करें। डेमो देखें।

Jquery required field error -

मैंने एक आवश्यक फ़ील्ड वैदिकेटर को एक टेक्स्टबॉक्स थोरुग जेक्जरी में जोड़ा है, लेकिन समस्या यह है कि जब भी मैं किसी भी डेटा को भरने के बिना पाठ बॉक्स से कर्सर को निकालता हूं, संदेश लगातार आ रहा है। इसमें मेरी मदद करो। कृपया अपने संदर्भ के लिए कोड ढूंढें: var NRI_ReferFriend = function () {var that = {}; Var focusset = false; Var getError = फ़ंक्शन (str) {वापसी '& lt; span class = "error_msg" & gt;' + Str + '& lt; / span & gt;'; }; Var सेटफोकस = फ़ंक्शन (तत्व) {यदि (! फोकसेट) {$ (तत्व)। फ़ोकस (); Focusset = true; }}; Var isEmpty = फ़ंक्शन (आईडी) {var element = $ ('#' + आईडी); $ (तत्व) .parent () ( 'ERROR_MSG।') को निकाल ()।। If (element.val () == '' || element.val () == अपरिभाषित) {$ (तत्व)। Parent () .एंडेंड (getError ("आवश्यक" & amp; nbsp; & amp; nbsp; & amp; nbsp; ; ")); फ़ोकस-सेट (तत्व); वापस सच; } अन्य {वापसी झूठी; }}; इसके अलावा वैल्यूएबल वैल्यूएटेड मोबाइल के लिए कोड देखें: - ...

Insert PHP code after nth element with jQuery -

मेरे पास निम्न कोड है: & lt; div class = "container" & gt; & Lt; div वर्ग = "आवरण" & gt; & Lt; p & gt; कुछ सामग्री / पी & gt; & Lt; p & gt; अधिक सामग्री & lt; / p & gt; & Lt; p & gt; एक छवि & lt; / p & gt; & Lt; p & gt; अधिक सामग्री & lt; / p & gt; & Lt; p & gt; और भी अधिक सामग्री & lt; / p & gt; & Lt; p & gt; एक दूसरी छवि & lt; / p & gt; & Lt; / div & gt; & lt; / div & gt; मैं दूसरे पैराग्राफ के बाद कुछ PHP डालने चाहता हूं। मेरे पास एक, इसका प्रयोग है: $ ('। Wrapper p')। Eq (1)। बाद ('& lt; div & gt; हैलो & lt; / div & gt;'); लेकिन जैसे ही मैं इसे PHP कोड जोड़ता हूं: $ ('। Wrapper p')। Eq (1) .after (' & Lt; div & gt; हैलो & lt;? Php wds_social_media_icons ();? & Gt; & lt; / div & gt; '); क्या चल रहा है? क्या मैं सिर्फ पीएचपी का प्रयोग नहीं कर सकता? ...

ruby on rails - Unique locale yml path for /new and /edit when using partial -

I use partial _form for both new and edit Action / scene I have this form: t (". Change_image") The missing path path generated by the rail is the following Translation is unavailable: en.users.form.change_image but I have to do different text in en.yml if this new or edit , which means "add image" and "change image". Do i have unique locale path action and partial? Such as en: user: new: change_image: The current partially skips the key if the key starts with a period, then you have to use the full path in the t () . E.g., t ("user. {{Params [: verb}}. Change_image")

Concatenate a char to every cell element - matlab -

The attached code below the filenames has a cell with file names, but without the fileholder (char). How do I add them to a cell? code code fileFolder = fullfile ('C: \ users \ llx1 \ desktop \ old data'); dirOutput = dir ( Fullfile (filefolder, '* .xls')); filename = {dirOutput.name}' Are you looking for something like this? fileNames = cellfun (@ (idx) full file (fileFolder, idx), {dirOutput name} ',' uni ', 0)

Removing XML node using Java -

I want to remove the XML node from XML based on jQuery results. I have XML: & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; List & gt; & Lt; Member Name = "James" & gt; & Lt; Friendlist & gt; & Lt; Friends & gt; 0001 & lt; / Friends & gt; & Lt; Friends & gt; 0002 & lt; / Friends & gt; & Lt; Friends & gt; 0003 & lt; / Friends & gt; & Lt; / Friendlist & gt; & Lt; / Member & gt; & Lt; Member Name = "Jamie" & gt; & Lt; Friendlist & gt; & Lt; Friends & gt; 0003 & lt; / Friends & gt; & Lt; Friends & gt; 0002 & lt; / Friends & gt; & Lt; Friends & gt; 0001 & lt; / Friends & gt; & Lt; / Friendlist & gt; & Lt; / Member & gt; & Lt; Member Name = "Katie" & gt; & Lt; Friendlist & gt; & Lt; Friends & gt; 0001 & lt; / Friends & ...

How do you use open() with appending mode AND seek() in Python on Linux? -

I have the following: opened as a log (file, 'A' ): # A bunch of code, some of them write to log in. Logs. Seek (0) logs. Written (Time.StrafTime (T-Format)) () does not work with attachment, and if I use 'W', then the beginning file In the overwritten docs it says, "... 'A' ending (which is on some Unix system, it means that all write, note the status of the current search along with the end of the file)" Is anyone on the other side to argue the snake from the end of the file Q allows: / P> with open (file name , 'W') as log: log.seek (0, 0) log .write (time.strtftime (t_format)) You need to type logging of Python's logging module Should also be used to consider.

c# - Solution for circular dependency -

I have two classes in two projects and each class needs to call another class system. But can not add to each other's context because it is making a circular dependency. I know that I should use an interface to solve this issue, but I am not able to come up with the answer. Please tell me how to implement and amp; Project Test 2 Nom place Test 2 {Public Class ClassTest2 {Public String GetClassTest2 () {Return to "classTest2"; }}} Project Test 1 Nom place Test 1 {public class ClassTest1 {public string GetClassTest1 () {"classTest1 "; }}}} You will need a third project in which you define the interface : Public Interface ICLASSAnonymous {string GetClassName (); } From both existing projects, refer to this new assembly and implement the classes interface: public class ClassTest1: IClassNameAware {public string GetClassName ( ) {Return "classTest1"; } Now both classes still can not directly reach each other, but the...

sql server - SSDT 2013 new database Project missing -

Image
This may be a minor error in my setup, but I guess I was not able to get the SSD 2013 incorrectly with SQL Server. And open to create a new database template Please see the image I hope to be on the list in a SQL template, with the option to create a new database project Tell me what am I missing? Thanks in advance Visual Studio 2013 - In VS 2013 SQL Server Tooling has now been created and sent as part of the main product. Online experience through database projects, SQL tools (such as schema comparison and data comparison), and SSOX are included with all the RTM version. We have full project and SSOX support, which will be available for Web Access for Windows Desktop For vs Express, so we have discontinued our stand-alone integrated shell offer. We have a component update feed which will push to use VS update to manually check the information updates, go to Tools> Extensions and Updates ... menu to open the dialog. We will continue to announce announcements on our blo...

Maple not displaying graph -

मेपल केवल एक ग्राफ का वर्णन करता है, उदा। सी: = ग्राफ 9: 66 अंडरविड्थ और 21 9 किनारों के साथ एक अंडरटेक्टेड अनिवेटेड ग्राफ़ , ग्राफ प्रदर्शित करने के बजाय क्या कोई मदद कर सकता है? धन्यवाद GraphTheory आपको DrawGraph कमांड का उपयोग करने की आवश्यकता है पैकेज इसलिए, यदि GraphTheory पहले से ही लोड किया गया है ( (GraphTheory with )), तो DrawGraph (C) आदेश जारी करें। यदि यह लोड नहीं हुआ है, तो GraphTheory: -DrawGraph (सी) का उपयोग करें। ग्राफ को आकर्षित करने के विभिन्न तरीकों के कई विकल्प हैं, जिसे आप सहायता पृष्ठ ? DrawGraph पर पढ़ सकते हैं।

javascript - Getting Regex to work with custom Dreamweaver commands -

I have a large routine document that needs to be searched / replaced by many regular expression searches. To give, I focused on writing a Dreamweaver command to convert all of my searches into one shock (referenced :). This is what I really want, so I'm starting to use the example and so far it's doing a great job for some people, however, my Reggae is being replaced / replaced Is being ignored. The document is very short on custom Dreamweaver commands and I can not find any well-used cases. I have tried to add / remove quotation / forward slash around the expressions, but there is no luck either. My Reggae commands do a normal search / replace, but it is no longer a file that is in a javascript. Is Javascript W / Regex my use correct? Does anyone have anything like this to work on any fate? function canAcceptCommand () {true; } Function command buttons () {new arrays ("go!", "DoIt ()", "cancel", "window.close ()"); } Function ...

SQL distinct ID and everything else -

मान लीजिए मेरे पास एक तालिका है जिसमें निम्नलिखित है: CUS_ID AB 1 1 0 2 2 0 3 3 1 3 1 3 4 2 0 क्या एक चयन बयान लिखने और सभी विशिष्ट cus_id को पकड़ने का कोई तरीका है? तो मूल रूप से यह केवल cus_id 3 के लिए एक रिकॉर्ड वापस लाएगा। तालिका_नाव से सीआईएस_आईडी चुनें ;

ios - Get UIWindow without using AppDelegate -

I need to add a view directly to the window. I can access it through the UDIpplication on the AppDelegate Window Object I can do I intend to make this code as reusable as possible, even though it makes the method unusable. How can I use the UI window program without using the AppendageGate? I am coding in Swift but the examples of objective-C can also be useful. There is a reference to the current window of any view. In a UIViewController: self.view.window

c - Program run correctly only in debug mode -

To test the board display with a button to toggle between hex and BCD mode, just a microbase c The application was written. Here is my code: #include & lt; Xparameters.h & gt; # Include & lt; Xgpio.h & gt; Int main () {XGpio display, number, bcd, butt; // Define four variables named design, number, bcd, but int flag = 1; XGpio_Initialize (and display, XPAR_AXI_GPIO_0_DEVICE_ID); XGpio_SetDataDirection (and display, 1.0); // Set XGpio_Initialize (and digit, XPAR_AXI_GPIO_1_DEVICE_ID) set as output port; XGpio_SetDataDirection (and digits, 1,0); // Set XGpio_Initialize (& amp; BCD, XPAR_AXI_GPIO_2_DEVICE_ID) as the output port; XGpio_SetDataDirection (and BCD, 1.0); // Set BCD as output port XGpio_Initialize (& amp; butt, XPAR_AXI_GPIO_3_DEVICE_ID); XGpio_SetDataDirection (and butt, 1,1); // Set button as input port while (1) {if (XGpio_DiscreteRead (and butt, 1) == 1) {if (flag == 1) {flag = 0; } Else {flag = 1; }} // Toggle Flag XGpio_DiscreteWrite (and...

javascript - Change background colour, add a pointlight in three.js -

I'm playing with three.js. I have created a cube inside a wireframe cube. How do I change the background color? I know that I have to do something about creating Skybacks and / or a point light source, but it appears to be just making a black screen. Here is the codename: My code: var width = window.innerWidth; Var height = window.white; Var scene, camera, renderer; Var Cube; Var fov = 30, isUserInteracting = false, cameraDistance = 100, onMouseDownMouseX = 0, onMouseDownMouseY = 0, loan = 0, onMouseDownLon = 0, lat = 0, onMouseDownLat = 0, PHI = 0, theta = 0; $ (Function () {init ();}); Function init () {view = new three. Camera = new three. Percy Camera (FOV, window winner width / window winherhit, 1, 1000); Camera.position.set (0, 0, 100); Renderer = New three. Webgil renderer ({antilius: true}); Renderer.setSize (window.innerWidth, window.innerHeight); $ ('# Container'). Append (renderer. Dome element); Cube = new three. Aries (New Three Box Glomptary (23, 33...

sql - Given year only, find last day of February -

I need a SQL Server function, when the year is given only as a string, on the last day of February Gives or returns or if that year is a leap year DECLARE @ year Select VARCHAR (4) SET @Year = '2013' DATEADD (DAY, -1, year @ '0301')

cordova datepicker plugin not working in iOS8: UITableView dataSource is not set -

After updating to IOS8, the Cordoba Datapiker plugin does not work It crashed with the following message: Exception exception to end application due to 'NSInternalInconsistencyException', the reason: 'UITableView data source is not set' but I have no UITableView The related code plugin source code I do not know, that there is an internal UITableView in the UIDPPC? Here is the code (I'll remove some non-relative code for easy readings): - Create (UIPopoverController * )Propper: (NSMutableDictionary *) option {UIView * datePickerView = [[UIView alloc] initWithFrame: CGRectMake (0, 0, PickerViewuite, PickwickWhite)]; If (! Self.datePicker) {self.datePicker = [Auto CreateDate Picture: Option Frame: Frame]; [Self.datePicker addTarget: Self action: control events for the @tilt-change action :): UI ControlEventWalls]; } NSDateFormatter * formatter = [Manually formatted formats: @ "Yyen-MM-DD'THH: mm: SS's'" Timezone: [nystimjon default ti...

Silverlight not finding clientaccesspolicy.xml in Owin self hosted Web Api -

Image
I have information about hundreds of similar questions about Silverlight and ClientTexPolicy.exm but I'm losing my head here. I have gone through almost all the posts on the StackVarfarflow, I tried most suggestions and I still got stuck. I have an SSL client who has simplified my API service for example, Owen Self-Hosted Web API, so there is no unnecessary complexity involved. This example is running on my API port 9000. The problem is that I get a 404 error when calling the method in the API. By using Fidler I can tell that this client expedient policy. XML is not able to. I have copied the XML file (and Cross Domain .xml) to all locations, which I can think of, and what other suggestions have been made about Can someone tell me my error or help me in the right direction? Here are some snippets: clientaccesspolicy.xml: & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Access-Policy & gt; & Lt; Cross-domain use ...

javascript - Issues with jquery html() -

Receive data compromised with an element of a certain thing, with a simple answer everywhere on the Internet such a Does not cover the simple question. help please. I manipulated an element with an AJAX request: $ ("# last_comment_added"). Html ("1457856458") Now enter I get old data from element, new agax "14 57856458" data please help. Do not use eval. Try $ (Document) .ready (function () {var post_slug = $ ("# post_slug") .HTML (); var last_comment_added = $ ("# last_comment_added") Html (); if (post_slog & end_comment_ added) {set Inner (_update, 10000);}}); Function _update () {$ .ajax ({type: "POST", url: "ajax_comments.php", data: {"work": "update", "post_slog": post_slog, "last_com_add": last_comment_added}, cache: False, success: work (data) {$ ("# last_comment_ added"). Html (data)}}); } and you return only from PHP t...

java - confused with the design of servlet -

I want to create servlet that gets the data in Jason format and stores data in the database. When I send data to the servlet via HTTP request, it will establish a connection with the table, create tables, and store the data. The code should be made only for the first time to create connections and tables. I am not able to design code which is making connections and tables for the first time and is not able to store the data in the remaining time My code is as follows: - Public Class Master Protects Zero DoPost (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {handle (request, response); } Private Zero Handle (HTTPPervlet Request, HTTP Servalar Response Resp) {JSONObject jsonObject = null; {Try (if "req.getMethod") is equal to ("post") {try {string jsonString = extractJsonBody () / * Create code for connection with database table archive data * /} (Exception e) {System. Out.println ("Jason in bad format...

symfony - Symfony2 Payum Bundle - Call to undefined method isCaptured() -

I try to speed up PayPal Express checkout here: Everything works Returns the capture donation error: Error: Call for the undefined method Parent \ core \ request \ GetHumanStatus :: isCaptured () in (..) / PaymentBundle / Controller / DefaultController.php Line 65 (..) Only my path and line is 65: If ($ status-> isCaptured ()) { Everything is just like the example in the PEM document . Thanks to Cassinsinsky, the answer to this question is very simple. Why CAPTCHED () returns an error? In the documents, if you click the link below If you follow, then there is a mix of versions.

jquery - Footable: attribute data-class doesn't work without data-hide -

I have a problem with the footage plugin and need a quick solution. I have already opened a buget in the plugin's gitub, but maybe I get quick answers. We have a lot of product cables, which are working with a footnote plugin but without any data set by the editor - hidden-attribute because there are only two columns in it and no hidden Should not be done and then data-level work does not work, and all other sections (footage-visual etc.) are not set in TB. I generated JSFiddle: The result in the first table is expected (the class "head" is set to all the cells in a column), the table does not have two. The code that is not working: & lt; Table class = "default" & gt; & Lt; Thead & gt; & Lt; Tr class = "footable-group-row" & gt; & Lt; Th class = "head" data-square = "head" & gt; Spatel 1, Data-Class Chief & lt; / Th & gt; & Lt; Th class = "head" & gt; Splate 2 ...

sql - Sum of time difference between multiple Mysql rows with changing filters -

I have a hard time finding a suitable SQL query that is the difference of the difference between several rows based on user filter It is mainly set on the form written in PHP. The structure is: Date time number Action 2011-08-09 09:11:16 12S 2014-08- 09 09:12:21 12T 2014- 08-09 09:16:59 12s 2014-08-09 09:17:16 12T 2014-08-09 09:17:28 12S 2014-08-09 09:17:17 44JG 2014-08- 09 09:21:30 12 T 2014-08-09 09:21:42 12S 2014-08-09 09:36:08 12S 2014-08-09 09:37: 08 12b 2014-08-09 09 : 38: 19 12T 2014-08-09 09:39:53 12A 2014-08-09 09:42:05 12S Database is mysql, approximately 8000 rows per day Are inserted, currently there are approximately 1,500,000 rows, users need to find the amount of time between certain lines For example, the amount of time between the lines where AA = S and the action B = T. In that specific case the time difference will be four rows, which will be added. Users can filter on each column. There is an idea of ​​syntax for any person to use for the right time ab...

javascript - Add data in the duplicate row in table using jquery -

Say that my table already has a data dateline and I enter the second data with that date. How can I add my other input date in a duplicated line I am using this jquery I am also adding the table row by using dynamic jquery Example: I have this table & lt; Tr & gt; & Lt; TD & gt; 2014-10-18 & lt; / TD & gt; & Lt; TD & gt; 1 & lt; / TD & gt; & Lt; / TR & gt; Then I have a modal form with its date picker and text box. I say that I raise the same data "2014-10-18" and add a new value 2. What do I want to do when I add this record, I want my table row with the same date "2014-10-18", adding value 2 to data 2 the output will be like this & lt; TR & gt; & Lt; TD & gt; 2014-10-18 & lt; / TD & gt; & Lt; TD & gt; 3 & lt; / TD & gt; & Lt; / TR & gt;

php - How to use the fosuserbundle usermanager from a different bundle -

I am new to Symphony. I created a new bundle called Basebandle and set the Fosserbundle according to the instructions. User class resides in baseband. I wanted to create the user admin interface in a new bundle by the name of an administrator administrator. I need a route that gives Jason all users So I set it up and made this verb: public function ajaxAction () {$ um = $ this- & gt; Obtain ('fos_user.user_manager'); $ User = $ um- & gt; Search Users (); // Create a JSON-response with a 200 position code $ response = new response (json_encode (array ('name' = & gt; $ user))); $ Response- & gt; Header-> Set ('content-type', 'app / jason'); $ Refund; } I get an error: Error: Call a member function () C: \ wamp \ www \ Quirements \ vendor \ symfony \ Symfony \ src \ symfony \ bundle \ frameworkbundle \ controller \ controllroll.php line 274 When I move this function to baseband default controller, then it works fine ... ...

regex - VB6 String Contains URL using regular expressions -

I have to write the code which will read a string and if there is any website to remove any HTML tags Address includes this The string currently looks like: The string that causes the problem This is a test string to show you what the problem is www.stackoverflow. Com Any part of the web address will be included in: . Www, http: //, https: //, string output along with com, .ca, etc. This is a test string to show you What is the problem (extra space here) www.stackoverflow.com The code below which I have tried to work I have created a boolean flag and if it is true then I I want to make another argument that I have not written yet RegExp set Rex = New Reggex DIR urlFlag Boolean rex.Pattern = "(http: https) in the form: ([\ w-] + \.) + [\ W-] + (/ [\ w- ./?%&=]*]? " If rex.Test (str_Temp) then urlFlag = True else urlFlag = False End then output is always returning false meaning, meaning that the pattern is not working. any suggestion? I have ...

C infinite loop with linked list -

I am trying to create a program that starts a fantastic link list and then to the user for more data Asks and finally adds them to the list of current links However, my programming is trapped in the infinite loop. #include & lt; Stdio.h & gt; # Include & lt; Stdlib.h & gt; Typedef struct link_list {int data; Struct linked_list * Next; } Element; Typeff element * aliphater; Zero addendum (element *, int); Zero cross (ALLIPeter); Int main () {// Create a link list elementptr first = NULL, final = null; Int input, num; Printf ("Please enter the first integer data: \ n"); Scanf ("% d", and input); // Create a linked list with User Initialized Data = (Elementor) malloc (Sagef (Element)); Last = first; Last - & gt; Data = input; Last - & gt; Next = null; Printf ("Please enter the number of numbers you want to add at the end of the linked list \ n"); Scanf ("% d", and number); Additive (& previous, number); Cross (firs...

.htaccess: clean URL with parameter "images" doesn't work -

I have yet to have figured out how to clean URL with .htaccess made but it seems that I direct a wall .. . I've got the following simple .htaccess: RewriteRule ^ on RewriteEngine ([a-zA-Z0-9 -] +) $ index.php? id = $ 1 [L] RewriteRule ^ ([a-zA-Z0-9 -] +) / $ index.php? id = $ 1 [L] expected as it mostly works: mysite .com / somepage goes to mysite.com/index.asp?id=somepage etc. Except when the id is 'images'. When I try mysite.com/images it displays: mysite.com/images/?id=images (although the page still loads properly) The way mysite.com/images/ (with a slash) works properly I am searching for a solution for the past few days and it is best to I can get it. As Images is a directory Apache mod_dir Module adds a trailing slash after your rewriting rules. Can you stop slipping this feature and slash yourself behind it? DirectorySlash add close RewriteEngine # slash RewriteCond% on {DOCUMENT_ROOT} / $ 1 -d RewriteRule ^ (* [^ /]) $% {REQUEST_...

java - Tracing garbage collection -

I have a problem with interaction with a scripting library and to verify my doubts, I know the examples of some sections Imagine GCD (either in Eclipse or JavivelMM or through command line JVM option). I do not have to discriminate between examples of classrooms, because I can limit this issue in an example. Is this possible with stock VM? I do not think you can do it from the outside, usually GC is running like this It takes action on retaining live instance, and the "archive" of the garbage is contained only: the determination of the memory areas is only made available for the allocation. The closest you are being received is being informed when an object has reached the final position, which is still happening before it is actually collected. For this, you can add some code that will make PhantomReference s the object of your interest and register them with ReferenceQueue . You can monitor the queue for the final item. Note that in the description of th...

mongoose - MongoDB Query Based on ObjectId Reference Condition -

मेरे पास MongoDB संग्रह बिल्लियों है जिसके पास एक ObjectId संदर्भ फ़ील्ड है zooId संग्रह चिड़ियाघर । मैं कैसे की तरह कुछ पूछताछ के बारे में जाना होगा db.Cats.find ({zooId.zooName: 'San डिएगो '}) गिनती () जहां क्वेरी की स्थिति zooName में zooId संदर्भ में है? मैं मोंगोज का उपयोग करके समझता हूं, मैं कुछ संदर्भों को वास्तव में लाने के लिए populate विधि को कॉल कर सकता हूं, लेकिन मैं मोंगॉड कंसोल या रोबोमोंगो में सीधे कैसे इसी तरह की बातें करूँगा? धन्यवाद! "post-text" itemprop = "text"> सरल कोडिंग: var cats = 0; Db.Zoo.find ({zooName: 'San Diego'}) .पूर्व (फ़ंक्शन (zooItem) {var id = zooItem._id; cats + = db.Cat.find ({'zooId': id})। गणना ( );}); प्रिंट (बिल्लियों);

Is there a keyboard command in Visual Studio 2010 for exiting the current XML Comment tag? -

In my comments, I love more typing as the next developer, but one thing that usually travels me , I'm trying to use inline tags (such as className ), Visual Studio can be helpful in ending tag ( & Lt; / c & gt; ) In the moment I type the closing angle brace ( & gt; ) on the opening tag, it will have trouble writing my thoughts with ease Land because before I continue writing to move the cursor after the XML tags. Control Right Arrow Allows you to move the cursor to the next word, but to get it after the closing XML tag you get There is a need to command three times Is there a better way to move the cursor quickly?

java - extends Application example causing program to crash How? -

कोई भी विचार? सार्वजनिक वर्ग MainActivity फैली ActionBarActivity लागू करता OnCheckedChangeListener {TextView txv = (TextView ) findViewById (R.id.textView1); स्पिनर स्पिनर 1 = (स्पिनर) ढूंढिए वीवीबीआईआईडी (आरआईडी स्पिनर 1); रेडियो समूह आरआरजी = (रेडियोसमूह) खोजव्यूबीआईआईडी (आरआईड .ड्रायओ ग्रुप 1); स्ट्रिंग msg = ""; स्ट्रिंग [] तरीका 1 = {"商務 車廂", "經濟 車廂", "自由 座"}; स्ट्रिंग [] way2 = {"商務艙", "頭等艙", "經濟艙"}; @ ओवरराइड संरक्षित शून्य को क्रिएट (बंडल सहेजा गया इन्स्टैंसस्टेट) {सुपर.नक्रेट (सहेजे गए इन्स्टेंसस्टेट); setContentView (R.layout.activity_main); rdg.setOnCheckedChangeListener (this); } @ ओवरराइड पब्लिक बूलियन ऑन क्रेट ऑप्शन मेन्यू (मेनू मेनू) {// मेन्यू को बढ़ाना; यह एक्शन बार में आइटम जोड़ता है यदि यह मौजूद है GetMenuInflater ()। फुलाओ (आर.मेनू। मेन, मेनू); वापस सच; } @ ओवरराइड पब्लिक बूलियन ऑन ऑप्शन इटैम सिलेक्ट (मेनूइटम आइटम) {// हैंडल एक्शन बार आइटम यहां क्लिक करता है एक्शन बार स्वचालित रूप से होम / ...

Pull distinct value to show oldest date and nested with certain criteria SQL -

आइटम की तारीख की तारीख codeordered A 3/5/12 पुरानी A 1/1/14 नियमित A 2/1/13 मैं एक सिंटैक्स बनाना चाहता हूं जो अलग-अलग खींचती है: सबसे पुरानी तारीख वाली वस्तुओं का आदेश दिया गया (ए और बी), जो कि (नियमित या पुराना) में कोडरोड है। तो मेरा वांछित परिणाम है: आइटम ए, तिथिऑर्डर्ड 3/5/12 मद बी, डेटॉर्डेड 4 / 5/13 मैंने अस्थायी तालिका बनाने की कोशिश की, और इससे पहले की तारीख के लिए दिमागदार खींच लिया, लेकिन आइटम के लिए यह अभी भी 3/5/12 और 1/1/14 के दोनों दिन खींचता है । मेरा मानना ​​है कि आप इसके लिए देख रहे हैं: SELECT Item , MIN (तिथिऑर्डर) सबसे प्रारंभिक आदेश दिनांक से WHERE कोड को संशोधित IN ('नियमित', 'ओल्ड') आइटम द्वारा

python - skip a section of programming -

I am trying to program one kind of long system as part of my computing course. When I was programming, I came to the point that when I input my username "Jaysmith" it asks a user again. I think it should be left directly at the password check. Any advice or errors have been greatly appreciated. Thanks! #seetting variables user_name = "l.parker" password = "password1" user_name_2 = "j.smith" password2 = "password2" user = "user0" #USERNAME check if input (" What is your username? ") == user_name: print (" Hello Luke ") user ==" user1 "alif input (" what is your username? ") == user_name_2: print (" Hello John ") user = = "User2" else: print ("this is not correct") left () #PASSWORD Check if user == "user1": If input ("What is your password?") == Password: print ("You Successfully logged in ") un The print ("This is no...

php - Handling files for multiple users at once (logistic prob) -

O app creates files on the server, which are shown instantly to users in the HTML element named iFam. So far, I am storing all files in the same folder, each time the user has made a new request overwriting the old ones, the problem is that if more than one user tries to generate the file at one time , Then one of them can not find the correct file, or no file. I think I should make random temporary folders for each generation of files, it will work, but my server can fill in a quick like 100 generations of files if the user after loading the file in IFrame removes this random temporary folder Required, but how do I call the php function on load? Any other alternative method / idea, I will greatly help others to face such problems? I can create a single temporary folder, and generate random file names (Md5, GUID, that does not matter). The same script that is generated before the file is generated in the visualization on the folder, it should check all the files in the folder, ...

Custom Checkbox changes its size when isChecked is true Android? -

Image
I have an option with custom box defined by a Draybl made in Android Sset studio ExpandableListView. For some reason, when the checkbox is checked, then it does not look small when it is not. I have already checked that if I made a mistake with the size of the images and they have the same size (disabled or enabled) The code for my custom checkbox is here: Dryable / custom_checkbox. Xml & lt ;? Xml version = "1.0" encoding = "UTF-8" & gt; & Lt; Selector xmlns: Android = "http://schemas.android.com/apk/res/android" & gt; & Lt; Before Android: Drobl = "@ drawable / Aisi_suaiti_anested" Android: state_checked = "true" android: state_focused = "true" / & gt; & Lt; Before Android: Drobl = "@ drawable / Aisi_aksept_disibated" Android: Stet_cachd = "false" Android: Stet_foks = "true" / & gt; & Lt; Item Android: Dragon = "@ Draubable / IC_Except_Disbit...

mysql - php relationship key error -

Image
I have several tables in mysql that are related to a relationship. Each has their own unique ID and data. Only when they try to query them I get a strange result: (use print_r) array ([0] => Array ([id] = & gt; ; 1 [0] = & gt; 1 [Tbl2_id] => 1 [1] => 1 [tbl3_id] => 1 [2] => 1 [3] = & gt; 1 [Name] = & gt; name 1 [4] = & gt; name 1 [surname] = & gt; ...) I should not do that. For example, it should look like this: [pre] (use print_r) array ([0] => array ([ID] => 1 [ Tbl1_id] => 1 [tbl2_id] = & gt; 1 [tbl2_tbl1id] => 1 [Tbl3_id] => 1 [tbl2_tbl1id] => 1 ...)) or something like this I like the PDO and when I invoke SQL, something looks like this: SELECT FROM `tbl` Join INNER (tbl2, tbll) tbl on Tbl1_id = tbl1.id and tbl.tbl2_id = tbl2 .id WHERE 1 After using it in mysql, there is such an effect in the picture (run SQL query / database Question) It seems that you can fetch_style pdostattement :: With ...

c# - Auto mapper does not work. -

After I used in my method but it does not work. Please help me improve it. public virtual IEnumerable & lt; TViewModel & gt; FindAllByCriteria ( Error message: Missing type map configuration or unsupported mapping. Mapping Type: Tag - & gt; Tagview model where Blogs Model Tag - & gt; Jahan.Blog.ViewModel.TagViewModel Destination Path: List` 1 [0] Source Price: System.Data.Entity.DynamicProxies.Tag_F1F5C39705DF9507B542CCC1A519D0757945F8E00B19F4F20C89F81DF8358563 You must first configure the map: Mapper.CreateMap & LT; Tag, TagViewModel & gt; (); Then you can map this way: on destination_VMList = Mapper.Map & LT; IEnumerable & LT; TModel & gt;, IEnumerable & LT; TViewModel & gt; & Gt; (Source_tModelList);

c++ - Are std::move and std::copy identical? -

मैंने ऐसा करने की कोशिश की: std :: copy (std :: make_move_iterator (S1.begin ()), std :: make_move_iterator (s1.end ()), std :: make_move_iterator (s2.begin ())); और यह त्रुटि मिली: त्रुटि: xvalue (rvalue संदर्भ) का उपयोग कर lvalue * __ परिणाम = std :: move (* __ पहले) के रूप में; मेरे लिए भ्रामक लग रहा था यदि आप std :: move का उपयोग करते हैं, तो ऐसा ही होता है ऐसा प्रतीत होता है कि जीसीसी आंतरिक रूप से std :: __ copy_move_a नामक एक फ़ंक्शन का उपयोग करती है जो कॉपी की बजाय चालें। क्या यह बात है कि क्या आप std :: copy या std :: move #include & lt; स्ट्रिंग & gt; # शामिल करें & lt; iostream & gt; # शामिल करें & lt; एल्गोरिथम & gt; # शामिल & lt; इटरेटर & gt; # शामिल करें & lt; cstring & gt; Struct टेस्ट {typedef std :: string :: value_type value_type; Std :: स्ट्रिंग डेटा; टेस्ट () {} टेस्ट (कॉन्स्ट char * डेटा): डेटा (डेटा) {} ~ टेस्ट () {} टेस्ट (कॉन्स्ट टेस्ट और अन्य): डेटा (अन्य। डेटा) {std :: cout & lt; & lt;...

Extract JSTL value from a list in to javascript variable -

I have an issue where I am doing this: & lt; Script & gt; Var calculation = 1; TravelExpense.value = '& lt; C: out value = "$ {customerPO.roleList ['' count + '']] travel trip] /> '; & Lt; / Script & gt; But I am unable to add a "count" JS variable with JSTLtag. It says that the unverified & lt; C: out I am unable to write the correct syntax for it "post-text" itemprop = "text"> You are missing the second ending character: & lt; Script & gt; Var calculation = 1; TravelExpense.value = '& lt; C: out value = "$ {customerPO.roleList ['' count + '']] travel trip] /> '; // here ^ & lt; / Script & gt; Update has updated the count : & lt; Script & gt; Try to avoid quotes that go around. Var calculation = 1; TravelExpense.value = '& lt; C: out value = "$ {customerPO.roleList [\ '+ + counts" "...

angularjs - How to display table with grouping -

I need to create a table that can be grouped with object properties. I am unable to use ngtables for this, so I hope it is a way of doing it with a filter or nested ng-duplication. "Company ID": "40", "Company Name": "Xerox", "Company Employee": {"_id": "544", "Company Employee Employee Name": "Taylor", "Company Employee Employee": "Bartlett", "Company employee employee": "Vermont" The table needs to show a list of employee names and they need to be grouped by the state there. You have to do it in any way other than writing your filter First you can use a gallery or underscore (not shown here) to do the group by your controller, or you can include this nifty filter library so that the wheel can not be restored and Your own filter should not be written. Plunker: The code for creating a group on the state is: & Lt; table ng-repeat = ...

java - Code is wont output what i input, and wont calculate the input numbers -

यह प्रश्न एक सटीक डुप्लिकेट है: 1 उत्तर तो यह एक कैलकुलेटर समस्या है । हम एक कैलकुलेटर क्लास (जिसमें अन्य तीन वर्ग शामिल हैं), संख्या वर्ग (संसाधित करने के लिए मात्रा को टाइप करने के लिए), ऑपरेशन कक्षा (पांच कार्यों के लिए), और मेमोरी क्लास (मेमोरी फंक्शन के लिए) होना है) । जब मैं इनपुट नंबर यह संख्या आउटपुट अभ्यस्त और यह भी इनपुट संख्या की गणना अभ्यस्त क्षमा करें यदि कोई भ्रम है। कोई भी मदद की सराहना की जाएगी। import java.util। *; सार्वजनिक वर्ग की गणना (निजी संख्या संख्या; निजी ओपे ओपे; सार्वजनिक स्थिर शून्य मुख्य (स्ट्रिंग एल्ग्स []) {calculatortest c = new calculatortest (); c.start (); } सार्वजनिक calculatortest () {} सार्वजनिक शून्य प्रारंभ () {descriptionProgram (); getInput (); displayOutput (); // getMemory (); } निजी शून्य का वर्णन कार्यक्रम () {System.out.println ("यह के.के. प्रोग्राम है और यह यहां से शुरू होता है"); } निजी शून्य प्रदर्शनऑप्ट्यूप () {System.out.println ("इनपुट नंबर 1:" + num.number1 ()); System.out.println ("इनपुट ...