Posts

Showing posts from February, 2013

Challenge: SQL check next record against previous -

I have some data that needs to be confirmed, and when I get a quick formula working in Excel then I Some of the SQL can be found that can do the same, so I can use it as a check in my database. The data is only: ACACIA ST (KLN) | 1073 | 1149 | Failed! | 76 ACASIA ST (KLN) | 1073 | 1151 | Failed! | 78 ACACIA ST (KLN) | 1150 | 1332 | Failed! | 182 ACASIA ST (KLN) | 1151 | 1332 | Failed! | 181 ACASIA ST (KLN) | 1606 | 2079 | | 473 Activity ST (WRK) | 6 | 215 | win! | 20 9 Activity ST (WRK) | 215 | 227 | win! | 12 Activity ST (WRK) | 227 | 423 | win! | 196 Activity ST (WRK). 423 | 54 9 win! | 126 Activity ST (WRK). 54 9 600 | | 51 Adrian CT (WMN) | 5 | 107 | win! | 102 Adrian CT (WMN). 107 | 122 | | 15 Aerodrome RD (LYB). 0 | 140 | win! | 140 Aerodrome RD (LYB) | 140 | 428 | win! | 288 Eroderome RD (LYB) | 428 | 716 | win! | 288 Eroderome RD (LYB) | 716 | 998 | win! | 282 Eroderome RD (LYB) | 998 | 1280 | win! | 282 Eroderome RD (LYB) | 1280 | 1566 | win! | 286 Aerodrome RD (LYB) ...

asp.net - How to play MP4 video on window webserver in quick time and flash player(flv player) -

I have two MP3 video files on the webserver, I play them in Flash Player (flv player) on my asp.net Wanted page, but I could not be able to play them, I also tried to play them at the same time. But I'm giving the exact path, there was no free space in the MP4 file names. Does it require the MP3 player (or codec etc) installed on the webserver? I have some wmv files on that server, and I am completely using a silver light player, and the media player object is on my website. So please share your knowledge ... Thanks in advance ... You need to convert them to FLV for the first time. I use a program that does not have a name, it's not free, but it's a great tool.

jquery - How to get the trigger of a Fancybox? -

