All Questions

1
answer

Retrieve a hidden value in html

I have a hidden attribute, which I put through a java method: <input type="hidden" id="url" th:value="${url}" /> And I want to put an input of type text whose value will be the value that is in the hidden "url" <input type...
asked on 14.04.2016 / 10:12
2
answers

Use VIEW in Postgresql

Hello, Good morning! I have encountered a small problem during the SQL class. I've learned how to make a View, but I do not know how to use them. For example: when you did a search to know the names of teachers who have more than two reser...
asked on 11.04.2016 / 16:29
1
answer

Problems with Android Manifest

I get the following error: android.content.ActivityNotFoundException: Unable to find explicit activity class {montsemkd.eac1_activity/montsemkd.eac1_activity.Acitivty2}; have you declared this activity in your AndroidManifest.xml? I'm tryi...
asked on 20.09.2018 / 20:55
2
answers

Cut out a vector in several vectors

Be the following vector: x <- c(1, 2, "a", 2, 3, 4, "a", 3) I need to cut a vector in multiple vectors contained in a list, starting from an element of the same vector, in this case from "a" : [[1]] [1] 1 2 [[2]] [1] 2 3 4 [[3]...
asked on 10.09.2018 / 23:18
2
answers

Add data from an array obtained from a WhereIn laravel 5.6

Good morning friends, I have this question of how to add these elements taken from several queries The result that shows me is this: [{"s1":15},{"s2":12},{"s3":5},{"s4":7}] What I need is to add them and then pass them to a view. This is...
asked on 03.09.2018 / 23:46
2
answers

rounding with specific decimals c #

Hi, I would like to see if you can help me. I want to round a value with 2 decimals but at a point value. for example, if the decimal value is between 0 and 0.49, it remains at 0.50 if the decimal value is between 0.51 and 0.99 goes to the ne...
asked on 17.09.2018 / 19:19
1
answer

Display Image on the same window with Javascript

As I describe in the title, what I try to do is that when you click on the icon of an image or a button you can display it on the same screen, just like in gmail it is done when you open a png or jpg and that when you click closes this. I do...
asked on 14.09.2018 / 22:28
1
answer

line breaks in popen with c ++

I am working on a project where I have to execute a command and print the output. Use popen, and it serves, but the output does not show the line breaks, if not, it shows everything as a single line. My code: #include <iostream> #incl...
asked on 06.09.2018 / 16:22
1
answer

error loading APK on device

This having the following error when I install the apk on my device the log throws this error: Logcat error 09-11 11:59:11.218 16688-16688/com.example.g_talent.myapplication E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.g_tal...
asked on 11.09.2018 / 15:03
2
answers

Show data related to a foreach in Laravel?

I have two tables one called " Events " and another one " Dependences ", a dependency can have several event , that's the relationship between they, what I try to do is show the data of a event , but also show the data of the dependence to w...
asked on 16.09.2018 / 03:21