Posts

c# - DataGrid cell edit Mode=TwoWay -

मेरे पास DataGrid जैसा नीचे दिया गया है & lt; DataGrid आइटमस्सोर्स = "{बाध्यकारी टेम्पलेट्स}" चुने हुए इटैम = "{बाइनिंग चुने हुए टेम्प्लेट, मोड = टूवे, अपडेटससोर्सट्रिगर = प्रॉपर्टी चेंंकित}" कैन्यूर्सरोर्ट कॉलम = "फॉल्स" & gt; & LT; DataGrid.Columns & gt; & Lt; DataGridTextColumn हेडर = "टेम्प्लेट" बाइंडिंग = "{बाध्यकारी पथ =।, मोड = दोवे, अपडेटसॉर्सट्रिगर = संपत्ति बदलते}" चौड़ाई = "*" / & gt; & LT; /DataGrid.Columns> & Lt; / डेटा ग्रिड & gt; प्रश्न में दो प्रॉपर्टी नीचे दी गई हैं निजी ऑब्ज़र्वबल कलेक्शन & lt; string & gt; _templates; सार्वजनिक पर्यवेक्षण कलेक्शन & lt; स्ट्रिंग & gt; टेम्पलेट {प्राप्त करें {रिटर्न _ टेम्पलेट्स; } सेट {यदि (_templates == मान) रिटर्न; _templates = value; RaisePropertyChanged ( "टेम्पलेट्स"); }} निजी स्ट्रिंग चुने गए चुने गए; सार्वजनिक स्ट्रिंग चयनितमेटलेट {प्राप्त करें {लौटें चुने गए चुने गए टेम्पलेट; } सेट {if (_s...

html - Fuelux, how to fix the width of a repeater column -

Is it possible to fix the width of a specific fuel UX repeater column? I'm trying to do this by using the css-nth selector: . Thread TAR thumbnail: nth-of-type (8), .tableable TBT TD: NT-OF-Type (8) {background: red; Width: 10px; Max-width: 10px; } The code above is correct in the above section, because the background of the 8th column is red, but only & lt; TD & gt; but not & lt; TH & gt; , and even then the width does not vary. How do I set a fixed width column? Thanks a lot for your help. Edit I sorted it in another way, just a container device min-width , so that it The column where the div div can fit into width and in fact it spreads all the columns. Not in the right way, but at least this works because I think the size of the column is set using JS and why it works just with CSS properties. Thanks anyway!

angularjs - Unable to navigate to a state -

I have defined an editing status / edit and when I click on Editing D1, it will not be root & lt; A ng-href = "# / Example / Edit" & gt; Translation D1 & lt; / A & gt; JS routerApp.config (function ($ state provider, $ urlRouterProvider) {$ urlRouterProvider.otherwise ('/ home'); $ stateProvider State ('home', {url: '/ home', templateUrl: 'instance-view.html', administrator: 'instanceListController'}) .state ('instance', {url: '/ instance', abstract: true, Template: '& lt; ui-view / & gt;'}) .state ('instance.detail', {url: '/: id', templateUrl: 'data-view.html', Controller: 'specDataListController'} ) .state ('Instance.edit', {url: '/ edit', templateUrl: 'edit-table.html', Controller: 'editInstanceController'}); }); Plnkr: As noted by the router, editing as an id And will never hit / edit. By using a n...

debian - how to get debain package unpacked first before debconf prompt is shown? -

I am working on a Debian packaging source to install some files on the user machine. The common argument that is being used by debconf / config script and postinst script, therefore, I put a common argument in a separate file and it is / usr / share / pkg-name /. / P / as part of the package. Now when I install the package using DPKG, everything works fine. The first package is unpacked and the file containing the normal code base is placed on that path. After the debconf / config script the file is read and then the user gets the signal accordingly. When I put a file in APT repo, then when I install it using apt-get, the same process is reversed. Package is not unpacked, instead a debug prompt is shown and the config script is unable to find the script with the normal code base. I want to know why there is a difference in the establishment process? Is there a way to get the same sequence when installing via app-to-a? All three files are shell scripts. Is there a better way...

python - Activation for pybrain LSTM layer is zero -

I created an LSTM network to regress a sequence of data. When I try to get the activation of the hidden layer (which is the LSTM layer), then it gives zero. The network has only one hidden layer, one input and one output layer. I try to get a hidden layer value with the following snippet. Print Net.Activate (Data) Print Net ['' ''. Output buffer [net ['' '' offset] print net ['hidden']. Output buffer [net ['hidden']. Offset] Any ideas why? Below is a more complete code snippet RopewayIn = RopewayOverallData [: - 1 ,:] RopewayOut = RopewayOverallData [1:,:] ds.newSequence (range) to I (noDataFrames) : DS .appendLinked ([RopewayIn [i, 0], RopewayIn [i, 1], RopewayIn [i, 2], RopewayIn [I, 3], RopewayIn [I, 4], RopewayIn [I, 5], RopewayIn [I, 6], RopewayIn [I, 7], RopewayIn [I, 8], RopewayIn [I, 9]], [RopewayOut [i, 0], RopewayOut [i, 1], RopewayOut [i, 2], RopewayOut [i, 3], RopewayOut [I, 4], RopewayOut [I-5], RopewayOut [I, ...

animation - How to animate player according to accelerometer in SpriteKit -

I am creating a jumper game like megazump I left the player can use the following code and tries to animate the rotation animation (not zRotation) have: // handle Akseloromitr L & R if (_x Acceleration & lt; - kAccelerationDeadZone & amp; (_currentPlayerHeading == Player Hedingap || _currentPlayerHeading == Player Hadingaprait)) {_currentPlayerHeading = PlayerHeadingUpLeft; [_player run action: _player animation header left]; } Else if (_x Acceleration & gt; Kesielarayrjdon & amp; amp; (_currentPlayerHeading == Player Hadingap || _currentPlayerHeading == Pleyrhadingapftft)) {_currentPlayerHeading = PlayerHeadingUpRight; [_player run action: _player animation head up wright]; } where each left and right animation is made from 3-4 frame problem is that it accelerometer changes will not easily react and I found that Megajmp like game animation It is extremely smooth as the reactions of each accelerometer change frame by frame (although the animation is also m...

javascript - Some kind of _ref usage in coffeescript? -

Consider the following situation: You do not have direct access to the array of AOs, for example .length Where the array [1, 2,3] is required to type again to reach its length, compiled in: var x, y, _i, _len, _ref; _ref = [1, 2, 3]; For (y = _i = 0, _len = _ref.length; _i & lt; _len; y = ++ _ i) {x = _ref [y]; Console.log (x, y, [1, 2, 3]. Length); } Where we see the variable _ref is defined. _ref As far as I am using a coffee script in relation to 'm': for x, in y [ 1,2,3] console.log x, y, _ref.length works fine, and compile without problems I can see I think this approach can give issues to the following situation: x / y [1,2,3,4,5,6] issued x for x, y [1,2] , 3] console.log x, y, _ref.length where _ref is the first array in the second loop [1,2,3,4 , 5,6] , and array [1,2,3] is set to unused variables _ref1 So, are there some ways to solve this problem well ( [1,2,3] In addition to defining a variable for ?) to reference ...