I should know which specific classes anchor (which triggers faxbox) is "full" -function . How do I get the trigger as a jQuery-object? $ (This) fast to reference Fancybox with no links from the original trigger Solution: $ ('a.fancybox'). Click (function (e) {e.preventDefault (); var triggered = $ (this); $ .exensebox ({'href': this HRFR, 'parcel': function () (if (trigger.hasClass (' Class')) {// do something} other {// nothing or nothing}}}}}};

How to convert second into datetime's 108 format hh:mm:ss in sql server without writing function -

v1. *, Datediff (ss, v1.dateofchange, v2.dateofchange) vActualTime Join V1 left as acutaltime the vicutualtime v1 v2.rowno = v2.rowno-1 FK_PatientId FK_Status_PatientId Tithif Change rowno acutaltime -------- ---- ------------------- -------------------------- ---------------- -------- --- 3 16 2010-08-02 15: 43: 46,000 1 757 3 24 2010-08-02 15: 56: 23.000 2 96 3 26 2010-08-02 15: 57: 59.000 3 umbilical I am using SQL server 2005 am when I write I select v1 *, Datediff (mi, v1.dateofchange, v2.dateofchange) Vitaittaim V1 from [date] as joining vActualTime v2 on v1.rowno = v2 as Attyutataim, (datetime, datediff (mi, v1.dateofchange, v2 .dateofchange), 108). I get it FK_PatientId FK_Status_PatientId DateofChange off Sittaim Date ------------ ------- ------------ ---------- ------------- --------------- ----- ---------- - ------ ----------------- 3 16 2010-08-02 15:43: 46.000 1 13 19 00-01-14 00: 00: 00.000 3 24 2010-08-02 15: 56: 23.000 2 1 9 00-01-02 00: 00: 00.000 3 ...

c# - adding and maintaining named strings in a seperate class file in asp.net -

I have developed an asp.net web application that contains 40-50 pages. I have implemented logger using log4net and this is in the page_load event of each of my pages. Secure Zero Page_load (object sender, event order e) {try {log. Debug ("page load function"); If (! IsPostBack) {if (session ["OrgId"] = null) {// my argument} other {Response.Redirect ("Homepage.aspx? Sid = 1", wrong); } Logs. Debug ("Page Load Function Successful"); }} Hold (exception before) {log. Error (ex.Message, ex); }} This method contains several code such as "code load function", "orgId", "homepage.aspx? Sid = 1", "page load function successfull" / code>. Now I would like to maintain these strings which are common in a separate class file in my application and use it with a variable ... Can you suggest that for this Or what type of square can be used to deal with your way. You can create a base page with this base...

winapi - CreateProcess to run as administrator -

In my Win32 application, I have the ability to run child processing with redirect input and output that I create and manage on anonymous pipes - all this works with the CreateProcess () function. However, if Win7 (and potentially Vista) is required to run that process as an administrator, then it fails. So what I'm looking for is a way to equalize the "run as administrator" in Explorer, which will bring the standard UAC prompt and then make processes with higher permissions. I have seen those articles that talk about ShellExecute to use the "Run" option, but then as I think I do not have the control, I want to redirect SDD input and output to my pipes is required. Any suggestions? If you put a manifest on the child app, and if you use ShellExecute to launch , It will use the manifest and will have a UAC prompt. (I like the "Rasa" approach in most cases.) This allows you to launch the app as you like, without worrying about the UAC, and have to rai...

Update SVG file using Ajax, by retrieving some information from a Java Servlet -

I have written a Java sublate that retrieves a SVG image. The content type for this servlet is CONTENT_TYPE = "image / svg + xml"; It is being integrated into a large (ADF-11G) application form of a fixed inletframe if you are accustomed to JSP, the code should be familiar: & lt; Af: inlineFrame source = "servlet? Filename = testsvg1 and width = 1024 & height = 1024" inline style = "width: # {session.graphSVGWidth} px; height: # {session.graphSVGHeight} px; : None "& gt; & Lt; / AF: inlineFrame & gt; This SVG has a dynamack popup that allows the user to interact with "image", which sends information to the server via Ajax calls. For example it is a part of JavaScript that is being used by SVG: function loadXMLDocPOST (Parameters) {var xmlhttp = getXmlHttp (); Xmlhttp.open ("post", 'servlet', true); Xmlhttp.setRequestHeader ("content-type", "app / x-www-form-urxed"); Xmlh...

sql - FIND_IN_SET question or -

Can anyone help me with mysql question? I have a list of items such as: '1', '2', '3', '4', '5', '6', '7', '8', '9' 3 to 3 elements set .. Now how can I find it with FIND_IN_SET above '4' and what set can it return from? In that case, let me tell you that from set 2 to SELECT FIND_IN_SET ('' '4' '', REPLACE (`some`, '', '')) `Where one with` id` = 2 this gives me the position back .. But now, I have to return several sets from where 4 comes 1 ',' 2 ',' 3 'is a set,' 4 ',' 5 ',' 6 'second and' 7 ',' 8 ',' 9 'is the last You can always use the integer division on the result of FIND_IN_SET, assuming that your set is always the length of 3 (but remember this one-base You need to adjust for this): (x - 1) div 3 + 1 Then you get the expression: / P> (FIND_IN_SET ('' 4 ...

c# - Scope of a feature activated Custom Sharepoint-Timer Job -

So I'm developing a custom timer job for Sharepoint using SPJobDefinition. This work is active through a feature receiver. As I have understood that the SPAbob Diffination runs on web-application. If the area of ​​convenience is site or web based, then code-wise determine which site is active in customer service? To achieve a clear picture of what I am trying to achieve, the job is capable of determining what a custom "alert me" notification job is, what I want to do Which site has enabled this feature, to determine which sites can subscribe to alert notifications. But I do not know which sites Code is below You used to describe what you are describing: Execute public override zero (Guidance Targets Instance ID) {foreach (SPS ite site in this site.web application.Sites) { Try (if (SPSite.Exists (new site.Url) & amp; tap! = Site.features [feature id.ltmjb]) {try (ExecuteJob (site);} hold (Exception preceding) {// Have Ndall exception}}} Finally {s...

jQuery send message to plugin -

I have a custom plug-in, with a constructor like this: (Function ($) {$ .fn.extend ({myplugin: function (options) {[...] In the plugin, I have a bunch of other functions. Your plugin has a Dom-element: $ ('myelement') Myplugin () and after that I send the plugin to wrap the message. I want to document, basically, I want to call internal functions with custom parameters from outside. How can I get it? Thank you very much. I have jquery I follow the following pattern during the development of plugins: Its very useful: (function ($) {$ .fn.myWidget = function (option) {var defaults = {// Default options}; // These are our last options var opts = $ .extend (default, option); // personal functions my myfunc = fu connection (param) {}; // Our widget object var widget = {functionA: function (StrMsg) {// Make Something Important Obtained internal function myFunc}, functionB: function (idx) {// Some important}}; // Widget Object Return widgets come back; // Thi...

safari - -webkit-transform CSS Properties Hose Font Rendering -

This question is very similar, except that I see it especially on Safari on Mac (only the only forum Care about it which I need). This is definitely CSS-related and I feel that I have narrowed down some qualities which are sung to the text, as the way they wreak havoc. They are: -webkit-conversion-style: protected-3D; Webkit-transform: rotate (180 degrees); Webkit-transform: rotate (180 degrees); -WebKit-Perspective: 2500; As soon as I disable them (prefixing with "X", such as x-webkit - * ), the text provides exactly the As a result of enabling a to any borked text here are some screenshots that can help to see the difference. Do anyone have any ideas that can be due to this or if / how can it be decided? Google is not very helpful. Thank you. Conversion hardware in Safari-accelerated. This allows for better speed, but rendering does not follow the same pipeline, and some quality is lost. You can not do anything about it, except that do not use the c...

couchdb missing file -

कर्ल लोकलहोस्ट: 5984 / _users / org.couchdb.user: tyler {"error": "not_found", "कारण": "लापता"} मैं टायलर के रूप में फ़्यूटन में लॉग इन हूं, इसलिए मुझे पता है कि उपयोगकर्ता मौजूद है। किसी को भी पता है कि मैं क्या गलत कर रहा हूं? यह तब होगा जब आप local.ini विन्यास फाइल के माध्यम से एक सर्वर व्यवस्थापक बनाते हैं। उस केस में कोई यूज़र्स डॉक्यूमेंट नहीं बना है, लेकिन आप अभी भी फ़ुटन के माध्यम से लॉग इन कर सकते हैं।

templates - WPF Menu arrow on the first level -

Please help me from wpf menu I want arrows showing that a menu item also has subitems. By default these arrows start at the second level. But I want to show them at the first level too. I do not understand clearly what is to change and how. Although I found & lt; Trigger Property = "Roll" Value = "Submenuitum" & gt; Inside the template of the item, but I could not do that works for me. UPD: I tried to do this: & lt; Menu & gt; & Lt; Menu.Resources & gt; & Lt; Style TargetType = "{x: type menu item}" & gt; & Lt; Style.Triggers & gt; & Lt; Trigger Property = "Role" Value = "Top-Level Header" & gt; & Lt; Setter property = "Template" value = "{dynamic resource {ComponentResourceKey ResourceId = SubmenuHeaderTemplateKey, TypeInTargetAssembly = {x: Type MenuItem}}} /> & lt; / Trigger & gt; & lt; /Style.Triggers> & lt ; / Style & gt; ...

Google chrome form textbox limit -

वर्णों में google chrome के लिए टेक्स्ट बॉक्स सीमा क्या है। असल में असीमित (केवल कंप्यूटर मेमोरी तक सीमित)। आप इसे अधिकतमलैम्प पैरामीटर का उपयोग करके सीमित कर सकते हैं: & lt; input type = "text" maxlength = "32" / & gt;

objective c - Keyboard shortcuts in iOS? -

Is it possible to capture command-key sequences in third-party iPad / iPhone apps? Long version: On the excellent journey of discovering a keyboard dock along with my new iPad, along with my joy A lot was discovered when text view while editing text in standard issue; Copy-paste and order ranging from ⌘ C / AP to ^ A, ^ B, E and friends for line and character jump tasks. So far so good, yes? The problem is that it is limited to the intriguing behavioral text field, and more specifically, the standard problem text field. Would I really like to capture such incidents for my own use? An issue that I often meet with many apps, they are close to the least or least cumbersome keyboard dock (like iWork suite), or near or least cumbersome, Em> with keyboard dock (most other applications that do not rely heavily on text input, but rather touch gestures [i.e., the duration of most other applications]). Many games, for example civilization revolutions, and so on, will have the...

sql - Problem in WHERE clause -

So I have a query. This works if I am checking for a boycott. WHERE H.BatchId = 3 and H.Iscluded! = 1 IsExcluded is a bit field that accepts zero values. The standards I am selecting from are all tapes, so it should be right. What am I doing wrong? The way this is not returning any value, but if I just comment 'and' and after that, then it works. where H. BatchID = 3 and (containing HI! = 1 or H.I.IdmixedIt is null)

Rails - Devise and acts_as_audited -

Hey, I want to use Devise and actions_as_audited together, but when I try and link using them I - Class ApplicationController & lt; ActionController :: Base Audit Candidate Protected DRF Current User @ User = User.Fund (user_sation) and I get this error. Stack level is very dark Do I need to do it differently? Thanks This is an old question, but still its ugly head Changes. First of all, as the description of others, a bug occurs when deformed (formerly acts_ass_didit) is used with devise (and possibly other certification jewels), and then when you use your user model Any auditing of column devices are auditing (last_assign_in_t, final_sign_in_ip, etc.). The user's sign in information for devotion (last_ign_in_at, ip, Etc.) Saved as that part, the audit then tries to create an audit for that change. The audit tried to set the user for that audit, to indicate who made the change, how does this happen? The audited call is not yet complete...

c++ - How to get a call stack backtrace? (deeply embedded, no library support) -

I want to be able to print call stack backtraces to my exception handlers and debug function, basically just backtrace () Unfortunately, my C library does not provide such calls in Glibc, just like the Library function. I have found something like this: #include & lt; Regardless of the unwind.h & gt / gcc internal, part of libgcc _Unwind_Reason_Code trace_fcn (_Unwind_Context * ctx, void * d) {int * depth = (int *) D; Printf ("\ t #% d:% 08x on program counter \ n", * depth, _Unwind_GetIP (ctx)); (* Depth) ++; Return _URC_NO_REASON; } Zero print_backtrace_here () {int depth = 0; _Unwind_Backtrace (& trace_fcn, and depth); } which works basically but the resultant marks are not always complete. For example, if I do int func3 () { Print_backtrace_here (); Return 0; } Int func2 () {returnc func3 (); } Int func1 () {returnc func2 (); } Int main () {returnc func1 (); } The backtrace only shows func3 () and main (), this is a toy example, but I have ex...

html - Indented blockquote around float -

I have a blockquote that flows around the left floating image when I am above or below the image, but When the image is in the same line, the image can be blocked from the left hand side of the page between 2 mm on the right hand, with the left margin of the page? I'm using HTML and CSS. img {float: left; Margin-right: 1 em; ...} Blockquote {Status: Relative; Left: 1em; Margin-left: 1em; ...} General text is 0em from the left margins of the page and 1em right from the image. Blockquote 2em is from the left margin of the page and 2em create the image in the correct form.

types - How to make a typeless/generalized parameter in Java? -

Say that I have 2 ways: add one to two int and the other two. How the parameters are passed in the function. How can I make a method that generalizes the parameter and return value to it? I saw one such move in GWT: public Fixed & lt; T & gt; T plus (long A, long b) {return (t) (object) (a + b); } Use it like this: tall answer = addition (1l, 2l); Int answer2 = addition (1, 2); Though it is asking for you, the downside of this approach is that it opens you up to a bad type of cast. Although you do not need to explicitly put the price to be returned, you are still effectively communicating the code that you can accidentally say something like this: string t = addition (1, 2); A runtime will be the cause of the exception. Even so, if you have a way whose return value is placed immediately after the return, then this move can clearly save the problem of casting the neck.

compilation - Was executable compiled with debugging info? -

How can you check that Linux was compiled with executable symbolic debugging information? I think the fastest solution: load it with GDB: gdb myexrectable Update: Add to control the shell (or whatever) - If you have any usable If you do not have the symbol, then you should get "some debugging symbols (no debugging symbols found)". batch : gdb myexrectable - batch

ISynchronizeInvoke in .NET -

ISynchronizeInvoke के उपयोग को क्रॉस थ्रेड आवेश में .NET? यह सिर्फ एक इंटरफ़ेस है जिसमें उचित तरीके शामिल हैं: जांचें कि क्या विशेष हैंडलिंग की आवश्यकता है ( InvokeRequired एक प्रतिनिधि को एक अलग धागा से सुरक्षित रूप से आमंत्रित करें, जब तक कि कार्रवाई पूरी नहीं हो जाती है ( आमंत्रित करें ) किसी प्रतिनिधि को एक अलग धागा से सुरक्षित रूप से आमंत्रित करें, सबसे सामान्य रूप से ज्ञात कार्यान्वयन कोड> नियंत्रण विंडोज फॉर्म में। असल में समस्या ये है कि मनमानी धागे के भीतर यूआई तत्वों तक पहुंचने के लिए यह सुरक्षित नहीं है। ये तंत्र अपेक्षाकृत आसानी से आसानी से धागे के बीच में कॉल करने की अनुमति देते हैं। को नियंत्रित करें के बजाय ISynchronizeInvoke पर खुद को बांधने से, आप व्यवसाय वर्गों को कसकर यूआई से जोड़ा जा सकता है। संपादित करें: नीचे से स्टीफन की टिप्पणी यहाँ दोहराने के लायक है: यह ध्यान रखना महत्वपूर्ण है कि ISynchronizeInvoke पुराना है सिंक्रनाइज़ेशन कान्टेक्स्ट अमूर्त अधिक सार्वभौमिक है। नियंत्रण न केवल सामान्यतः कार्यान्वयन ज्ञात ह...

C++ static template with external implementation -

मेरे पास एक सरल रजिस्ट्री पैटर्न है: वर्ग ऑब्जेक्ट {// कुछ माध्यमिक सरल तरीकों}; #define OBJECT_DEF (नाम) \ public: \ static const char * नाम () {वापसी का नाम; } \ निजी: क्लास रजिस्ट्री {struct string_less {bool ऑपरेटर () (const std :: string और str1, const std :: string और str2) {for (int i = 0; i & lt; str1.size () & amp; amp; ; I & lt; str2.size (); ++ i) {यदि (str1 [i]! = Str2 [i]) वापसी str1 [i] & lt; str2 [i]; } वापसी str1.size () & lt; str2.size (); }}; Typedef बढ़ावा :: shared_ptr & lt; वस्तु & gt; ptrInterface; Typedef std :: नक्शा & lt; Std :: string, ptrInterface, string_less & gt; कंटेनर; कंटेनर रजिस्ट्री; स्थिर रजिस्ट्री _instance; PtrInterface खोज (std :: स्ट्रिंग नाम); संरक्षित: रजिस्ट्री () {} ~ रजिस्ट्री () {} सार्वजनिक: टेम्पलेट & lt; वर्ग टी & gt; स्थिर टी * प्राप्त करें (); // मैं इतना लिखना चाहता हूं !!! टेम्पलेट & lt; वर्ग टी & gt; स्थिर bool सेट (टी * उदाहरण, bool reSet = false); }; और अगर मेरे पास एक ...

jquery - How to retrieve JSON via ASP.Net context.Request -

var आदेशइन्फ़ो = {"उत्पाद आईडी": "उत्पादक मूल्य", "उत्पादनाम": "उत्पादनाम", "मात्रा" : 1, "राशि": 99 99, "एसएल स्पेन्टी": 99 99, "एसएलडीट": "08/03/2010"}; Var डीटीओ = {'ऑर्डर इन्फ़ो': ऑर्डरइंफो}; $ .एजैक्स ({प्रकार: "पोस्ट", कंटेंट टाइप: "एप्लिकेशन / जेसन; वर्णसेट = यूटीएफ -8", यूआरएल: "जेसनहैंडलर। एशक्स", डेटा: जेएसओएन.स्ट्रिन्गेईज़ (डीटीओ), डेटा टाइप: "जेसन"}); मैं एएसएचएक्स फ़ाइल में सर्वर कोड पर इस कोड के जरिए पोस्ट करने की कोशिश कर रहा हूं: string strrequest = context.Request ["OrderInfo "]; लेकिन यह हमेशा रिक्त स्थान देता है। मैं क्या गलत कर रहा हूं? से अनुरोध निकाय प्राप्त करें। इनपुट स्ट्रीम को पढ़ें और स्ट्रिंग में कनवर्ट करें एक जोरदार प्रकार ऑब्जेक्ट के लिए जेसन ऑब्जेक्ट को डीएसराइलाइज़ करने के लिए उपयोग करें (यह सुनिश्चित करें कि जेएसएन गुण एक समान नाम को दृढ़ता से काउंटर भाग के रूप में बांटें)

iphone - How to Prevent Multiple UIAlertView Alerts from Popping Up at Once? -

There are three tabs in my tabbar application, each has its own shipping structure, many of my app load data via web service calls This notice registers this notification when the view app is active so that they can reload the data so that they can reload the data: [[NSNotificationCenter defaultCenter] addObserver: self Selector: @selector (reloadView) Name: UIApplicationDidBecomeActiveNotification Object: No]; When the app is activated, these ideas all attempt to reload their data; However, if there is no internet connection, the errors are captured and shown to the UILart user. The problem is that if 3 attempts to reload the data from these 3 views, 3 warning messages are popped up. How do I stop multiple alerts by popping up from a user? I appreciate all my thoughts, ideas and suggestions! Thank you! EDIT: I tried to delete it in my app, but even using this method, I get many popups. - (zero) displayAlertWithTitle: (NSString *) Title Message: (NSString *) Mess...

wpf - access the Window's DataContext from within a DataGrid -

I have a problem reaching the data syntax of the window from within a Datagridon. Datagrid is an IBindingList: Receive Public IBindingList Items { Set; } Private Zero initItems () {// ItemFactory is a Linq2SQL context, item items availabe has this footage. It = this. ITMFitator ITEM GetNewBindingList (); } From within my XML, I try to get the data to fill the combo box: But it does not work. I have already tried many variations and did not come to the combo box. Any help greatly appreciated! Note: The following combo box works in the same window: & lt; Combo Box x: Name = "Kamkambu" items Source = "{Binding Path = Items}" Pradrshnmnbrpath = "description" Selected Valupth = "item Aidiaidi" / & gt; not Detagrid Comboboks column directly connected to the visual tree and Therefore, FindAncestor -operation will fail (and this will not be taken into the Datacontext). The easiest solution to create a Wu...

vb.net - WPF Bind a ListView to Oracle Data Source -

Here's a part of XAM which I'm working on: Lt; ListView Name = "lsvCustomerDetails" ItemsSource = "{MyDataTable Binding}" & gt; & Lt; ListView.View & gt; & Lt; GridView & gt; & Lt; GridViewColumn Header = "Script Name" DisplayMemberBinding = "{Binding ID}" /> & Lt; GridViewColumn header = "status" DisplayMemberBinding = "{binding status}" /> & Lt; GridViewColumn Header = "Date" DisplayMemberBinding = "{Binding Date}" /> & Lt; / GridView & gt; & Lt; /ListView.View> & Lt; / ListView & gt; and related VB.NET: class window 1 private sub Window_Loaded as public myDataTable DataTable (ByVal sender as the object, ByVal e) objOracleConnection as the Oracle Connection ("Data Source = DB; User ID = User; Password = Password;") and Commands Omokoric as OracleDand Reader Ozakrakal Connection in OracleMand Dime Ozoracic Reader...

c++ - What are the differences between the various boost ublas sparse vectors? -

In the boost :: numerical :: ublas , there are. I can see that mapped_vector is essentially a value from a stl :: map index, which is not found in all values ​​0 (or Whatever is the normal value). but compressed_vector and coordinator_ector . The documentation on the information is sparse (ha ha). Can anyone clarify? I am trying to remove the algorithmic complexity of adding objects to various Vectors and Dot products between two such Vectors. In a very useful answer, it was reported that the compressed_ vector is very similar, but it seems that, for example, is only for the collection of matrix - not just vectors. I think that the unambiguous_error is the type of storage, but I am not sure the specification is for it, or if I am creating a compressed_quark with 200,000,000 sizes, but only With 5 non-zero locations, is it any less efficient than any other than making a compressed_ vector with 10 and 5 non-zero locations? Many thanks! Instead of matrix wit...

jquery - Help with preventdefault -

I have a confirmation conversation that pop ("# step 0 next") after you hit a form wizard is. After pressing the button on the next step, it pops in. Now it is necessary that when you press the button on that step (step 1), then do not step when going to step 2. How can I stop the default action of the button unless the user clicks on "OK" in the conversation? Live ('click', function (event) {event.preventDefault (); if ($ ("(": "RT #") (": check") & amp; Amp; $ ("ex. "). (': Check')) {confirmation of return ('foo'); // warning (" You have not selected any exchanges for which to get real-time market data. , You will only get real-time data for market metrics and will get data for a delay of 10 minutes for everything else. "Do you want to continue?"; $ (This). DA ('click');} }); confirmation () no default action is returned to it Instead, you need to stop the defau...

c# - DialogResult box default to No? -

डायलॉग परिणाम परिणाम; परिणाम = संदेशबॉक्स। दिखाएं (ब्रेप्ल [0], "इसे कॉन्फ़ेस फ़ाइल में ले जाएं?", संदेश बॉक्स बटन। हाँ नहीं); मैं चाहता हूं कि सभी के लिए तब होता है जब बॉक्स डिफ़ॉल्ट तक पॉप अप हो जाता है, नहीं, लगभग 1000 है और 10 हां की तरह। इसलिए मैं बस हिट करने में सक्षम होना चाहता हूँ और चक्र उन्हें फेंक दिया। MessageBox। दिखाएँ ( ) अधिभार जिसमें एक MessageBoxDefaultButton तर्क होता है। या बस सवाल उलटाओ।

ruby - Looking for a mathematical solution to this small scheduling problem -

Say we have a list of rooms with our capacity and there is a list of meetings with the number of attendees. We want to match each meeting to a room in the following room: A meeting can only be set in the room with its capacity or equivalent capacity. If surplus rooms are present, then meetings should be determined so that the largest possible room has been left unspecified. The large presence should not be fixed in a small room compared to the meeting with a small presence. Obviously we should know that it is impossible to schedule the given meetings in the given room. Can we reach efficiently from time to time? A single pass would be fine, some back lyaking is fine, but the only option I can slow down (a thick algorithm plus dynamic dynamically violating rule 3) is what I want. This question seems to be not as easy as it is! Simple linear approaches are unsuccessful in at least one criterion: We can sort each list on high-to-high and start adding the largest room to ...

oop - Object Oriented databases -

This is the first time I am working from an object-oriented database. I have been associated with RDBMS for the last few years. But now .. coming into this world of object-oriented databases, I'm worried about DB's creation or after design. My concern is that this is a migration of object-oriented database from the population or RDMS database. It is going to be one of my tasks I am thinking that what kind of challenges should I prepare for the migration piece, while we are designing these databases. Any input ?? So is it really a SQL database? I do not think there is nothing with this question that most people will understand as an "object-oriented" database. It seems that your data is unusable in the form you have posted. ■ You can not insert rows unless you remove or disable any foreign key constraints - at least temporarily in this way. One way to do this is to use a "deferred" barrier though, it seems that you can use Microsoft SQL Server,...

android - Beep sound notification on Socket connection establishment -

How can I make the device a beep when the socket connection is established? In other words, how is the notification tone set on an Android SDK in case of an event? If you are opening a socket, then MediaPlayer or Soundboard or Tone generator or audiotrack or something to play back a beep. If you open other sockets for beep, without firmware modifications it is not possible.

dynamic - jQuery binding live events -

I'm having trouble binding to live events in dynamically-generated content. I have a page that is loading html page through an AJAX call. There is some JavaScript in the loaded HTML page, which is then executed. The executed JavaScript creates some elements. I want to bind one click event handler to those elements, even after compelling them (after using .live, .delegate and plain old .click), clicking on them nothing I am able to retrieve the contents of elements (by calling .html), but for some reason I can not force events on them ... I have also tried to add onclick = "warning ('test');" Thanks John, .livequery () Take a look at the plugin. This will provide you a full range, which will include .live () events and other callback scenarios. jim

ajax - "Thin" JavaScript framework for cross-browser scripting? -

Is there a javascript framework that focuses on increasing javascript by aligning the implementation differences? I do not mean that it provides a different outline, but provides similar functionality in different browsers, but that does allow non-standard browsers to be as standard-compliant as possible. Actually, I want something for JavaScript that does ie7.js for MSIE or html5shiv for html5 elements . Or different workings for web sockets or canvas I think jquery and its like moves can be, but I like something that allows me to write normal , standard-compliant JavaScript such as browsers There is no difference between. Edit: As in every other answer it indicates that, yes, javascript is javascript and yes, most JavaScript frameworks try to improve cross-browser compatibility, let me explain that my What does that mean The difference between different browsers between javascript implementation is nothing to do with language these days, in addition to some built-in ...

c++ - Execution time limit for a Lua script called from the C API -

लुआला_लोडफाइल (mState, path.c_str ()); Lua_pcall (एमस्टेट, 0, 0, 0); क्या उन दो सी + + स्टेटमेंटों के लिए निष्पादन समय सीमा (10-20 सेकेंड कहना) रखने का कोई तरीका है, लोड हो रहा है और फिर लावा फ़ाइल निष्पादित? चूंकि लुआ फ़ाइल अविश्वसनीय है मैं एक दुर्भावनापूर्ण उपयोगकर्ता लुआ कोड में अनंत लूप के साथ अनिश्चित काल कार्यक्रम लटका नहीं करना चाहती। टैगिंग सी क्योंकि लुआ एपीआई सी, टैगिंग सी है, क्योंकि ++ मैं सी का उपयोग कर रहा ++ lua_sethook जो दुभाषिया बताने के लिए इस्तेमाल किया जा सकता कॉल करने के लिए नहीं है प्रत्येक 'गिनती' निर्देशों के निष्पादन के बाद एक हुक। इस तरह आप उपयोगकर्ता स्क्रिप्ट पर नजर रखने और इसे समाप्त कर सकते हैं अगर उसके कोटे अप खाती है: पूर्णांक lua_sethook (lua_State * एल, lua_Hook च, int मुखौटा, पूर्णांक गिनती); यह भी लुआ से इस्तेमाल किया जा सकता: debug.sethook (function () प्रिंट ( "ऐसा इसलिए है I = 1,10000 के अंत के लिए यदि आप तकनीक का इस्तेमाल करते हैं तो आप सेट अप कर सकते हैं एक लिफाफा से sethook () और दोस्तों के साथ एक...

java - InstantiationError on HornetQDestination with JBOSS/HornetQ -

While trying to connect to a remote JBOSS + HornetQ, we are getting an error in this topic. We can connect remote hernets to any different machine with no difficulty. We are using HermesJMS to try and create a JDI connection from the JBSS server and we are capable of making JDDI reference but not attached We have a Jabos 5.1 Using .0 GA and Hornet 2.0.0 GA Does anyone know that InstantionError can be the cause? Thank you. Anyway, hornetQ 2.0.0.ga is quite old. You should probably try a new version, your classpace is fixed.

How to alter a PNG icon in Qt -

The effect that I wanted to achieve is like a mail icon in some iPhone, a rounded rectangle at the top corner of the mail icon The number inside the rectangle reflects the current number of unread emails and can change dynamically when new emails arrive. I am thinking that it is possible to use QT 4.6 for the desktop application interface. If this is possible, how should I learn classes? (I think there should be some bitmap manipulation class in QT.) Thanks. You save the icon in a png file by using one or QPixmap- or since you If you are using it in your app, just replace the internal icon directly.

windows - How do you create an application with a unique GUI like Valve's Steam? -

There is a very unique user interface with the valve's game manager app, Steam, custom button and window. How can you create a Win32 application that looks like this? Much of every window supports common control custom and / or master drag (exact same thing No), she just leaves the dialog where you can see it to deal with WM_ERASEBKGND and WM_PAINT or WM_NCCALCSIZE, WM_NCPAINT (if you do not want the original title section and limit etc.) As you You can see, to make a custom GUI you need to paint yourself every control ... (and meditate EEP that many people hate apps skinned and not only an original-looking app)

java - Methods With Same Name as Constructor - Why? -

निम्नलिखित अनुमति क्यों दी गई है: सार्वजनिक वर्ग फू {सार्वजनिक फ़ू () {। ..} सार्वजनिक शून्य Foo () {...}} क्या कभी एक विधि को वर्ग के समान नाम देने का एक वैध कारण है? नया कीवर्ड से बुलाया जाता है, इसलिए इस बात के बारे में कोई भी अस्पष्टता नहीं है कि कोई पहचानकर्ता एक विधि या कन्स्ट्रक्टर को संदर्भित करता है या नहीं। मैं इस बात से सहमत हूं कि एक ही नाम के साथ एक पद्धति इसकी अभिभावक वर्ग के रूप में पहली नज़र में काफी भ्रामक है, और इसे लगभग निश्चित रूप से बचा जाना चाहिए। उसने कहा, मुझे खुशी है कि उन्होंने इस तरह के तरीकों पर प्रतिबंध लगाने से भाषा को और अधिक जटिल नहीं करने का फैसला किया है।

Using Regex in Yahoo pipes to "clean" RSS feeds -

There is some help in creating a Yahoo pipe that strips some elements from RSS feeds. To empower: I will use the regex code on Yahoo Pipes. I agree that the regex syntax is universal? I have broken the question to some sub-questions: What would be regex / to extract a specific HTML tag (its own square)? Content How can I link to linked images, but how can I keep the image markup? How can I add sequential classes to all the links found in a feed item? If there is 5 links in a feed item, they will be given classes: link001, link002, link003, link004, link005 ... Examples of new account's boundary code Here you can find: Reggae is not perfect ... so any help would be greatly appreciated! Thanks a lot! Regular expression syntax is certainly not universal. Unfortunately Yahoo Pipes Docs does not say what kind of taste they use. Examples look like Pearl-style reggaces, so I'll use it. To delete a specific HTML tag (such as span ) with a specific class ...

c# - How to set HTTP cache-control from .net web service? -

itemprop = "text"> after I inherited a class ( system.Web.Services.WebService with a C # web service ) So a series of webMethods such as: [WebMethod, SoapHeader ("title", direction = SoapHeaderDirection.In)] [SoapDocumentMethod ("http://www.myservices.com/Services/ 1.1 #getMediaMetadata ")] Public MediaMetadata getMediaMetadata (String ID) {New MediaService (return). GetMetadata (ID); } I am trying to set the cache-control header in response to the HttpResponse.Cache.SetMaxAge Executing the service produces a default header: cache-control: private, max-age = 0 I get the standard Cache SetMaxAge with a hardcoded header: HttpContext.Current.Response.AddHeader ("cache-control", "private, max age =" + (int) ttl totalSeconds) ; The web server still responds with the default cache-control. I suspect that ASP.NET web services want to adopt the web method after its execution. The suggestion below is not applicab...

c++ - Conversion from unsigned int to float -

Conversion to 'float' from 'HTC', potential loss of data Warning C4244: '=': / code> Should not any float be able to handle any value? unsigned int: 0 to 4,294,967,295 float 3.4 e +/- 38 (7 digits) wiki: The advantage of floating-point presentation on fixed point (and integer) is that it can support a much greater range of values. Any insights will be helpful, thanks. To store both 'unsigned int' and 'float' values For 32-bit use. Since there is a large range of float, so it sacrifices some precision necessary. This means that there are some unsigned interlaced values ​​which not can appear correctly in a float. Provides some more details.

asp.net - SL app doesn't connect to Database from IIS, but does from VS2010 - SQL Server Auth, not Wndws Auth -

I have made two small / tested silverlight apps with VS 2010 (I'm new to this), both with one The problem is the same. .. When I run / debug inside VS2010, the app runs and it connects the database properly. But when I publish it on the IIS (same machine on VS2010), the app will run, but it will not be connected to the database. I am using SQL Server authentication. I Machine Windows 7 Premium (using the IIS 7.5.7600.16385 also has the same problem on my Windows 7 Pro machine) I have had this problem on many machines (my colleagues are also) ... it is quite disappointing that we work directly from our IIS (connecting to DB) while walking from VS-2010. It is expected that this is a simple change to "fix" I have tried to be a database on the same machine as IIS / VS2010, and when separated from one ... In both cases, the result is that when VS2010 is run, it works, but not IIS. I have tried that there is no use here: Otherwise, my IIS setup is mostly "o...

windows - Is it possible to use output redirections from a cmd file using start? -

I have to create a CMD file with something: : start / wait (Blabla1.exe -q -m1> blabla1.log2 & gt; and 1): Two start / wait (blabla2.exe -q -m1> blabla2.log2 & gt; & amp; 1) where I do not want the output of the Babbla application to be output of the start command. Is "local" redirection possible within the start command? Do I have to create a line CMD in which blabla1.exe -q -m 1 & gt; Blabla1.log 2 & gt; And 1 and pass start for the command? Update: I need to first (blabla1.exe) to complete before the second (blabla2.exe) launch. This is the reason for using start / wait (Windows XP and above) Given that you are waiting for a file, and the process of termination, is there really an additional window starting with the 'start' required? In fact, if there was no way to redirect the output while using the beginning, then the windows that were raised above will not have any output ... they will be made even more vain...

What is the advantage in reducing variables in vb6? -

I have code written in VB6. Is there some variable that can be removed with some code manipulation? Is there any advantage of removing one or two additional variables? Instead of deleting the variable (see anything?) Just reduce their scope.

How to have a transparent ImageButton: Android -

एंड्रॉइड: छवि = "@ + आईडी / पिछले" एंड्रॉइड: layout_width = "wrap_content" एंड्रॉइड: Layout_height = "wrap_content" एंड्रॉइड: src = "@ ड्रॉएबल / मीडिया_स्किप_बैकवर्ड" एंड्रॉइड: पृष्ठभूमि = "@ ड्रॉएबल / पारदर्शी" & gt; & lt; / ImageButton & gt; यह है कि मैंने एक पारदर्शी इमेजबटन प्राप्त करने की कोशिश की, ताकि एक SurfaceView पर उन बटन को स्थानांतरित किया जा सके। लेकिन ग्रहण, मुझे परियोजना में एक त्रुटि देता है जैसे ही मैं xml में पारदर्शी रेखा को शामिल करता हूं। कृपया मदद करें। पृष्ठभूमि के लिए रिक्त करने का प्रयास करें ... android: background =" @ null "

Rails XML parsing -

Can anyone tell me how to parse it on the rail. & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Message & gt; & Lt; Param & gt; & Lt; Name & gt; MessageType & lt; / Name & gt; & Lt; Price & gt; SMS & lt; / Pricing & gt; & Lt; / Param & gt; & Lt; Param & gt; & Lt; Name & gt; Id & lt; / Name & gt; & Lt; Price & gt; Xxxxxxxxxxxxxx & lt; / Pricing & gt; & Lt; / Param & gt; & Lt; Param & gt; & Lt; Name & gt; Source & lt; / Name & gt; & Lt; Price & gt; Xxxxxxxxxxx & lt; / Pricing & gt; & Lt; / Param & gt; & Lt; Param & gt; & Lt; Name & gt; Goal & lt; / Name & gt; & Lt; Price & gt; Xxxxxxxxxxxxx & lt; / Pricing & gt; & Lt; / Param & gt; & Lt; Param & gt; & Lt; Name & gt; Msg & lt; / Name & gt; & Lt; Price & gt; Xxxxxxx...

database - I cant seem to find a pleasing answer for this on the web for this specfic question, "In MySQL do colums that have 'NULL' waste memory"? -

Taken from one of my previous questions. The table is showing which item (post, photo or reply) is being commented on. commentid ---- postid ----- PHOTOID ----- replyid ------------------------- ---------------------- 1 22 Zero zero 2 Zero 56 Zero 3 23 Zero zero 4 Zero zero 55 5 26 Zero zero ......... .. . Is this bad? After will be a better structure ... commentid Itemid itemtype - -------------------------- 22 22 Posts 2 56 Pictures 3 23 Posts 4 55 Replies 5 26 Posts You can also add an index that combines the item code and column of the item type, so that it is fast to see all the comments for all the countryside rticular items.

php - Zend Framework/Form Elements: Create custom class or? -

I want the result to be a textarea (hookup to the markdown editor). And include a div.wmd-preview element I am currently in my form (extension Zend_Form ) ... I add functionality through decoration // init () $ this-> AddElement ('text', 'bio', array ('label' = & gt; 'bio', 'description' => gt; & lt; a href = "http://daringfireball.net/projects/markdown/ Syntax "target =" array (array ('string long', false, array (0, 1000)) has been marked as' decorators', 'get markbook editing / syntax help' 'gt; markdown enabled Array ('ViewHelper', 'Errors', Arrays ('Description', array ('Tag' = & gt; 'P', & lt; / a & gt; 'Save' = & gt; wrong)), 'label', array ('HtmlTag', array ('tag' => gt; 'p'), new Application_Form_Decorator_WmdPreview,)); ... // Add WMD & Amp; $ Boots Deceiving snap = Zend...

asp.net - lucene.net - search term too short? -

हैलो मेरे पास एक प्रकार का लुसेन वाला अनुप्रयोग है, जब मैं "a", "a *", "a "," एक * ", ... एक त्रुटि फेंक: Ausnahmedetails: Lucene.Net.Search.BooleanQuery + TooManyClauses: Systemfehler Quellfehler: Zeile 130: Zeile 131: मंद खोजकर्ता IndexSearcher = नई IndexSearcher के रूप में (rootpath + "\" + index_root) 'सर्च auf diesem Verzeichnis Zeile 132: मंद हिट हिट के रूप में = searcher.Search (क्वेरी ) Zeile 133: Zeile 134: लेकिन तीन या अधिक अक्षरों वाले शब्दों में कोई त्रुटि नहीं होती। मैं वास्तव में इसके बारे में उलझन में हूं। अधिक कोड: सार्वजनिक उप lucene_search (ByVal strSuchbegriff स्ट्रिंग के रूप में) मंद पार्सर QueryParser मंद क्वेरी क्वेरी हैं (check_volltextsuche.Checked = सच और check_dateinamensuche.Checked = झूठी) के रूप में के रूप में फिर पार्स = नई क्वेरी पार्सर ("बॉडीटेक्स्ट", विश्लेषक) 'बॉडीटेक्स्ट = टाइपफेल घ der wird कोशिश क्वेरी durchsucht = parser.Parse (strSuchbegriff) पकड़ो meldung.T...

iphone - Scanning a string line by line -

I have a nsstring with 50 rows, I use a nsscanner to scan each line, Want to do Is this possible? Can anyone help me? Thanks in advance ... this is possible; You just need to split the string, and then scan each line for the string you're looking for. Why are you using NSScanner ? Would not it be easy to find strings?

ssis - Connection Manager in Script Component -

How do we use the Connection Manager in the script component using the OLDB Provider? I tried to use the connection manager with the OLDB provider and SQL, but failed. What is the right way to use? It is well documented on MSDN, the script covering both VB and C # types:

java - Get generic type of class at runtime -

मैं इसे कैसे प्राप्त करूं? सार्वजनिक वर्ग जेनेरिक क्लास & lt; T & gt; {सार्वजनिक प्रकार getMyType () {// मैं टी के प्रकार कैसे वापस करूँ? }} मैंने जो कुछ भी प्रयास किया है, वह अब तक की विशिष्ट प्रकार के बजाय प्रकार ऑब्जेक्ट देता है। यदि आप वास्तव में प्रकार की जरूरत है, यह सामान्य है (प्रकार- सुरक्षित) वैकल्पिक पैटर्न: सार्वजनिक वर्ग जेनेरिक क्लास & lt; T & gt; {निजी अंतिम कक्षा & lt; T & gt; प्रकार; सार्वजनिक जेनेरिक क्लास (कक्षा & lt; T & gt; प्रकार) {this.type = type; } सार्वजनिक कक्षा & lt; T & gt; GetMyType () {return.Type; }}

How to find out the Encoding of a File? C# -

Well I have to find out that some of the files I found in some directories are either UTF 8 encoded or NNI Encoding is encoded to change something else I decide later on is my problem .. How can I find out if any file is UTF8 or ANSI encoded? Both encodings are actually true in my file. There is no reliable way to do this, the file can be just random binary), though Windows Notepad The process made by the software is expanded into the blog of Michael S. Kaplan: Check the first two bytes; 1. If a UTF-16 is Bom, keep it as a "(Unicode") file (and load it); 2. If UTF-16 is BOM, then keep it as "(Unicode (Big Endion)" file (and load it); 3. If the first two bytes look like the beginning of a UTF-8 BOM , Then check the next byte and if we have UTF-8 BOM, then keep it as "(UTF-8") file (and load); Check with IsTextUnicode The function assumes that it is BOM-less UTF-16 LE, if it is, keep it as "(Unicode") file (and load it as); h To ...

jQuery Accordion definition list with multiple description items -

I can not use with definition lists which are many desciption items (dd) There are items. In the example below, B2, B3 & amp; C1 Show, A1, B1 & A. I like C1. How do I get it? jQuery ('dl'). Ardionian ({incident: 'click', active: wrong, animated: "bounslides", header: "dt"}); & Lt; DL & gt; & Lt; DT & gt; & Lt; / Dt & gt; & Lt; Dd & gt; A1 & lt; / Dd> & Lt; DT & gt; B & lt; / Dt & gt; & Lt; Dd & gt; B1 & lt; / Dd> & Lt; Dd & gt; B2 & lt; / Dd> & Lt; Dd & gt; B3 & lt; / Dd> & Lt; DT & gt; C & lt; / Dt & gt; & Lt; Dd & gt; C1 & lt; / Dd> & Lt; Dd & gt; C2 & lt; / Dd> & Lt; / DL & gt; () Demo: $ (function () {$ ('dt'). ('Click', function (e) {e .preventDefault (); $ (this) .Parent ('dl'). Children ('dd: visible') SlideUp ('slow'...

java - Is it possible to use Spring 3 @Autowired annotation inside @Service? -

I am using a class that is not directly spoken by my @Controller and When I try to use the @ etowold property in the code that is defined as @ service , property is null . But @ etowold inside @Controller will work with the same markup. Example Code: @Service Public Class User Nominal Authorization Validator {@ Etowar Personal Usdao Userdao; This should work perfectly when Your applicationContext.xml has the following: & lt; Reference: component-scan base-package = "com.yourproject" />

android - Display the grid view images according to a number -

Hi I want to display the number of images according to a number. This means that if the number is 1 then I want to hate only one image in the grid, if the number is 3 then I want to display 3 images in the grid. But I only take the same image which means that the image will be displayed on the basis of that picture I think you mean this: // Images are located in res, a page and so on in the res / DRIBLE folder private integer IMG (integer val) {if ( Val == 0) Returns R.drawable.zero; Else if (val == 1) R.drawable.one; Else if (val == 2) returns R.drawable.two; Else if (val == 3) R.drawable.three; Else if (val == 4) returns R.drawable.four; Otherwise, return (Val == 5) R.drawable.five; Else if (val == 6) returns R.drawable.six; Else if (val == 7) returns R.drawable.Sseven; Else if (val == 8) Return to R.drawable.eight; And returned R.drawable.nine; } ... and call this method using this statement: // "3" to a variable named img1.setImageResource Should be replac...

WPF TabControl collapsed tab headers are not completely hidden -

I am using TabControl to show or hide programs in form control groups. I have implemented the technique described and it works almost as expected, except that a band in that space is about 1 or 2 pixels high, where tab headers are displayed normally. I have verified this using it, navigate to the visual tree and observe the movement of the highlight rectangle because each element is selected. The size of the rectangle for tab content element is smaller than the different tab control, which I see is an extra pixel account. To get the right alignment with other controls, I need to eliminate this extra space, but I'm not sure how. However, the question I probably should ask is, "Is there a better way to choose / hide groups of selective control?" Thank you for your thoughts, Tim I think the thin line TabPanel , which is still there, although all TabItem However, if you have TabControl of ControlTemplate and with the number of the TabPanel of the vis...

.net - ASP.NET Website Memory Usage quite high -

I have an ASP.NET website which will be used about 2 GB of physical memory in 3-4 days , Which I feel really spoiled At the moment, I have configured IIS to restart the App Pool process while hitting 500 MB and I would try and track down the problem A new instance of an object in .NET While making, I was under the impression that it does not need to be free because .NET Garbage collector will do this for me. Is this the case or can it be one of the reasons for me? .NET will manage your garbage collection very efficiently while IDisposable It is wise to call the DISAS method on the types of implementations, it is probably not your problem, for many reasons the memory leaks can be. Here are some: You can cache a lot of data per user in the session. You can cache a lot of data at an application level in the application cache or in a static variable like a dictionary. You store web controls (or user controls) in session or application level. You prevent events oc...

.htaccess - Rewrite rule for apache htaccess that checks for existence of certain GET params -

I can not find a solution ... I have many dynamic page links No, I want to write something for "tx_ttnews [tt_news]" values, that is, if it exists (or some other number) I want to redirect to a completely different URL. I have only a small set, so basically I need a rule to "live is present" to redirect, like tx_ttnews [tt_news] = 114 >> domain.com/asd.html tx_ttnews [Tt_news] = 93 >> otherdomain.org/ljasd.php There is a mapping list, I could input line for each item, give me the correct code Do not know .... Do anyone have any clue? Anyone interested in my solution: Rewyctore % {QUERY_STRING} (tx_ttnews (. *) Tt_news (. *) = 114) Rewrite (. *) Http://www.domain.com/news/2010/07/my-new-news-item/? [L, R = 301] We have created several rewriting rules for all affected IDs (14 in this sample). Since each ID matches a certain URL in a different system, we had to write manual rewrites. Not beautiful but worked.

android - Can I ellipsize a dialog title? -

I have a theme that is running as a theme. Dialog Can I set my title in the "Elysz" genre? Currently, text is being populated in onCreate () with set (), no one is there. Setup you like on the text view. Or, am I the only option to write and set the title style there? I want to know that that path is possible before going down. Clear & amp; Easy to use without a custom view: TextView tv = (TextView) dialog.findViewById (android.R.id.title); Tv.setEllipsize (TextUtils.TruncateAt.END);

c# - Child webpages help -

C #, ASP Using Net I have a link to another web page in my web page, if I click on the link that should be shown to another page inside the main page such as child page . Another webpage should look like a popup window in my webpage and another webpage should be small in size. How to do it Need help To display a web page Attention I think the second part of your question wants to be able to display the link in a separate window. To do this, use the target = "blank" attribute in the anchor tag. You must use Javascript to set the size of the hair window: & lt; Script type = "text / javascript" & gt; Function show popup (url) {newwindow = window.open (url, 'name', 'height = 190, width = 520, top = 200, left = 300, resizable'); If (window.focus) {newwindow.focus ()}} & lt; / Script & gt; Just call the showPopup method from your anchor click event & lt; A href = "http://www.yoururl.com" onclick = "s...

Running webtests without Microsoft Visual Studio Testing edition/Team Suite -

क्या माइक्रोसॉफ्ट वेबटेस्ट नहीं है Microsoft Visual Studio Testing Edition / Team Suite ? कोई तीसरे पक्ष के उपकरण या इसे कमांड लाइन के माध्यम से चलाने का एक तरीका है? मेरे पास एमएस वीएस व्यावसायिक संस्करण 2008 स्थापित है धन्यवाद! यदि आप अपने वेब अनुप्रयोग का परीक्षण यूजर इंटरफेस के माध्यम से कर रहे हैं (यानी क्लिक करने पर स्वचालित कोड-पीछे की कक्षाओं आदि के यूनिट परीक्षण की बजाय बटनों का उपयोग करना और पाठ आदि दर्ज करना)। फिर मुझे लगता है कि आपका सबसे अच्छा शर्त या तो इसका उपयोग करना है: (संभवत: इसके लिए सबसे लोकप्रिय तृतीय-पक्ष टूल) या दोनों खुले स्रोत हैं और स्वतंत्र रूप से उपलब्ध हैं, और दोनों में एक कमांड लाइन से परीक्षण चलाने की क्षमता शामिल है, इस प्रकार आपके परीक्षण दोहन और निरंतर एकीकरण चक्र में एकीकरण को सक्षम किया जा रहा है। edit : इस उत्तर पर माइकल की टिप्पणी के जवाब में: नहीं, जहां तक ​​मुझे पता है, न तो वतीएन और न ही सेलेनियम आपके पहले बनाए गए ईमेल को चलाएगा MS WebTest इसके अलावा, मैंने कुछ और शोध किए और पता चला कि आप विजुअल स्टूडियो टीम स...

WPF: Reset Colors to use template colors -

I currently have a list bititem container, which is selected when the background blue color changes. However later I set programmatic: Border. Background = new solid colorbrush (colors.white); How do I reset the border background now to use template colors again? Now when I select the box again, this selection does not go back to color again. border.ClearValue (Border.BackgroundProperty);

c# - ASP.NET MVC 2 Model Binding: How to debug a partially failed model binding on post back? -

We had a visual model that looked like this: public class myViewModel { Public contract contract {set; Set;} Public Dealer Seller {get; Set;}} Public Sector Contract {Public Int Contract ID {get; Set;} // ... Various string properties are public ILIST & lt; Contract DAT> Contract: Get {Details; Set;} Publisher Dealer Vendor {Receive; Set;}} The entire agreement coming back from the form was. [HttpPost] Edit Public Action Result (Contract Agreement) {...} Make all the binding form post values ​​back into contract parameter properties gives. When we sell the contract as a value item, all first levels of the contract fail to bind the "primitive" property. All IList & lt;> Properties are OK Any ideas or we will need more information to solve this puzzle? Is there a way to test how MVC object changes parameters back to values? Does the seller have any way of not having an ILID, i.e., why does ILIT properties work properly? Edit: Specify exactl...