Posts by luizluan • 80 points
7 posts
-
1
votes2
answers18294
viewsA: How to get the date right using momentjs
Try like this beast: moment(new Date(dataretornadadobanco)).format('padrao') Lista de padrões: moment.locale('pt-br'); // :| moment().format('LT'); // 11:39 AM moment().format('LTS'); // 11:39:41 AM…
-
0
votes3
answers1195
viewsA: Entity Framework many relationship x many extra field
Try it this way public class Course { [key] public int CourseId {get;set;} etc .... [ForeignKey("CourseID")] public virtual ICollection<Person> Persons { get; set; } } public class Person {…
-
-1
votes4
answers582
viewsA: Entity Inner Join in LINQ
public class Login { public int ID { get; set; } [Required] public string Nome { get; set; } [Required] public string Senha {get;set; } } public class LoginAtivo { public virtual int UsuarioID {…
-
2
votes2
answers494
viewsA: How to make a daemon for the "mongod" command
Depends on whether you are running on linux or windows? If it is in Windows only make a bat or make it become a service and put to start together with Windows if it is in linux ai depends on which…
-
1
votes2
answers419
viewsA: Request loop in Angularjs 2
Have you ever used a debug method to see which values are arriving in the picture variable? Use batarang to debug the js so you can check if the json is being loaded correctly. I believe it must be…
-
1
votes1
answer114
viewsA: Is it essential to use the captcha in the form?
Well it is a choice of yours, you can suffer an attack, several bots making several requests at the same time, believe it happens until a small server I have gone through it. You can do the…
-
0
votes1
answer492
viewsA: Create an android database
For the last time I’ll edit that question I swear. You use a server without a database, you need another application to host your website for your friends and a server married with a database. I…