Posts

playframework 2.2 - How to resend verification email in play authenticate? -

I'm stupid to ask, but I do not know how to send a verification email to the user who 'emails and Login using amp; Passwords on play certification, i.e. A user has signed up for an account, the token has expired at the verification email, and a new verification email is required. I understand that the original verification email is created after the user account and is logged in later, but I can not understand how to do a user with logging in. I believe you have wrong order order, emails are sent after email is created and First they log in. If they are already logged in, they will have to verify the email. If they never accept the email, then I believe that you will have to ask the user to sign up again and a new email will be sent. .. Chet

c# - Why does this thread cause my application to hang up after multiple executions? -

I created this test program to try to understand a little better threading: Nom place thread test {public class 1 class} {static number number = new number (); Get Stable Public Zero () {Thread T1 = New Thread (New Thread Start (Increase Number)); t1.Start (); IncrementNumber (); } Public stable zero incrementNumber () {number.Inc (); }} Public class number {int x = 0; Public Zero Inc () {x ++; Debug.Write (x); Debug.Write (Environment.NewLine); } Public override string toasting () {return x.ToString (); }}} I call it Thread Test Class 1 Go and execute from the immediate window. I saw that from one execution until the next, unless it needs to be compiled again, static members live in memory and it is using them again. Here's what the immediate window looks like after the four continuous execution: Thread Tests. Class 1 Go () 2 1 expression has been evaluated and it has no value Thread Test. Clash 1. Go (3) 4 evaluation has been evaluated and it has no value Thread Te...

how to pass input during executin of java code in eclipse -

I want to retrieve my Java code in Eclipse (and main method using ARG [] command line I argue) -It's okay. However, my scenario is different. My code asks periodically for input during execution. Where do I enter such inputs? When some of the controls come down to the command line arguments or suggest using a buffer reader or console view, I edit : But my Eclipse collects the correct message after asking for a pseudo password (forward, my position is different from the command line argument as explained in the first line). I am using centr 6.5 on Kepler A near eclipse The console is usually located below your Java perspective. If it is not just window-> View- & gt; Show console

loop in r until value converges and stores all the outputs -

Image
I would like to repeat this process until there is no condition to censor results. Here is a simple matter, where I know the number of cycles in order to perform a loop: # Example of figures Speplus & lt; - rnorm (100,50,50) encyclopedia and lt; - 1000 outcomes & lt; - Matrix (Enro = Encyclix, Nackel = 1) Repeat the process of # N chakras for (i (sample (SMPLS, 50) ) 1 / NCK () (Output) (SMPLS, 50)) P> But my case is different in that sense I do not know the nosy. I want to continue sampling until the samples get very little variance or convergence (I think this is "while" loop. For example, unless vsd is less than 1 in the following case. vsd & lt; - (SMD, 50)) while (vs> 1) {outm [i] & lt; - Mean (sample (SMPLS, 50)) vsd & lt; - SD Edit: - rnorm (100,50,50) ITER & lt; - 0 # Maximum Travel Itermax & LT; - 1000 outm & lt; - Representative (NA, itermax) vsd & lt; - 2, while ((vsd> 1) & amp; (ITER's ...

php - Magento CE Customer Groups Changing Not Saving -

In the Magento CE Admin panel, I type customer & gt; Manage Customers Then tick the selection box in the Customer Line that I want to allocate to a group, then I select 'Assign to a client group' in the 'Action' dropdown above. Select the group and then click on 'Submit'. Then I had a 'Total Records (Updates)' message displayed above, but the problem is that my client group has not been updated / saved! No errors, but not updated! I also tried to edit the customer group by editing the client's account information 'group' settings, but the result ?! I do not know how to solve it thanks > Here the client's group is automatically updating due to the VAT ID. Please select / edit the check box on "Disable disabled group changes based on customer ID" under "Groups", select the drop-down on the customer's details page, click the "Account Information" tab. Please share and comment if h...

Cordova support for Amazon FireTV ("android_interface.jar" error) -

I used the original "Hello" for the Amazon Fire tablet and using Cordova (3.4.x) to create a custom HTML app. Have done I was connected to a problem and resolved it according to the answer (chmod + x on the construction tool). However, when I try to deploy the same app ("Hello" and the HTML5 app) Amazon Fire TV device, I see this error: Application error AndroidWebKit classes are missing Copy the Android-Interface.jar in the App's Libs folder from Amazon WebVS SDK and recreate the app. There is no file named "android_interface.jar" in the Amazon WebVV SDK. I tried copying "awv_interface.jar" to the app's Libs directory; no change. I also tried to rename the awv_interface.jar name for Android; Failed to compile the app. The normal Android target of Cordova will actually run on Fire TV; The "Hello" app works, but the five-way remote is not registered on our HTML5 app, so I'm really using the Amazon-Fireros targ...

javascript - draw a polygon with fabric.js framework -

I am trying to attract a polygon by using this code: Canvas.on ('mouse: move', function (option) {if (lines [0]! == empty & amp; objects. Type == "roof") {set startpoint (option); lines [ Line-clock-1] .set ({X2: x, y2: y}); canvas.reader ();}}); This works perfectly in jsfiddle but using the same code on my page, the lines are not drawn to the polygon where I can "paint really" the top left "Birth" in the corner, but when I click to create a polygon it pulls it correctly. Can anyone help me? The problem is with the mouse down event, you are setting the organics and the origin in the right corner of the corner. Takes it. I have given below the updated code. Function Massoudown (event) {setStartingPoint (event); Var number = [x, y, x, y]; Var line = new clothes. Line (number, {left: x, top: y, strokeview: 1, selectable: false, stroke: '# 40648E'}); Lines.push (line); Canvas.add (lines [lineCounter]); Var rect = new fa...