Posts

Showing posts from July, 2012

java - Remove files using a unix-like pattern -

I want to do something similar to Unix command 'rm foo *' using Java. Obviously, I want this multi-platform. I know that this filename can be done using the filter class and file .delete () method, but I was thinking that I could execute this simple operation in less verbose manner. Thanks in advance. look for org.apache.commons.io.filefilter.WildcardFileFilter in Commons-IO. > No more, sorry, even if it is verbatim, it is not much less speaking than that. Groovy and skala are good choices if you want to write a short script.

php - Handle CURL headers before downloading body -

Using PHP and curl (unless there is a better option in this case), is it a php function file Does the header handle the response before downloading? For example: I have a script that downloads and processes the URL of the user. I would like to add a check that if the file is not valid for my process (a text file, too large, etc.), the curl request will be canceled before the file is downloaded to the server. Update: Solution Peer class HTTP_Request2: Allows you to set supervisors the ability to set the connection and cancel at any time. Works perfectly for my needs! Using curls, requesting an HTTP HEAD to check for the header, if it is valid (Position is 200) Full HTTP GET request. The original option that you must set is CURLOPT_NOBODY , which request HEAD curl_setopt ($ ch, CURLOPT_NOBODY, true); Then after performing the query, you need to check the return status which $ status = curl_getinfo ($ ch, CURLINFO_HTTP_CODE) is used. Can be done by;

silverlight - Where can I find the xap files for the Office Web applications? -

I am using new office web applications. Is i using Silverlight? If so, then where can I find the xap file for this? Office web applications are only used for Silverlight, resizing, not for conversion. So if you have got an XAP, then it will not really tell you anything you already know.

JQuery: pass $(this).parent(); to method? -

