Posts

postgresql - Creation of TEMPORARY TABLE in Slave Data Base -

I have a two data base server of PostgreSQL master and The second salve server which is only in the reading bar, I have written some functions, which make the temporary table within a function. Now my question is that slave slave is possible to run all those functions in the server. If this is possible then how is it possible? Thanks in advance. All such connections are strictly read only; Even temp tables can be written If you want a replication to support the typing operation, then you have something similar to the trigger-based replicas, like Slanny or Bacardo Want to

Sample Extjs5 App for Unit testing with Jasmine and Karma-runner -

I am new to excarges 5 and am trying to run jasmine unit test cases with a karma-runner. Although I am fully able to apply Ext4.2 but this process is not working for Extras 5. I've goggle it but no useful link was found if someone is already code executed for the ex 5 app please share. Any help is highly appreciated. Thanksgiving This is the trick that requires the necessary exogues classes before to properly load. Make sure that you include the following in your karma.conf.js // We need to add an element with the 'App loading indicator' because [app.js] .launch ( ) Is expecting it and tries to remove it / Karma normally starts testing after all the files specified in 'Karma' normally. loaded up. // We only want to start after the application of Bootstrap of Sna Touch / EXJSE // 1. We override the temporary '__carm __loaded' function / 2. When the extension is created we can load the '__carm __loaded' function manually in kernel...

unity3d - How to modify RectTransform properties in script [Unity 4.6 beta] -

Image
विभिन्न कोडों की कोशिश की, डॉक्स पर देखा और चारों ओर खोज की, लेकिन नहीं कर सकता जवाब ढूंढें ... उदाहरण के लिए। मेरे पास एक छवि है और मैं रनटाइम के दौरान चौड़ाई और ऊंचाई बदलना चाहता हूं। सार्वजनिक गेम ऑब्जेक्ट छवि 4; Image4.GetComponent & lt; RectTransform & gt; ()। Rect.Set (0,0,100, 300); जो काम नहीं करता है और image4.GetComponent ()। Rect.y केवल प्राप्त किया जाता है, तो रनटाइम पर बदला नहीं जा सकता। मैंने भी कोशिश की है: image4.transform.localScale.y = 15; जो या तो काम नहीं करता है। रनटाइम पर आकार बदलने का सही तरीका क्या है? आप मुझे या तो जेएस या सी # में एक उदाहरण दे सकते हैं, कोई फर्क नहीं पड़ता। एक दिन शोध मुझे एक विस्तार मिला जो हमें नए यूआई सिस्टम से निपटने में मदद कर सकता है। यदि आप चाहें तो इस विस्तार में सुधार कर सकते हैं। सार्वजनिक स्थिर वर्ग RectTransformExtensions {सार्वजनिक स्थिर शून्य SetDefaultScale (यह RectTransform trans) {trans.localScale = नया वेक्टर 3 (1, 1, 1); } सार्वजनिक स्थिर शून्य SetPivotAndAnchors (यह RectTransform ट्रा...

r - Dimple change axis title -

I am hosting a graph with RCHHT on the website and want to change the title of X-axis. I'm using it: d1 $ setTemplate (afterScript = "& lt; script> myChart.draw () myChart.axes [0] .titleShape.text ('x- Axis title ') myChart .xes [1] .titleShape.text (' y-axis title ') myChart.svg.append (' text ') .attr (' x ', 40) .attr (' y ', 20) Style ('text-size', '100%') However, this does not seem to work. Now the names of the variables are shown on the website as Axis Labels. But when I run full slot in Rustidio, this axis title is changed The question is: How can I fix this? Thank you in advance. AD I have solved this today. The exact problem that I do not know, however, I tried to run this script in R which works fine But since the graph has been hosted on any page, I have put the script between the HTML code which is more logical in my opinion and this work The literacy. AD

gwt - Create custom widget and allow nested sub-elements in UiBinder -

I want to create a custom widget that allows the UIB to specify its nested sub-element in inder like Dockpanel may be south , answer , etc. I looked at the source code of DockPanel but found a solution. & lt; My: LeftRightToolbar & gt; & Lt; Left & gt; & Lt; Six buttons / & gt; & Lt; / Left & gt; & Lt; True & gt; & Lt; Six buttons / & gt; & Lt; / True & gt; & Lt; / Mary: LeftRightToolbar & gt; My custom & lt; Left & gt; and & lt; Right> can have multiple sub-nodes update: code>? Code if I add more than one widget does not compile. First of all - and lieutenant; Left & gt; and & lt; True & gt; should be in the same namespace as the LeftRightToolbar , so it and & lt; My: right> . Secondly, you need to annotate two methods in LeftRightToolbar with comment: @iChild (tagname = "left") Add Zero (widget widget) {left.add (widget); } @IiChild (...

sql - JdbcPagingItemReader with multiple select query -

मैं एक जटिल प्रश्न के साथ एक JdbcPagingItemReader लिखना चाहूंगा जैसे: xxx का चयन करें Yyy से जहां a = b और c = (yyy से max (f) का चयन करें, जहां a = b) ... पैरामीटर के साथ। यहाँ मैं कैसे मेरी क्वेरी लिखी: & lt; बीन वर्ग = "org.springframework.batch.item.database.support.SqlPagingQueryProviderFactoryBean" & gt; & Lt; संपत्ति नाम = "डेटा स्रोत" रिफ = "डेटा स्रोत" / & gt; & Lt; संपत्ति नाम = "चयन करें" मूल्य = "चयन ओह्रफ़्नम" / & gt; & Lt; प्रॉपर्टी नाम = "सेक्लोज़" मान = "से ऑर्डरहार्ड_ऑल" / & gt; & Lt; प्रॉपर्टी नाम = "whereClause" value = "WHERE ग्राहक_आईडी =: CUSTOMER_ID और ohentdate = (SELECT MAX (ohentdate) से orderhdr_all WHERE customer_id =: CUSTOMER_ID)" / & gt; & Lt; प्रॉपर्टी नाम = "सॉर्ट कि" वैल्यू = "ओह्रफ़्नम" / & gt; & Lt; / सेम ​​& gt; लेकिन यह निम्न त्रुटि बढ़ाता है: java.sql.SQLException: ...

c# - How can I show a messagebox or loadingbox while doing a loop? (Code may be blocked and after 25 seconds continue) -

I already have this but it does not work ... I have to check whether a little more than PLC . If it is still high then I need to wait 5 seconds and check it again. Now I am trying to find something so that there are some visual feedback for the user. I want to 'wait ...' in a text box, after waiting for the score to rise for 5 seconds. I tried a lot of things but it does not seem to work. Most of the time this GUI is hanging without updating 25 seconds and then it is continuing ...: // Check in advance whether the PLC bit, which says that there is still an order active, // is still set if this is the case, we wait a few seconds Var bitorder = main POGet Value (jbmis.IO_GET_INPUT, "Boxman Installed"); Int counter = 1; String loading point = ""; Loadtimer.Tick + = TimerTit; Loadtimer.Interval = (int) TimeSpain Foamseconds (5). Total EmilisCand; Loadtimer.Start (); Loadtimer.Enabled = true; // stopwatch SW = new stopwatch (); While (Bitterar! = 0 & a...