Posts

security - iPhone - Send VPN traffic for a specific URL -

I am creating an iPhone web-based app for our fax to see sales data. The app goes to SSL with a normal login page that sets a cookie for the day. Since the information is sensitive and we have VPN at work, I was hoping that I can send all communications with double precaution on our VPN Any way Is that I can only route traffic to VPN for a specific URL? Do anyone have any more information on "Send All Traffic" in the VPN configuration thanks VPN has little control over the app. A well-configured HTTPS site (especially by employing bi-directional certificates) will give you the type of protection you are looking for in your application. He said, I strongly advise that business users send all data to VPN in all cases. It eliminates a wide variety of attacks and provides opportunities for additional monitoring and security. In this way, I usually recommend using the "Send All Traffic" VPN configuration. This will allow you to move the app completely in...

oracle - deploy application with OraOLEDB provider -

I have developed an application that uses Delphi 7, ADO and Oracle, the provider using the provider OraOLEDB (I need this provider because Blob Field support). Now I want to distribute this application with the provider. I search to download the web, but its size is 174 mb Do I need to install this file on all client machines? What is a small distribution of this file? UPDATE I am looking for a lightweight (small) distribution of Orauldibi. Thanks in advance. I allow it to supply the user's client library automatically. You avoid problems where I can have different objects for different Oracle OLD versions, different oracle versions, licensing issues, installation issues etc. As I know you need a package of 170 MB +.

asp.net - How do you avoid duplicate items when a databound control gets bound twice? -

How do you avoid duplicated byte items in this scenario: A database control on one page ( In this case a dropdown list, though I do not think it matters). It has an accessoryband, which is set to "true" elsewhere in the code, a datasource has been set and called databand. So this control is clearly bound. You have a bunch of other things to force on the page, so you call the page. Databand Your data-bound control has duplicate items in it. This (1) was clearly bound, then (2) the page Since AppendDataBoundItems was correct, the second tie adds the first time, and you repeat the items. Some limitations: Draft on clear call control is done through some centralized code, and will be painful to change. I need to force the rest of the page to be completely (through the page. Databind ()) because many different database elements allow different calls To be written without individually. I need a method like ... page.DatabandExceptionActiveBibleBoundDown () ...

asp.net - Umbraco, is it just me or is it really hard to use? -

Some of you are looking for feedback on people who have recently evaluated umbraco I am on a search for the 'best' cm which balances the extension of use / extension / optimization etc. to use as the basis of a new vertical product, I am in the planning stages on that, So in the last month or so I am downloading, reading the source code And I am making a test site in every ASPN.NET CMS, I can get my hands - and so far I have not been able to enjoy Graffit CMS, Mojoportal, Oxyte, Orchard, Kubu and some others who do not have me on top of my head. are missing. For each of them, except for Umbraco , I am running under a couple but after the Aquarius, after wrestling, some During the hours, writing scripts in widgets in C #, hours (especially Graffiti), templates for adding pages, customizing templates, and in some cases. It's been running for about 2 days, and now watching the video one more morning, and then creating pages etc., I'm still unable to operate a si...

sql - Is there an index on the primary key of a table? -

इस सवाल का पहले से ही एक उत्तर है: 10 उत्तर एक प्राथमिक कुंजी स्तंभ होने मतलब उस स्तंभ पर एक सूचकांक है? यदि हां, तो किस प्रकार का सूचकांक है? SQL सर्वर के लिए, जो मुझे पिछले प्रश्नों से विश्वास है आप जो उपयोग कर रहे हैं, जब आप प्राथमिक कुंजी को परिभाषित करते हैं, तो उस कॉलम पर स्वचालित रूप से एक सूचकांक होगा जो कि एक CLUSTERED सूचकांक होने के लिए डिफ़ॉल्ट होगा आप परिभाषित कर सकते हैं कि क्या आप बाधा पैदा करते हैं, यह एक गैर-क्लस्टर या CLUSTERED अनुक्रमणिका होना चाहिए।

java - Experiences with escape analysis enabled on the JVM -

