Posts

Showing posts from February, 2012

web applications - Which free third-party services can I use to enable user content uploads (images/documents) to a web app? -

I'm looking for an alternative solution to allow a web app to upload user content, due to the restrictive file Basically do not allow I need a free third-party web service for: Image uploads Document upload What image are I thinking of using Flickr for image uploads and then looking at them Use flickr API for images to image? Or is there an easy external service to integrate image uploads? Regarding document uploads, if I want a user to be able to upload MS Word, Rich Text or PDF to my app, strong> Google Docs if directly in my service Uploads are not possible or, again, is this some other service that allows it? Whether or not I need to use Amazon to upload, but because I am unemployed, I want to reduce as much expenses as possible and try to use free of charge outside services Until then, both of my programs and the users of my application are not cumbersome for the use. There is always a risk when you direct someone to a third party that where they have...

ruby on rails - Polymorphic Association with multiple associations on the same model -

I got a little confused about the polymorphic union. I need a paragraph model for a header image and multiple images, but I have to make an image model. To make the case more confusing, the image model is polymorphous (to allow other resources to keep multiple images). I am using this link in my article model: class paragraph & lt; ActiveRecord :: Base has_one: header_image ,: as = & gt; : Image is qualified_mine: picture, as in: => : Imageable end Is this possible? Thank you. Yes it is entirely possible. You may have to specify the class name for header_image , because it can not be estimated. Include : Dependent = & gt; : class paragraph & lt; If deleted, delete also to ensure that images have been deleted. ActiveRecord :: Base has_one: header_image ,: as = & gt; : Image worthy ,: class_name = & gt; 'Image' ,: Dependent = & gt; : Has_many deleted: images, as in => : Image, Dependent = & gt; : End of end then on ...

Is there a way to have ClearCase display icons in the Windows Explorer to denote the state of files/directories? -

For example, in TortoiseSVN, I can see that a directory is out of date or by looking at the checkered directory icon Images in the corner of the corner However, I do not have ClearCase with the inside of the eclipse, I can see who I have checked / out, but I am not always inside the eclipse It appears that I can right click on the file And if the file was not checked out And as the "Czech in ..." option as an alternative I see as an alternative to "Czech Out ...". I really want to have a picture or icon that tells me visually that I have checked through the Windows Explorer Shell and beyond. Is this possible? Currently, I do not know by any tool / plugin ClearCase Eclipse plugin (where a "recursive "Option can be set, if a file is check out to show" dirty "position on a project package) Since ClearCase is not so compatible with the speed , A Windows Explorer wants to refresh itself.

How can I use reflection in C# to find all the members of a class that meet the requirements of a specific delegate? -

I have a class that has got a bunch of public methods, and I want to reflect on it to find it Member set of methods that can be used as a specific representative. For example: representative zero interesting function (int i); Class unit {public zero F (); Public zero (g); Public zero-h (int i); Public Zero X (int i); } Can I use Type.FindMembers () to remove set {H, X}? if so, how? Is there a better way? There is no built-in query support, which will be available on any type of basis The code will need to provide a search method, which snatches through methods and properties and manually compares the signature of the proposed representatives. This is a non-comparable operation, as you have to take the generic account with your solution.

