Posts

Showing posts from September, 2011

What is the difference between REST and HTTP protocols? -

REST प्रोटोकॉल क्या है और यह HTTP प्रोटोकॉल से क्या भिन्न है? / Ul> डेटा यूआरएल के द्वारा विशिष्ट रूप से संदर्भित है और एचटीएमएच ऑपरेशन (GET, PUT, POST, DELETE, आदि) का उपयोग करने पर कार्य किया जा सकता है। माइम प्रकार की एक विस्तृत विविधता संदेश / प्रतिक्रिया के लिए समर्थित होती है लेकिन XML और JSON सबसे आम हैं। उदाहरण के लिए एक ग्राहक के बारे में डेटा पढ़ने के लिए, आप URL के साथ एक HTTP प्राप्त कार्य का उपयोग कर सकते हैं। यदि आप उस ग्राहक को हटाना चाहते हैं, तो उसी URL के साथ ही HTTP हटाएं कार्रवाई का उपयोग करें। नीचे दिए गए जावा कोड HTTP प्रोटोकॉल पर एक अस्थाई कॉल बनाने का तरीका दर्शाता है: स्ट्रिंग uri = "http://www.example.com/customers/1"; यूआरएल यूआरएल = नया यूआरएल (यूरी); HttpURL कनेक्शन कनेक्शन = (HttpURL कनेक्शन) url.openConnection (); connection.setRequestMethod ( "GET"); Connection.setRequestProperty ("स्वीकार करें", "एप्लिकेशन / एक्सएमएल"); JAXBContext जेसी = JAXBContext.newInstance (ग्राहक.क्लाश); InputSt...

Calculating sums of columns in CSV file using C++ -

How can I count the column amount from a CSV file using C ++? My CSV file ago 22 45 33 8 50 70 4 60 88 And I want to do something like this in a array Text "> #include & lt; Iostream & gt; # Include & lt; Fstream & gt; Int main (int argc, char * argv []) {std :: ifstream in; Int array [3] = {0, 0, 0}; If (RGCC & lt; 2) return 1; In.open (argv [1], std :: ifstream :: in); While (in.good ()) {int one, two, three; In & gt; & Gt; One & gt; & Gt; Two & gt; & Gt; three; Array [0] + = one; Array [1] + = two; Array [2] + = three; } Std :: cout & lt; & Lt; Array [0] & lt; & Lt; '' & Lt; & Lt; Array [1] & lt; & Lt; '' & Lt; & Lt; Array [2] & lt; & Lt; Std :: endl; In.close (); Return 0; } Something like this?

mysql - Java Sanitize Input for Database without PreparedStatement -

I have read the easy way to clean user input in a database with Java using PreparedStatement But I was wondering if there was any other way to sanitize the user input or to sanitize input and then the return value of the input to be prepared was made? created space nothing clears your level of persistence It is binding and valid before receiving it. Do you want to do that. Why objection to the created state ? It does not matter to me much.

operator overloading c++ / where to put my code? -

आज मैं & lt; & lt; मेरी कक्षाओं में से एक में ऑपरेटर: #ifndef TERMINALLOG_HH # परिभाषित नामस्थान std; TERMINALLOG_HH; क्लास टर्मिनलॉग {सार्वजनिक: टर्मिनलॉग (); Terminallog (int); वर्चुअल ~ टर्मिनलॉग (); टेम्पलेट & lt; कक्षा T & gt; टर्मिनलॉग एंड ऑपरेटर & lt; & lt; (कॉन्स्ट टी एंड वी); निजी:}; #endif जैसा कि आप देख सकते हैं मैं अपनी हेडर फाइल में अतिभारित ऑपरेटर को परिभाषित करता हूं और मैं इसे अपने .cc फ़ाइल में कार्यान्वित कर रहा हूं: // छीन लिया गया कोड टेम्पलेट & lt; class T & gt; टर्मिनलॉग एंड टर्मिनलॉग :: ऑपरेटर & lt; & lt; (कॉन्स्ट टी & amp; v) {cout & lt; & lt; endl; इस- & gt; मांगपत्र (); Cout & lt; & lt; v; वापसी * ​​यह; } // छांटे गए कोड इसके बाद मैंने अपने नए वर्ग का उपयोग कर एक main.cpp फ़ाइल बनाई: # शामिल "inc / terminallog.hh" int main () {टर्मिनलॉग रोकना (3); रोकना & lt; & lt; "Bla"; रोकना & lt; & lt; "Bla"; वापसी 0; } और मैं compilying पर चल...

android - SQLiteDatabases and Cursors -