I just tried to enable the -XX: + DoEscapeAnalysis option to jdk6 Is U-18 VM (on the Solar System) and a disappointing experience. I am running a Scala app that is a lot of actors (20,000 of them) is a recipe for this garbage-creation! The app can usually run with a stack of 256 MB, but generates a huge amount of garbage in a steady state : Spends 10% of GC generates 150 MB of garbage & lt; 30 which then becomes GC 'D' I think analysis of escape can be helpful, so I enabled the option and ran the app again. I came to know that this app was unable to remove that garbage, which it had gathered, until it finally seemed to be spending the whole time to GC and the app's full allocation "Flatlining" was. At this point I should say that the app did not throw out the OutofMemory error which I expected. Probably JConsole (which I was using to analyze) does not display GC figures correctly with this option (I'm not sure)? I then remove...

c# - WPF Expander IsExpanded binding -

I have limited the code with expander IsExpanded property Mvvm model In bool The binding works fine until the extension does not touch the extension, after clicking on the arrow in the expander, the binding stops working. To show incorrectly in the model, bool does not fall for the Explorer by setting ShowPreview. & lt; Expander Name = "pExpander" IsExpanded = "{Binding Path = Show Preview, Mode = Wanted}" Header = "Preview" & gt; & Lt; TextBlock Text = "{Binding Path = Message, Mode = Options}" & gt; & Lt; / TextBlock & gt; & Lt; / Expander & gt; If you remove mode = single problem? After reading your other CTIC (do not affect the change model in GUI), I have no good suggestions on how to limit the change seen by the underlying data. What's the difference between: myModel.MyProperty = true; // in the * and myModel.MyProperty = true; // is a compulsive

Swap attributes in tags using Visual Studio 2008 RegEx -

How to swap properties id and runat in all my tags Visual Studio 2008 solution? & asp: label id = "Label1" runat = "server" /> became & asp: label runat = "server" id = "Label1" /> In the Find and Replace, enable the use of regular expressions. Replace with: To tag sub-expressions in regular expressions, pre > Runat = "server" id = "\ 1" use {}. Part means: Find one or more of the characters that are not quotation marks after "id =" and tag the next quotation marks and tag it as sub-expression. By replacing, you first To denote sub expression, use 1 and tag ID. Edit: Add a single space character in front of the search and replace the expression: ContentPlaceHolderID = "MainContent "Runat =" server " .

c# - Aggregate regex replace -

So it's purely curiosity ... I have a set of tags : & lt; Tag & gt; & Lt; Sub & gt; & Lt; / Sub & gt; & Lt; Sub & gt; B & lt; / Sub & gt; & Lt; Sub & gt; C & lt; / Sub & gt; & Lt; / Tags & gt; & Lt; Tag & gt; & Lt; Sub & gt; 1 & lt; / Sub & gt; & Lt; Sub & gt; 2 & lt; / Sub & gt; & Lt; Sub & gt; 3 & lt; / Sub & gt; & Lt; / Tags & gt; In any single Regex.Replace command, all & lt; Sub & gt; the content of the tag & lt; Tag & gt; a & lt; Sub & gt; . Like: & lt; Tag & gt; & Lt; Sub & gt; ABC & lt; / Sub & gt; & Lt; / Tags & gt; & Lt; Tag & gt; & Lt; Sub & gt; 123 & lt; / Sub & gt; & Lt; / Tags & gt; My guess is not, but I thought I wanted to give it a shot. The theoretical tag is it always clear? If so, then & lt; / Sub & gt; \ S + ...

python - pygtk: find out focused element -

