All Questions

1
answer

Load content script "Playbuzz" in a WebView

I try to upload content from a "playbuzz" script within WebView , I found a way to do it, which is loading the script in a web page: String urlPlayBuzz = "http://www.jorgesys.com/playbuzzcontent.html"; webview.loadUrl(urlPlayBuzz);...
asked on 13.12.2017 / 03:42
1
answer

Template handlebars is not filled even when there is data

I am working on a project in Kotlin that generates XML files using templates with Handlebars (in the server side , the version 4.0.6). I have the following class in a .kt file: class miClase(val codigo: String, val nombre: String?) And thi...
asked on 05.12.2017 / 21:40
1
answer

Database query php and mysql PDO

Someone who can help me ..... I want to print the userid, as I already have in the html, it's just an echo "$ result" .... <?php session_start(); include "conexion.php"; $user = $_SESSION['usuario']; $idusuario="SELECT id_usuario FROM u...
asked on 05.12.2017 / 04:47
1
answer

How do I read a .txt file in javascript line by line?

Good, I have a text file with several possible passwords saved like this:    0 00 000 1 11 111 123 There are many more but it is to teach where the shots go. I do not know how to read it line by line and compare it with the passwor...
asked on 21.11.2017 / 14:48
1
answer

Data entry via std :: getline does not wait for the user to enter the string

I try to make a program in C ++ to store, search and replace student data, but in the case 3 (to replace data) I have problems with data entry type string. Since in the part where the user must enter the data that will replace the old...
asked on 26.11.2017 / 03:17
1
answer

Connect FTP with Lumen

I'm doing an API with the Lumen framework and I would like to upload files of the application to an FTP only that I have not seen any documentation about it and I wanted to know if there is any documentation on how to upload files to an FTP with...
asked on 28.11.2017 / 20:30
1
answer

Query to count different (MSSQL Server 2005 Express)

I have the following table: I need a number of different offices in each department: I made the following query, but it is not what the statement asks: SELECT depto_no, count(*) FROM empleado GROUP BY depto_no The issue is that...
asked on 20.11.2017 / 14:12
1
answer

Error trying to make a "DROP TABLE": "ORA-02449: unique / primary keys in table referenced by foreign keys"

I happen to be trying to delete the following table of name CITY with the following code: DROP TABLE CIUDAD; But when I run the code I get the following error: ORA-02449: unique/primary keys in table referenced by foreign keys 02449. 0000...
asked on 13.12.2017 / 22:35
1
answer

MVC Create Controller - DbContext has been disposed

I'm using MVC / Entity Framework, the error that is coming up is this: The operation can not be completed because the DbContext has been available Yes the record is created, but I get that error every time I save the record. Before, (yest...
asked on 23.11.2017 / 13:47
1
answer

How can I activate an object in Blender with Python

From a Python script I want to activate an object in order to enter editing mode and edit it. To select the desired object I use bpy.context.scene.objects["Nombre_objeto"].select = True # (1) What happens is that if before selecting the ob...
asked on 30.04.2018 / 16:55