I was thinking that someone could give me a brief overview of the Android cursor, some specific questions: public static cursor getVehicles () {SQLiteDatabase db = vehicleData. GetReadableDatabase (); Cursor cursor = db.query (TABLE_NAME, GET_VEHICLES_FROM_CLAUSE, empty, empty, empty, empty, ORDER_BY); Return cursor; } To do housekeeping, I tried db.close () before the return statement. However, the cursor did not have any rows returned due to this. Why is this? 2 - What is the difference between closing a cursor and closing the database? - Do I have to call the cursor if this is a local variable, or can I leave garbage collector to clean it? 4 - My database is small and only used by my application - can I keep it open? The cursor is simply an indicator for the data obtained from your query, in which all the data from your query will be included. It is not included to increase performance / efficiency (big results are not read at one time - & gt; low memory is u...

C# - Generic HashCode implementation for classes -

I see how to make the best hashcode for a class and I see some algorithms. I have seen this one: It seems that the .NET classes havehashcode methods are the same (see by showing the code). So the question is, why not to create a static class above, the hashcode automatically passes through the field, we consider it as a "key". // Older version, Public static class HashCodeBuilder {public static int hash (params object [] keys) Edit {if (Object.Reference Aquals (keys, blank)) {Return 0 ; } Int number = 42; Check (for {int i = 0, length = keys.labee; i and use it like this: // Edit the old version, public sealed section View: Equitable & lt; A & gt; {Public A () {} Public String Key1 {get; Set; } Public string key2 {get; Set; } Public string value {get; Set; } Public override bull par (object obje) {Return to it. Eclairs (ABZA); } Public bool par (another) {if (object.ReferenceEquals (other, empty))? Incorrect: Key1 == Other Kay 1 & amp; Amp; Key2 == ...

windows - Batch Delete a line in a text file? -

I am pulling my hair by finding a simple example of a dose batch file which removes the first line of several thousand txt Save files with files and original file names. After a batch process by another program, I have to add the removed line (a text string that includes "X, Y, Z") at the beginning of each file after external processing. You use more + 1 to leave the first line of the file can do. You can then pipe it temporarily (you can not edit the text file in the place): for% (* .txt) in% x (plus + 1% X "& gt; tmp You can then use the same technique to add the first line again: % for% (* .txt) in x (* .xx, x, y, z and type "% x")> tmp and move / u tmp "% x") Use them in a batch file, % signals two Get here: @echo off for %% x (* .txt) (for more + "%% x in (* .txt) Run your utility here (Exo, Y, Jade, gt; Tmp type "% x" & gt; X% is OK, apparently more does not work with very large files, which ...

flex - Extending DropDownList to include an extra option -

I want to expand the DropDownList control to include an option to create and edit options. for example; For the list of projects in the dropdown list, there will be another option "Create new project ..." or "Edit project ..." and it will be the last option in the list. When the user selects this option, there will be no change in the selected index or selected item and the related action will be taken (for example a popup window appears). This will be a convenient way for the end user. Now I want to work independently from context and the square should be reusable. The user will only specify optionText and optionFunction to work this option. The basic structure of the square looks like this: Public category OptiveDropDownList accesses DropDownList {Private var _enableOption: Boolean; Private var _optionText: string; Private var _originalDataProvider: IList; [Bindable] public variable options function: function; Public Function OptiveDropDownList () {super ...

ASP.NET MVC Authentication Issues with internet explorer -

Log in / logout is not working, and uploading photos gives an error in Internet Explorer. Its work in Firefox is okay we have already launched the site - and no one is able to enter the competition yet. The link is: [URL deleted] Any help is made of it. I request where I can provide the code. Edit I do not know the default _LogOnPartial.cshtml file and the description of the problem other than the default login / logout actions are hosted on IIS7 at AccountController.cs working on this website I do not seem to be running from the local host, I can not do this issue again. That domain has been forwarded [url deleted] with masking, but direct access to that domain does not solve the problem. Ok, the issue is now resolved - it was due to forwarding with masking to handle Internet Explorer forms having had. We have purchased a dedicated domain for the contest and can no longer log in and exit without problems, as well as upload photos without error. It was a very...

arrays - Ocaml implementation -

I got a little problem in implementing the array in Okay, for example, the terminal (console) / P> let's tab = array Make 5 6; I have tab: int array = [| 6; 6; 6; 6; 6 |] As an output, it creates an array of 5 lengths and fills all cases with 6. Okay, I understand that part. But when I type it on a text editor like Kate, for example, save it and compile it I get this error: Error: unbound value Array.make I do not understand why the arrays take in Kate as the value and take the array as a function in the terminal. I saved the file with the ".ml" extension and I compiled it using ocamlc -o test name_of_file . Any suggestions please? Thank you. I compiled your program with ocamlc and it is fixed OCaml 3.12.0). I think that you are calling an older version of the compiler when you try to compile, probably since Array.make was still named Array.create . Perhaps when you install a new version, you overwrite some files (like upper part) but oth...

Embedded php within JQuery within HTML table within PHP ... won't fire -

Specific questions before this (very long) - Sorry, I tried to make it as small as possible. (It took more than an hour to write the question). The APP file uses the (HP) function to read rows in a SQL DB and creates an HTML table dynamically. Each row, SQL data $ book ['id'] , $ book ['code'] , $ book ['description '] Is given through , etc. $ book ['code'] is a two-letter alpha-numeric ID, such as B7 or DW HTML for each line in a & lt; Td> & Lt; / Td> An onclick = event consists of an anchor tag that runs a JQuery script Suppose a couple or rows were clicked and some elements were embedded in JQuery script (which is correct When the user sees a different page and then goes back to it, then the hidden element (which was hidden by the java script) is now Are not hidden. I want to preserve a string of $ & Lt; A id = "addToShelf.php" onclick = "jquery.ajax (\ '. / AddToShelf.php? Id ='. $ B...

Garbage collection closure rules with Javascript -

I have a program that uses JavaScript as a scripting language for a large C ++ application. I use V8 and WebKit alternately, but the underlying sequence should not have any effect for this question. In this application, I will get the dynamically created objects callback. I will make this callback compulsive ... function f () {var obj = CreateNewCallbackObj (); Obj.on Callback = Davork; // dowork is a function} Clearly there will be GC problems in it because obj is out of the scope and will eventually be removed I want the object Should manage their lifetime. The object will eventually get a callback that will signal the end of his life, and when it does, he can destroy himself. One thought obz. My own reference is by adding OBJ. It seems like a wrong way to do this, but unless the garbage collection algorithm is smart, it can work. Is there any right way to do this? There is no built-in stable dome in it, which is designed to store objects, all JS objects are dynamic...

Preemptive authentication with NTLM httpcomponents-client 4.x -

Is it possible to use the approach framework with NTLM authentication? Our app requests multiple solos in Java from Windows Server applications. Requests are not usually in a logical group. I was hoping that cuts will be done and only credit is passed. Will happen. Thanks NTLM or scheme can not be used preemptively This is a complex , Is a state-wide authentication protocol that includes multiple (two NTLMv1 and NTLMv2) challenge / response exchanges. Once authenticated NTLM secure connection is connected to a specific user identity, then all the requests after that are executed in that context.

android - Acitivity ignores showing Toasts when executed from my Thread -

Why do I only see "first" toast and not others (should be made from my thread)? Expanding Public Category Banner Example Activity {@ Override Creature (Last Bundled Saved Instance) on Super Zero {super.onCreate (savedInstanceState); Toast toast = toast Maketext (this, "First Toast", Toast. LNNGHHRT); Toast.show (); New maththread (this). Start (); } The class extends the MyThread thread {Personal reference context; Public maththread (reference reference) {this.context = context; } Public Zero Run () {Looper.prepare (); // One exception was asked to add me - I have no clue why (int i = 0; i You should not call Looper. . You were getting the exception because you were doing something wrong: The tour UI is part of the toolkit, and therefore should be used with the UI thread - this is why you are having an exception I suggest that you swap to thread and use the onProgressUpdate method to create your toasts because it runs on the UI thread automati...

python - sys.excepthook doesn't work in imported modules -

I'm doing this by using the sys.excepthook function to override the default exception handling. I saw that if I run the program directly from the command line, it works fine, but if I try to import the file, then it does not work. It seems that the sys.excepthook function is unaware of the logging module. Here's an example: #! / Usr / bin / env python2.7 import logging, sys logger = logging.getLogger () logger.setLevel (logging.DEBUG) logger.addHandler (logging .filehandler ("test.log")) print exceptions outside the handler: Logger =% S "% logger def handleException (excType, excValue, traceback): #global logger # This function does not work whether or not I include this line print in the" Exception Handler: Logger =% s "% Logger Logger ("Unwanted Exception", exc_info = (excType, excValue, traceback) sys.excepthook = handleException logger.debug ("start") asdf # creates an exception If I Let's run...

header files - In pelles c windows.h doesn't compile -

मैं pelles c का उपयोग कर रहा हूँ जब मैं यह कोड संकलित करता हूं: #include & lt; windows.h & gt; # शामिल करें & lt; stdio.h & gt; शून्य मुख्य (शून्य) {printf ("हैलो वर्ल्ड"); } मुझे यह त्रुटि मिलती है: डी: \ प्रोग्राम फ़ाइलें \ PellesC \ शामिल करें \ win \ basetsd.h (53): त्रुटि # 2001: सिंटेक्स त्रुटि: अपेक्षित ';' लेकिन 'INT64' पाया डी: \ प्रोग्राम फ़ाइलें \ PellesC \ शामिल करें \ Win \ basetsd.h (53): चेतावनी # 2099: गुम प्रकार विनिर्देशक; गिनती 'int' D: \ Program Files \ PellesC \ शामिल करें \ Win \ basetsd.h (57): त्रुटि # 2120: '__int64' का पुनःविवरण, पहले डी में घोषित: \ प्रोग्राम फ़ाइलें \ PellesC \ शामिल करें \ Win \ basetsd.h (53) ; अपेक्षित 'int' लेकिन 'अहस्ताक्षरित int' पाया डी: \ प्रोग्राम फ़ाइलें \ PellesC \ शामिल करें \ Win \ basetsd.h (57): त्रुटि # 2001: सिंटैक्स त्रुटि: अपेक्षित ';' लेकिन 'यूआईएनटी 64' पाया डी: \ प्रोग्राम फ़ाइलें \ PellesC \ शामिल करें \ Win \ basetsd...

python - Lucene and Django with Limited Memory -

I am running a Django application with a limited application memory on a shared web server. I have a search functionality for Lusen I want to include Looking at the limited amount of memory, what are my options? I thought about using Solar, but it seems that the solar is very hungry. Do you think it would be possible to reduce its memory footprint to only 15-20 MB for a small dataset (only thousands of sentences). I like the solutions that only require Python, but I am open too thanks in advance for other suggestions. You are not receiving JVM for FIT even in 15 MB. I do not try to run Solar unless there is at least 200MB of memory. You can try, a pure Python search library, or, which is easy to integrate into the DEGENGO in C ++.

installer - NSIS - Merge Modules -

I'm looking for a way to get involved in the installation of merge module of VC2008 (mscrt90 and atl90) my main problem Bundling a Policy File I have no problem connecting DLL and MANIFEST files, but the policy behaves differently and can not be copied over to the bus ... The best solution I have ever done MSM files in a different MSI that are installed by the NSIS script NSIS There is not a good solution for this. There is no support for NIS merge module. If you are looking for a free open source solution, try using Windows Installer XML (YX),

xml - Problem with My First DTD -

This summary is not available. Please click here to view the post.

Creating / Displaying Array Results with jQuery -

I am currently working on a web app and using JGFid to pull an RSS feed from my blog . (After all, I'm pulling up in Jacquachch to build UI). I'm capable of catching the stuff I want, now I need the next step. What I need to do, first, display a list of links These links are the title of each entry when a user clicks on this link, then users to read the content for this particular entry Is displayed for I do not have the experience to do this, so I'm proud of this point. But now I have to take it to the next level and use some guidance to work with Array and can get it to work within jQuery. Any suggestions or examples would be greatly appreciated Here is my code: ";} $ ("# results_titles") .HTML ("& lt; ul>" + title + "& lt; / ul & gt;"); $ ( "# Results_content") .HTML ("& lt; ul & gt;" + Content + " ");}, 10);}); & Lt; / Script & gt; & Lt; / Head & gt; ...

iphone - Deleting a row in UITableView -

I am trying to remove a line from the list, however, the program does it every time. - (void) Table Views: (UITableView *) TV Kmiting Style: (UITableViewCellEditingStyle) RowAtIndexPath for editing style: (NSIndexPath *) indexPath {if (editingStyle == UITableViewCellEditingStyleDelete) {[self Delete .logList object object: [index row line]]; [TV Htaavattindakspathः [Ansaararaaraarad object: Indekspeth] the Sathroanimeshn: Uaitiblwvuiwaraanimeshn fade]; }} exception: to cancel app without exception exception 'NSInternalInconsistencyException', reason: 'Invalid update: section invalid number of rows 0 . Update (5) the following shall be equal to the number of rows contained in that section the number of rows contained in an existing section update (5) before, plus or went to reduce the number of rows inserted into the section (0, 1 deleted is.). ' Can someone tell me in the right direction? Is it necessary for me to update the number of lines of datastrip?...

Password protecting a php file and logging when it is accessed -

How do I login users to view a file with PHP? Actually I'm logging user's history and I want to preserve it. It's nothing important, just like searching for things, so a simple login / pass is good. Besides, on my server, I want to add this file to user history. So I should be able to write this file. Youl is a basic authentication that for most http server examples: ifset ($ _SERVER ['PHP_AUTH_USER']) {header ('WWW-authentication: basic prime = "my area"'); Header ('http / 1.0 401 unauthorized'); Repeat 'Text To Read If User Cancel Cancel Button'; Go out; } Else {echo " Hello {$ _SERVER ['PHP_AUTH_USER']}. & Lt; / p & gt;"; Echo "& lt; p & gt; You entered {$ _SERVER ['PHP_AUTH_PW']} as your password. & Lt; / p & gt;"; } See more:

c - Fastest approximative methods to convert YUV to RGBA? -

I'm looking for the fastest way to convert an array into an array. For example, a YCbYCr array is given, which is the sequence of bytes: YCbYCr = Luma0, Cb0, Luma1, Cr0, Luma2, ... Where the sample with 8-bit blue and 8-bit red-duration chroma components is 2, but the sample with 8-bit luma duration 1 is. For example: luma0 in image pixel (0, 0), cr0 red-gap chroma, CB 0 blue-inter chroma image pixel (0,1) Luma1, cr0 red-difference chroma, CB 0 blue-difference chroma image pixel (0,2) is luma2, CR1 red-difference chroma, CB 1 blue-gap chroma Image pixel (0,3) is luma3, CR1 red-difference chroma, CB1 blue-inter-chroma etc. RGBA Array should be produced which is: RGBA = R0, G0, B, A, R1, G1 , ... Where all the elements are unsigned characters and all the bits of each A # are zero. The Luma component in YCbYCr is 0. 0. 255 unsigned char, CB and CR-127. + 126 Signed Characters is a standard approach --- Multiply multiplication, but it is very slow for re...

mysql - SQL statement error -

mysql> Select AMPB AS Total - & gt; From (From the mines to the equivalent of AMPB (Select Mines Worker); ERROR 1248 (42000): In each derived table select your own nickname mysql & gt; AMPB AS Total -> (from the quarries AmpB; Error 1054 (42S22): Unknown column 'Emp_B' in 'Field List' I have some problem in this SQL statement I am being assisted. Any help would be appreciated APBB (select any of the mines) as an APPB); as an error The derived table should have its own nickname just give it a nickname, such as x above or as x , but as The word is optional. Or why should it double this time ... Choose from the total (the total amount in the form of the total from the quarries (mines. Any work Choose Ta) x; But since SUM is is exactly the value, as long as you did not simplify the query from a large query, it gives exactly the same results ?? Select amount (mines. Any worker) Total from mines;

ERROR when creating User on an ASP.NET MVC2 Project on a server -

I created ASP.NET MVC2 from a remote server with MS template. It works even when I want to register a new user; I received this error message after verifying: Sorry, there was an error while processing your request. What should I do? I suspect that the database location is not writeable, but was asked to make sure That you will need to get an error / exception in some way back to the server.

javascript - Yahoo Maps Setting Smartwindow Dimensions -

I want to be able to change the dimensions of smartwind that I see whenever given marker is clicked. I am The default bureaucratic size reduction mechanism is not producing windows which are very broad. Checked, but there was no way to pass the dimensions in a smart window. Is this possible? Any solution that passes parameters on the smartwindows function can not be found, but in any case, Defining the CSS styles for elements has managed an alternate solution that I was providing inside the smart window. How does the dimension of a smart window be calculated without specifying the dimension for the elements within the window, it is still unclear (because it does not display the standard style), so in any case if any more elegant solution Joints have been welcomed.

c# - Passing parameters to UsingFactoryMethod in Castle Windsor -

How do I get dynamic parameters for a database manager using ? For example, I want to write something like this: container & Lt; IFoo & gt; () for the Registrar (Component.) FactoryMethod (Return DoSomethingAndReturnInstance (paremeter)); I need parameters that are sent to the runtime, such as: container. Resolve & lt; IFoo & gt; (New {parameter = value}); How can this be done? CreationContact. Additional parameters have values ​​that you can solve

why i cant login this site using python in a post method -

This is my code for logging a site using Python: Import urllib2, cookielib cookie_support = Urllib2.HTTPCookieProcessor (cookielib.CookieJar ()) Opener = urllib2.build_opener (cookie_support, urllib2.HTTPHandler) urllib2.install_opener (Opener) content = urllib2.urlopen ('http://192.168.1.200/order /index.php? Op = login and ac = login and user name =% e 8% b 5% b 5% e 6% b1% 9 f% e 6% 98% 8 e and user pd = 123 '). Read () print content it shows: {"title": "Login error", "body": "Username or password error "," Data ": {" status ": 1}} But the username and password are correct, I can use this site to firefox, So what can I do, thanks you request a GET To post the request, use it: content = urllib2.urlopen ('http://192.168.1.200/order/index.p Hp ',' op = login & ac = login & username =% e8% b5% b5% e6% b1% 9f% e6% 98% 8 e and userpid = 123 '). Read () urlopen metho...

ruby - Making part of the regex optional -

यहाँ मेरा regex है: /On.* \ d {1,2} \ / \ D {1,2} \ / \ d {1,4} \ d {1,2}: \ d {1,2} (?: AM | PM),। * लिखा: / मेल करने के लिए: 3/14/11 2:55 अपराह्न पर, XXXXX XXXXXX ने लिखा: मुझे इस रेगेक्स की आवश्यकता है मैच भी करने के लिए: 25/03/2011 को, 2:19 पूर्वाह्न पर, XXXXX XXXXXXXX लिखा है: इसलिए मैंने यह कोशिश की: / ओन्नी \ d {1,2} \ / \ d {1,2} \ / \ d {1,4} (, पर)? लेकिन यह अन्य मैचों को तोड़ता है क्या मैं (, पर) बना रहा हूँ? वैकल्पिक सेट सही? धन्यवाद मैंने आपको रेगेक्स को थोड़ी सी बदल दिया है, और मैं दोनों तारों से मिलान करने में सक्षम हूँ मेरे पास regex है: /On.* \ d {1,2} \ / \ d {1,2} \ / \ d {1,4} (?:, पर )? \ D {1,2}: \ d {1,2} (?: AM | PM),। * लिखा: / दो के परिणामों की तुलना करें: आईआरबी (मुख्य): 023: 0 & gt; S1 = "25/03/2011 को, 2:19 पूर्वाह्न पर, XXXXX XXXXXXXX ने लिखा:" = & gt; "25/03/2011 को, 2:19 पूर्वाह्न पर, XXXXX XXXXXXXX ने लिखा:" irb (मुख्य): 024: 0 & gt; S2 = "3/14/11 पर 2:55 अपराह्न, XXXXX X...

java - Service is not getting disconnected on calling unBindService() -

I have implemented through the binders in my Android project and have inter-process communication my activity & amp; The service is running the same application; I have disconnected the service by calling the service unrestricted service (intent); Service is destroyed but I am able to call the already destroyed public law ... How to solve it? Even if you close the connection to the service, then this is an opportunity There is a connection somewhere else within the application. Therefore, if you call stop service (service) in service or stop yourself from inside the service to destroy service, then this is the best practice.

html - trying to get footer to stick to bottom -

This is my site I tried to do everything to stick the footer down But nothing tags # Secret does not do anything other than setting the height in the CSS, but I do not want to do it because the dynamic content went there. Can anyone see what is wrong or wrong? Thanks Add to your footer CSS Status: Completed; Bottom: 0; If you want the footer to always remain on the floor regardless of the window, position: fixed; Bottom: 0;

C#: Code is creating unwanted child nodes in XML document -

The piece of code that I'm working here is almost complete, I'm doing something wrong with a piece of repetition . Items in the list view are not separate and separate nodes in the XML file. The first item in the listView is a child node in each subsequent list. What am I doing wrong? The code is as follows: Private Zero Button 1_Click (Object Sender, EventArgs E) {System.Xml.XmlTextWriter Author = New System.Xml.XmlTextWriter (Application.StartupPath + "\\ database.xml " , Zero); Author.WriteStartElement ("database"); For (Int i = 0; I & lt; List View 1. ITims.Count; I ++) {Authors. Merge start element ("account"); Author. Typ character string ("description", list view 1. items [i] .sbits [0]. Text); Author. Writing object string ("username", list view 1. item [s]. Sbits [1]. Text); Author. Writing attribute string ("password", list view 1. items [i] .SubItems [2]. Text); } Author. WrititeElement (); Writer...

windows - how to use X-Win32 connect Mac OS in remote? -

Sanariario: A Windows Computer with an X-Win32 application. Mac OS MBP How far can I connect to Mac using X-Win32 windows? Thank you! I'm not familiar with the app you mentioned, but it looks like an X11 server. This will not work until you want to remotely run an X11 app on your Mac, and export your display to your PC. The original Mac apps do not use X11. You can to run your Mac remotely, however just enable Desktop Sharing on it and connect it with a VNC client.

mysql - ICU Collator Base on Locale and Customize Rule -

If it is possible to use the collater of ICU collation service which is the basis on both sides: LocalBase "Koi-KR" (coll = ucol_open ("ko_KR", and "custom") as the customized rule i.e. "tellering" (coll = ucol_openRules (rlz) Status)) , Rlen, UCOL_OFF, UCOL_TERTIARY, NULL, & status)) Collator_Final = Collator_Locale + collator_customize_rule If yes, please Tell us how can we use the collator on both at the same time? There was an answer on the mailing list on your question

java - Hibernate get Collection from another session -

Hello I was not infrequently saying "no session or session was closing" I know that because I try to invke One collection of a hibernate is making the object in the second session, so there is one way to do this, to make the filter and JOIN fetch mode do not include it .... Grave: failed in laziness Start a collection of roles: N.D.U.ID.Data.blog.kuro.modules, any session or session b The was not. Hibernate Lazy Initialization Exception: A collection of role failed to start: ni.edu.uni.id.data.object.Curso.modulos, no session or session was closed The object is better to refresh constantly. Like call dao getById () is going through an object ID and then use the required collection.

sql server - is there a way to find out which statement in TSQL stored procedure crashed? -

This article claims about SQL Server development: "Errors must be checked after every SVL statement". The SQL Debugger's pretty unclear online description for TSQL neither rejects nor supports this claim. So, is it really the case that is "easy to debug" stored procedure, whose 50% code is dedicated to detecting errors? Or are there any better ways to do this, which can come closer to finding the crash that we are familiar with stack trace based debugging in modern programming environments? Is there an area that creates a clever new tool to fill the gap in spite of the incompleteness of the current programming environment, or who calls me to call together with the program and some of the famous things to achieve this Learns state-of-the-art methods? ETA: Found on try-capture, thanks in fact, to expand on it, here's the discussion of imitating the stack trace because apparently the stack trace is not yet supported by SQL Server . Well, at least in t...

iphone - separate three NSStrings, how? -

I am joining in three stars and have put "*" among them, now I am going to separate three of them Wish (name, email, address), how can I do this? NSArray * component = [string componentsSeparatedByString: @ "*"]; See for more information.

c - float value in - struct itimerspec -

I have this problem: I have created a structure using the etymerspeak structure. There are two fields in the Etymerspeak structure: Structure TimeSpeak {time_t tv_sec; / * Seconds * / long TV_NSC; / * Nanoseconds /}; Structure itimerspec {struct timespec it_interval; / * Timer Interval * / Straight TimesPack it_value; / * Initial Term * /}; So when I'm entering: Enter the code here itimerspec; // logic timer_gettime / * setting timer interval * / its.it_interval.tv_sec = 0; Its.it_interval.tv_nsec = 1; / * Timer End Installation * / its.it_value.tv_sec = 0.1; // First end after 1 second its.it_value.tv_nsec = 0; On the compilation: Prototype 1. CCT1515: Warning: change from one to â __ __ time_tâ ???? My problem is this: According to the design, the user can enter the whole number (1, 2, 3 etc., timer end, which is fine) but time is also recorded as 0.1 seconds Can O.2 seconds, etc. But in seconds only. You have to adjust with seconds and nanosec, like 0.1 seco...

popupwindow - how to remove black color of popup window in Blackberry -

Hi all I have a popup screen with background image. The image is displayed with black border. I like the extra black color Remove the popup screen Try the code given above by the code @ Mughal, but You will still end up with heaving. Use the code below to remove the limit of popup screens Border Seam = Simadhari .createSimpleBorder (new XYEdges (), range. STYLE_TRANSPARENT); This.setBorder (range);

url - How to open "file://D:/help.html#selclass" with default browser in C# -

संभव डुप्लिकेट: सी # में डिफ़ॉल्ट ब्राउज़र के साथ "फ़ाइल: // डी: /help.html#selclass" को कैसे खोलें, क्या कोई उदाहरण है? धन्यवाद डीएमए प्रक्रिया। स्टार्ट ("file: // D: /help.html#selclass");

library or tool to convert pdf to SilverLight xaml file -

Does a library or device convert PDF file to a SilverLight xaml file? Create a new Silverlight Project in Expression Blend. As the Expression Blend can import Adobe Illustrator files, just rename the PDF file pdf to > AI Clicked file-> You will import the whole image as a graphical path, preserve the entire layout / div>

plugins - Deploying a plug-in for Autodesk motionbuilder 2011 -

I have to make installer for 32 bit and 64 bit for builder builder 2011. The installer should find out and the corresponding plug-in should be implemented Both versions have been installed in one of 64 bit machines but in Registry time, only one of them shows. What is a way to detect both installed versions and deploy related plug-ins in their installed directories? Thanks To get you the MoBu 64-bit path, perform a HKEY_LOCAL_MACHINE64 query Will happen. For example, using the Ino setup script: 32-bit path RegQueryStringValue (HKEY_LOCAL_MACHINE, Software \ Autodesk \ MotionBuilder 2011, 'InstallPath', path) 64-bit path RegQueryStringValue (HKLM64, Software \ Autodesk \ MotionBuilder \ 2011, 'InstallPath', path) Hope that helps!

iphone - How to get an url from textfield and use it in the application? -

I am working on an easy RSS reader for myself. I'm new to Objective-C, so I'm stuck at one point. There is an add button on the application's navigation bar, which opens a UILETiew with a text field where the user inputs the RSS feed URL. Know a predefined RSS feed in the source code of the application. I am writing my code example below: - (zero) viewDidoadload {[Super Viewedload]; Self.feeds = [NSArray arrayWithObjects: @ "http://www.formula1.com/rss/news/latest.rss", zero]; Feeds are a predefined array in which the feed is detected. I tried the code below to get the text, but this did not work. In addition, how does the application take that URL from the textfield and change it with the predefined one? - (zero) myAlertView: (click on UIAlertView *) AlertButtonAntindex: (NSInteger) ButtonIndex {if (buttonIndex == 1) {// OK Push // [Data addObject: myTextField Text]; } In a UIAlertView, there are zero-index buttons if your only button is OK It ...

java - Professional Advice: Messaging Solution -

I am putting an application for a bulk SMS solution. I'm comfortable writing applications in Java, Perl or PHP. Please advise on the best way to handle asynchronous message delivery. I have credentials with the networks. I: Password Username Password etc. For SMPP connectivity. I am considering the following: The user uploads a CSV or XLS file to the web Numbers and I am making a cron from time to time to check the database for queued messages to be sent. The message to be sent will be activated MQ (a messaging tool MQ for network forwarded To get approval and delivery status from the network Please update MQ and database. Please indicate if my concept is on track or better solution. The fact is that you are talking about SMS messages (which is an asynchr ons message handing system) confusing some things - it does not matter in practice - important The thing is that you try to write an asynchronous message handling system to some There ...

linux - Problem handling file I/O with libevent2 -

I have worked with libevent2 for a while, but usually I use it for network I / O (use of sockets From). Now I need to read many different files, so I want to use it I have created this code: int file = open (file name, O_RDONLY); Structure event * ev_file_read = event_new (ev_base, file, EV_READ | EV_PERSIST, read_file, NULL); If (event_add (ev_file_read, NULL)) error ("add file event"); Unfortunately this does not work. I get this message when I try to add an event: [Warning] Apollo ADD on FD7 (1 ) Failed old events were 0; Reading change was 1 (added); Writing change was 0 (none): Operation is not allowed to add file event: Operation is not allowed The file exists and has the right to read / write Anyone have any idea how file can handle IO using libevent? I also thought about buffer incidents, but the only function in the API is bufferevent_socket_new () which does not apply here. Thank you in advance. I need libevent to read many files about prefere...

Scrape a page on my own site for images to display thumbnails (Rails) -

There is a train app with my posts and post comments posted at the top of the post page, all the images I posted in the post I want to post thumbnails (automatic) and comments. Since users add post comments with images, thumbnails at the top will be updated to reflect new images. 1) Clean the page using scrapes or similar 2) Create methods in the post and post-comment models, which scan the scanned content for images Which means that any kind of image will require rijks and database queries It seems that with some javascript magic or something, better way should any ideas? URL regexes is a solution problem, so I was an enterprise for Option 2 that checks the URL The content was posted then you can go a step further and see a head request against the image to see your content-type. If the type of content is a known image, then download it and store it anywhere (DB / S3, etc.) for rendering later. I put them on a background line like a delayed job, however, because tho...

php - Latitude/Longitude Regular Expression -

I'm in the middle of developing a Twitter app while I need to remove latitude and longitude to parse JSON , Store them in a database and then use them in the Android app. Actually, I managed to get it out, but people were sending their tweets to different devices (iPhone, Blackberry etc.). Here are the examples given to me: One? T: 51.554644, -0.003976 51.576100, -0.031600 Iphone: 51.554644, -0.003976 Now my question is this: How can I use regular expressions with latitude and longitude, and it's javascript In the form of an array to appear in front of the word that appears in front of it? You can use something like this: ([0-9 .-] +). + ([0-9.-] Since you have tagged your question with PHP and Javascript, I will show you how to use it in both. In PHP: preg_match ('/ ([0-9 .-] +). + ([0-9 .-] +) /', $ str, $ Matches) $ matches = (float) $ matches [1]; $ long = (boat) $ matches [2]; // coors in $ latitude and $ long In JavaScript: var matc...

c# 3.0 - Progress Bar on asp.net web page -

To show the progress of submissions, I need to add a progress bar to my web page. is. I have to show how long the submissions will be. For example, 50% complete and so on .. Process to show progress for updates, You will need to complete partial updates, which is a sign of the total percentage so far. Therefore, the more applicable solution will be to use something like jQuery UI Progressbar, and there is a mechanism to send the specified percentage to the user, then update the progress bar with the last sent value. You can check the following articles for more information:

layout - Basics Android UI design issue -

& lt;? Xml संस्करण = "1.0" एन्कोडिंग = "यूटीएफ -8"? & Gt; & LT; RelativeLayout xmlns: एंड्रॉयड = "http://schemas.android.com/apk/res/android" एंड्रॉयड: layout_width = "match_parent" एंड्रॉयड: layout_height = "200px" एंड्रॉयड: पृष्ठभूमि = "@ लेआउट / roundedshape" एंड्रॉयड: id = "@ + id / mainLayout" & gt; & LT; गैलरी xmlns: एंड्रॉयड = "http://schemas.android.com/apk/res/android" एंड्रॉयड: आईडी = "@ + id / गैलरी" एंड्रॉयड: layout_width = "fill_parent" एंड्रॉयड: layout_height = "100px" / & gt; & LT; LinearLayout एंड्रॉयड: गुरुत्वाकर्षण = "टॉप" एंड्रॉयड: आईडी = "@ + id / gallerytext" एंड्रॉयड: layout_width = "match_parent" एंड्रॉयड: layout_height = "50px" एंड्रॉयड: layout_below = "@ + id / गैलरी" एंड्रॉयड: layout_centerHorizontal = "सच" & gt; & LT; TextView एंड्रॉयड: पाठ = "Tex...

iphone - CGColorGetComponents equivalent in Android -

I am porting portals from iPhone to Android related to RGB colors. Is CGColorGetComponents in Android? I usually get my arguments using beta-level operations. You can wrap it in a supportive method which gives it as an array if it is more convenient. public int [] getColorComponents (int color) {int alpha = (color> & gt; 24) & amp; 0xff; Int red = (color> 16) & amp; 0xff; Int Green = (Color> 8) & amp; 0xff; Int Blue = Color & amp; 0xff; Return the new int [] {alpha, red, green, blue}; } If you need a float, you can do something like public float [] getColorComponents (int color) {int alpha = ( Color> & gt; 24) & amp; 0xff; Int red = (color> 16) & amp; 0xff; Int Green = (Color> 8) & amp; 0xff; Int Blue = Color & amp; 0xff; Float A = Float Alpha / 255; Float R = (float) red / 255; Float g = (float) green / 255; Float B = (float) blue / 255; New float return [] {a, r, g, b}; } If you are doing this many tim...

regex - Perl regular expression question -

I want to use the Perl split function on comma-delimited lines and between the commas only an array of two or more words I want to be demoted in Single words are not required. For example, this line - & gt; & Gt; (& Lt; FH & gt;) {@ = split (FLA) (ADA), AAA, CCC Deed, EEE, FFF, GUUUUUUUI, I only want, CCC Deed and FAF GGUUUUI /, /); } demo script: my @data = ('AAA, CCC Deed, EII, FFF GUUUU', 'AABBB, CCC, EEE, FFF GGUUU', 'AAA, CCC, EEE, FFF'); For my $ line (@dieta) {printf "|% s | ==> \ n", $ line; $ Line = ~ s / ^ \ s + | \ S + $ // g; My @ cut = grep {/>} partition (/ \ s *, \ s * /, $ line); Printf "|% s | \ n \ n", join ('|', @cut); } Output: | Aaa, ccc ddd, eee, fff ggg uuu | ==> | CCC DDF | FFF GGIUUUUI | | AAA BBB, CCC, EEE, FFF, GUUUUUUI. ==> | AAA BBB | FFF GGIUUUUI | | Aaa, CCC, EEE, FFF | ==> || Less disturbances compared to Dahlahalen's solution, but can be e...

.net - Dotnet :- How to go back a web page using windows form app? -

I am developing a window form through which I am controlling a web site. I want to go to the previous page after navigating to multiple pages. Do you have a WebBrowser control? If this is the case, then the WebBozer control has a GoBack () method that may suit your needs

canvas html5 drawing into context -

Can I attract everything in one context and then add canvas later? For example, I want to create 10 references and then I want to draw them one by one in the canvas It's an interesting idea, but no, you can not do this, you can not create a new context independent of a canvas, nor can you assign any reference to a canvas. What you can do dynamically create 10 canvas (you do not need to add them to the document, so they will not be visible) and then swap a canvas for another when you need it . For example: var canvas = document.getElementsByTagName ('canvas') [0]; Var frame = []; {Var c = frames [i] = document.createElement ('canvas') for (Var i = 0; i & lt; 10; ++ i); C.width = canvas.width; C.height = canvas.height; Var ctx = c.getContext ('2d'); // draw what you want here} var frame = 0; Through the canvas 15 fps set interval (function () {var c = frames [++ frame% frames.length]; canvas.parentNode.replaceChild (c, canvas); canvas = c;}, ...

flex4 - flex, 3d object translation and rotation -

I would go to Flex with an independent (rotated) object as an independent supervisor in the form of X, Y, or Z . The relative movement of x, y works fine, but when I go with the z axis, the supervisor behaves because it is in addition to the exhaust system of objects and in the diagonal, for example, but not directly in the object . A screenshot can be found here var dx1: number = mathematics (current ZRotation) * xDiff; Var dy1: number = -Math (Dzetrad (current resolution) * xdf; Var dy2: number = mathakos (dzetrad (current composition)) * yDiff; Var dx2: number = mathematics sin (digestrade) * yDiff; XDiff = DX1 + DX2; YDiff = dy1 + dy2; Var xyx: number = mathematics (current YRotation) * xDiff; Var aux: number = monastery sin (current YRotation) * xDiff; Var xxy: numeral = math sin (degToRad (current XRotation)) * aux; Var xxz: number = mathakos (current xrotation) * aux; Var yxz: number = -Math.sin (degToRad (current XRotation)) * yDiff; Var yxy: number = mathematics (Digi...

android - How to launch another application without knowing its class name or package name? -

I have two questions. I have an .apk but I do not know anything about class name or package name, there is a possibility to find the name of the class and the package name? If I do not get the class name or the package name of the application, should I launch the application with my current application? No, you can launch it without knowing the name of the class Able to do. You can use the APK file to separate. When you do this, it will show you the Android manifest file for the APK. In Managing XML, you will see announcements of package names and specific process / activity names which you can directly launch / reference. Also there are + more specifications on this process + to see in the manifest.

html - Force background to draw on till end of line -

I have a custom tag ab that is defined, so I want to black How do I get the line behind drawing the text till the end of the line? add ab {display: block; } Demos for CSS: Unknown elements are inline by default ( display: inline ). If you want styling to work in Internet Explorer 8 and older versions, you will need to use some javascript. In response to Karl Nicole, a solution has been described in such a way that the screen will work for the media, but still can not be enabled for the print media. If you want, then you can use this revised version of the IE Print Protector You can use: / *! Iepp v1.6.2 mit @ zon_eagle * / (function (k, o) {var a = 'ab', f = a.split ('|'), d = f.length, b = new regx ('(| \\ s) ('+ a +' ',' gi '), h = new RegExp (' & lt; (/ *) ('+ a +' '', 'gi'), m = new regx '(' | [^ \\ n] * \\ s) ('+ one +') ([^ \\ n] *) ({[\\ n \\ w \\ w] *?}), 'G'?), ...

Powershell remote enabling -

I can not connect to remote machines using powershell. I have done the following procedures: enabled - PSRemoting-Force Set items WSMan: \ localhost \ Client \ TrustedHosts * Enter the restart-service - PSSession IpAddress When I run the last step (4th) from my server machine, I get an error: > I have tried all 4 steps above both client and server machine Please help Thanks Prav Remote Check the port on the machine PS Z: & gt; CD WSMN: \ Localhost \ Listener / PSWSMAN: \ Localhost \ Listener & gt; DIR [Cut] PSWSMAN: \ Localhost \ lister & gt; CD. \ Listener_1084132640 PSWSMN: \ Localhost \ lister / lisner_1084132640 & gt; Dir WSManConfig: Microsoft.WSMan.Management \ WSMan :: localhost \ listener_ listener_1084132640 Price of name --------- Address * Transportation HTTP Port 5985 then connect to the correct port $ remotePowerShellPort = $ 5985 ConnectionURI = ("http: // {0}: { 1} "- $ $ $ $ $ $ $...

.net - String not printing as expected -

Image
Can you please explain why the output window does not print the "xxxxx" part of the string? It seems that I do not have some basic understanding about some things ...? I am sending string messages to TcpClient, and when creating strings, does not add a special character on the sender side, and neither is the part of this problem towards the receiver? Edit: I am making my string like this on the sender side: Private Sub SendData (ByVal stringArray As string ()) SendData (GetMessageString (stringArray)) End Sub Public Function GetMessageString (ByVal array string) as string string str str = "as for" as I = 0 array.Length To - 1 Str = str & amp; Array (i) if i & lt; Array.Length - 1 then str = str & amp; "|" Finish the next return str termination function and towards receiving, the variable has been created: client.GetStream.BeginRead (readBodyBuffer, 0, MESSAGE_BODY_LENGTH, New AsyncCallback (AddressOf ReadBody), nothing...

java - Use JAXB to create Object from XML String -

How can I use the code given below to add a map to an XML string below the JAXB object? JXBCTXXNTEX = JXBCTXEIEIIIntension (PersonClass); Unmarshaller unmarshaller = jaxbContext.createUnmarshaller (); Person person = (person) unmarshaller.unmarshal ("XML string here"); @ XmlErment (name = "First-Name") string first name; @ XmlElement (name = "Last-Name") string lastName; Public string getFirstName () {return firstName; } Public Zero SetFirst-name (string first name) {this.firstName = firstName; } Public string getLastName () {lastName; } Public Zero setLlastName (string last name) {this.lastName = lastName; }} To pass XML content, you will get a reader , and instead Anupam: JXBNTXXXXTP = JXABTXX Newestience (PersonClass); Unmarshaller unmarshaller = jaxbContext.createUnmarshaller (); StringReader Reader = New Stringer ("XML String Here"); Person person = (person) unmarshaller.unmarshal (reader);

WPF Set border left and width -

I have to set the border to the left and the width I am trying to use margin b.Margin = new thickness (PBX, B. margin. Top, B. margin. Right, B. margin.bottom); But if I set the width property, then the border is placed in a strange position ... (half screen + half to the left which I want). How can I do the trick? Thanks var totalAvailableWidth = ...; // You have to get it somewhere Var Margin Right = Total Available Width - pb.X - Width; B Margin = new thickness (PBX, B. margin.Tap, margin right, B. margin.bottom);

c# - Decide property to use at runtime -

itemprop = "text"> There are more than 50 properties in my staff class. I display all property names using the property info square on the checkbox list on the windows form. I do Users can select more than one asset to display in the report The user needs to get all the strings in order to accept the selected name, title, phone, address and display it on the report. I can easily do it or with the switch but there is no other better way than to write more than 50 switch statements To get value as well for you (if this is what you mean): PropertyInfo propertyInfo = catalog.GetType (). GetProperties (BindingFlags.Public | BindingFlags.Instance | BindingFlags.FlattenHyarchy). Where (x = & gt; x.Name == propertyName) .SingleOrDefault (); Object property value = propertyInfo.GetGetMethod (). Invite (Customer);

iphone - application loader submiting with metadata -

I have my app running properly I have run the package maker to make a PKG However, if I try to upload with an application loader it always gives me: The archive is invalid. Unexpected Product Product Production: The product meta-data should be present The product store "/ user / site" / mypipecag is a directory for my app " It should be a bit of work, but I spent hours and did not know. Expected zip file is hoping that the zip is made from the .app folder - compress it and result in .zip f Upload the file.

xcode - Create cocoa borderless window using nib design -

I'm trying a full-screen borderless full screen window. I can show it but it appears to be empty because I do not know how to use one of my NIB files. I am using the following code to create a window: int windowLevel = CGShieldingWindowLevel (); NSRact ScreenTrack; ScreenTrack = [[NSCCc MainScreen] frame]; VentanaBloqueo = [[Escucha alloc] initWithContentRect: ScreenTrack StyleMask: NSBorderlessWindowMask backing: NSBackingStoreBuffered defer: No screen: [NSScreen main screen]]; Where 'escua' is an NSWindow subclass I How can I use one of the NIB designs? I will use a window controller to make it much easier and more ordered For example: NSWindowControllerSubclass * Controller = [[NSWindowControllerSubclass alloc] initWithNibName: @ "nibName"];

sql server - asp mvc, best solution to store user input data before it will be saved to database -

For example, I have got some input fields (a form with each form and it has input with validation rules Which is stored in the database). Each input has its own on-site (), which sends the controller to the controller for json (i.e. the new value, the name of the input element, ...), if the new value passes, then save the user to the submit button anywhere. For the database table which will save all the data which should not go. And here I want to ask, what can be the special place between the UI and the database? ps If the user closes the browser / next time when he comes back, I have to ask him whether he wants to start with the blank form or he can fill the form with the values ​​already there before . Thank you! Cookies or intermediary database tables will work for this case.

c++ - How to center widget inside QStackedLayout? -

I have a QProgressBar, which I should be centered inside QStackedLayout. How do I get it, seeing that QStackedLayout :: setAlignment has no effect, and the widget is always in the top-left? Put QProgressBar in container (i.e. QWidget) which allows it to be centered with an additional layout is.

javascript - How to add value to textarea when checkbox is checked -

I am using the following function which I have just found here that the only job related to my question The issue is, I have a long list of choices, and when a user checks more than 3-4 checkboxes, some text or value that is added in the texture is no longer visible. Is there any way to check that every time a box examines the text that is always being added to the text field? Any help is greatly appreciated. - Moves forward! & lt; Input type = "text" value = "" class = "text field" id = "video0_tags" name = "video0_tags" & gt; & Lt; Div class = "taglist" & gt; & Lt; Label & gt; & Lt; Input type = "checkbox" value = "2D animation" & gt; 2D animation & lt; / Label & gt; & Lt; Label & gt; & Lt; Input type = "checkbox" value = "3D animation" & gt; 3D Animation & lt; / Label & gt; & Lt; Label & gt; & Lt; Inp...