Posts

Showing posts from May, 2015

image processing - How can I programatically convert SVG files containing text to PDF files (specifically on CentOS 5.3 x86_64)? -

I want to convert program into SVG files in PDF files. However, SVG files contain text that should be searched in generated PDF files. Additionally, it is working on Red Hat Enterprise Linux 5.3 or CentOS 5.3 for the x86_64 architecture. It would be nice if it was open source or at least not very expensive. Here's what I have tried, all of them, except Batik, work fine on Debian. I can install it using autopacks, but when I use it from the command line, the text is not searched. [sic] When it converts SVG files to PDF files, the text is no longer searchable. The source and its many dependencies are available for this, I am trying to compile it on CentOS but have not yet received success. I found it for Debian x86_64, but it does not work on CentOS RSVG-Convert Generated PDF on CentOS 5.3 is probably not installed, to install a new version of Cairo Solution (But maybe some of the above will still be helpful to the reader) Installing from Source But

ASP.Net Ajax $find() Jquery Equivalent -

क्या एएसपी.Net के एजीएक्स के एजेक्स का $ मिल () फ़ंक्शन है? $ ()! = $ Find () के बाद से नहीं है $ डीआईवी तत्व से संबंधित AJAX घटक देता है, और नहीं DOM तत्व। आप अपने खुद के प्लगइन का निर्माण कर सकते हैं जो खोज विधि को शॉर्टकट करता है। माइक्रोसॉफ्ट ने अपने एसएपी.नेट एजेएक्स घटकों को डोम से लिंक करने के लिए $ find बनाया है। < / div>

Client calls .asmx, Server exposes WCF endpoint -

We have a client that is configured to connect to the ASMX service. We do not want to ask our customers to update their configuration, but we want to upgrade our service to use WCF. Does anyone know that WCF supports this? If so, what does the configuration file look like? Our SMX service looks like this: & lt; Binding & gt; & Lt; Compulsive name = "etresource soap" off timetimeout = "00:01:00" opentimeout = "00:01:00" get timeout = "00:10:00" sendTimeout = "00:01:00" cookies = "fottal" bypassprocede Allow = "False" hostNameComparisonMode = "StrongWildcard" maxBufferSize = "65536" maxBufferPoolSize = "524288" maxReceivedMessageSize = "65536" Message encoding = "text" text encoding = "UTF-8" transfer mode = "buffer" WebProxy = "true" & gt; & Lt; ReaderQuotas maxDepth = "32" maxStringContentLength = &q

scaffolding - Edit text box in ASP.Net MVC application not working? -

Currently due to unknown reasons, in a strongly typed partial view that automatically "templates" Deny displaying any data in the textbox. However, the testtitle string displays the realtime content. By using & lt; fieldset & gt; & lt; Legend & gt; Fields & lt; / story & gt; & lt; p & gt; & lt;% string titletext = Model. Title.ToString (); & Gt%; & Lt;% = titletext%> & lt; label = "title" & gt; Title: & lt; / label & gt; & lt;% = Html.TextBox ("title", Model.Title)% & gt; ; < "Post-text" itemprop = "text"> Make sure that you insert the text into the text box that does not have html tags - try html MVC 2 Is handled automatically. EDIT: What is not a model. Property property in conflict with page-level title variables?

java - getting javadoc to work with netbeans -

Image
Hello, I am trying to build it so that I can see Javadok with auto completion in NetBusiness 6.7.1 . But it tells me "Javadock was not found" I tried to add it to the Platform Manager (I added to c: / sun / SDK / docs / api), but does it still not work? What should I do? Try to download javadoc (from) to copy your choice Configure the zip file and the java package in the Java platform as the following: If it still does not work, then Try to remove % USERPROFILE% \ netbeans \ 6.7 \ var \ cache

c# - Rhino Mocks expectation not returning collection correctly -