मेरे पास एक साधारण स्क्रिप्ट है: $ ('विस्तृत करें')। प्रत्येक ( फ़ंक्शन (i) {var _Expand = $ (यह)। Parent (); ExpGroupBy (_Expand);}); वर्ग के विस्तार के साथ & lt; tr & gt; सभी & lt; td & gt; पास करने की कोशिश कर रहा है < P> हालांकि, firebug त्रुटि को पॉप अप कर रखता है: 'TypeError: formObj.getElementsByTagName फ़ंक्शन नहीं है' कोई भी विचार? < P> धन्यवाद ^^ जब तक फ़ंक्शन समझता है कि पैरामीटर jQuery ऑब्जेक्ट है और नहीं डोम तत्व ही यदि फ़ंक्शन को एक DOM तत्व संदर्भ की अपेक्षा होती है, तो आप आसानी से ऐसा कर सकते हैं ... $ ('विस्तृत करें')। प्रत्येक (फ़ंक्शन (i) {var _Expand = $ (यह ) .पीरेंट (); एक्सपेग्यूफ़ीबी (_Expand [0]); // नोट [0]});

database - Web application in drupal? -

I am going to create a working sequence system with three roles "customer" - Customers can request projects completed by the worker. The project should be selected from a list of templates and various sub-options that are referred to as a campaign (campaign types come and go throughout the year) Worker - View worker's orders for work Must be able and Overlord - The person needs to see statistics related to the activity of the other two types of users. Then. This is a web app but in terms of logic it is very simple. Something like this can handle the droplet? Or would I write my own module? Other than the box aspects of the drupal make it attractive (admin, user creation, news feed, etc ...) I have seen the visual and webform idea work sequence database (a part of all three roles Great for great) but displaying how I interact with my working order database while creating and modifying work order, not clear Is In. Web forms do not seem to answer, I'm s

java - Any tools or techniques for validating constraints programmatically between databases? -

If you had two databases, which is between those two tables which are usually one to one (or many Many are obstacles, but since then they are not separate databases, so how would you validate this relationship in any application or test? Is there an easy way to do this? For example, a tool or technique, which can be given to an obstacle type, tables and areas, makes legalization. I think it has not come for the first time, so I am hoping that people share their solution. Thank you. Your question is unclear, do you plan to use programming language to complete the task? Are you? "If you have two databases, which is between those two tables which can generally apply one (or many) many obstacles to one .... "

emacs - Custom Agenda View in Org Mode: Combining Dates and Tags -

I would like to create a custom agenda in organization mode which will show me all the TODO items with a specific tag that is either overdue or due today. However, I do not find any search function which will allow me to combine two. Am I missing something, or am I trying to use the device incorrectly? You can use organization-agenda -Filter- apply. Also, I found it useful to hide the tag in the current day or week agenda. As a result, you have something like (setq org-agenda-custom-commands) (("o" "work with tag 1" (org-agenda-list) (org-agenda -filter-apply, (list +++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Using tags to show actions with 1 () ()) >

pdf generation - How do I create "accessible" PDFs from HTML? -

How to create a PDF (including images) accessible from HTML? The PDF needs to look like the original HTML, which includes the status of the image etc. Any special HTML structure needed to help make the final PDF accessible? I have seen the question about making PDFs. None of them is especially The poison of my choice is Pearl, but any program, Languages ​​or libraries will help in the context. I have more depth to question on TypeDoc if there is to provide more general information to anyone In addition to this, I, and others, it would be helpful if there were access related problems Users can comment that they feel better or worse than using the "usability experience" of using PDF to plain old semantic HTML (POSH). Thanks Mike View in CSS through the margin, page breaking and You can control the Orientation. If not open source, you can try it free, but it keeps a small water mark in the upper right corner.

c# - WPF "Selected" Property of Custom Control or "Logical Focus". What should be used? -

In my WPF project I have a custom control that is displayed by a rectangular object. In XAMAL I put several rectangles based on this custom control. The user should be able to select a group of these references by mouse click and then take some actions with these selected rectangles. How should I apply the possibility of selection: (1) I should just add another custom property such as "selected" and change it to mouseclick event handler or (2) I have the basic "logical focus" functionality Should use? I argue that if you are creating selection logic in your control, then you have the functionality Can already be duplicated by the existing selector subclasses like ListBox . Why do the logic of selection within the ListBox not just host your control?

Association in Common Lisp -

निम्न प्रारूप की एक संरचना है: (setq dist '((1 1) 1) ((2 2) 3) ((1 2) 1) ((2 3) 3) ((3 5) 4))) क्या कोई फ़ंक्शन है , अगर मैं (myf '(0 2)) को कॉल करता हूं, तो मुझे 3 या ((2 2) 3) कुछ रिवर्स assoc / P> मुझे यह देखने में असफल हो रहा है कि इसे एक रिवर्स एएसएसओसी कहलाएगा क्यों। (एशॉक '(0 2) जिला: परीक्षण #' बराबर) & gt; ऐसा लगता है कि एएसएसओसी ठीक काम करती है, बशर्ते आप परीक्षण फ़ंक्शन को बदलते हैं, ताकि चाबियाँ के रूप में इस्तेमाल की गई सूचियां सही ढंग से जांच ली गई हों। / P>

Having trouble getting started with Ruby on Rails -

I am thinking that someone can solve some issues I have? I create a Rail app: Rail myapp -d mysql CD Meal Hamal - Rylus Rake db: create: all Then I create tables I want to use a mysql client. Let's ask the users and customers that a customer is also a user so that you have such a schema: user ---------------- id int, tap Primary key, auto increment first_name varchar (50) null last_name varchar (50) zero email varchar (50) no empty unique password varchar (50) zero not created dat daytime time not updated_at datetime no nulled customers ---- ------- Do the tracks require me to run the script command El-made models, views and controllers under the app and be completely filled? I tried to do this: Ruby Script / Scrofold User Generates Ruby Script / Generates Clown Customers which creates files but models are empty : class users & lt; ActiveRecord :: Base End What's the deal? In addition, I want to make an administration section to manage goods. I h

c++ - 10 character id that's globally and locally unique -

I need to generate a 10 character unique ID (SIP / VOIP people will need to know that it is a param icid- Value is p-charging-vector header) Each character will be one of the 26 ASCII characters (case sensitive), one of the 10 ASCII points or one of the hyphen-minus. It should be unique globally (outside the machine outside the machine) 'and' locally unique (within the machine in the production of IDs) ', and pack them all into 10 characters Need, fuzzy! Here I have to take it. I am the first encoding. It is important to have a unique local IP address globally at Aadhar-63 (its an unsigned long term which is 1-6 after the encoding Will capture) and then as much as I currently have the stamp (depending on how much space a time_t / long long int encoded IP address capturing a 9/4 characters after its encoding). I have also added loop count to the stamp so that the function is said more than once in a matter of maintaining specialty. Is it great at the world level

jQuery .each problem -

Need to squeeze the brain and help, I have 6 rows that can be hidden or Visible on the basis of a check box check, it works better than a small problem - when the last check box (val = "5") is checked and you press the refresh button then line 6 (class = " Hidden 5 ") is hidden. It is only on the last check box - any checked checkbox is displayed. $ (document) .ready (function ($) {$ ('input: checkbox'). ($ ('$ View' + rowIndex) .is (': checked') == true) {$ ('. Hide' + line index). Show ();} and if ($ ('$ View' + rowIndex) .is (': checked') == incorrect) {$ ('. Hide '+ line index) .hide ();}}); $ ('Input: Checkbox'). Click (function () {Var line = this.value; $ ('. Hide' + line) Toggle ();});}); 6 HTML source for th line is: & lt; Tr class = "hide5" & gt; & Lt; Td width = "175" align = "center" style = "padding: 1px 0px 11px 0px&qu

Open source projects using asp.net mvc + silverlight -

क्या कोई भी ओपन सोर्स प्रॉजेक्ट्स दोनों एएसपी.एन. मुझे एक खुला स्रोत परियोजना नहीं मिली (इसका मतलब यह नहीं है कि वे मौजूद नहीं हैं) परन्तु यहां चांदी के प्रकाश के साथ एमवीसी के बारे में कुछ अच्छा संसाधन हैं

file io - A floating point array in C -

I am developing a code where I have to load the floating point value in a text file in each row at a time .. I loaded each of these data into floats using FSNF ... although I found out that the floating points were stored in a different way, for example 407.18 to 407.179 993, 414.35 as 414.350006 Was stored in the form ... now I stuck Or because it would absolutely essential that the numbers may be stored in the form in which they were in the file, but it is essentially the same, though it looks different .... How can I save the original? do not use floating-point values ​​ all partial base-10 values ​​are not exactly displayed in binary May be. For details, you should consult the article [pdf link]. You should store the number in the string form or as a scaled integer.

c++ - boost.asio tcp sockets, Will asynchronous operations be ordered? -

If calling: asio :: async_write / async_read directly after each other, what data will be ordered? Or do I need to wait on the callback before I make a call? Thank you in advance! The order of the data is not guaranteed and if you want to re-write the callback before those functions are using it. In the context of async_write , async_read also applies) Because async_write Has been implemented in the context of several calls for the async_write_some function of the built-in stream, those calls are not atoms, attempts to write data to each call stream and internal callback to deal with partial operations To wait effectively, you can code yourself, then you can Distributed data can easily finish if you do not wait for completion. You have to consider threads. If you call async_x on a stream several times, you can eliminate concurrent actions on the same built-in stream in different threads, which can cause undefined behavior.

java - Subclassing a final class; or, a Degenerate Decorator -

I have several different representations of the same type of object; Let's call it one thing. "Thing" is a marker interface ThingFormat0, ThingFormat1, ThingFormat2 etc. All JavaBeans that implement Thing. (Because they are JavaBeans, a JSON marshaller automatically converts them and JSON automatically.) There are some members like ThingFormat1's name and id. ThingFormat 2 has URI links for other things. In ThingFormat3 ThingFormat1 are representations of those other things etc. The JSON serializer knows how to automatically convert a URI (This works for any class, where you can convert the string () and constructor classname (string string) to I have to be a thingform that behaves like a URI, but implements the marker interface thing. Public class ThingFormat0 increases URI tools Thing {} This does not work because the URI is a final square and it is not sub-class created can go. The only way I can think of doing this is by making a decorator (a very

validation - Check if inputs are empty using jQuery -

I have a form that I would like to fill in all areas. If a field is clicked and is not filled, I would like to display a red background Here is my code: $ ('# apply- Form input '). Blur (function () (if ($ ('' input: text '') (": empty") {$ (this) .parents ('p'). AddClass ('warning');}}); $ ('# apply-form input'). Blur (function () {if (! $ (.) () .val ()) {$ (This) .parents ('p') AddClass ('warning');}}); And you do not need the necessary .length or see if it's & gt; 0 because the empty string treats anyway as wrong, but if you want it for readability purposes: $ ('# apply-form input'). Blur (function () {if ($ (this) .val (). Length === 0) {$ (this) .parents ('p') AddClass ('warning');}}); If you are certain that this will always work on a text field element, then you can only use this.value . $ ('#in-apply input'). Blurring (work!) (

pdf generation - Tools to generate reportanalytics feeds from google -

Can you recommend any programmable tools / extensions that can generate reports from Google analytics feeds on disturbances Can be used for? Basically some kind of PDF generator from the feed, though not sure. Or does Google Analytics give output to itself as feed and so on. It depends on how you want the technology to happen. The GA Data Export API can give you XML data to play with it: Or you can go for a high level Excel solution instead:

javascript - Stick ID to the HTML element (using js) instead of id-attribute? -

First post on the Stakeoverflow Hope all is well! Instead of using the HTML id attribute, I'm thinking of enclosing an ID value in JavaScript with HTML elements. For example, say javascript variable htmlElement is a div then htmlElement.cssName will tell us its CSS class. Now, how about htmlElement.idProperty = "someValue" ? Then I can use the idProperty in event handlers. this.idProperty It's easy! Is there anything wrong with doing this? EDIT: Thanks for the reply! Very useful and educative, I wish I could check green on them all! No , if you are dynamically building this item You can use this method, if you are doing it inside of html, then I recommend you to just type the name of html. However, use a little note element.id instead of IdProperty. element.id = 'my-id';

haskell - implementing a per-digit counter using the list monad -

So, I was looking at this question, and made an ugly solution for this problem. While trying to clean it, I started checking the understanding of the list and the list monad. What I have decided to do, was to implement a counter counter using the list Monad. Given the input sequence of digits, [1, 2] , I wanted to generate an output sequence that looked like this: [[0, 0 ], [0, 1], [0, 2], [1, 0], [1, 1], [1, 2]] That is, the list in that category Value of all elements in Haskell.OR says: The bound function is added to all the possible values ​​in the input list and as a result, lists are added to list all the possible outcomes. . Great! It looks right ... the code I have written here is written to prepare the solution: count :: [integer] -> [[Integer]] Count [] = [] Calculate (x: xs) = - Receive all possible sequences for the remaining digits, remDigits :: [[Integer]] remDigits = in the calculation xs - drag a possible sequence to the remainder Let's next

c# - ThreadAbortException -

Assume that we have some code that is running in a different thread like this: < Code> private static zero threadfunk () {ulong counter = 0; While {true} {try {Console.WriteLine ("{0}", counter ++); } Hold (ThreadAbertexposition) {Console.WriteLine ("abort!"); }}} When called thread.arbert () , is it possible that an exception is thrown out of the catch block? Actually yes, there is one special even if you handle it, then it's CLR By automatically retry / hold / will be thrown at the end of the end. (As mentioned in the comments, it can be suppressed, but the code from that point smells like a fish.) Not to mention that your efforts / grip / end There is no clear executable code outside, for every short time, every frequency of loop winds outside the scope can be out of your effort block. Unless you're actually doing anything in the catch block, I just try one / end and do not worry about ThreadAbortException . There are better ways

Transfering data to another computer in C# -

Well, I have a C # form application, and I think the best way to move a string of data from the application Looking at, on another computer, on a different network, can be opened by a separate C # application, does anyone know the best way to do this? Or if you & lt; = .NET 2.0, and you can not use standalump (TCP / IP) just like any firewall issues etc. You open a listening socket on the destination machine, and then you connect it to your sending machine , Send their data and disconnect them. Obviously, if you are going to do more activities, then you manage the problems of disconnection, invalid data, loss of the network, etc. But basically send something, get it, TCP

Chrome: First Link(s) on Some Pages Don't Work--Why? -

My problem: Links work in IE 7 and Firefox, but in many cases on a site I work on updating I do not have the first link (link) on a page working in the Chrome browser even though they do it from the "View source" page, I have seen for clear code problems and no one can find what I'm losing? Something is up, but what? Thanks for your help. OK, I try to find out my blood pressure roof And I did it, so I will help answer this question. What you need to do is find out your key element in which there are links which are not working, then put one's z-index on that div box. For example, if it is a menu, then it is not working as a z-index of 1 in my menu CSS .... #leftmenu {position: absolute; Top: 300px; Left: 14px; Width: 100%; Background color: transparent, z-index: 1; } This will push all things up and your links will work. Voila ...

insert - Inserting a node into a linked list c -

OK This is the code to insert a node in a link list. vec_store holds seq and size is a vector and an indicator in variable sec. For any reason, (vec_mag (v) & lt; = vec_mag (temp2-> next-> data)) and vec_mag Which is not the last thing that works. Can anyone solve the problem? The way this is a C code. vector last_vec (vec_store s) {node temp3; Temp3 = s- & gt; Seq; While (temp3-> gt; Next! = NULL) {temp3 = temp-> next; } Return temp-> Data; } Zero insert_vec (vec_store s, vector v) {node temp1, temp2, temp4; Int i; Temp1 = malloc (size (struct node_record)); If (S-> Seek == faucet) {S-> CEC = Tempt 1; Temp1- & gt; Next = zero; Temp1- & gt; Data = vi; S- & gt; Size ++; Printf ("1 \ n"); } And if (vec_mag (v) & lt; = vec_mag (s-> seq- & gt; data)) {s- & gt; Size ++; Temp2 = s- & gt; Seq; Temp1- & gt; Data = vi; Temp1- & gt; Next = temp2; S- & gt; Seq = temp1; Printf ("2 \ n");

Getting started with jQuery -

In addition to the jQuery website, what is a good place to start playing with jQuery, the site that was set up on me There is a problem in it - I do not like it. Yet another site which is dedicated to jQuery, I found it very useful to me - . One of the creators of this site is also the author of the great book "jQuery In Action" (Yehuda Katz). For me, the resource is well orginized and extremely easy.

.net - DateTime.Add(TimeSpan) performance vs DateTime.AddDays/Hours/etc* methods -

क्या DateTime.Add (टाइमस्पेन) बनाम। DateTime का उपयोग करने में कोई अंतर है ऐडडिएस (डबल) , दिनांकटाइम। एडहोर (डबल) , आदि। जोड़ें (टाइमस्पेन) AddTicks को सीधे टाइमस्पैन के ._ticks सदस्य के साथ कॉल करता है। AddDays, आदि, एक गुणा और सीमा की जांच करते हैं, फिर AddTicks को कॉल करें तो जोड़ें (टाइमस्पेन) संभवतः रूप से तेज गति से है, लेकिन लगभग निश्चित रूप से बेहोश रूप से ऐसा है: सभी अंधाधुंध हो जाएंगे।

c# - what is the need of assembly ? why we use them? -

Why is assembly required? Why do we use them? Is it possible to program without assembly? Are the assemblies created automatically? Let's say I'm developing an ASP.NET Web project, which includes any assembly? Can you list for example? Excerpt: "There are assemblies. They include deployment, version control, reuse, activation skoping and security permissions Is a basic type of unit, a assembly type and a collection of resources that are created to work together and make a logical unit of functionality. " In the .net one of the assembly codes The unit is a single executable, library or module Has been compiled with. Whenever you compile the code, you will generate an assembly I do not believe that without using the assembly, There is a way to use NET code. You can use reflection to learn about the type of assembly as well as other metadata.

How do I load data into the Data Portal of DIAdem with VBScript? -

I want to load a ".tdm" file with VBASP in diadem (National Instruments), but how not Can do it. I have a dialog that opens the browser window, which gives the path as a string. So I expected that there is a function that would do something like this: Call data. Route. Channel group Loaded (myStringWithThePath) Just noticed that I have a problem with Tumbleweed- Badge is found. Here's last week at the solution, so if it does not care: Set objDialog = CreateObject ( "UserAccounts.CommonDialog") objDialog.Filter = "TDM-Datei (* .tdm) | * .tdm | All files (*. *) | *. * "ObjDialog.FilterIndex = 1 boolResult = objDialog.ShowOpen if the Bull result < & Gt; 0 Call the data. Route. Channel group Remove all () call dataDial call calls DataFileLoad (objDialog.FileName) expires if

html - IFrame with wrong URL - parent page displayes error in IE - how to solve? -

मेरे पास एक पृष्ठ में निम्नलिखित HTML है: & lt; div & gt; & Lt; iframe src = "http://google.co.in" शैली = "चौड़ाई: 200px; ऊंचाई: 200px" & gt; & Lt; / iframe & gt; & Lt; iframe src = "http: //" शैली = "चौड़ाई: 200px; ऊंचाई: 200px" & gt; & Lt; / iframe & gt; & Lt; / div & gt; यह पृष्ठ फ़ायरफ़ॉक्स में सही ढंग से प्रदर्शित होता है: लेकिन IE (7 & amp; 8) में, पूरे पृष्ठ को निम्न त्रुटि पृष्ठ से बदल दिया जाता है: हालांकि मैं मानता हूं कि यह व्यवहार अजीब है, यह सुरक्षा उद्देश्यों के लिए किया जा सकता है। के बारे में: रिक्त की बजाय http: // कोशिश करें।

Is it safe to cast generics in Delphi? -

I need to implement a function that assigns a TDictionary without specifying the exact types. or TDictionary & lt; String, Boolean & gt; , TDictionary & lt; String & gt; > Can I declare the function as a parameter with TDictionary: function GetMap: TDictionary; and then enter the return value: type TMyMapType: TDictionary & lt; String, integer & gt; Var MyMap: TMyMapType: Starting ... MyMap: TMyMapType as GetMap; ... End; Edit: It was found that there is no way to declare the 'normal' result parameter type which would be compatible with my three dictionary types Looks like I want something like type TMyMapType: TDictionary & lt; String ,? & Gt ;; The object is not possible in the Pascal language (yet?) In Java it will be something like this: Fixed maps & lt; String, integer & gt; GetIntegerMap () {map & lt; String, integer & gt; Results = New TreeMap & lt; String, integer & gt; () {}; Resu

javascript - How do I show a loading image before actual body load? -

I want to hide the body of my web page after being ready to display all the contents of the body tags of the web page I want to show it body, but by that time I want to show some loading image. If for some reason the body content is not properly loaded then I want to show an error message. What's the best way to do this in JavaScript? It's really easy to get a full screen div And have to hide it after triggering the onload function. & lt;! DOCTYPE HTML PUBLIC "- // W3C // DTD HTML 4.01 // N" "http://www.w3.org/TR/html4/strict.dtd"> & Lt; Html & gt; & Lt; Top & gt; & Lt; Style type = "text / css" & gt; # Loading-overlay {status: complete; Z-index: 1000; Height: 100%; Width: 100%; Left: 0; Top: 0; Background color: # 003366; White color; Text align: center; } & Lt; / Style & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "loading-overlay" & gt; This

Difference between double dispatch and visitor pattern in Java and C++ -

Is there any difference between double sending and visitor patterns? I am working with Java and C ++ and wondering if there is a division between the two. Visitor pattern is one of the means of adding a new operation to the existing classes, instead of a single paradigm shift Two (or, when normalized, more) is a means of sending a function call in terms of polynomial type, which is directly in languages ​​such as C ++ and Java support.

python - problem with pyglet playing video -

I'm new to paglets and I have a problem with video .. I play paglot using a video I am trying. But instead of playing the video in the window it immediately comes out and ends .. Do you have any solution for this problem? How can I hold the window to play vedio? Please use Windows Vista 64 X with Python 2.5 and block " widnow = pyglet.window.Window () source = pyglet.media.StreamingSource () Mediaload = pyglet.media.load (vidPath) player = pyglet.media.player ( ) Player.Q (Media Load) Player. First () @ window.event ... def on_draw (): ... Player.gate_actaction I think "pyglet.app.run ()" Calling is missing.

C#- How to handle string terminator in the conversion -

One of my binary arrays is the string in the conversion process, due to some data my string ends. And it ignores the next data. Take a look at my code, is there any mistake? str + = (four) chunky data [index]. Ostring (); Later I want to display it on the textbox. My array includes the following data as appearing in the hex editor. X UB`````` * * * Beacomb '¨ ... Y8ÄX¡ ~ A ‰ "yuZs ~ # μjÑ, i @ SI4" È0 I tried to do this but nothing changed .. str = system.Text.Encoding.ASCII.GetString (chunkData); You should not use text to represent arbitrary binary data. If you actually use encoding, then you will lose almost definitly data. If you really want to change arbitrary binary data on text and back, use it and For termination: NIT strings do not rely on expiration characters themselves, but many UI controls (including textbox ) treat Will '\ 0' as a termination character

javascript - how to generalize a click function in jquery -

I have 13 small pictures and 13 large pictures, if any small picture is clicked, it will show a big picture related to it. I was wondering if it is possible to normalize the click function, so I do not have to repeat the DIM code 13 times, thanks & Lt; Img id = "s2" square = "small" src = "picture / press / small / 2.png" /> & Lt; Img id = "s3" square = "small" src = "picture / press / small / 3.png" /> & Lt; Img id = "s4" class = "small" src = "picture / press / small / png" /> ..... & lt; Img id = "s13" square = "small" src = "picture / press / small / 13.png" /> & Lt; / Div & gt; & Lt; Div class = "big" & gt; & Lt; An id = "off" & gt; X & lt; / A & gt; & Lt; Img id = "b1" src = "picture / press / large / 1.jpg" /> ...... & lt; Img id = "b13&qu

perforce - open/edit all files of depot using p4 add/edit command -

It is possible to add all new files using the p4 add command. Actually, I do not want to give each file name or any wild chard pattern with the p4 add command. The same question for p4 editing operation Look at, especially : p4 diff -se // myclient / ... | P4-X - Edit Search Type-Print | If you are connected, editing P4 before editing the files would be better, as it allows other people to see that you are editing the files.

Cookies in IE6+, Safari vs. Opera, Firefox (JQuery) -

IE + Safari / Opera + has found a strange difference in cookie behavior in Firefox by navigating with buttons: Cookies set on one page in IE and Safari have been dropped (return), Opera and Firefox continue new cookies when they return to the previous page via the 'back' button. What do I want the latter behavior, but how can I apply it to IE and Safari, if this is also possible? Cookies are set by the server and the JQuery Cookie API ($ .cookie) Thanks. I have gone into the exact opposite problem FF and Chrome when cookies are loaded in the page Returns back. If an option chooses an option that changes a cookie, goes to the second page, then clicks back, the change is lost Edit: I just Also fix these persistency problems with FF / Chrome by adding these PHP rows on my page. I: Header ("Cache-Control: No-Store, Sure-Modify" ); Header ("End: Saturn, 26 July 1997 05:00:00 GMT"); It seems that browsers had different rules for caching

java - Login to facebook in android using REST API -

I develop the Facebook application in Android, I want to log in to Facebook through the HTTP client, the user I give my username and password and then I join Facebook.com/login I want to create this code like But in Android, I tried to do this, but when I got the session Facebook < / P>

sql - Using comma with an update sentence -

I want to update the row in which some HTML tags come in. For example: src = '/ imagem.png' & gt; & Lt; / P & gt; & Lt; / Body & gt; & Gt; Update Istanbul Tags: SET TEXT = '& lt; & Gt; Body & gt; & Lt; P & gt; & Lt; Img src = '/ imagem.png' & gt; & Lt; /> P & gt; & Lt; / Body & gt; After WHERE 1 = 1 you see that the query ends, but it does not end. How to solve it without using " (double comma)? Any solution please? Best regards BK You need to avoid typing single-quotations twice: update IstanbulTableText = '& Lt; body & gt; & lt; p & gt; & lt; img src = '' / imagem.png '' & gt; In addition, your WHERE section is unnecessary and it is completely Can be dropped from updated ISTBugtua set Cust = & lt; body & gt; & lt; p & gt; & lt; img src = '' / imagem.png '' & gt; '

java - Where shall variables be defined within a method? -

Suppose I have a way with the parameter of type object . The method returns nothing - zero . First it checks that the parameter is not zero (or any other check, such as objectParam.isEnabled () ) if (objectParam. IsEnabled ()) {// ok} Now, if the situation is satisfied, then I need a local variable. If it is not so, then I do not need any variables. Where should I define them? Inside "scope" or just after the method header? Of course, I can do it wherever I want, but by the way should a better practice? I believe this is the best practice to declare as long as a variable That is, as much as you can do in tightly nested areas, start with a useful value. This explains where and how it is being used - when you are looking at the code where it is used, you will not have to look far away to see the declaration. In this particular case, I disagree with the official Java style guide - and this is how it blows. Effective Java, 2 versions, item 45: The

html - alter divs css with javascript -

क्या मैं कुछ डिवेल लिंक की शैली बदल सकता हूँ & lt; div id = "somediv"> gt; & lt; a href = "#" & gt; कुछ & lt; / a & gt; / div & gt; चलिए कहते हैं कि मेरे पास यह सीएसएस है: #somediv a {color: # 000; } उदाहरण के लिए, कुछ क्रियाओं जैसे कि किसी भी तत्व पर माउस क्लिक करें, जिसे मैं एक लिंक सीएसएस बदलना चाहता हूँ #somediv a {color: # 00ffff; } मुझे पता है कि div का चयन करके, Document.get.elementById ('somediv') का उपयोग करके क्या इसका उपयोग करके एक का चयन करना संभव है विधि या किसी अन्य से ऊपर? धन्यवाद विवरण: हाँ मुझे पता है कि इसे jquery या प्रोटोटाइप का उपयोग करने का चयन करना है .. मैं उन में से किसी का उपयोग नहीं कर सकता .. < / P> यदि आप किसी विशेष तत्व को एक शैली लागू करना चाहते हैं, तो यह करना बहुत आसान है: document.getElementById ('जो भी')। Style.color = '# f0f'; यदि आप वास्तव में कैस्केडिंग शैलियों (जैसे: #someDiv a ) को लागू करना चाहते हैं, तो यह इतना आसान नहीं है (हा

perl - Are there any problems handling a POST request as a GET request on the server -

In an effort to resolve this question, I posted in this question: So far, the only successful solution to this problem is to think in the environment that the request was a GET. I convert it to POST parameters in a query string, by saving that string in the default environment variable, then changing the environment variable, which tells the server what the request is using for this request. $ ENV {'QUERY_STRING'} = $ long_parameter_string '' Amp; ' . $ ENV {'QUERY_STRING'}; $ ENV {'REQUEST_METHOD'} = 'GET'; System {$ perl_exec} $ cgi_script; I am misleading the CGI module to read from the STRYN instead of STDIN in the QUERY_STRING environment variable, which will try to read it to the POT requests. This method still works, but I am worried about unexpected results. My question is, do you see any potential problems on this? You encounter problems with large submissions and file uploads because GET size limit is much low

xml - Parse MS Word document for XMLfragments - C# -

I have an MS Word document that has XML nodes with plain text. Could you please tell me a way to parse this document and get a collection of all XML pieces that are using C #. Thank you! You can save that file as an XML and parse it.

PayPal Pro (Direct) Credit Cart expiration date verification in Magento -

I have an installation of Magnou Shop on my development server and as payment gateway, we use PayPal Pro (PayPal Direct) are doing. The user is able to accept credit card. It was fine in sandbox mode, but after switching to 'live' mode and testing with $ 0.01 transactions, it was found that PayPal's expiration date, but CC number and CVV check Is performed. So here are the questions: How to leave CC processing without working on the deadline to leave unsafe? How to fix this? You can use any of these credit cards as per PayPal's Numbers for testing with: While testing, only use the credit card number listed here. Other numbers generate an error. The expiration date should be a valid date in the future (use the mmyy format.) test credit card account number + ---------------------------- + ---------- - ------ ------------------------- + | Credit Card Type | Credit card number + ---------------------------- + -------------------- -------------

Is there a way to do on demand flushing of WCF trace? -

IIS7 लॉग फ्लश करने के लिए एक कमांड है: netsh http flush logbuffer / कोड> मैं सोच रहा हूं कि मांग पर WCF ट्रेस लॉग को फ्लश करने के लिए एक समान कमांड है।

python - Message instance has no attribute 'read' in Google app engine mail receive -

संहिता में हेन्डलर प्राप्त करें वर्ग लॉगसेन्डरहैंडलर (इनबाउंड मेलहैंडलर): डीईफ़ प्राप्त (स्वयं, मेल-संदेश ): logging.info ( "से एक संदेश प्राप्त:" "से एक संदेश प्राप्त:" + mail_message.sender) # logging.info (+ mail_message.date + mail_message.attachments) logging.info ( "संदेश से प्राप्त" ) logging.info ( "से एक संदेश प्राप्त:" + mail_message.subject) रिपोर्ट = DocFile () report.doc_name = mail_message.subject अगर mail_message.attachments कोई भी नहीं है: report.doc_file = बाकी mail_message.attachments: report.doc_file = Mail_message.bodies (content_type = 'text / plain') report.put () application = webapp.WSGIApplication ([LogSenderHandler.mapping ()], डीबग = ट्रू) डीईफ़ मुख्य (): run_wsgi_app (application) अगर __name__ == "__main__ ": मुख्य () url.py में कोड इनबाउंड_सर्विसेज़: - मेल हैंडलर: - url: /_ah/mail/.+ स्क्रिप्ट: हैंडल त्रुटि जब मैं संदेश भेजना विफलता ट्रेसबैक (सबसे हाल ही में कॉल अंतिम) से एक साधारण ईम

jsf - Using Post when doing a sendRedirect -

I need a user to launch a JSF page from a custom thin client in the browser (thin client is an http post ). Since the jsf page can be applied multiple times, I use JSP with the parameters on the redirect URL on the jsf page. In Jsp I have a session invalid Jsp code is below: & Lt;% response.setHeader ("cache-control", "no-cache"); Response.setHeader ("Pagera", "No-Cash"); Session.invalidate (); String result = request.getParameter ("result"); String query string = "result =" + result; Response.sendRedirect (". / Faces / MyPage.jspx?" + Query string); & Gt%; & Lt; Html & gt; & Lt; Top & gt; & Lt; Meta http-equiv = "content type" content = "text / html; charset = window-1252" & gt; & Lt; / Meta & gt; & Lt; Title & gt; Title here & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; / Body & gt; & Lt;

java - Help me create a jTDS connection string -

My SQL server instance name is MYPC \ SQLEXPRESS and I'm trying to create a jTDS connection string to connect to the database I am 'blog' Can anyone help me out? I am trying to do this: DriverManager.getConnection ("jdbc: jtds: sqlserver: //127.0.0.1: 1433 / blog", "user "," password "); And I get it: java.sql.SQLException: Network error IOException: Connection refused on net.sourceforge.jtds.jdbc.ConnectionJDBC2 Connect. & Lt; Init & gt; At net.sourceforge.jtds.jdbc.ConnectionJDBC3 (ConnectionJDBC2.java:395). & Lt; Init & gt; On net.sourceforge.jtds.jdbc.Driver.connect (ConnectionJDBC3.java:50) (Driver.java: main.main (java.sql.DriverManager.getConnection (Unknown Source SqlConnection.Connect on main.java:11) ( SqlConnection.java:19) caused java.sql.DriverManager.getConnection (unknown source) at 184)) by: java.net.ConnectException: connection refused: java.net on java.net.PlainSocketImpl.connectToAddress in Java

language agnostic - Finding the translation between points -

I have a map of America, and I have a lot of pixel coordinates on that map that are consistent with the locations. These dynamically form dynamically on the map on runtime according to different settings and statistics. Now I have to switch to a different map of America, which is differently shaped, and in the top left corner of the map, in a little space in the ocean So I have manually collected a small group of coordinates for each map that correspond to each other. For example, on the first map, the point (244,312) corresponds to the point (598,624) on the second map, and on the first map (1323,374) corresponds to another map (2793,545), etc. So I am trying to decide the translation of X and Y dimensions. So the set of points for old and new maps was given, how do I get the x '= a * x + c and y' = B * x + D equation Automatically translate any point from the map to one point? You have two points coordinates on both the maps, (x 1 , Y 1 ), (x ' 1 ,

.net - FxCop: control assembly referenced by analyzed assembly not being loaded -

एफडब्ल्यूआईड्यू: विंडोज 7 64 बिट, कॉम्पैक्ट फ्रेमवर्क v3.5, एफकैप v1.36 (चल रहे fxcopcmd.exe) मुझे ठीक से चलाने के लिए FxCop 1.36 प्राप्त करने में समस्या हो रही है मैं से वैश्वीकरण नियमों के साथ एक कॉम्पैक्ट ढांचे के अनुप्रयोग का विश्लेषण कर रहा हूं। मैं विश्लेषण कर रहा हूं। एक्ससी 3 पक्ष नियंत्रण सुइट के संदर्भ में है: resco.outlookcontrols.cf.dll। जब एफएक्ससीपी मेरे ऐप को चलाता है और उसका विश्लेषण करता है, तो यह कहता है कि यह इस विधानसभा को नहीं मिल सकता है। मैंने चेक किया है, पुन: जांच की है, और 30 बार बार जांचें कि ऐप्लिकेशन चलाने के लिए आवश्यक सभी संप्रभुओं को एक ही फ़ोल्डर में है, जैसा कि एक का विश्लेषण किया जा रहा है - Resco dlls सहित। फ्यूजन लॉग दर्शक, मैं यह जानकारी प्राप्त करने में सक्षम हूं: LOG: DisplayName = Resco.OutlookControls.CF3, संस्करण = 6.7.0.0, संस्कृति = तटस्थ, PublicKeyToken = 7444f602060105f9 (पूर्ण-निर्दिष्ट) LOG: Appbase = फ़ाइल: /// डी: / देव / टीए / उपकरण / एफकैप / लॉग: आरंभिक निजीपथ = नल लॉग: डायनेमिक बेस = शून्य लॉग: कैश बेस = शून्य लॉग: एपीएन

javascript - jCarouselLite reset autoscroll interval -

After some incident, how can I reset the auto-scroll interval on my hindolal so that you can see the content Full interval, no matter how far the timer is, when you used to click next or previous? Right now, if I click on next or previous after 9 seconds, then it scrolls again after 1 second. On lines 274-277 where auto-scroll setInterval I know that you can use the clear interval if you have an ID returned by the set intern, but no one can get me out of modifying the source code, and I do not Want to do Any thoughts? Thanks! jCarouselLite does not provide an easy way to automatically prevent auto-scrolling, which would be a simple problem Is what you want (? I thought it was right: you just want to stop the automatic scroll on click and then want to continue) Hackney + to completely prevent autoscroll There is a potentially small train for var x; // hold interval id $ (function () {var y = window.setInterval; // Original set interface functions / overwrites with

c# - Excel file with multiple sheets from SSRS Reports -

Assume that I have 3 bytes of arrays, each representin a .xls file I give them a single XLS file with 3 sheets How can I add in SSRS reports are very rich and do not include charts objects. Performance is not important so I can save them on disk as necessary, as the last resort, I can also use excel macros (if I knew how to do it). I tried to use microsodt.office.interop.excel, but I could manage to add a new sheet to only one file, I could not add an existing sheet Any help would be appreciated. Here is a method that writes a byte in the form of a letter for a specific workbook: Public Static Zero WriteToSheet (String Target Bookpath, Byte [] fileBytes) {try {Object x = Type.Missing; Create a temp file to encapsulate the // byte array string tmpPath = IO.Path.ChangeExtension (IO.Path.GetTempFileName (), ".xls"); My.Computer.FileSystem.WriteAllBytes (tmpPath, fileBytes, Incorrect); // Start Excel Application (COM) Excel.Application xlApp = new Excel.Application ()

javascript - jQuery Validation on Success -

Hey guys, thanks in advance for all your help! I have this registration form, which then validates "Basisensons". Valid using JS: $ ('# pForm'). Validate ({rule: {fname: "required", // simple "required", country: "required", email: {// combined rule required: right, email: true}, city: "required"}, show ('Slow');}}); // validate the form Now, except the verification success tag ... (which I have added) ... Therefore, although it says that the field is required, it goes forward And reads the code under "success" as soon as I change an area Any ideas how can I get around this one? Oh ... and what is the tag of an "overforming" type jQuery? It seems your success: Callback is improperly defined, It should contain a string argument that states: success string, callback if specified, error label is a valid element Is displayed to show. If a string is given, then it has been added as

How to get all option values with jQuery? -

& lt; चयन करें & gt; & LT; विकल्प & gt; परीक्षण & lt; / विकल्प & gt; & LT; विकल्प & gt; test1 & lt; / विकल्प & gt; & Lt; / चयन & gt; असल में मैं & lt; option & gt; के भीतर टेक्स्ट को पुनः प्राप्त करने जा रहा हूं, लेकिन ये दो नौकरियां समान हैं। < P> var opt_vals = []; $ ('विकल्प चुनें')। प्रत्येक (फ़ंक्शन () {opt_vals.push (($ $) .text ());});

64bit - How to compile a 64-bit application using Visual C++ 2010 Express? -

Is there an easy way to compile 64bit apps with 32-bit versions of Visual C ++ 2010 Express? What configuration, if any, is necessary? Here are step-by-step instructions: Windows software Download and install the Development Kit version 7.1. Visual C ++ 2010 Express does not include the 64 bit compiler, but SDK does have a link for SDK: Change your project configuration Visit the properties of your project At the top of the dialog box, click on a "Configuration" Drop-down menu. Make sure to select "All Configuration". There will also be a "platform" drop down which will read "Win32". Finally there is a "Configuration Manager" button on the right - Press it in the dialog that appears, find your project, press the platform drop-down, select new, then choose X64 Now select the "Active Solutions Platform" drop-down menu "x64 "In When you return to the Properties dialogue box, the "Platform" drop-d

SMPP Simulator: How to check connection reset? -

I use the SMP simulator CHT to come up with the Logica SMPP API as the Virtual SMSC. The simulator is not able to detect any connection reset, whereas an SMPP client disconnects without sending the unbound PDU. In the simulator the SMSCSession class does not handle any exceptions, while Delwar send PDU such as SM. So, how can you identify when there is a socket error? On the SMPP customer side, you have enquirelink pdu to check the connection. Similarly, the simulator has no option to check the connection. Thanks, Vishnupriya I am using this SMPP simulator: It works very well, and ill addressed lots of PDU Imposes. Connection reset is also detected.

visual studio 2008 - VisualSVN is not updating Pending Checkins window in VS2008 -

Recently, in my Visual Studio 2008 my pending checkin window has been blank even though different files have changed It is really upset that the solution Explorer correctly marks the files replaced with orange dot rather than a green color. Is there any way to re-enable it without resorting to reinstatement?

view - Android: how to move standard elements (like EditText) by touch event? -

I can override on touch events, but there is no x and y coordinate to set in editing text or normal view is. Adjust the rules of any container (e.g., relativeLayout ) to you Whatever it is, you want to be the result of this onTouchEvent () . Generally, this is done by adjusting the container-specific layout parameters associated with the widget.

Does Google App Engine supports JDO data objects with "Object" fields? -

I have an "object" field in one of my JDO classes, like this: @ qualified to Preshrens Cap (IdentityType = IdentityType.APPLICATION, detachable = "true") class Foo {... @Persistent @Value (type = {java.lang.Boolean.class, java.lang.String.class}) object bar ; ...} When I tried to use this field I got the following exception: field "Foo Bar" to a reference type (interface / object) But no implementation class of "Java.lang.Object" has been found! Org.datanucleus.exceptions.NucleusUserException: Field "Foo.bar" is declared as a reference type (interface / object), but "java.lan g.Object" does not have any implementation class! At org.datanucleus.metadata.MetaDataUtils.getImplementationNamesForRaferenceField (MetaDataUtils.java) 315 ORG.datanucleus.store.mapped.mapping.ReferenceMapping.createPerImplementationColumnsForReferenceField (re-ferriage mapping.jakui779) at org.datanucleus.store.mapped.mapping. ReferenceMapping

Determing system requirements to run a .NET application -

मैं .NET अनुप्रयोग के लिए न्यूनतम सिस्टम आवश्यकता कैसे निर्धारित करूं? < पी> मैं यह निर्धारित करने में सक्षम होना चाहूंगा कि मुझे रैम, सीपीयू, आदि के संदर्भ में अपना आवेदन चलाने के लिए कम से कम सिस्टम आवश्यकता के रूप में क्या सूचीबद्ध होना चाहिए। यह अनुप्रयोग सी # में लिखा है और .NET का उपयोग करता है 3.5 और डायरेक्टएक्स 9। क्या यह सब परीक्षण और त्रुटि के बारे में है (यह देखने के लिए कि यह काम करता है यह देखने के लिए विभिन्न सेटअपों में चल रहा है) या वहां ऐसा करने के लिए उपकरण

c# - How can I make this LINQ search method handle more than two terms? -

निम्न खोज विधि कार्य करता है ठीक मैं इसे गतिशील कैसे कर सकता हूं ताकि वह किसी भी खोज शब्दों को नियंत्रित कर सके? सिस्टम का उपयोग कर; System.Collections.Generic का उपयोग कर; System.Linq का उपयोग कर; System.Text का उपयोग कर; नेमस्पेस टेस्ट कंटेंट्स 82343 {क्लास प्रोग्राम {स्थैतिक शून्य मुख्य (स्ट्रिंग [] आर्ग्स) {सूची & lt; स्ट्रिंग & gt; कार्य = नई सूची & lt; स्ट्रिंग & gt; (); Tasks.Add ("ग्राहक को अनुबंध जोड़ें।"); Tasks.Add ("ग्राहक के लिए नया अनुबंध।"); Tasks.Add ("नया अनुबंध बनाएँ।"); कार्य। जोड़ें ("पुराने अनुबंधों के माध्यम से जाओ।"); Tasks.Add ("ग्राहकों को फाइल संलग्न।"); Var फ़िल्टर्ड टास्क = सर्च लिस्टविशेषफ्रेश (कार्य, "अनुबंध ग्राहक"); फ़िल्टर्ड Tasks.ForEach (t = & gt; कंसोल। WrightLine (टी)); Console.ReadLine (); } सार्वजनिक स्थिर सूची & lt; स्ट्रिंग & gt; SearchListWithSearchPhrase (सूची & lt; स्ट्रिंग & gt; कार्य, स्ट्रिंग खोजफ्रेश) {string [] भागों = खोजप्रक

Shared hosting error on my Zend based Application -

I just tested my junk based application on the local host. When I installed it on the shared hosting site, I got an error whenever I try to navigate the protected pages of my application, so it happens. WARNING: Include (/home/davidkag/public_html/prototype/application/models/DbTable//Users.php) [Function.include]: Failed to open stream: line / 178 There is no such file or directory in /home/davidkag/public_html/prototype/library/Zend/Loader/Autoloader/Resource.php on . I think double slash model / dBTable // users.php) is the reason for this problem. The error is due to this special line in my code: Fatal error: class 'Model_DbTable_Users' / home / davidkag / public_html / prototype / application / controllers / AuthController Not found in line at .php 24 How do I have trouble shooting this problem? My localhost machine works fine. I will start by creating a new test script, with one line, and see what you get : Include / Homepad / Public / HTML

c# - Deleting all records in a msaccess table -

Using C # can all records be removed in an MSaccess table? Yes this page contains examples to connect to an Access DB and then simply use the DELETE command Please.

Customizing Sharepoint Search Box -

I followed the path to change the way the SharePoint search box has been shown. My first problem is, after modifying the file, SearchArea.xml , is there a way to apply the reload? Reload frequency seems very random. Bonus Question: What is the best way to do this? This is the easiest I've found, but when the project has been deployed, the client does not seem to be very optimized to change the file on the production server.

How to check if head is list in F# -

Is there an item to check any object that has a list? I did it like this: let x = unbox & lt; List & lt; Obj & gt; & Gt; (L) .... Try it with. _ - & gt; ... But if possible, I would like to check it with one or a match instead. If you know the type of list elements, then you can use this type of code: < / P> let_list (x: obj) = with match x | : & Lt; Int & gt; - & gt; Printfn "int list" | : & Lt; String & gt; - & gt; Printfn "string list" | _ - & gt; Printfn "unknown object"

Force code formatter in IntelliJ to join lines -

I'm trying to force IntelliJ to reformat the code the way the eclipse does this. When I set the width of a line to 120 characters I would like to include the IDE in line which was broken up to several lines (such as line width was set to 80 characters). I want to go from here: int a = 1 + 2; To do this here: int a = 1 + 2 What is possible in IntelliJ? I am looking for the appropriate setting in the formatter but can not find it. Can anyone tell me where I can find it? This works for me in intellij 8 if I: File - & gt; Settings - & gt; Code style - & gt; Wrapping - & gt; Binary Operations - & gt; Set to: 'long wrap' or 'do not wrap' then CTRL - ALT - L < / To reformat the code, kbd>

c - Using custom Makefile with Eclipse/CDT -

I have a multiple of .c and .h files How do I create my own makefile and my source files from my original locations Can I configure Eclipse to use? > You can create a custom makefile and make sure it is in your project root. You will then need to disable the auto-generated makefile. You can do this by visiting: Project Properties (right click on project and select properties) -> C / C + build-> Uncheck that window "Automatically Make makefile ". To use your goal, you can open a view called "Create Target": Window -> Show View -> Create Goal In that scene, you can create a new target that will use the same goal in your custom makefile.

sql server 2005 - Linq failing to connect... or is it? -

I have a web-application that receives the following while trying to connect to a hosted database on another server Used to be. A network related or instance-specific error occurred while setting up a connection to SQL Server. The server was not found or was not accessible. Verify that the example name is correct and SQL Server is configured to allow remote connection. (Provider: Named Pipes Provider, Error: 40 - Can not open connection to SQL Server) Now, here is the problem that the connection string and server path fields are all correct. The site runs properly while running through Cassini on my local machine. (The connection strings are correct.) Other sites hosted on the same server are able to access the database. (Server Path Era All Active.) An error says that it was unable to connect, is aware of the Activity Monitor query, and server logs Do not show any errors (just strangely.) Google & amp; Bing has been unsuccessful with this, so I think it'

vb.net - LDAP Gettling a list of logon names -

I need help in my program to get a list of user logon names in a group. This is what I have done so far, but it only gives to all the users ... which I need to cut for those in a group, of which my name is. Options clear on the import system. Directory Services Importing Systems Directory Services Active Directory Module Module 1 sub-main () Sedimentary Edinander as new directory services. Search the ozozed as a new system ("LDAP: // OU = user, OU = ERWIN, OU = KNS, DC = corp, DC = NNS, DC = COM"). Directory Services Results given in the form of Directorate Search (Accountant) Director Services. Search Result Call as Origin Direct Services. Search: 'This Work' objSearch.Filter = "Department = Engineering" oResults = objSearch.FindAll in oResult Console for each oResult. WriteLine (oResult.GetDirectoryEntry.Properties ("sAMAccountName"). Value) Next End Sub End Module Try changing the Filler to objSearch.Filter = "(& Objec

c# - ProAspCompLib.dll - what is this for? -

A very badly written ASP.NET app is trying to piece. Can anyone tell me what is the use of this assembly (ProSpCompilBl. Dll)? OK, after some brief Google-fu, my best estimate is that one (sugar) A code library connected to the programming book. If so, you may be able to find the original / translated English version. . Rather than try to track this book down, it would be a better option that the library is free to use.

sql - Boundless Stored Proceedure Input -

I am passing a comma-delimited list of IDs for a stored procedure in the form of a varchar (MAX). The problem is varchar caps on 8000 characters and the list may possibly be larger. Is there a SQL datatype where the size does not matter? No intention of a moment. varchar (MAX) does not caps in 8000 characters. This is the replacement for the text data type (which is now deprecated), there is not just a shortcut for a static value of maximum 8000; It really indicates that the variable should be able to store data in an arbitrary large amount. If you are announcing varchar without MAX , the qualifier, however, it will be at 8000.

Django: fill form from get method -

फॉर्म: वर्ग SearchJobForm (forms.Form): query = forms.CharField ( ) प्रकार = forms.ModelChoiceField (queryset = JobType.objects.all), विजेट = forms.CheckboxSelectMultiple ()) देखें def jobs_page ( अनुरोध): यदि 'query' request.GET: form = SearchJobForm (request.GET) अन्य: form = SearchJobForm () चर = RequestContext (अनुरोध, {'form': form,}) return render_to_response ('jobs_page.html' , वेरिएबल्स) मैं फॉर्म सबमिट करने के बाद अपने स्वरूप को वापस रूप में प्राप्त करने का प्रयास करता हूं form = SearchJobForm (request.GET) लेकिन यह काम नहीं करता (कुछ क्षेत्रों को गायब करना) शायद यह ModelChoiceField के कारण है विधि प्राप्त करने के तरीके से मैं अपने मूल्यों को कैसे बदल सकता हूं? ऐसा लगता है कि आप दिखाना चाहते हैं एक उपयोगकर्ता के लिए एक पूर्व आबादी वाला फ़ॉर्म ऐसा करने के लिए, आपको प्रारंभिक तर्क अपने फ़ॉर्म में पास करना होगा: SearchJobForm (प्रारंभिक = request.GET)

what is the application heap size in iphone? -

Hello, What is the app hap size in the iPhone? I mean how one size can use memory in the iPhone, does it happen for IPOD or is it different for an iPhone or iPod? What is the size of the content downloaded in the iPhone, which we can download in our app using NSDT? Thanks Available memory is not fixed as well as device differences There are procedures (system processes) that consume different amounts of device memory - and there is no virtual memory because all the processes are coming from the same pile. The 128 MB RAM is 256 MB in all the iPhones up to and including 3G, and all the iPod Touch current models are not at least (those are not sure about) 128GB RAM It is recommended to recommend 128 MB devices and keep it under 26 MB, although generally you should be available up to 60 MB (you can use 34 MB inbital to cache transient resources). Sometimes available RAM can be less than 26 MB, so the smaller your footprint are better.