All Questions

1
answer

Column graph of a Data Frame using GGPLOT

I have this data.frame: A K1 B K2 C K3 D K4 E K5 1 0.89386498 0.239258200 -0.004970278 0.99477685 -0.243845617 0.80370370 0.3132989 0.637155451 -0....
asked on 10.08.2016 / 18:14
1
answer

Problem with connection to DB with codeigniter (mysqli) [duplicate]

Well, I've done a registration form for newsletter. And while loading the database in autoload['libraries'] , it displays an error    Call to undefined function mysqli_init () in /home/softlove/public_html/system/database/drivers/mysq...
asked on 07.07.2016 / 13:15
1
answer

Placing elements from a list in another list

I have the following code: a = list() b = list() c = list() a = (1,2,3) b = (2,4,6) c = a + b[1] print(c) How do I add an element from a list to another list?     
asked on 17.08.2016 / 04:57
1
answer

How to do Scaffolding in ASP.Net MVC with texts and resources in pt-BR?

How to make the text generated by Scaffolding of ASP.Net MVC be texts in pt-BR? Note: You are not using ASP.NET MVC en-US features. Features only translate automatically generated messages, and are not part of Scaffolding .     
asked on 01.07.2016 / 02:59
2
answers

Duplicate Normalizer + Regex

Could someone explain the code below? returnStr = Normalizer.normalize(returnStr, Normalizer.Form.NFD) .replaceAll("[^\p{ASCII}]", ""); returnStr has a url as its initial value.     
asked on 23.06.2016 / 21:46
1
answer

Doubt in the method of using Distinct and Count together!

I have a table requests as the example below: Id | Cliente | Status 1 | XPTO | Proposta 2 | ABCD | Proposta 3 | XPTO | Venceu 4 | XPTO | Perdeu And I want to present a result like this: Cliente | Status | Qtd XPTO...
asked on 04.08.2016 / 19:24
1
answer

Alert only once Session

I would like to know how to make an alert appear only once for the user in the session, in case the user Loga and appears a div with alert informed Logged in successfully, after closing this alert I want it not to appear any more while the sessi...
asked on 03.07.2016 / 07:02
1
answer

Use of Time with EF 6

I have a class with the following property. public TimeSpan TempoIdeal { get; set; } Estou atribuindo esta propriedade com TempoIdeal = new TimeSpan(days: 3, hours: 15, minutes:10, seconds: 0); When trying to insert I g...
asked on 23.06.2016 / 05:39
1
answer

Is it recommended to use PHP caching? How to use?

PHP caching is basically a cache created from your site to prevent it from processing data by fetching data for each page request. When a user accesses a page, a copy of it is saved in HTML on the server, this copy is valid at a certain time,...
asked on 11.07.2016 / 05:43
5
answers

One component on top of the other

I have a problem that I do not think how to solve it, I have an activity like in the picture below, the problem is, that when I emulate the application, the Button and the textView go under the two colored LinearLayouts (blue and green). Iwo...
asked on 23.06.2016 / 22:54