I am creating a dialog that shows what the element is centered what I wrote: import gtk import gobject class FocusedElementPath (gtk.Dialog): def __init __ (self, parent, title = none): gtk.Dialog .__ init __ (self, title or 'Show path', parents father) self.catch_within = parents self.catch_focus = true self.add_button (gtk.STOCK_OK, gtk.RESPONSE_OK) again_btn = gtk.Button ( ', gtk.STOCK_REFRESH) again_btn.connect (' active ', self .refresh_pressed) again_btn Kso () Self.akshn_ariakaed (Agen_btn) Selfkaed_btn (Gtkkstok_kansil, Gtkkrispans_kansil) Self.akshn_ariakset_leaut (Gtkkbuttonboks_i DGE) self.path = gtk.Label () self.path .show () self.vbox.add (self.path) def refresh_pressed (self, btn): self.catch_focus = True def do_focus_out_event (self, evt): nl = self.catch_within.get_focus () If nl: self.catch_within .activate_focus () self.path.set_text (repr (nl)) else: self.path.set_text ( 'no') gtk.Dialog.on_focus_event (self, Evt) gobject.type_regi...

templates - C++ Compiler error with CRTP -

मेरे पास निम्न श्रेणी के पदानुक्रम हैं: टेम्पलेट & lt; typename T & gt; वर्ग आधार {सार्वजनिक: शून्य एफ () {}}; कक्षा class_a: सार्वजनिक आधार & lt; class_a & gt; {}; कक्षा class_b: सार्वजनिक आधार & lt; class_b & gt ;, सार्वजनिक class_a {आधार & lt; class_b & gt; :: f; }; Int main () {class_b b; b.f (); वापसी 0; } कमु और इंटेल सी + + वी 11 का दावा सभी अच्छी तरह से है, हालांकि जीसीसी (4.4.1) और वीसी ++ 2008 शिकायत करते हैं (उदाहरण के लिए): G ++ -pedantic -Wall -o test test.cpp test.cpp: फ़ंक्शन 'int main ()': test.cpp: 5: त्रुटि: 'शून्य आधार & lt; T & gt; :: f () [T = class_b] के साथ' अपठनीय test.cpp: 14: त्रुटि: इस संदर्भ में मुझे विश्वास है कि यह कोड अच्छी तरह से बना है क्योंकि यह है, हालांकि मैं गलत हो सकता है, मैं किसी को SO C ++ से उम्मीद कर रहा हूं समुदाय इस मुद्दे पर कुछ अंतर्दृष्टि प्रदान कर सकता है। नोट: class_b में उपयोग किए जाने वाले डायरेक्टिव से पहले "सार्वजनिक" जोड़ना, जीसीसी और वीएस दोनों क...

php - Can I use subversion in such a way that "commit" automatically updates my server files? -

I would like to know if there is any way to do this, when I make changes using subversion automatically Reflect on the test folder on your server? Perhaps this idea is irrational. I am struggling to see a great picture here. If I keep the subdivision repository on the server, will it be appropriate? A post-cut hook should help you:

url - flash movie won't load? linking issue? -

artoferichu.com/figures/ लोड नहीं करता है Artoferichu.com/figures भार। फ्लैश फिल्म पहले लिंक और लोड में दूसरे लिंक में लोड नहीं होगा किसी भी विचार पर क्या हो रहा है ?? मैं .htaccess का उपयोग कर रहा हूँ आंकड़े को आंकड़ों को रीडायरेक्ट करने के लिए। Php ओह बीटीडब्ल्यू, मेरी .htacces इस तरह दिखता है: RewriteRule ^ आंकड़े /? $ Figures.php आप रिश्तेदार पथ का उपयोग कर फ़्लैश फ़ाइल लोड कर रहे हैं, जो कि रिश्तेदार यूआरएल में फ़ोल्डर। अनुगामी स्लैश के साथ, यूआरएल को / आंकड़े / नाम के एक फ़ोल्डर के रूप में व्याख्या की जाती है, बिना फ़ाइल नाम। इसलिए, यह लोड करने की कोशिश करता है http://artoferichu.com/figures/figures.swf से फ्लैश फ़ाइल लोड करें। अनुगामी स्लैश के बिना, यूआरएल को नाम की फाइल के रूप में व्याख्या की जाती है मूल फ़ोल्डर में इसलिए, यह http://artoferichu.com/figures.swf से फ्लैश फ़ाइल लोड लोड करने का प्रयास करता है। इसे ठीक करने के लिए, आप या तो पृष्ठ को लोड करने के लिए बदल सकते हैं एक पूर्ण पथ ( / Figures.swf ) से फ्लैश फ़ाइल या /figures/figures.swf के ल...

multithreading - How do you make QT threads in python for pyqt? -

I have discussions about Qt threads versus dragon threads, but how do you make QT threads in Python and how do they call? How can you give your work to another thread? Thank you! is a good, fully worked example.

performance - Comet vs Ajax for chatting -

My site needs a chat room, and I also look for a phashesh person to implement in person chat system I am here. What is the most value-efficient / executable for me (purely in the case of BW and server) What is the regular selection of 1 second Ajax chat or comet solution? Thank you. Generally lower bandwidth usage (less than 1 chat on average, assuming a chat message per second ) Due to this fact, it will only query the message sent per message only, this will usually result in more concurrent active connections from your server. This can help you visualize this better.

php - multidimensional array -

कृपया समझाएं कि foreach ($ toplist ['children'] का अर्थ क्या है $ उपकुंजी = & gt; $ उपनाम के रूप में) और जहां से बच्चे आए हैं मैं भ्रमित हूँ। असल में $ toplist मूल्यों की एक सरणी है उन मानों में से एक को 'बच्चों' कहा जाता है। इस स्थिति में, 'बच्चों' पर स्थित मान ही एक सरणी है। कोड की आपकी लाइन कंप्यूटर को 'बच्चों' सरणी के अंदर प्रत्येक मूल्य पर लूप के लिए कह रही है और कुंजी और मूल्य को निकालती है। $ उपकुंजी है कुंजी, $ उपनाम नाम है। दूसरे शब्दों में, $ toplist ['बच्चों'] [$ subkey] == $ subvalue

asp.net - please help me in creating a sort expressions for datatable in vb.net -

I have found a statistic that has several columns with three main ones: hotelid Hotel names Some hotels have only dshotelid, some are only picky and some have both datholide and hive. I should sort out so that the hotels should be topped for both the Doshotid and Hotel hotel and then those hotels will get only Dashotid and for the hotels that are near the hotel only. ... > Please help me make such an expression. I made it: dtmaintable.DefaultView.Sort = "dshotelid, hotelid" but it does not make me the desired output Is giving up. at the top of the sorted column (unless sort order is in descending order) Maybe looking at the rows below with hotel hotels and dashotids, instead of p? How is this data table populated? If it is coming from a database query, it is a simple matter to create an additional column (or column) that has the sorting of your needs - this is a mix of other columns or some other unique identifier. Edit: February 4, 2010 - I...

java - IntelliJIdea plugin for uml design? -

Does anyone have a plugin address for IntelliJ IDEA, which is also in hibernate / JPA annotations keeping in mind the Uber diagrams Will you think? I know that Ctrl + ShifAlt + U creates a data classified diagram but it does not show you many other relationships from ... Please note that I have units Classes are manually generated from 'Design' DB and not automatically generated. Thanks in advance.

javascript - How to hide the parent vertical scrollbar after an iframe is loaded? -

I've attached the sample code that shows the problem I'm seeing in Firefox 3.5.7. The problem is that the basic HTML has a scrollbar, and it loads an iframe which is fullscreen (height: 100%, width: 100%), I want the original scrollbar to be removed after the iFrame loading. 1) Is this possible? 2) When we height: 100%; Width: 100% why only capture the scene area? But are not the full parental occupied areas? This main.html & lt; Html & gt; & Lt; Top & gt; & Lt; Script type = "text / javascript" src = "client.js" & gt; & Lt; / Script & gt; & Lt; Title & gt; I'm a customer & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body bgcolor = "# 000000" & gt; You can see iframe below ... you can see iframe below ... you can see iframe below ... & lt; Br> & Lt; Br> & Lt; Br> Br> Br> Br> & Lt; & Lt; & lt & lt; Br> & Lt; Br> & L...

regex - Matching everything between html <body> tags using PHP -

I have a script that gives the following in variable named $ content & Lt; Body & gt; & Lt; P & gt; & Lt; Span class = \ "c-sc \" & gt; Dgdfgdf & lt; / Span & gt; & Lt; / P & gt; & Lt; / Body & gt; I have to match all the places in the middle of the byte tag by the name of the match I do the following to match the content between body tags preg_match ('/ / LT; ​​body & gt; (*). ; /', $ content matches $ $); But the $ mathces array is empty, how can I return it to everything inside the body tag You should not use regular expressions to parse HTML. In this case, you have to add your special problem so that the dot newline can be prepared. preg_match ('/ & lt; body & gt; (. *) & Lt; / body & gt; / s', $ content, $ matches); But seriously, use an HTML parser instead. There are several ways that can break the above mentioned regular expression.