All Questions

2
answers

Problem with assertEquals

I have problems with some tests that I am going through, specifically with "assertEquals" I'm really comparing two "user" objects that have 3 parameters "username, password, fullname" In the tests I do this: public void loginUser() {...
asked on 13.11.2016 / 12:21
2
answers

I can not access global variable

I am trying to use the heap algorithm to find the possible permutations of a string. The problem is that I create a variable perm global to count every time I have a permutation but I can not see it in an alert. var perm=0; function pe...
asked on 20.11.2016 / 23:29
1
answer

Is there any incompatibility between the utf8 / 16 / 32_spanish_ci?

I find myself creating a database, but I am faced with a doubt that is the differences but I do not know if it affects the databases. I always use utf8_spanish_ci to create the database regarding the collate of it. But I noticed...
asked on 10.11.2016 / 12:04
1
answer

Variables in ng-repeat directive Angularjs

With the ng-repeat directive can I store two different variables? Example: ng-repeat="valor1 in valores1 & valor2 in valores2" I have problems getting the key of my string in Firebase 3 and I want to extract the key...
asked on 23.11.2016 / 17:35
1
answer

Get Active GPS on Android

I need to show a message on the screen when I get the GPS position. That is, when you find the position where we are, we can see this because in our notifications menu it sets Location defined by GPS, while when it does not have the position it...
asked on 04.11.2016 / 16:44
1
answer

Edit record in laravel 5.3

I am developing an application that performs a series of questions that are organized into categories, there are 2 questions by category, after the second question of the category is done, it averages the score between the two and saves it in th...
asked on 06.11.2016 / 14:35
5
answers

Problems with accents and characters in JSON?

I am developing an application on android that gets data from a JSON that looks like this [{ "title": "Titulo", "image": "Imagen url", "op": "op", "autor": "Autor", "fecha": "Noviembre 15, 2016", "nota": "ejemplo de nota" }] The problem is...
asked on 16.11.2016 / 01:09
1
answer

Problems using LINQ to SQL

I try to bring a data collection using LINQ to SQL but when I run the app it gives me an error, I'm using Visual Studio 2012 SQL Server 2008, Windows Forms app. private IEnumerable<Customers> ListarCustomers() { using (North...
asked on 01.11.2016 / 18:07
2
answers

Error reading an .sql file

Good evening Community. I have a program in java, which I pass as an argument the authors.sql file (database in postgresql) which contains a single line: INSERT INTO authors VALUES ('CEVA', 'K.', 'Cherteston') At the moment of reading th...
asked on 28.10.2016 / 23:52
5
answers

Windows 10 timer to turn off the PC

I want to make a small timer for my pc that does the following: You must pick up and save the current time in a variable and if, for example The time is between 00:00:00 and 02:00:00 that the equipment turns off in 2 hours shutdown -s...
asked on 01.11.2016 / 02:03