I'm new to Rhino Mox, and I'm usually using a fake isolation framework for unique testing. I have written the following test, where I have set an expectation for the duplicate IDataProvider object to return the collection of the object. When I run the trial, call to the IDataProvider gives an empty list when it should return the list with an object. Any thoughts are going wrong? This is my test: (Please excuse any bad habit here ... do not hesitate to mention any of the above.) I am trying to learn! Thanks) [TestMethod ()] Public Nine FetchDataSeries_NeedsUpdate_SuccessfulDataSeriesRetrievedFromDataProvider () {List & lt; IDataSeries & gt; DataSeries = New List & lt; IDataSeries & gt; (); DataSeries.Add (New DataSeries ("Test")); Drilldown Level Level = Drilldown Level YEAR; Int? Year = 2008; Var Detector = _MockRepository.CreateMock & lt; IDataProvider & gt; (); DataProvider.Expect (DP = & gt; dp.GetDataSeries (string.opt, lev

Problem parsing XML using e4X & Flex 3 -

I have difficultly parsed the XML file using e4X. I can get information from the 'Version' tag, but I can not do with a nested tag. Does anyone please tell me what I am doing? Here's the XML: & lt; NameFormat xmlns = "http://www.theaddress.com/file" & gt; & Lt; Version & gt; 1.0 & lt; / Edition & gt; & Lt; NameOfChild1 & gt; & Lt; NameOfChild2 & gt; & Lt; GeneralData & gt; & Lt; Identifier & gt; 2678 & lt; / Identifier & gt; & Lt; / GeneralData & gt; & Lt; / NameOfChild2 & gt; & Lt; / NameOfChild1 & gt; & Lt; / NameOfRoot & gt; Here is the code: & lt; Mx: HTTPService id = "MyService" url = "data.xml" result = "result handler (event)" as a result = "e4x" /> Private Function Results Handler (Event: ResultEvent): Zero {XMLData = event.result as XML; View Var: string = XMLData * :: Edition; // ver = 1.0 var id:

sockets - C# Getting packet data -

I am trying to write a script that can snap the HTTP header. So far I have got socket at 80 port and starts getting the packets, but I can not get them in the string form. All the outputs are "e" consistently, I have changed the byte first and some data is coming in, but the current code is unable to convert the bytes to string. Is there another way to decode a byte that will give the proper string? byte [] input = bitconverter.getbytes (1); Byte [] buffer = new byte [4096]; Socket S = New Socket (Address Family.Inter Network, SocketType.Raw, Protocol Type .IP); S.Bind (new IPPD (IPAddress.Parse (strIP), 80)); S.IOControl (IOControlCode.ReceiveAll, input, tap); Int bytes; Bytes = S. Reception (buffer); While (bytes> 0) {log (systemtext.excoding.assici.getstring (buffer, 0, bytes)); Bytes = S. Reception (buffer); } when you use the raw socket Sniffing, you are receiving Internet Protocol (IP) packets that begin with each IP packet This header is usually 20 by

What are data structures in Objective-C? -

What are the data structures that we can use in Objective-C? NSArray is your standard array structure. NSDictionary A key-value "hash map" NSSet is an anonymous collection of unique objects. Each of these is irreversible (i.e., when you create them, you can not change them). If you need to modify them dynamically, you will use their unstable subclasses: NSMutableArray , NSMutableSet , etc. For structures beyond this, check out the CHDTA structure framework, in which the queue, heap, trees, traps and so many things are:

html - How to have pdf viewer in ruby -

I can embeded Ruby PDF Viewer on rail Now I try to & lt ; Embed src = "MyPdfDocument.pdf" width = "500" height = "375" & gt; but it does not work I used firebug and see this error [Exception ... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStreamListener.onStopRequest] "nsresult:" 0x80004005 (NS_ERROR_FAILURE) "location:" JS frame :: file: ///home/bengasi/.mozilla/firefox/cmb1mbzu.default/extensions/firebug@software.joehewitt.com/components/firebug-channel -listener.js :: anonymous :: line 167 "data: no] [break on this error] this.listener.onStopRequest (request, requestContext, statusCode); \ N firebug -... stener.js (line 167) If you are trying to display a PDF as an image, then the HTML is surrounded by content ... so one can not win the browser, and your problem is with the browser, Ruby But not the railways. You can link to an PDF with an iFrame (may be in some browsers),

Output an Image in PHP -

मेरे पास एक छवि है $ file (जैसे ../ image.jpg ) जिसमें माइम प्रकार $ type मैं इसे ब्राउज़र में कैसे आउटपुट कर सकता / सकती हूं? $ file = '../image.jpg'; $ प्रकार = 'चित्र / जेपीईजी'; हैडर (। 'सामग्री प्रकार:' $ प्रकार); शीर्ष लेख ('सामग्री-लंबाई:'। फ़ाइल आकार ($ फ़ाइल)); readfile ($ फ़ाइल);

Why PHP CLI says php_pdo.dll cannot be found? -

I added the php extension directory (which includes php_pdo.dll, ...) to the path environment variable, Let's start thanks. Do you install it during PHP installation? On Windows, make sure you enable the proper extension.

Algorithm that Generates Unique Serial Number for Each English Word -

For any application, I need to prepare unique serial numbers for each English word. What is the best way? Do you have a list of all possible words? If so, start with the first word on 0 and increase the serial from 1 to every word. If not, then it is an easy way to guarantee that they are unique. Use the term as a serial. For example, ABC = 0x41 0x42 0x43 = 4276803 . As suggested in the comments there are other methods (though, more work is required), such as compressing the first words, for example, Huffman It definitely gets awkward with long words: for example, pneumonoultramicroscopicsilicovolcanoconiosis will require approximately 100 points. Otherwise you can use a hash, but there is no guarantee that it will be unique to all English words.

winforms - Linq to SQL: getting old values of changed rows -

I have an editable grid that is limited to the Linq from the SQL table. I submit changes to save the changes And I need a way to get the old values ​​of changed rows. I tried to get references. GetChangeSet () But the problem is that the rows in this collection do not send new values ​​to old people, even before calling the SubmitChanges (). How can I do this? L2S cache will contain old values. Even when you call SubmitChanges (). I found this out the hard way. As long as you do not make a reference call, the cache will include the old values. Refresh all the lines to refresh () So, you can just retrieve the values ​​again L2S will get them from the cache, which will be old values. Randy

java - Determine the most common occurrence in an array -

Assume that I have an array of doubles that look like the following: Array [10] = {10, 10, 10, 3, 10, 10, 6, 10, 10, 9, 10} I need a function that can determine What is the MAJORTY vote that is the array, in this case "10" because this is the number that most often appears ... and of course there is a situation when no majority exists (where they are the same), Throw an exception in that situation Oga ... Any clues? In addition to doing some very bad looping on the array (for each index, determine how many exist with the same value, count in the array, and then scan the count array for the highest number and position it In the value winner, etc ...) a map & lt; Integer, integer & gt; It should be simple: int at most (int ... ary) {map E: M. Context ()) {if (EG Value ()> Max) {Most Frequent = E. Geke (); Max = e.getValue (); }} Highest return; }

visual c++ - OpenCV and include files -

Has anyone installed OpenCV 2.0 on Windows? Does the installation make directories like "... \ opencv \ cxcore \ include"? How can you add libraries to Visual C ++ 2008 (Express) and include the files included in it? Post-text "itemprop =" text "> For now, documentation and examples are rarely found on OpenCV2. I strongly recommend using OpenCV 1.1 Unless there is a compulsion to use 2.0, there are more tutorials for installing OpenCV 1.x, of which 2 are specific to Visual Studio

Java Stanford NLP: Spell checking -

I am trying to check the spelling accuracy of the text samples using Stanford NLP. It's just a metric of the text, no filter or nothing, so if it gets a little bit shorter, then the error is the same. My first thought is that this word knows what the word is known by: Private static lexicalized parser LP = new lexicalized parser ("englishPCFG.ser. Gz "); @ Analysis (weight = 25, name = "spelling") public double spelling () {int result = 0; For (list & lt;; HasWord & gt; list: fax: sentence) {for (HasWord w: list) {if (! Lp.getLexicon ()) isKnown (w.word ())} {System.out. Format ("misspelled:% s \ n", w.word ()); Results ++; }}} Return Results / Sentences (size); } However, it produces quite false positives: misspelled: sincerity misspelled: cicphus misspelled: cicphus wrong spelling: loyalty Spelling Misspellings: Gods misspelled from: Missing spelling from: Molecular misspelling: Layer misspelled: Sisyphus misspelled: Camus miss

documentation - Hosting Google Apps UI in my app -

मैं एक स्थानीय हाइब्रिड डेस्कटॉप / ब्राउज़र ऐप्लिकेशन में Google Apps / Docs का पुन: उपयोग करने की संभावना की जांच कर रहा हूं। मैं दस्तावेज़ों को जोड़कर Google दस्तावेज़ के माध्यम से जा रहा हूं, उदा। स्प्रैडशीट वास्तव में UI को होस्ट करने पर मुझे कोई जानकारी नहीं मिल सकती है क्या यह संभव है या क्या उसे Google से कुछ प्रकार की अनुमति की आवश्यकता है? धन्यवाद। क्या आप मूल रूप से अपने एप्लिकेशन में ब्राउज़र नियंत्रण को एक Google Apps डॉक्टर के URL पर इंगित करना चाहते हैं? आप किसी उपयोगकर्ता के लिए दस्तावेज़ों को पुनर्प्राप्त करने के लिए उपयोग कर सकते हैं, फिर अपने एम्बेडेड ब्राउज़र नियंत्रण में उन दस्तावेजों के यूआरएल का उपयोग करें। आपको ऐसा करने के लिए Google की अनुमति की आवश्यकता नहीं है; आप में निर्मित कुछ अतिरिक्त स्मार्ट्स वाले ब्राउज़र को लिख रहे हैं।

SQL - MS ACCESS - Show Cells with NULL value with 0 -

I tried writing a query in Access. My purpose is; How many surgeries are being performed in one day to get the result. There is a problem; The results are giving me dates and how many surgeries are done but no results are listed on the results table on the day of surgery. I think without surgery, the day will be shown as 0. But there is no record about surgery type 1 03.01.2009. I just want to cross that line; Type 1 ------------ 30.01.2009 ------------ 0 Is it possible or how ? Example, Surgery Type ------------ Date ---------- ------ AMOUNT ------- TYPE 1 ----------------- 01.01.2009 ------- --------- - 20 ------- Type 1 ----------------- 02.01.2009-- --------- ------- 30 - !! - !! - 03.01.2009 has not been shown as 0 (This is not shown on the result table) - !! - !! - ------- TYPE 1 ----------------- 02.01.2009- ------------ ----- 10 I tried to use the ISNULL function but the result could not be found. B is type of surgery * T sq code select t1.b, t

Zend Route Regex: Match controller segment of Url to anything but "home" -

I am working with the URL in the following format: "Controller / Action" where slash is required. To match the controller and action names, I need to create a PCERJX unless the name of the "home" is in the name of the controller. For example: "Member / Update" should be produced "Member", "Update" "Admin / Index" should be created "Administrator", "Index", "Home / index" creation gt; I'm looking around, looking forward, back and around. Appreciated. ** Edit Here's a little more background. I want to set up the zend routing so that a URL with only one part / foo 'Remittance of Home Controller, i.e.' / home / foo ' Transmission of two parts' / controller / operation' to any controller of any URL: for example, sending '/ member / update' to member controller , '/ Member / update'; & Nbsp; Controller '=>' h

64 bit shared memory segment C \ linux problems -

I want to make some IPCs with shared memory segments in C ++ I go to make it normally: type -file {int a [2]; } Shm_segment; ... shm_segment * shm; Int shm_id; Int shm_flags = IPC_CREAT | 0666 int shm_size = sizeof (struct shm_segment) key_t key = 88899; Shm_id = shmget (key, shm_size, shm_flags); // Ies if this error is for choking, but for example I left shm = (shm_segment *) shmat (shm_id, (zero *) 0, 0); is the last line, where it breaks, when compiling it, it only gives one: insert the pointer from a different size integer . Everything that I did before this code works perfectly on 32 bit machines (no warning) (exact same code is not tested, but same) , But on my 64 bit this collection is given on this compilation. And segfaults on running it. Whatever research I have done, I believe that casting from zero * to my pointers causes the indicator to spoil the 64 bit. Any ideas how can I fix this? Or what is happening because of this It looks like you

c++ - Why doesn't this compile? -

When I try to continue using the form first, G ++ gives me an "error: 'operator Does not match '' ASIS >> S '"But does two separate announcements do the same thing? #include & lt; Iostream & gt; # Include & lt; Sstream & gt; #include & lt; String & gt; Int main () {const char * buf = "Hello World"; Std :: string SS (buf); // std :: istringstream iss (std :: string (buf)); // This std :: istringstream iss (ss) does not work; // but it does std :: string; Continue & gt; & Gt; S; } This is called "the most unwanted parse" of C ++: Looks like an example announcement for you actually looks like the compiler's declaration function. std :: string name (); // function declaration std :: string name; // Object declaration with default constructor std :: stringstream ss (std :: string (buf)); // function declaration std :: stringstream ss (std :: string buf); // Another task declaration std ::

iphone - Core Data + Core Animation/CALayer together? -

I am making a cocoa app with custom interfaces so far I have implemented a version of an app using the CLAER , Which is rendering, which has been given great hierarchical structure of the clients, and the [hitTest:] function for the operation of mouse events In this early version, the app's model is my custom classes. However, as the program grows, I feel the desire to use core data for the model, not just for binding / undo management so far My method: In the core data: Block entity , attributes xPos, yPos, width, height with BlockView: CALayer drawing to bring value to that model self.position.x = [ Self-worth eatery: @ "xps" ] . In this case, every Block View object needs to have a local copy of xPos which is not good. Is any of you better suggestions? EDIT: This app is an information visualization tool. Therefore the dimensions of the posts, blocks are important, and should remain for later analysis. is editable if not, this info

actionscript 3 - how to send http post "multipart/form-data" in action script? -

& lt; फार्म ENCTYPE = "मल्टीपार्ट / फॉर्म-डेटा" एक्शन = " कार्रवाई स्क्रिप्ट में http पोस्ट "मल्टीपार्ट / फॉर्म-डेटा" कैसे भेजना है? फ़ंक्शन पोस्टटैस्ट (): शून्य {var लोडर: URL लोडर = नया URL लोडर (); var अनुरोध: URLRequest = नया URLRequest (foolowUp); var चर: URLVariables = नया URLVariables (); request.method = URLRequestMethod.POST; //variables.key1 = "value1"; //variables.key2 = "value2"; var प्रेषित स्ट्रिंग: स्ट्रिंग = ""; प्रेषित स्ट्रिंग + = "------------ Ij5GI3GI3ei4GI3ei4KM7GI3KM7KM7"; प्रेषित स्ट्रिंग + = "सामग्री-प्रस्तुति: फ़ॉर्म-डेटा; Name = \ "name \" "sendString + =" abcomp "; sendString + =" ------------ Ij5GI3GI3ei4GI3ei4KM7GI3KM7KM7-- "; अनुरोध data = sendString; loader.addEventListener (इवेंट। कॉमप्ले , Loader.addEventListener (IOErrorEvent.IO_ERROR, poston_error); कोशिश करें {loader.load (अनुरोध);} पकड़ (त्रुटि: त्रुटि) {}}} ? POST /cgi-bin/web

Getting MySQL data after specific date -

How can I get MySQL data after a specific timestamp? How should the query look? mysql_query (select from "SELECT * table where TheNameOfTimestampColumn" from date); SELECT * from the table where theNameOfTimestampColumn & gt; '2009-01-28 21:00:00' Select * From the table where the 'Name of the omfimstamp column & gt; DATE_SUB (CURRENT_TIMESTAMP, INTERVAL 1 day) and should work at your approval rate

Problem with building project in C -

I am doing a project in C and I have a problem making it happen: I have two separate subsystems [A and B] which use the functionality of another sub-system in my project [C]. To do this, they include the header files # necessary, the obligation is that both the sub systems [A and B] should be made separately, by which I mean that I have two separate ' Makefile 'and I run different' make 'on each Now, when I try to unite all my subsystems [A, B, C] in a single project, the GCC tells That has some function The announcements have been made from Le and these functions are related to subsystem C. I realize that the header files are included at the time of compilation, i.e. when I use 'make' on sub systems [A and B], so when I try to unite them all I am doing it, they are actually being declared twice. Can anyone help me with this solution? In any solution, I do not need to collect both sub systems [A and B]. OK This is either a compile error or a lin

Stored Procedure for Updating a Column in Sql Server -

I need to update the column with multiple values ​​ update table 1 Set column 1 = (Select table from table 2 where table 1.column0 = table2.coulmn) Is any generalized stored procedure for a requirement like above? Creating a statement as a string and "executing" statement, I do not know about one Usually, "execution" is contraindicated because it is a potential injection attack point.

ruby on rails - how do I ensure HTTP file upload (ie multipart etc) is transactional? -

How can I ensure that if I'm uploading an HTTP file (for example, in my web from v1 An application for updating the existing file says for V2) that this transaction works? It is in this case that my web application is v1 of the file, but as part of the administration interface, I can update this file. If uploading v2 has a problem with file uploads then I want to make sure that v1 is still in place, and instead there are some corrupt v2 copies instead. Another way to ask this question can be to tell me where to upload the server-side file upload code directly to the file, or whether (if the HTTP file upload transaction is not) There are two steps needed to be processed by putting some extra server side code in (a) upload to a temporary location and then (b) transfer it to the last place if successful, but I still point to the customer Did not work overall upload or not), and (c) to update side a database status field server. I think this is a general question, but I can t

Save in database didn't work ?! (VB.NET | OLE) -

I use the following code to edit the user, the code does not give me an error code, but at the same time It does not work anymore, the data are still without any new changes: dim an a string A = combo 3 Text & amp; "/" & Amp; Comb2.Text & amp; "/" & Amp; Comb1.Text Dim SavInto New OleDb.OleDbCommand Dim ConStr as string = _ "Provider = Microsoft.Jet.OLEDB.4.0; Data Source =" & amp; _Application Startup path & amp; "\ Base.mdb" New OleadBConnect (Concert) Conn. Open () Sevinato.connection = ConSavinO Type Commands = CommandType Text Softino Common Text = "Update TB Sts Tasalsol = '" & amp; _ Trim (frm.tx1.Text) & amp; _ "', Enamor ='" & amp; Trim (frm.TextBox2.Text) & amp; _ "', Name =' '& amp; trim (frm.tx3.Text) & amp; _"', rotba = '& amp; Trim (frm.tx4.Text) & amp; _ "', Space ='" & amp; Trim (frm.tx

.net - asp.net Dropdown menu does not show all the texts In IE,when the text is too long the rest get cut off -

The asp.net dropdown menu does not show all texts in IE, in IE, when the text is too long, the rest is cut, Anyone can suggest any fixes for this. It works fine in Firefox , your ASP dropdown menu

components - OSGi Bundle Repositories -

I am testing OGG bundles and for this their relationships require me a lot of bundles. Have work I already have eclipse updates (1700 bundle) sites and Spring Enterprise bundle for the repository test, although I need more, anyone got huge amounts of bundles there too I do not even need code, just the manifests will be fine . Cheers Returns for 15800 results of Google Code Search. If you find a way to automatically download them and remove duplicates, then you may get a large dataset. There is another similar idea to search for artifacts included in the OSGI bundle manifest.

sql - Get all entries from one table together with the count of these entries in another table -

I have 3 tables: The user (id, name, ... < / Li> Item (id, name, ...) download (user_id, item_id, ...) How do I get all the users With the number of downloads they have? How do I get all the users together With the number of downloads? Use: SELECT u.name, COUNT (d.user_id) users 'num_downloaded' and download the OIN S on d.user_id = u.user_id GROUP by u.name If you want to see how many times a user has downloaded a particular item: Select username 'user_name', name 'item_name', COUNT (DUGEER_ID), and download the user from 'UN downloads'. D.user_id = u.user_id iitit_id = d on iits Add the .item_id group to U.Name, i.name

asp.net - 3 listbox alignment on a webpage -

I have this scenario that I have to show 3 list boxes on the ASP.NET Web page. There will be all the options on page load and list box on List Box A, B will be empty. I want to align the three so that I can select from A to B and A to C. , A will be shown as a large list box with A, and C will be shown as a small box on its right side, as B and C are vertically aligned. Of course B and C have their own set of 'ed', 'ed and', 'act', 'all', 'all button'. ---------- ---- -------------- | | | | | List Box A | & Gt; & Gt; & Gt; & Lt; & Lt; & Lt; | List Box B | | | | | | | -------------- | | -------------- | | & Gt; & Gt; & Gt; & Lt; & Lt; & Lt; | List Box C | | | | | -------------- -------------- Please tell me the appropriate CSS style examples. Cheers Does the following design help you? & lt; Div style = "border: solid 1px red; width: 650px;" & Gt; & Lt; Div

sql server - How can I JOIN the query below? -

का चयन करें PB_BANK_CODE, ---- डीबी मद PB_BANK_NAME, ---- डीबी मद TOTAL_AMOUNT --- गैर डीबी GLAS_PDC_BANKS से GLAS_PDC_BANKS जहां PB_COMP_CODE =: पैरामीटर.COMP_CODE और pb_bank_code में (glc_pdc_cheques से अलग PC_bank_ चुनें) जहां PC_COMP_CODE =: पैरामीटर.COMP_CODE और pc_due_dateTIME के ​​बीच: block01.date_from और: block01.date_to और ISNULL (pc_discd, 'X') = 'आर ') कुल राशि: प्रारंभ करें चुनें (पीसी_अमटा) INTO: BLOCK02.TOTAL_AMOUNT से GLAS_PDC_CHEQUES जहां PC_DUE_DATE के बीच: ब्लॉक 03.DATE_FROM और : BLOCK01.DATE_TO और PC_BANK_FROM =: BLOCK02.PB_BANK_CODE और NVL (PC_DISCD, 'एक्स') = 'आर'; अपवाद है जब अन्य लोग: BLOCK02.TOTAL_AMOUNT: = 0; समाप्त; आईटी एसई में शामिल होने से जरूरत है? समाधान दे का प्रयोग करें : SELECT b.pb_bank_code, b.pb_bank_name, x.total_amount GLAS_PDC_BANKS से जुड़ें (चयन करें c.pc_bank_from, SUM (c.pc_amount) के रूप में कुल_एमाउंट GLAS_PDC_CHEQUES सी से WHERE c.pc_due_dateTIME बीच: block01.date_from और: block01.date_to

bash - Grep search strings with line breaks -

How to use grep for the output of string 'export to excel' in the input files given below? Specifically, how to control the line breaks between search strings? Is there a switch in grep that can do this or any other command? Input files: file a.txt: Blah blah ... excel to export ... blah blaza .. < / P> file b.txt: blah blah ... export to excel ... blah blah .. Do you want to look for files, ignore line breaks, or do you really want to see mail lines? Are you If you have previously, you can use tr to convert Newline to an empty space: tr '\ n' ' '| | Grep 'excel to export' If you can do the same thing, but you just want to use the -o flag to print the actual match. You then want to adjust your regex to include any additional references.

windows installer - Build NSIS script as a MSI package -

Is there any way to compile the Nullsoft Installer Script (NSI) setup as an XE instead of an MSI package? Unfortunately, no. Allows you to create script-capable, procedural installation packages. It's simple, easy to use and has many features that are not present in the Windows Installer. (MSI) database creates a transactional installation package when a properly written Windows Installer package is very strong, a file is corrupted / destroyed and it will be restored automatically. The installer is aware of UAC and only advanced if necessary, basically if you are making software for the corporate market, you will need to provide an MSI. Look for a good start to understand the MSI. / P>

delphi - System Tray Icon not appearing on startup -

I use the following code in the FormCreate event handler to create a system tray icon. When I run my program, the system tray icon looks fine. I set my application to start automatically on windows. When I restart the computer, my application begins to process, but the system tray icon never appears I think the code can be anything like the time it runs, Perhaps the system tray is not ready to populate. It can be initialized through the NSIS installer: WriteRegStr HKLM "Software \ Microsoft \ Windows \ CurrentVersion \ Run" "MyApp" "$ INSTDIR \ MyApp.exe" Code to create system tray icon: Start cbSize with tray idoddata: = SizeOf (TrayIconData); Wnd: = Handle; UID: = 0; UFlags: NIF_MESSAGE + NIF_ICON + NIF_TIP; UCallbackMessage: = WM_ICONTRAY; HIcon: = Application.Icon.Handle; Strip copy (SGTP, app title); End; Shell_Notification (NIM_ADD, @TrayIconData); Before you start the explorer, you are trying to create an icon (Scroll down "

c# - Windowservice error -

Hello, I made some changes to the window service coding side (some class files are related to that), that means I have version After coding to bring the value from the registry, after stopping the service, I copied the exchange from that application side, which was from 72 KB to the installer path, which was 74 KB when it was fresh, when installed from InstallerHold I went. Therefore, 74kb old one has been replaced with 72 KB, but now the problem is that this error is service Monitor service on local computer Could not start 1053 error: Service did not allow timing or control requests to be spread over time. I googled for this error, saying some forums to install the fresh framework copy. I made that change first thing It is to check that the user is allowed to use the registry when running the service, and you can get more detail in the event viewer. Otherwise it means that your service It takes more time to get started, please take a look at your old question:

asp.net mvc - Render partial view based on condition -

I have some partial ideas that the user has a certain role Now, I want to avoid doing this & lt;% if (user is in the role) {.. here html happens ..}% & gt; I want to be able to do this (at the top of ASX): <% this.RenderOnlyForRoles (list of roles)% & Gt; Now, in the BasePartialView I have a list of rolls that are populated when called RenderOnlyForRoles. The problem is that after RenderOnlyForRoles is called .. I can think of all the events :) and I can not stop the rendering of control. Edit: Does anyone know if other visibilities can support it? Public static zero RenderOnlyForRoles (this HtmlHelper HTML, list & lt; string & gt; roles)) < P> if (check that the user is in the role) {html.RenderPartial (yourview); }} Mercy, Donation

c# - PDF returning a corrupt file -

I am using the following bit code to redirect the PDF file to the user. It works fine on my PC and on all our test PCs even though the user is complaining that the document is corrupt. When I send the PDF file back to Notepad, I can see some HTML after binary information. protected void btnGetFile_Click (object sender, EventArgs e) {string title = "DischargeSummary.pdf"; String contentType = "app / pdf"; Byte [] documentBytes = GetDoc (DocID); Response.Clear (); Response.ContentType = contentType; Response.AddHeader ("content-nature", "attachment; file name =" + title); Response.BinaryWrite (documentBytes); } The problem is due to the response object attaching to the end of the file file Finally parsed HTML for the page. Safe void btnGetFile_Click (Object Sender, EventArgs e) {/ p> You have replied, then it can be stopped by calling Response.Close (). String Title = "Discharge Soumouree PDF"; String contentType = &qu

How in C# to pass a name of the object as a parameter to function? -

I have a code that changes the status of the boolean property on the mouseclick, depending on the name of the clicked object: < / P> Private Zero Grid_MouseLeftButtonDown (Object Sender, MouseButtonEventArgs E) {Framework Element feSource = eSource FrameworkElement; Switch (feSource.Name) {case "r1s1": if (r1s1.Isselected == incorrect) r1s1.Isselected = true; Other r1s1. This is selected = false; break; Case "r1s2": if (r1s2.Isselected == incorrect) r1s2.Isselected = true; Other r1s2.Iselected = false; break; .............} e.handle = true; } I would like to do the same work passing through the sender's name (r1s1, r1s2, .. and so on), where there is a parameter to perform this function where this string is a The name combines with the name (IsSelected) just to customize the code (such as the idea): Private Zero Grid_MouseLeftButtonDown (Object Sender, MouseButtonEventArgs E) {Framework Element feSource = eSource FrameworkElement ; ChangeSelect

ant - apache ivy - what to have in the ivysettings.xml -

I am playing with the original and gradually expanded in a state where I now have an esprit iv XML Which defines my dependencies and with the IV jar inside the apache ant establishment. I have also been able to define a common stock to close the IV in an external repository. This solution has been done by defining qualities in the work. & lt; Target name = & quot; Hull & quot; & Quot; = & Quot; Details = & quot; Resolve dependency & quot; & Gt; & Lt; Property Name = & quot; IV.share.default.root & quot; Value = & quot; C: Ivy / local / localLibsStore & quot; / & Gt; & Lt; Property Name = & quot; IV.Shielded.default.artifact.pattern & quot; Value = & quot; [Module] / [modification] / [type] s / [artifact] - [amendment] [extension]. & Quot; / & Gt; & Lt; Ivy: Recover / & gt; & Lt; / Target & gt; However I have tried to run these properties with a destiny in separate ivysettings.xml

Java - Retrieving amount of types in list -

I have a list, the list may contain several items of the same type. Let's say that I have an enum: TOY in which the value is: ball , DOLL , PLAYSTATION . I want to know that there are a list with PLAYSTATION item TOY . (I.e., list & lt; toy & gt; toys) What is the best possible solution for this? I do not want to keep it through the list every time. You can use ' hashbags . There is a getCount (object) method that will suit you.

javascript - What optimizations does a browser perform when a DOM element is being rendered off screen? -

I control the iframe provided on another domain. Is there a clear way to tell if this iframe is being shown above or below the parent page? Obviously, I can not reach the Parent Dome due to the ban. For example, I tried to measure the speed of rendering at canvas or VML tag, hopefully it will be faster when the tag screen But will not. It was not working - there was no difference in the speed. Dome manipulation - there is not a way to differentiate between reflow / repaint operation at the bottom or above the fold. What about Flash? I do not have much experience, but can one see how a browser runs the flash operation fast? Or is there a 'sight' event outside the 'dome standard' or flop? I do not think so. Stops the same basic policy restriction, although you can use the URL parameter, which can be set by javascript when embedding the ad on the page offset.

arrays - Reading a file line by line in C -

I'm trying to write some code that opens a file, read its content line from line and from among these lines Store each array with an array. First of all I open the file and count the number of lines, each row is of a certain length, so I just do this: char buf2 [ line length]; Int in2 = open ("toSend2", O_RDONLY); Int number_of_lines = 0; For (;;) {char * p2 = buf2; Int count = read (in2, p2, LINE_LENGTH); If (count> <0) {printf ("ERROR"); break; } Break (calculated == 0); NUMBER_OF_LINES ++; Printf ("Count:% d \ n", Count); Printf ("file2 row:% s", p2); Printf ("\ n"); } Off (in2); So far, it works well, number_of_lines is actually the number of rows in the "toend2" file and each of my printf lines are contained in that file. Now with the number of lines, I create an array of stars and then basically go back to the whole file, but at this time, I would like to store every line in the array (possibly A

excel - How to allow ink in a protected worksheet? -

I have an Excel 2003 worksheet in which the protection used for data entry on table PCs is enabled. I want to allow users to fill the contents of the worksheet by using ink (and then convert to text), but the ink writing and drawing toolbar is disabled when the worksheet is secure Is it possible to protect worksheet and allow ink? Sorry to answer my own question, but check "Edit the object in the Safe Sheet dialog" "The option solved my problem. The equivalent VBA was worksheet. Protected "password" drawing object: = false .

css - IE 6 dropdown selection area too narrow -

I have a dropdown menu, the width is set to 142px, but when you drop down the menu is big There should be text in it which is more than this breadth. Firefox (and most modern browsers) is clever and extends the selection area to fit in this lesson. However the new versions of IE 6 and uncontrolled IE do not show this text and keep the selection field unread in the dropdown as a single width. Here's the problem, how can I get the IE to expand the selection area, where you can click on the selection without selecting the width of the dropdown area without showing the dropdown selection. Hope that makes sense. : D. Chirs (death from IE) I'm afraid you can not. Even at the best time there is little control for dropdown boxes and IE6 is generally considered to be the worst time.

c# - How do I parse a string into a DateTime, with a specific format? -

I have a source where the date comes in this string form: sat 22 September 13: 15: 03 2018 Is there any simple way that I can parse date in C #? I have tried the date with time. (Try) Pars, but it does not seem to recognize this specific format ... Works: DateTimeDT = DateTime.PresEx ("Saturday 22 September 13:15:03 2018", "DDMMM HH: mm: SSYYAN", blank)

vb.net - Connecting to SOTAMAS90 ODBC? -

How can I connect to a Mas90 file using my ODBC - SOTAMAS90? How can I do this in vb.net? I - I have not tried to ensure myself 100% if it works or not Neither do I claim myself as a vb.net programmer, but it is something to try at least ... Importing System.Data Import Microsoft.Data .Odbc 'database connection public dbConn as OdbcConnection = nothing public dbCmnd as OdbcCommand public dbReader as OdbcDataReader public dbConnStr as string connect as public dbError exception OD To make MAS90 using BC; As dbError stores' exception if a sub connectToDatabase (ByVal company String, ByVal uid String, ByVal pwd as as string) in as dim dsn String = "SOTAMAS90" Dim timeout string = "360" "in terms of building string dbConnStr =" DSN = "+ dsn + _"; Directory = M: \ MAS90 "+ _"; prefix = M: \ MAS90 \ SOA \ "+ _"; ViewDLL = M: \ MAS90 \ Home \ "+ _" server = NotTheServer '+ _ "company =" + co

.net - Updating only .dll of a reference in my ASP.NET Application -

मेरे पास एक तैनात वेब एप्लिकेशन प्रोजेक्ट है जो मेरी Utility.dll क्लास पुस्तकालय का संदर्भ देता है। मैं Utlity.dll में परिवर्तन करना चाहता हूँ और केवल उस .dll बाहर रोल करना चाहता हूं। समस्या यह है कि जब मैं ऐसा करता हूं, तो मैं अपनी साइट को लॉन्च करने की कोशिश करते समय निम्न त्रुटि प्राप्त करता हूं: फ़ाइल या असेंबली लोड नहीं किया जा सकता है, संस्करण = 1.0.0.0, संस्कृति = तटस्थ , पब्लिककेय टोकन = 3766481 सीईएफ 20 ए 9 डी 1 'या उसके निर्भरता में से एक स्थित विधानसभा की स्पष्ट परिभाषा विधानसभा संदर्भ से मेल नहीं खाती है। (HRESULT से अपवाद: 0x80131040) क्या कोई सेटिंग है जो मैं बदल सकती हूं इसलिए मुझे पूरी वेब एप्लिकेशन प्रोजेक्ट को रोल करने की जरूरत नहीं है - केवल Utlity.dll? धन्यवाद! यदि आपकी विधानसभा का संस्करण बदल गया है, तो आप वर्जन को 1.0 पर वापस ला सकते हैं। .0.0 हालांकि इसकी अनुशंसा नहीं की जाती है। इसके अलावा क्या विधानसभाएं इसका संदर्भ देती हैं, और क्या आप उपयोगिता को अद्यतन करते समय भी उन्हें अपडेट करते हैं? इसके अलावा लाइब्रेरी पर हस्ताक्षर किए गए हैं, औ

Version control of uploaded images to file system -

After reading I think the file system is the correct place to store images. But I would like to know how do you upload backup / version control in your different environments (Dev / Stage / Prod) and for network load balancing? These problems are very easy to make a database example to create backups from production environments and to restore DB in the development environment. For example, what do you think about the use of GIT to handle the version control of uploaded files? Production Environment: An image is uploaded to a shared folder on the web server. Meta data is stored in the database Image is automatically Developer at work: Checks the source code. Runs a script to restore the database. Runs a script to get the latest pictures. I think the above solution is very easy for the developer, the picture version will be under control and the environment can be separated from each other. For us, version control is not as important as distribution. M

asp classic - ASP Readline non-standard Line Endings -

मैं फ़ाइल सिस्टम ऑब्जेक्ट के एएसपी क्लासिक ReadLine () फ़ंक्शन का उपयोग कर रहा हूं। सभी बहुत अच्छा काम कर रहे हैं जब तक कि कोई पाठ आयात में मैक पर अपनी आयात फ़ाइल नहीं बना। रेखा के अंत समान नहीं हैं, और ReadLine () पूरी फाइल में पढ़ता है, एक समय में न सिर्फ 1 लाइन। क्या यह संभाल करने का एक मानक तरीका है? किसी प्रकार का पेज डायरेक्टिव, या फ़ाइल सिस्टम ऑब्जेक्ट पर सेट है? मुझे लगता है कि मैं पूरी फाइल में पढ़ सकता हूं, और vbLF पर विभाजित हूं, फिर प्रत्येक आइटम के लिए vbCR "" के साथ, फिर एक बार में लाइनें संसाधित करें, लेकिन ऐसा लगता है कि थोड़ा सा कूडी। मैंने इस मुद्दे पर एक समाधान के लिए पूरी तरह से खोज की है, लेकिन समाधान "" Mac [sic] रेखा के अंत के साथ फ़ाइल को सहेज नहीं "की तर्ज पर सभी हैं।" इस समस्या से निपटने का कोई भी बेहतर तरीका है? के व्यवहार को बदलने का कोई तरीका नहीं है रीडलाइन , यह केवल सीआरएलएफ को एक लाइन टर्मिनेटर के रूप में पहचान लेगा इसलिए केवल एकमात्र समाधान वह है जिसे आपने पहले ही वर्णित किया है। संपादित करें

vim's taglist plugin not recognizing filetype for .sqC files -

I'm using CTG for a while. I recently downloaded the taglist plugin for vim. This is cool. But I am facing a problem. When creating the Ctags file, I used the langmap option to enter my embedded SQL files (.sqc file extension) into C ++. But when I try to use the tag list, it does not recognize the file type for these files and for this the TlistOpen command does not open anything This is probably because the embedded SQL is not supported by CTG () you may have to add support for embedded SQL (see and

process - viewing c# console app arguments -

I have a console app (written in c #) that can be used by an external application (an InstallShield) Has passed the program file). Is there a way to see the value of the arguments given to the console app to log in the value of the arguments without adding the code to the console app or InstallShield exe? (Probably through some kind of process monitoring application) Any suggestion would be very helpful! Cheers Tim will be excellent and free Highlight the process you want, right-click, select the properties, and the dialog that opens on you will see a " Command Line: " section that lists the arguments given to your executable Is: (Image Source :)

vb.net - VB 2008 & Debugger? -

When using Vb.net 2008 When I put a break on a line and then press F5 then on the debugger line Breaks I break (F9), but with Fan In (F8), F5 is grayed out, not working, as well as a group of other debug tools. Any clue why is this? Is there a setting that needs to be set up? That's because you're running a release build to check if your textbox is on your toolbar Whether or not a combobox is in place ... you should select debug instead. If you have trouble finding this toolbar, you can help.

parsing - Re-format items inside list read from CSV file in Python -

I have some lines in the CSV file like: 1000001234, account name, 0 , 0, "3,711.32", 0,0, "18,629.64", "22,340.96", COD, "20,000.00", some strings, some string 2 If you see, there are some numbers "" Is enclosed in and there is a thousand separator ",". I want to remove the thousand separator and double coat enclosure. For the Qoute enclosure, I'm thinking of using string.replace (), but how about commas in quotation marks? What is the best way to do this in Python? You can simply parse CSV, make necessary changes and then write it again . (I have not tested this code but this should be something like this) Import CSV Reader = CSV Reader (open ('IN.csv', 'r')) Author = csv.writer (open ('OUT.csv', 'w') for the line in the reader: # Authors have a list. Author (line)

php 5.3.1 and PDO -

PDO :: __ Construction () is getting: OK packet 6 bits less than expected in the latest PHP 5.3.1, any ideas if you are using the new MySqlnd driver (which is often the case with PHP 5.3, or fixes ? For example, see: Ensure What is the problem with your case, but it is a normal MySQL related thing with PHP 5.3 ...

php - Creating a Archive in Wordpress Datewise for a Particular Category -

In my site, I would like to add an archive page or a custom page, where I want to show a post from a particular category With the format of such as: For example: I am in the category: All posts of technology one day will be shown on this page as I have written only 3 posts that day. The next page of navigation will be the last date page .. which will show all the posts like 6 posts from the previous day and similarly Example page where I have seen this functionality: / P> I want to show them titles in a bit fraction format .. I think it is possible with a custom page format .. Hopefully That I can get quick response .. thnx You can either use your archive.php file or create a custom template file then use query_posts then see: I see under "passing the variable to query_posts" on Example 2 I should do something like this

wpf - TabControl.Orientation? -

I want to set up a TabControl that its headers are on the left instead of the top, how do I do this? & amp; TabControl Tabstrip placement = "left" & gt; & Lt; / TabControl & gt;

Using Spring ContextLoaderListener in JBoss config with default wars -

I am trying to use Spring to configure a web app posted in Jebos. I've added it to web.xml: & lt; Listener & gt; & Lt; Audience category & gt; Org.springframework.web.context.ContextLoaderListener & lt; / Listener Category & gt; & Lt; / Listener & gt; However, I have made my configuration based on the 'default' jabos config, which includes war, such as jmx-console.war, and can no longer be deployed with this error: [contextloader] Failure initializing references org.springframework.beans.factory.BeanDefinitionStoreException: XML document parsing from IOException ServletContext processing [/WEB-INF/applicationContext.xml]; The nested exception is Java. IFFileNotefx is an exception: can not open the ServletContext resource [/WEB-INF/applicationContext.xml] How can I tell ContextLoaderListener to ignore this error, or At least bypass these special wars, while still trying to take action on their own wars? code> /WEB-INF/a

python - How to setting Camera options in Blender -

I try to make a car type game, but when I select the camera view, a scene is not real Look at the perspective of every building that has to be paid. Look at how to configure it. Your Grammar is really bad but I think what I'm asking you is when you use a camera Hum must unless the box does not fill your screen.

osgi - When should I use Import-Package and when should I use Require-Bundle? -

allows the reliance of dependency through OSGi import-package , which is just a package Wire (exported from any bundle), and requirement-bundle , which is ready for export of a specific designated bundle. In the creation of a greenfield OSGI application, what approach should I use to represent dependency? Most bundles will be internal, but there will be some dependencies on external (open source) bundles. I believe required-bundle is an eclipse object (which is now It is designed to accommodate the eclipse in Olji imagery) The use of "pure" OSGI is to use the import-package , because it separates the package from the bundle specifically, which it provides Does. You should announce the dependency on the functionality you need (which is the Java API provided by a specific version of a particular package) rather than that functionality (which will not make any difference to you). It keeps the structure of bundles more flexible. Javascript analogy: It is similar

javascript - What's the state of art steps to calculate the position of an event? -

Assume that the event e is known how it happened (as a condition) ? I'm also using jQuery. I think you are searching for: $ ('#some') Click (function (e) {warning ('e.pageX +', '+ E.pageY'}} based on the event)

erlang - startup script -

To start my program, I do the next sequence: $ erl & Gt; C (module1) & Gt; C (module2) & Gt; C (modulen) Modulen: start (). Is there any possibility of creating a script that permits me to launch my program? You can use a loader script which will be the focus of starting your application in OTP fashion. Contains: -module (XYZ_app). Export ([Start / 0]). Start () - & gt; Application: Start (inets), Application: Start (XYZ). You launch that script through a shell script. Be careful about using escript , if you plan to run running daemons at OS boot time, because they are difficult. #! / Bin / bash erl -boot start_sasl -s [{description, "tinyecch"}, {world, "0.1"}, {module, [tinniechouch, tinniechouch_ app, tinkach_app, tunicch_servar, tinycock_logger_h, teechouch_utils, tinnouchch_db, mode_tinacache) }, {Registered, [tinicoch, tinkacha server, technic_app]}, {application, [kernel, stadilib, sassel, inset]}, {env, []}, %% appli

jsf - jQuery - want to hide row from rich:dataTable -

I have a rich: datatable . I want to hide a line with this code: & lt; C: If test = "# {empty papers & amp; amp; amp; & amp; amp; & amp; amp; & amp; amp; amp; amp; amp; amp ; Amp; amp;; & lt; rich: jQuery selector = "#_ inboxTable_tr" query = "Ready (function () {jQuery.noConflict (); if (jQuery (this) .find ('checkbox state'). ('Checked', true) {new effect. Feeds (jQuery (it));}}}) / /> The problem is that I get: the element.getInlineOpacity function is not error .... I was initially thinking that I could have a Row can not be hidden But I have created a simple other table and these are working fine ... Can you give me some clue on this issue? < element.getInlineOpacity function is not Have not seen, so I'm a bit more. And what does it look like? It seems that you (at least, under the hood) shouting jQuery with prototype or script, and that the whole thing Is colliding with. Clear it an

c - GCC performance -

I am doing parallel programming with MPI on the BOUULF cluster. We have written parallel algorithms for fake annealing. it works fine. We expect to execute 15 times faster than the serial code. But we did some performance of the serial C code on different architectures and operating systems, so we could have different data sets for performance measurement. We have used this random function in our code. We use GCC on both windows and Ubuntu Linux. We've learned that execution takes a lot of time in Linux, and we do not know why can anyone compile this code with GCC on Linux and Windows and try to explain it to me #include & lt; Stdio.h & gt; # Include & lt; Stdlib.h & gt; # Include & lt; Time.h> Int main (int argc, char ** argv) {double random (); Int k, NUM_ITERATIONS = 10; Clock_t start_time = clock (); NUM_ITERATIONS = atoi (argv [1]); // uncertain random generator srand (time (faucet)); For (k = 0; k & gt; NUM_ITERATIONS; k ++) {double raa = Rand

PHP Determining the current url -

I need to modify my function to bring me back to my current function. Here is my current function: function getLinkFromHost ($ url) {$ port = $ _SERVER ['REMOTE_PORT']; $ Server = $ _SERVER ['HTTP_HOST']; If ($ port == 443) {$ type = "https"; } And {$ type = "http"; } Return type $ ": //" $ server "/" $ Url; } $ _ Take a look at the server ['REQUEST_URI'] < / Code> or $ _ SERVER ['SCRIPT_NAME'] (from manual entry)

html - li ul li is too long, line wraps but no indention -

I have an unordered HTML list ( ul ) if the second word is too long then line automatic Wrap the form but the overflow text is not indented. How are any thoughts resolved? Here's an example: Then click on "Leustungen" and then the Kendarjahini Kindle. Now you can see what I mean. Perhaps it is due to CSS, it is not known about. Change your indent with padding Padding left: 2em; Text Indent: -2 AM; should do the trick

jquery - Can I style a disabled control using CSS or script? -

I have an HTML div element on that page when someone is updating Select Element should sometimes disable Input tag (text box) based on selection. Here's the problem: Project stakeholders like functionality, they think in the "disabled" situation, the content of the text box is very light and therefore unreadable. Can I disable css in disabled disabled control? Or should I set the text code to readonly and use some other CSS If this helps, then this app is also using jQuery and ideas or suggestions here? Input [type = "text"] input [type = "submit"] [disabled = "disabled"] {/ * css here} [Disable = "disabled"] {/ * css here} input [type = "button"] [disabled = "disabled"] {input tag is something like this: works in every browser = "disabled" & gt; And if you want to change it when it is not disabled, then add it to your CSS input [type = "submit"] { / * Css here

javascript - Dynamic data in Highcharts -

Has anyone used the JavaScript Charting Library? I have a few questions about this: Does this support dynamic data? In other words, if I plot a chart and then want to update the data displayed on the chart, should I completely unload the chart? Or can I update the chart statistics in-place? Is there a way to hide grid lines on line / bar charts? The documentation on the site looks a little slim. Are there any other resources online for these charts? a new call New highchart Chart (...) should do the trick. Documents are adequately full, but it may be very useful that they are small. And can the support with commercial licenses be better? Have you checked like other LIBs?

Make image transparent in ruby -

I was thinking that someone could suggest potential libraries in ruby ​​to manipulate jpegs? Especially I want to make the image 50% transparent, so that it can act as an overlay. The image in question will be of a house and I would like it to overlay the image of a village. Variations may not be liked by many colors due to just being specific about the image. . It features transparency / opacity. Good luck, Fabian

encryption - flash: how to encrypt information that is sent from swf to web server -

I want to create a Flash program that sends information to the web server which can not be revealed by the user. Of course the user will be able to see the HTTP request that is being sent, but I want to encrypt the data before transferring it. What is the best way to achieve this? Any signifying algorithm will work for the average user, but be careful that flash programs can be inconvenient is. Without a lot of effort, a power user will eventually break your security ...

asp.net - Can i add a footer to multiple .net applications? -

I would like to apply Google analysics to a website that is a mix of classic ASP and various .NET applications. All classic ASP pages share a footer.inc file, so that there is no validity. However, the net pages do not share anything, and sometimes do not even use master pages, there is no way, I can compile a DLL, leave it in the GAC and reference it in web.config Am I Thank you! You can create one, in which you can add a filter reaction stream. In that filter, you can see the closing body tag (for example), and whatever markup you need, there you can. Here is an article with details on this view:. When you have the module ready, you can put the module in GAC, and you can refer to web.config for each of your applications. If you need it on every .NET application on the server, you can also put it in the machine-wide web.config file (to protect the problem of configuring you all the web). This file is for C: \ Windows \ System \ Microsoft.NET \ Framework \ & lt; Ver

xml - XSLT document() usage with WebKit browsers -

I am having a problem when trying to add and access multiple XML documents in an XSL stylesheet. And I am trying to access them in my XML: Template: & lt; Xsl: stylesheet version = "1.0" xmlns: xsl = "http: //www.w3.org/1999/XSL/Transform" & gt; & Lt; Xsl: output method = "xml" omit-xml-declaration = "yes" /> & Lt; Xsl: select variable name = "doc1" = "document ('test.xml')" /> & Lt; Xsl: template match = "/" & gt; & Lt; Div & gt; & Lt; Span id = "id_total" & gt; & Lt; Xsl: Select Value = "Count ($ doc1 // root)" /> & Lt; / Span & gt; & Lt; / Div & gt; & Lt; / XSL: Templates & gt; & Lt; / XSL: stylesheet & gt; When using IE and I get the correct count; Firefox, however any webkit browser (Safari, Chrome) lets me count 0. Any ideas? There is one in Chrome which prevents local files that refer

parsing - java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration incompatible with org.apache.xerces.xni.parser.XMLParserConfiguration -

I get this error when deploying Cannes file on WLS 10.3 on the Ax platform. (Similar ear Windows / Linux works well on platforms) because: java.lang.ClassCastException: the org.apache.xerces.parsers.XIncludeAwareParserConfiguration org.apache.xerces.xni Incompatible. At org.apache.xerces.jaxp (unknown source); Parser.xmlParserConfiguration at org.apache.xerces.parsers.DOMParser & Lt; Init & gt; (Unknown source) at org.apache.xerces.parsers.DOMParser & Lt; Init & gt; DocumentBuilderImpl on OrgkapachekxerceskjaxpkDocumentBuilderFactoryImplknewDocumentBuilder (Unknown Source) at weblogic.xml.jaxp.WebLogicDocumentBuilderFactory.newDocumentBuilder (WebLogicDocumentBuilderFactory.java:140) on Com.bea.security. & Lt; Init & gt; (unknown source). On xacml.policy.PolicyUtils.getRootNode com.bea.security.xacml.policy.PolicyUtils.read (PolicyUtils.java:54) (PolicyUtils.java:86) on com.bea.security.providers.xacml.store.BasePolicyStore. getAbstractPolicy (BasePolicyS