How to create a Patch for Rietveld by git/patch/*? -

I have a file where I print - such as print "hello" // This is a change ----- file ------- I have a change in my Gita tree. I would have like a patch that I can use for it. I get the following code when I was replaced on data , while unchanged file at base . How can you create a patch that I can give for ReitalWell? In the current situation, the Reitveld R 530 online patch parser only understands SVN based patches - No Mercurial or GIT format. Therefore use the upload.py utility to send patch.

actionscript 3 - Issue with flash room editor and large number of images loaded in -

I have created a flash room editor for an online game, the user is able to add items to his room, in which for each item Flash loads and creates an object. This works well for the average user, but I have participated in a case where a user has added 8400 items to the room and the flash can not handle it. XML file loads fine, but when trying to load in flash, nothing appears; I think this is because the flash runs in a wall trying to load them all in memory? Is there any possible way to be around this or do I need to restrict the amount of items kept in the room (2500 was the limit I got to work). Editor ActionScript 3 If this is the case. Well, I think you will never show 8400 items together, so I demand you But advise them to load, and then unload those people who have not been shown anymore. I think that you can finally put them all in memory as a byterease (loading them with a loader instead of a loader), and then every time you need to show one of Loader.loadBytes Using...

Programming languages complexity -

क्या एक प्रोग्रामिंग भाषा की जटिलता का एक उद्देश्य उपाय है वाक्यविन्यास और शब्दों के संदर्भ में, भाषा कितनी जटिल नहीं है का उपयोग करने के लिए मैंने कई व्यक्तिपरक टिप्पणियों को पढ़ा है लेकिन थोड़ा कठोर विश्लेषण। डेनोटेशनल सिमेंटिक्स गणितीय ऑब्जेक्ट्स का निर्माण करके प्रोग्रामिंग भाषाओं के अर्थ को औपचारिक रूप देने के लिए एक दृष्टिकोण है (जिसे डेनोटेशन कहा जाता है) जो वर्णन करता है भाषाओं से अभिव्यक्ति का अर्थ एक प्रोग्रामिंग भाषा के लिए परिचालन शब्दार्थ बताता है कि कैसे एक वैध कार्यक्रम को कम्प्यूटेशनल चरणों के अनुक्रम के रूप में समझा जाता है। ये अनुक्रम तब कार्यक्रम का अर्थ है। कार्यात्मक कार्यक्रमों के संदर्भ में, एक समाप्ति अनुक्रम में अंतिम चरण कार्यक्रम के मूल्य देता है। (सामान्य तौर पर एक एकल कार्यक्रम के लिए कई रिटर्न वैल्यू हो सकते हैं, क्योंकि प्रोग्राम नोडेटेमैनिस्टिक हो सकता है, और यहां तक ​​कि नियतात्मक कार्यक्रम के लिए भी कई अभिकलन क्रम भी हो सकते हैं क्योंकि सिमेंटिक्स निर्दिष्ट नहीं हो सकता है कि ऑपरेशन किस क्रम पर आता है।)

When implementing the repository pattern should lookup value / tables get their own Repository? -

Image
Based on a modified version of I am creating permanent services for many database organizations. Some of these entities have been associated with viewing table, as shown below: I have decided to use repository patterns to provide a clear separation between data continuity / recovery; However, I am not sure how to look in the repository (contrary to institutions) should be represented. Lookup your own store interface with affiliate unit, should be "share" one, or should there be a normal ILookupRepository interface? Read only For the moment, these are the lookups; However, there will be a time where we may want to edit lookup through services. Option 1: ISPARR repository. Gatespace CarebarebierID (string id); Option 2: ISPCARCRR DepositorGetBiID (String ID); Option 3: ILQRPository.GetSpecsbrababIID (string ID); Incidentally, this question relates to any other. no Repositories should present domain model concepts, not institution-level concepts, and cert...

Programmatically resize browser window in GWT -

I'm developing the GWT app, I have to change the height of the browser window programmatically. Is there a way to do this in GWT? I have tried the following: Public Fixed Country Zero Set WindowHighth (final integer height) / * - {$ wnd.resizeTo ($ wnd.outerWidth, height); } - * /; But this not only changes the height, it also messes with the width. Besides, I have the functionality of this size within the GWT Java code (it uses JSNI) Would like to keep EDIT: This does not actually interfere with the width of most browsers - this is the last width and new height. This makes my Google hosted mode browser width due to some reason. I really like something that changes the browser area of ​​the browser (i.e. except for the browser toolbar and scrollbar etc). ) Instead of the window. For example, the following methods are com.google.gwt.user.client.Window: getClientWidth () and getClientHeight () I have to do something that sets client width (int width) and set client He...

c# - When is a custom attribute's constructor run? -

When is this going? Does it go for each object that I apply it, or just once? Can it do anything, or restrict its functions? When did the constructor run? Try it with a sample: class program {static or oid key (string [] ARG) {Console.WriteLine ("Creating MyClass Example"); MyClass MC = New MyClass (); Console WrightLine ("Price setting in MyClass instances"); Mc.Value = 1; Console.print line ("attaining properties for myClass type"); Object [] attributes = typef (myclass) .GetCustomAttributes (true); }} AttributeUsage (AttributeTargets.All)] Public Category MyAttribute: Attribution {Public MyAttribute () {Console.WriteLine ("Running Constructor"); }} [MyAttribute] Class MyClass {public int value {get; Set; }} And what is the output? Creating MyClass Example Setting Value in MyClass Example Running Constructor for MyClass Type Running Constructor Then, the Specialty Constructor is run when we type the attribute Begin to test....

xml - Why does this Python script only read the last RSS post into the file? -

I'm trying to fix a Python script that takes posts from a specific RSS feed and pulls them down And puts them in a text file. As you can see below, there are two main print functions. Once prints the shell only once, but it shows all of posts, which I want to do it. Now, the second part is where the problem lies, it prints the last post of the RSS feed in a single text, not the whole thing, as the first function does. I have also tried to create another function (f = open), as it would be the first time with a new print-line PR instead of% s. If someone can tell me why the script does not post more than one post (last) of RSS feeds in the text, but there is whole thing in the shell, and what I need to improve, I appreciate it :) Here is the code: Import urlib import system import xml.dom.minidom # Feed URL address = 'Http: // Www.vg.no/export/Alle/rdf.hbs?kat=nyheter '#Our actual XML document document = xml.dom.minidom.parse (urllib.urlopen (address)) for the...

c# - ExpectedExceptionAttribute is not working in MSTest -

It is weird, but suddenly expected exception entry not sure before leaving the job for me the other day Is it gone wrong I am running VS 2010 and VS 2005 Side-by-Side This VS Not working in 2010. This test should be passed, although it is failing: [TestMethod] [Expected exception (type of argument)] Public Zero test_Exception () {New Dual NullException ("Test" ); } Any ideas? It really suks. Not to revive a dead thread, but when I did all this suddenly with me, It can help others I finally figured out what was the problem, which could be correlated with John, the expected expection feature appears to work only if the project is identified as TestProject ( Only one .NET assembly) unload the project Switch to edit csproj file and check that following setting exists: & gt; ProjectTypeGuids & gt; {3AC096D0-A1C2-E12C-1390-A8335801FDAB} {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} & lt; / ProjectTypeGuids & gt; Reload and rebuild the project (assu...

How can I update multiple columns with a Replace in SQL server? -

How can I update different columns and rows in a table? I want to do something similar to but I want to do this but there are values ​​in many columns of the same type. There are foreign key boards for the value employee table. Each column represents a work, so a single employee can be assigned multiple tasks in one record and the records of those tasks will vary between them. How can I do this effectively? Thanks for any help or advice. Cheers, CK This should do the trick in San Diego: UPDATE table1 SET field1 = replacement (field 1, 'old string', '

How do I do tab completion in Perl's Term::Shell? -

I am using the package in Perl to implement a CLI tool. I am not able to complete the tabs of a Command Partition with it. comp_CMD () - which is the API provided by this term :: shell, is to complete the tab. Is not it helping me? Does anyone know the way to do this work ?? Sample code: #! / Usr / bin / env perl package sample; Use base qw (period :: shell); Sub-prompt_str {"sample \ & gt;" }; Sub comp_show {my $ o = shift; My $ word = shift; $ O- & gt; Conclusion ($ word, [qw (all work and no play is no fun)]; } Sub-run_show {print "run show \ n"; } Package Head; Sample- & gt; New- & gt; Cmdloop; This program has a run: sample & gt; Show [TAB] Do not have the above command Give the expected output .. It only gives me a tab. Be sure that you have installed or installed.

cakephp - how to use a common data across action in a controller -

In the Operator index, the webservice is getting some value in my application through the webservice. I want to use the same data in other works. I Thank you. You can save data in the session, also see in the manual.

html - Custom Dropdown and Combo Box problem? -

I have a form. When it's in my custom data dropdown. In one case combo box is below the custom data dropdown. When I click on the dropdown th Divai Iam Calling, then I will have to come over the combo box. It's not getting stack on top. Combo box and division overlap. Any suggestions to solve these problems? Thanks Avinash That's because control boxes select iframes div , Span etc. will be on top of other controls. Custom selection can hide the box on the top of it, you can choose. This will not be a great idea. Otherwise you can use another iframe to resolve this problem.

Get resultset from oracle stored procedure -

I am working on converting a stored procedure from Oracle to SQL Server. This stored procedure provides direct direct results. I mean that if you call a stored procedure such as a management studio, you get the direct result The problem is that when I change to Oracle, I will not show resultset in Oracle against Walking I have searched on the Internet and have seen that the stored procedure should yield a REF cursor, but I still have the process to run with the problem that pseudo code N resultset Prap To write a small piece of code to receive :. Do something with the cursor in the stored procedure call and received cursor SQL Plus In: / P> SQL & gt; Process myproc (prc out sys_refcursor) to start 3 to open 4 to open prc * emp; 5 end; 6 / Process created SQL & gt; Var RC Rifcracker SQL & gt; Executed myproc (: RC) PL / SQL process successfully completed SQL & gt; Print RC EMPNO ETI Job MGR HORRADATE SIL COM Diplopo ---------- ---------- ---------...

php - strip all classes from p tags -

I was wondering if anyone had a work address in php to remove all classes from a string. Actually I only & lt; P & gt; & lt; P class = "..." & gt; Instead of tag if it makes sense :) $ html = preg_replace ('/ class = ". *?" /', '' , $ Html); I say meaningful because in some parts of your body the class ="> It can be made a little more robust by looking for class = "inside tags with elbow brackets.

types - MPI user-defined datatypes, is what I'm doing safe? -

First time using some simple practice apps using MPI, and something is not running right. I have a class defined with the following members (excluding methods for readability and protected screen space): class particles {public: double _lastUpdate; Float _x, _y, _xvel, _yvel; Bull _Estatic; Bull_isierine; Float_shape; Private: int _isStaticInt; Copy of _isStatic to send to MPI // (because there is no MPI_BOOL in it: C)}; I want to send the set of particles between the processes by sending the values ​​of some key members of each particle and copying other people on the spot. For that purpose, I define an MPI datatype; As you can see, the members are not included _lastUpdate, _isStatic and _isForeign: MPI_Datatype type [] = {MPI_FLOAT, MPI_FLOAT, MPI_FLOAT, MPI_FLOAT, MPI_INTEGER, MPI_FLOAT}; Std :: vector & lt; Integer & gt; Lane (6, 1); Std :: vector & lt; MPI_Ant> Disp (6, 0); Particle temporarily; MPI_Aint base; MPI_Address (& amp; Temporary, & ...

php - listing all jpg files in dir and subdirs -

How can I list all JPG files in the directory given in PHP5 and its subdirectories? I thought I could write a globe pattern for it, but I can not understand it. thanx, b. You can use one with one: Expand class image filter FilterIterator {accept public function () {$ file = $ this- & gt; GetInnerIterator () - & gt; (); Return preg_match ('/ .jpe? G $ / i', $ file- & gt; getFilename ()); }} $ It = new recurring directorytitle ('/ var / images'); $ $ = New Images Filter ($ $); Use foreign currency ($ $ as $ $) $ // $ file ...} $ file is an object.

Integrating C# and Prolog -

I'm working for a project, I want to use some of the user input to language classification, D Want to use the prol version of the database. I have tried, which works quite well, but WordNet appears to be unable to control the size of the database. It can compile the smallest files out of those files I want to use (218Kb), but when I try to compile two large people (2.3 and 7.3 MB respectively) then this half-hour work Fails and Windows "Something went wrong. Send report to Microsoft?" Dialog. I have also tried, which does not work very well right now. Finally, I tried for SWI-Prolog, but they can not get it to work properly. When I try to run the example code, it fails in the PLEngine.Initialize () step, it claims that whatever it tries to load (a DLL I think ) Is an invalid Win32 application (a BadImageFormatException). Has anyone suggested any other way of integrating C # and Prol, or have I tried to work already, have some suggestions for finding solution...

winforms - Strategy for keeping semi-static data fresh -

I am working on a Wipeform app that will be used by groups in the US and overseas, which will replace an existing app. Is old technologies Due to the overwhelming calls to the database server of the old servers in the US, the performance of older apps overseas is very slow, so I probably want to cache much stuff on the client. What is the best way to cache data for those things which can not change very often - but what can be done? How do I keep the data from being bowl without dragging completely on each load? To create a checksum for a quick solution data, and the client is already on it already If he is the same, then no more data is required, that is the date of the part if the data changes, then the amount changes, and the client gets new totals with the new data. Only appears every time as it should be less than all your data.

How do I get the next and earlier date of the current date in iPhone sdk -

I have a date object, NSDate * date = [NSDate date]; Now I need a date before and after this date. Meaning before and after one day and a day later. Besides, I tried to use the first date but maybe I am misusing it because it is returning only one date. tnx NSDT is a bit of a misnomer. This is not a simple date, it is a date, which is with subsecond level precision. First date: The method is a comparative task that returns to the first of two dates, it is not making the date of the earlier date. If you care about everyone, then it is the date that is before your current one that you can do: NSDate * first date = [date addTimeInterval: -1.0]; will return 1 second before the date. Similarly you can NSDate * later date = [date addTimeInterval: 1.0]; In the future, a date for 1 second . If you want the day before, you can add the day worth the second. Of course, unless you have to deal with all Gregorian calendar issues, but if you want a quick approximation...

design - protocol development guidelines -

We have a design as below and I have to get feedback or protocol guidelines for the following error scenarios. Layer 1 --------------- | ^ ^ | (1) | (4) | (6) V. | | Remote unit ---------------- --------------- Layer0 ---------------- - (2) ------------------------------- & gt; Layer 0 layer 0 & lt; ---------- ------ (3) ------------------------------- - Layer0 Layer0 & lt; ------ ---------- (5) ------------------------------- - Layer0 1. New session Request for remote unit 2. Install link + data (session request) 3. Link installation is ongoing 4. Link installation pending 5. Link installed + data (approved session) 6. Session approved If layer 1 decides that it does not require the service of remote institutions between steps 4 and 6. That is, Event 4 has been received and Event 6 has not yet been received due to some error. > 1) Should it wait for event 6 and should start the session release or 2) Layer 1 should give instructions to layer 0 to immediately e...

How to disable contextmenu except in the grid of telerik FileExplorer? -

By default I tried to disable unnecessary context menus while setting the grid with context menus, if you want to clear the grid If you click on the part, it disables the Delete menu However, after adding customized menu like download, it shows in the context menu, there are also no selected items (i.e., How do I download it?). So I want to disable the unnecessary menu or leave the grid line context menu and make it invisible. I am using the teleic ASP.NET AgentContral 2009 Q2. Thank you. This piece of code should help - Basically what you need to do is attach a handler to the menu Show the event, check the target element (the element where you right click) and if it is a grid area - disable the menu item. & lt; Script type = "text / javascript" & gt; Function OnClientLoad (Explorer) {explorer.get_gridContextMenu () Add_showing (disableItem); } Function disableItem (Sender, Args) {var target = args.get_targetElement (); If (target & target = clas...

Using Java Generics with Enums -

Update: Thanks for all people who help - the answer to who I was More complex code is not being ignored and I did not know about Java 5 code type types. Original post: I am playing with something this morning. Although I know that I can deal with this whole problem differently, I have to find out that the way I was hoping it is not working, I feel mad Has been doing. After spending some time in reading around this, I understand that I am not close to understanding, so I have to present it as a question to see if I am just stupid or if really That's what I'm not coming here. I created a custom event hierarchy such as: Public abstract class abstract essive {Private S src; Private T. ID; Public Abbeycher Event (SKR, T ID) {this.src = src; This.id = ID; } Public S getSource () {Return src; } Public T getId () {Return ID; }} With such a concrete implementation: Public Class Expands MyEvent AbstractEvent And then I will create an event such as: fireEvent ...

How to use ECDiffieHellmanCng with OpenId in .Net 3.5? -

I need to get those standards of OpenId protocol: sd [" Openid.assoc_type "] = ???; Sd ["openid.session_type"] = ???; Sd ["openid.dh_modulus"] = ???; Sd ["openid.dh_gen"] = ???; Sd ["openid.dh_consumer_public"] = ???; How do I use this ECDiffieHellmanCng ? is it true? Last I checked, ECDIFheelMensense not Diffie-Hellman algorithm, uses it. DotNetOpenId does not use it (for that reason). DotNetOpenId is due to its built-in implementation of DH algorithm because it is not built in .NET. And it should already handle the openid.dh_modulus and openid.dh_gen parameters correctly. What are you trying to do?

Selling a Script Built on a PHP Framework -

वहाँ एक PHP के रूपरेखाओं का एक टन (अर्थात् ज़ेंड, सिगल, सिम्फोनी, कोडइग्नेटर, केकपीएचपी, याय, प्राडो) है एक स्केलेबल / रखरखाव वाली वेबसाइट के महत्वपूर्ण टुकड़ों को लागू करने का एक बहुत अच्छा काम करता हूं, और मैं लगभग हमेशा ग्राहक वेबसाइट बनाने के लिए एक को चुनना चाहता हूं। क्लाइंट, और मैं अधिक पूर्ण-विशेषताओं वाली व्यावसायिक लिपियों को लिखने की संभावना देख रहा हूं जो कि जादुई "रिकवरीिंग रेवेन्यू स्ट्रीम" को खोजने की उम्मीद में फिर से बेचे जा सकती हैं जो कि आप हमेशा परियों की कहानियों में सुनते हैं। कृपया ध्यान दें कि मैं सीडीएस सिस्टम जैसे कि द्रुपल या जूमला के लिए एक्सटेंशन / प्लगिन के निर्माण के बारे में बात नहीं कर रहा हूँ, लेकिन पूर्ण विकसित वेबसाइट स्क्रिप्ट। तो यहां मेरा बहु-भाग प्रश्न है: क्या कोई कारण है कि मैं इनमें से किसी एक फ्रेम पर पूर्ण स्क्वाड टर्न-कुंजी समाधान (विशेषकर अगर बीएसडी लाइसेंस की तरह फ़्रेमवर्क का लायसेंसिंग बहुत लचीला है) के रूप में एक स्क्रिप्ट को फिर से बेचना नहीं दे सकता है? यदि नहीं, तो दूसरों को वही काम क्यों नहीं कर रहे हैं? क्या...

python - django comments: how to prevent form errors from redirecting the user to the preview page? -

Currently, django.contrib.comments sends the user to the preview page if there is an error on the form. I am using comments in the context of a blog and I would be too much of it that the user stayed on the page where something went wrong in the submission. As far as I can tell, it is very difficult - django.contrib.comments.views.comments.post_comment: # If there are any errors or if we request a preview Show the comments if the form. Errors or Preview: Template_list = ["Comments /% s_% s_preview.html" Tuplal (SRR (model_mta) .split ("."), "Comments /% s_preview.html"% Model.AMMTA ("Comment" "," "Form": form, "next": next,}, ".", "Comment" / "preview" requestContext (request, {})) Is there any way that I can change this code without source code in django.contrib.comments? Any pointer will be appreciated ... Thanks! It seems that you have two real choices: your Wr...

PHP get url with special characters without urlencode:ing them! -

I have to get file_get_contents a URL that looks like this: The problem is that this request (Can not post full link, sorry): ... wapedia.mobi/sv/Gr%C3%B6t, which you can see is urlencoded, that page gives me no results. How can I do this? According to L, you must specifically specify the URL in special characters: This means that there should be no special encoding to themselves in the ceremony. Most likely that your URL is being encoded before function is being passed, so first pass it through urldecode and see if it happens. Edit: You are saying that the encoding is going wrong again, the PHP manual specifically tells you before you go to file_get_contents URL needs to be encoded. Try to encode the URL, then send it to the function. $ url = urlencode ($ url); File_get_contents ($ url);

php - Problem displaying the mysql content in Paragraphs -

I insert a question (which may be some paragraph) in a SQL table using php, Displaying on a webpage. But when I display a question, its formatting loses, I mean that it will show the whole question in just one paragraph, even before you were many paragraphs. & lt; Td width = \ "700px \" bgcolor = \ "# EAD57F \" & gt; Font color = \ "# 4A2Ab \" & gt; Question: & lt; / Font & gt; & Lt; Font color = \ "# 5E450B \" & gt; "$ Line2 ['question']." & Lt; / Font & gt; & Lt; / Td> $ / Row2 ['question'] -> My question is that I am getting the SELECT query from my SQL table by running. So if I post something like this: a SDF In my input box the output looks like this: asdf How should I solve it? The best lyrics Do you store them as plain text, Or are they in HTML tags? If they are stored in plain text, you'll need them & lt; Pre & gt; To keep the space ...

Protecting against X11 Crashes in Java Applications that have a Swing Component -

क्या यह संभव है? सही वास्तुकला के साथ, कई प्रकार के अनुप्रयोगों के लिए - निश्चित करें। बस अलग-अलग प्रक्रियाओं में जीयूआई और "कोर लॉजिक" को विभाजित करें, और जब आप दुर्घटना के बाद चलाते हैं तो जीयूआई चलने वाली बैकएंड प्रक्रिया को ढूंढने और फिर से जोड़ने में सक्षम है। अतिरिक्त मजबूती, यह देखते हुए कि एक्स क्रैश अक्सर पूरे सिस्टम को नीचे ले जा सकता है, क्लाइंट क्लाइंट / सर्वर आर्किटेक्चर पर जाकर बैकएंड नेटवर्क पर चल रहा है।

Finding File data from POST in C# -

It's obviously obvious that I'm just remembering help me, so! I am trying to access the file data posted through a web form from the post (though not created in C #). I do not know how to do this, and MSDN is unusually baseless in this case. These are the three things that I have tried so far: request ["file"]; Request.Form ["File"]; Request; What else? It seems to be an unavailable post data. If it helps, then the output from firebug is given here: Content-Type: Multipart / Form-Data; Border = --------------------------- 14 9243018821763 content-length: 703 -------------- - -------------- 14 9243018821763 Content-presentation: Form-data; Name = "file"; Filename = "testearch.txt" content-type: text / plain just a few plain text data ----------------------------- 14 9243018821763 Content-Displacement: Form-Data; Name = "folder" ftp://wwwdev.jbu.edu/athletics/resource/media/testsearch.txt -------------------------- ...

recursion - Recursive non-binary, non-sorted tree search using c# lambas -

वर्ग TreeNode {सार्वजनिक स्ट्रिंग मान {get; सेट;} सार्वजनिक संग्रह & lt; TreeNode & gt; नोड्स {प्राप्त करें; सेट;} सार्वजनिक ट्रीएनोड () {नोड्स = नया संग्रह & lt; वृक्ष नोदा & gt; (); }} 1) आप किसी विशेष मान के साथ ट्रीएनोड वापस करने के लिए पुनरावर्ती लैम्ब्डा अभिव्यक्ति कैसे लिखेंगे (या नल यदि नहीं मिला है) मान मान रहे हैं अद्वितीय? बेशक # 1 # 2 का उपयोग करके उत्तर दिया जा सकता है, लेकिन मैं सोचता हूं कि अगर आपको कोई डुप्लिकेट नहीं है तो एक और अधिक प्रभावी तरीका हो सकता है। 2) मान लें कि मान अद्वितीय नहीं हैं और अब मैचों की एक सूची लौट रहा है इसके बजाय? संपादित करें : कोड को सही किया, मैंने वास्तव में संकलन किया और कोड के दोनों टुकड़े की जांच करें, लेकिन मैं वीएस में उन्हें तय करने से पहले संस्करणों में चिपकाया होगा। इसके बारे में क्षमा करें। मैंने कोड के साथ एक रिपॉजिटरी को जोड़ दिया है, यूनिट परीक्षणों सहित, यह सुनिश्चित करने के लिए कि यह अब अपेक्षित रूप से काम करता है, है, उपयोक्ता नाम और पासवर्ड दोनों के साथ 'अतिथि' के रूप में प्रवेश के बि...

sql - Deleting duplicate rows in a database without using rowid or creating a temp table -

Several years ago I was asked during a phone interview to remove duplicate rows in the database. After several workarounds were given, I was finally told the restrictions: Assuming the table has a VARCHAR column The rumaid can not be used Can not use floating tables The interviewer refused to answer me. I've been stumped since then. After asking for many years, I'm sure there is no solution. Am I wrong ?! And if you have any answers, will a new restriction suddenly appear? Since you mention ROWID, I think you were using Oracle. Solutions are for SQL Server. Driven by SQLServerCentral.com While deleting the top (1) from MyTable (1) where in VarcharColumn (select from VarcharColumn, the counting of the MyTable Group by the Vertical column (*)> 1) If @@ rowcount = 0 exit end removes one line at a time when one set of duplicates disappears from the last line of the set Then the remaining line will not be in the sub-selection via the loop next to the next...

flash - How to get the MouseEvent.localX and localY of a target but not its child objects? -

I am creating a simple drawing application that adds a new shape to the movieclip "canvas" every time the user clicks And makes drugs. The problem is, I am seeing that because the Mouse Event listeners have been set on the movieclip, the hair figure objects are also being returned as a target. It is also disrupted between localX and local Y, due to which locally the shape mouse is currently ending in order to move from the entire movie clip locally to jump around the drawing cursor. Is there any way to get the most parental targets from MouseEvent? You probably want to set DisplayObjectContainer :: mouseChildren to incorrect ... In addition, you can do currentTarget , which should be your MovieClip and its DisplayObject :: mouseX and DisplayObject :: mouseY ... or you MouseEvent :: stageX and MouseEvent :: stepY and then DisplayObject :: globalToLocal to convert it to its MovieClip coordinate location ... little sidenote: why MovieClip no mor...

linux - Running Scheme from the command line -

How do you run a scheme program from a terminal in Linux (Ubuntu)? How to accept logic from the command line in the planning program? Edit: DrScheme implementation using Im DOS scheme implementation scheme, And the name you use to execute from the command line, is mzscheme . Here are the documents to start the command line script:. The use of command line augues is explained here. The result is that you can use the Shebang script like this: #! / Usr / bin / env mzscheme #lang scheme / base (... scheme s-exps ...) or if you want more control over the command line flag for Mzscheme , you need to start this kind of script: #! / Bin / sh # | Exec mzscheme -cu "$ 0" $ {1 + "$ @"} | ## Long scheme / Base (... scheme s-exps ...) The function you use to command . You will find an example of how to use it in the article linked to the second link link.

c# - how to send control + L and control + C to another application? -

I am working on the Win application using C #, I have control + L and control + C when Firefox is active Identify the accessless bar and copy the URL and get the information from the clipboard. I am trying to do this. But I'm capable How can I do this? Activate the Firefox window, send Ctrl + L (activates the address bar), Ctrl + C and the clipboard to send (, per selection, i.e. the URL on the clipboard.) [return:. MarshalAs (UnmanagedType.Bool)] [DllImport ("user32.dll", SetLastError = true)] Fixed Execution bool PostMessage (IntPtr hwnd, uint message, integer wParam, integer lParam); Personal constants uint VK_CONTROL = 0x11; Private Cant UIT VK_L = 0x4C; Private Contact UIT VK_C = 0x43; If (hwndfirfox == Process.GetProcessesByName ("Firefox") [0] .MainWindowTitle) hwndfirfox = Process.GetProcessesByName ("Firefox") [0] .MainWindowHandle; If (hwndfirfox! = Null) {PostMessage (hwndfirfox, VK_CONTROL, VK_L, 0); Post Message (HDFFerFox, VK-B...

Grouping tables in SQL SERVER -

How do I group a group of tables or label them together? In our project, each user has two separate tables allocated to them. I need to group all users' tables separately. How can I complete this? Maybe you make logical blocks of database objects (tables, views, stored procedures, functions, triggers, etc.) You can use the SQL Server schema for. See the Microsoft Books Online Reference: Using this method, you can then group related tables in the same schema.

Is there a coding convention for a "line rule" for Java -

I want to organize my Java files a little bit and would like to know if there is a standard way of doing this, for example : Example of public class {Private integer example; Private string instance string; / * ------------------------------------------------ ------------ * / / * INNERCLASSES * / / * ----------------------------- ------------------------------- * * Private / InnerClass {someInnerClass () {}} / * ----- - ------------------------------------------------- - ---- * / / ** * This method gives examples to int * / public int getExampleInt () {return exampleInt; }} I do not have to call the part where I have a comment break / ---------------- ------------------------------------------------- / Are there any conference for any kind of conference like this? Or is it something I should not do now because most IDEs will display you well in some kind of outline view? Refactoring and Source Cleanup Your source files may be reorganized with comments. I suggest that...

python - IO completion port key confusion -

I'm writing an IO completion port based server (), using the CTPS module in the Python for the Windows DLL API I am using. But this is quite a straightforward use of APIs and this question is directed to those who have IOCP knowledge, not Python. As I understand the document for CreateIoCompletionPort, you have your "user defined" full key when you call this function to handle the file (in my case in a socket), with the built IOC adding up. When you go around to call GetQueuedCompletionStatus, you get full key value with an indicator on the overlap object. The key to complete must be identified with the overlapping object and request completion. However, suppose I pass 100 to my CreateIoCompletionPort call as a full key with an overlap object. When IO is completed in the same overlap object and it comes back via GetQueuedCompletionStatus, the complete key that comes with it is very large and does not conform to the original value of 100. Am I mistaken that how t...

Static Analysis Tools for Database Design -

I'm looking for the static analysis tool for the database level. I got some code, I'm thinking What are the options available to review database design for naming conventions of tables and their columns, foreign key barriers and triggers etc. Which dialogue is there, but it is primarily for SQLServer Not a good resource but

html - JQuery and XML parsing assistance -

Here is Scenerio, I am making a simple app for my friend's website where its user image w / a caption can add. The problem is that my friend's webhost does not allow him to use server side scripts and databases. It is allowed to include Javascript and HTM on the site. So I think that this solution would be doing XML instead of database and instead of serviced scripts I would use Javascript to parse the XML Now the next question is that I How do I code it? I just know the basic Java and Javascript & lt ;! DOCTYPE html public "- // W3C // DTT XHTML 1.0 Transcription // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" & gt; & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Top & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = UTF-8" /> & Lt; Title & gt; Jquery and XML & lt; / Title & gt; & Lt; / Head & gt; & Lt; ...

iis 6 - is it possible to script a .XML file -

Is it possible to file a .xml file? For example, for example, XML file on a webserver (IIS) is called www.myserver.com/update.xml called it as a file format Instead of serving, you should execute as a script. When a .xml file is called, then it will be excited, a series of calls, eg a DB travel, and then in the result. XML format Is this possible? XML is a data representation and is not a scripting language. It seems as if you actually want to map url /update.xml to an underlying script / program (in an executable language), run that run and Then return the data as an XML type (mime type text / xml ). Which is absolutely viable.

asp.net - Crawler in C# or in VB.net -

Anyone written in C # or Vb.net helps in creating a link to the working crawler sample code Thanks (credit to) If he posts his posts, then he will remove the answer.

.net - Can't run WPF app -

I have the .NET Framework 3.5 on Visual Basic Express 2008 and XP SP2. I get the following error when I try to run a new Wpf application, when I run the application. "Error while trying to run the project: Unable to start program 'C: \ Documents and Settings \ Mike \ My Documents \ Visual Studio Any Ideas? ** This problem is only with the WPF application, the winforms app runs just fine. Thanks It seems that some programs have a unique lock on your executable. Find a device like Unlocker or WhoLockMe (many others) Try sector, which locks the file. The process should kill and start your application. Best regards

iphone - Core Data simple relationship in code -

I'm a cocoa newbie trying to create an iPhone app with core data. My problem is this: I have a small app that is now called a playlist with a single unit which I can show in table view and add and delete entries. playlistListManagedObjectContext playlistListPersistentStoreCoordinator playlistManagedObjectModel I have in my PlayerAppDelegate: Adding the unit with: playlist * playlist * (playlist *) [NSEntityDescription insertNewObjectForEntityForName: @ Managed object contexts in "playlist": playlist list managed object context]; Now I want to add a cable which is called songs with multiple relationships. Playlist attribute added: SongRelation Songs Properties added: playlistRelation I have created this unit and relationships are established in both ways, to the click of the alternative flag as I have less Want less one song in a playlist? After setting this relationship, now I can make a playlist without a warning. The problem is that "this...

c++ - Looking for a Basic Reverse Shell Example in C(++) -

I am trying to find the original reverse shell instance in C or C ++, actually I want to write a code to simulate the following net cat scenario: Listener: ------------------ C: \ Nc -L -p 80 Client -------------- C: \ nc 127.0.0.1 80 -e cmd.exe For whom NetNet does not speak Is: This means that I want to stdin and stdout out of cmd.exe and in the stream of the network. Therefore remote user can run cmd.exe from a user remote computer. Am I searching for a C / C ++ example code to do this? net cat is basically something that either accepts (when Works as a server) or opens (when functions as a client) Any socket written in a socket stdin is written in the socket Anything is read stdout . Any error is written on stderr . It seems to be the basics that you are using it on Windows and attaching standard IOs to a command shell. I'm not sure what / what it does for you, so I am ignoring this. However, what you need to do is write an app that accepts / open...

import - How can I start X11 window with no display associated -

I would like to start Firefox for example not connected to any display and finally import . Can I really make it with chronos from time to time? I am now making an SSX-X connection, take Xigninfo for the window started in the background and everything is fine. But I would like to automate it You can start Firefox inside. If you have given Xvfb your -fbdir option, you will also have the option of taking your screenshot from the Xvfb framebuffer file. You probably want to specify the same geometry for XVFB and Firefox.

asp.net - One update panel updated and other one is also updated? -

I have a scenario, I have two update panels on the page (both have update mode = 'conditional'). If I update an update panel the other automatically updates. This is the first problem. I am using UpdatePanelAnimationExtender . If an update panel is updated, then it does not have UpdatePail animation animator, which is also made by other updates and is an updated panel animation indicator, on updating update panel (); Extension has been removed from the updatepanel animation document: Onupdating - Normal animation when updating any UpdatePanel Is played then Generic animation played after OnUpdated - UpdatePanel is ready (but only if UpdatePanel was changed) Problem: On updating was removed and this backend worked and ended Not done because onUpdated only when UpdatePanel changed "Add 2 update panel to page, make 'conditional' for both updatemode = settling and update update panel and breakpages for both load events and add 1 but...

java - Error setting a default null value for an annotation's field -

Why am I getting an error "attribute values ​​should be stable" empty continuous ??? @Target (ElementType.TePE) @action (retention policy. RUNTEm) public @interface some interface {class & lt;? Foo & gt; Bar (default); // It does not compile T why, but it is very clear : Discussion Note that zero is not a legal element value for any element type. And the definition of a default element is: DefaultValue: Default Element value Unfortunately I'm searching for it Edit: A small Googleing is found in JSR-308, where they argue that there are very baseless compiler error messages in the characteristics of the new language (enmoses and now annotations). Permission to tap in this situation: We note some potential objections in the proposal. The proposal was not possible before that which is not possible. The special value defined by the programmer provides a better document than zero, which means "none", "undefined", tap...

Email client support for PNG images in HTML email -

Will the following email clients show an embedded PNG image in the HTML email? Outlook AOL Eudora Thunderbird gmail was hit. Hotmail . Windows Live Mail There is a lot of information about email client support for the features on this site: This link can help you directly on the site:

.net - Monitor How Often Assemblies Are Loaded From GAC -

I currently have 3 different applications running on each server, sometimes by installing miss configuration and code re-factoring Machines are left in GAC with assemblies, which are no longer referenced or are not used by anything. Is any device monitored to anyone, or when some assemblies are loaded with GAC? So, after monitoring our servers for a certain time, I feel confident about clearing cruelty. Thank you I have heard only such tools that can do such a thing.

linux - How can you access the base filename of a file you are sourcing in Bash? -

I am putting out a file in a Bash terminal for which to export some environment varibles. example: source linux_x86.env The env file looks a bit like this: Export ARCH = / home / user / project / linux_x86 There is a bunch of different architectures for me to compile and I want to be able to do something like this: Export ARCH = / home / user / project / `basename $ 0 ANV` Where basename $ 0 .env I have to give the username that the above work is a banscript, but when you source the file, Does not seem to be. Is there a way to get the same behavior from the source? See, especially about comments about BASH_SOURCE variable. summary: SCRIPT_NAME = $ (parent name $ {BASH_SOURCE [0]})

c# - How do I group these XDocuments? -

समस्या मेरे पास XDocument उदाहरणों का संग्रह है प्रत्येक दस्तावेज़ में दोहराए गए तत्व होते हैं जो एक अलग मान ले सकते हैं। मैं उन्हें इस मूल्य से समूह बनाना चाहता हूं लेकिन प्रत्येक तत्व एक अलग मान निर्दिष्ट कर सकता है। & lt; sampledoc & gt; & LT; मूल्य & gt; & lt; / मूल्य & gt; & LT; मूल्य & gt; ख & lt; / मूल्य & gt; & LT; मूल्य & gt; सी & lt; / मूल्य & gt; & Lt; / sampledoc & gt; उदाहरण दस्तावेज़ ए में मान ए, बी, सी दस्तावेज़ बी में मान बी, सी, डी दस्तावेज़ सी में मान A, b मुझे एक समूह बनाना चाहते हैं: समूह दस्तावेज़ ए दस्तावेज़ सी समूह ख दस्तावेज़ ए दस्तावेज़ बी दस्तावेज़ दस्तावेज़ ए दस्तावेज़ ए दस्तावेज़ बी समूह डी दस्तावेज़ बी प्रश्न मुझे यकीन है कि मुझे ऐसा करने में सक्षम होना चाहिए लेकिन मैं अभी पेड़ों के लिए लकड़ी नहीं देख सकता। डॉक्स.समूह ... ... स्वयं पर काम नहीं करेगा (जहाँ तक मैं बता सकता हूं) क्योंकि अभिव्यक्ति इसे एक मान वापस लेना चाहिए, और प्रत्येक...

Newline in textarea in DetailsView (asp.net) -

I have just updated one page to use a DetailsView in asp.net. It includes a multi-line text box, which is now in EditItemTemplate of the details view. The problem is that when the data is output (which is stored in the database), I would vbCrLf (a new line content -> VB, carriage return, line feed) & lt; Br / & gt; , But now that it is in the description, it does not exist vbCrLf and instead of being replaced by an HTML break (& lt; br / & gt;) instead of replacement (str, vbCrLf, "& lt ; Br / & gt; ") where there was a line break in the text box, all this shows in one line how do I fix it? Thank you. Try the environment.

excel - Parse xls file in email -

I'm trying to parse the axle file without email using an oleb driver or mssql! The customer I am working with is using Server 2003 x64 and MS SQL Express 2005. I can not run the IIS in X8 because it will break the exchange ova. I can not even create a SQL job to take in the XL file and excluded the CSV because it is an express version. By not making the client any additional cost, I am looking for another creative method to accomplish this task. You can try. P>

stored procedures - Trying to access the results/result-set of a SQL server EXEC statement -

Say I have stored 1 store nearby, which gives some data. How can I execute that stored proc and set some parameters in another stored process based on the results of that stored proc? For example: Table: UserInfo [UserID [Pro [], name [varchar], DateOfBirth [datetime]) stored in Pro 1: process > Process processed Proc1 @ name [varchar] Select UserID, name, DateOfBirth from the name of user information = @ Name Pro 2: Processed Process Processed 2 AmountOfNames [int] Selection @ AmountOfNames = COUNT Exec StoredProc1 @ name = 'Irwin') I know That archived propose 2 is not how to make it But that's what I want to do, set the count on the basis of the last set I stored proc 1 Can not modify a temporary table or table variable in your first stored proc ... announcement @ My results tab (User Id Int. , Name varchar (30), dateoffetime datetime) INSERT @merezstExicStoredProject1 'Scott' - - What do you want to do with the table here They a...

c# 3.0 - Can you find an Active Directory User's Primary Group in C#? -

I am working on an app that manages the user account in Active Directory. I am using the System.DirectoryServices.AccountManagement namespace as much as possible, but I can not figure out how to determine the user's primary group. When I try to remove the group that is the primary group of the user, I get an exception. Here's my current code: Private Zero Leading Group (Userprinit Userprinus, Group Pinyith Group Principal) {TODO: See to see if this group is the primary group of users or not. GroupPrincipal.Members.Remove (userPrincipal); GroupPrincipal.Save (); } Is there a way to get the name of the user's primary group, so can I do some assumptions before trying to delete a user from this group? Private string GetPrimaryGroup (DirectoryEntryEntry, DirectoryEntryDomainEntry) {int primaryGroupID = (int) aEntry.Properties ["PrimaryGroupID"]. ; Byte [] ObjectSid = (Byte []) An Entry. Properties ["Objectsid"]. Values; Stringbuilder savedGreas...

asp.net - .net, Login.aspx, can't display <img> tag? -

I'm actually following a tutorial about creating a login page for a web project and so on. All this works and now I am working on layout. I've added an image tag on my login page, as simple as possible, the src is correct, the image is definitely there, but the image will not appear on the page, why ?? The image works if I copy the tag and paste it into another page in the project, but log in. No espx page! I should be suffering from 'lack of brain Friday syndrome' because it stumped me! Maybe I should see that I can get half day and go home ... Thank you. code: & lt;% @page language = "c #" autoevolutionwireup = "true" codebahind = "login. Espx c." Inherits = "SM_Element.login"%> & Lt ;; DOCTYPE HTML PUBLIC "- // W3C // DTT XHTML 1.0 Transcription // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" & g...

iphone - Where should I keep Core Data fetches and convenience methods? -

I have many feature methods that fetch for my core data entities. For example, a method that is currently active Gives activities, or a time interval between a full-fledged activity or a customer if a customer is there. I have methods of facilitating the initiation and addition of institutions with various methods. I have a data model singleton class which is a two-to-class class to start core data and get NSMD object content, etc. Is this data model better in these sub-classes in classrooms in singleton class, or in each relevant unit? I do not think there is a true path here, but I would like opinions and experience. Thanks! I will add them to the class on which they work. To do this, I will first generate class files for your organizations (select institutions in the editor, then File> Newfile> Nsmanyed Object). Then, simply enter the methods in class files, such as: + [activation activation]; - [activity interactivity: (activity *) other]; + [Activity activit...

JavaScript log-in validation by-passed by IE8 -

I have a log-in web page that uses JavaScript for name and password verification. This Mozilla works fine in Firefox, but logging without entering IE8 names and passwords allows it to post a script-restriction warning that, when you click on it, you chose to enable javascript can go. It's okay, you can just bypass that step by clicking on the login button on the web page and you are in. This is a big problem. So this Javascript is not running, it defeats the entire purpose of the page. The (HTML) form tag calls Javascript: form name = "form1" action = This input tag has a log-in button: "testAccess.htm" onsubmit = "return butCheck_onclick ()" : input type = "submit" square = "center" value = "Log in" I need some type of work - around so that I can either javascript before loading the next page Can turn the T I can do or say a few ways to prevent HTML allowing to load the next page before you run JavaScript. Bu...

c++ - Reading data from a file -

I am doing an exercise where I place coordinates in a .txt file called Maidata, and then that file Read it back from. However, I'm having trouble reading it. Code: #include "std_lib_facilities.h" // Classes ---------- ----------- --------------------------------------- ---------- structure Point {point (int a, int b): x (a), y (b) {}; Point () {}} int x; Int y;}; // Main----------------------------------------------- - ------------------------ int main () {vector & lieutenant; Point & gt; Basic issue, vector & lt; Point & gt; Processed_points; Cout & lt; & Lt; "Please enter 7 coordinate pairs. \ N"; Int x, y; While (cin> x> x>> y) {if (x == -1; y == -1) break; Original_punes Push_back (point (x, y));} cout & lt; & Lt; "Please enter the file to send the digits. \ N"; String name; Cin & gt; & Gt; Name; Offstream ost (name.c_str ()); If (! Ost) error ("can not open output file", name);...

Worst case memory access in 80x86 assembly -

In an 80486 computer, the worst state of memory access to this instruction (Include Fitch) is: Add [word] [x], 0x123FA4 It is known that with an operand one opcode has two bytes in length. 10 bytes I accept I am 484 freight 4 bytes memory with alliance with limitations of 4 byte DWORD in memory time. Therefore, 10 bytes sure reads 3 memory (= 10/4 is rounded) whether you keep them somewhere. Howevever, if the opcode byte is place in the last byte of a DWORD, the remaining 9 bytes can be actually 4 to the total number of readings of 3 more DWORDS periods. To add, the position X should be obtained, assuming that X is divided into a DWORD limit -> 2 reads. Constantly adding is inside the CPU, and this amount is written while writing the same DWORD limit -> 2. Therefore, the worst case scenario should be 8 memory operation.

.net - Where to find the nifty Textbox with the grayed out instruction? -

When entering MSN-Messenger, you have these nifty text boxes that you want to type in the gray text (Username , Password). Once you start typing it disappears. It is certainly not hard to use user control in WPF, but is this already available in control / behavior? This is called "watermark textbox" Here is a code sample:

c# - http meta refresh issue -

I am using http meta refresh to refresh the current page to keep the session live. I am developing VSTS 2008 + C # + .NET 3.5 and ASP.NET applications. My question is, is it possible to send it from the client side (if browser-side if non-revised - since the request header server side and check whether the headers not headered for server side responses to the 304 client? (I want to use it to optimize the bandwidth and overhead on the server.) If so, can someone recommend me some sample code in the client side and how to execute it on the server side ? This is likely to be addressed by the HtmlMeta class Was added to .NET 2.0. This Meta allows programmatic access to keywords, you can see it.

javascript - jQuery custom menu -

I've found that to generate every jQuery plugin menu, & lt; Li & gt; is based on elements I have & lt; Div id = "menubutton" & gt; element that represents the menu button and second, it does not belong to a child) and Items (composite accessories, images, etc.) are included. When I click on the button I see this second, hidden divisor. Now, this is the code for now, but there is a clear timeout, when I leave the button or when I Leave the device, then it can be hidden. Do not think any thing to work? Thank you! var timer; $ ('#Building') Click (function () {$ ('# menucontent'). Show ();}); $ ('#Building') Mouseout (function () {timer = setTimeout ('$ ("# menucontent"). Hide ()', 500);}); $ ('# Menucontent') mouseover (function {clear timeout (timer);}) mouseout (function () {setTimeout ('$ ("# menucontent"). Hide ()', 300);}); Try this: $ ('# menubutton...