All Questions

2
answers

Laravel Consultation

Hi, I have a query in Laravel 5.5 that brings me what I need with the related data of 2 tables. My query is as follows: $facturas = ProgramacionPagos::select('*') ->where([ ['pagorealizado' , '0'], ['autorizado_c...
asked on 10.01.2018 / 18:20
1
answer

datatable.net preserve line breaks in exported documents

I am using the plugin: datatables.net I have tried to preserve the line breaks when exporting to excel, PDF or Print but it does not work for me: stripNewlines: false Update Script Script: $('.DataTable3').DataTable( { "aut...
asked on 10.01.2018 / 15:54
1
answer

Problem with the Connection to BD Postgresql with python

import psycopg2 class BaseDeDatos: def _init_(self): try: self.conexion=psycopg2.connect( "host='localhost' port='5432' dbname='Inversiones' user='postgres' password='xxxxxx'") self.conex...
asked on 18.02.2018 / 03:12
2
answers

Practice palindrome

I have a question on how to do the extra of the following exercise Write a palindrome method (phrase) that receives a phrase or word and returns if it is palindrome or not. Then, write a main program that asks the user for a word, sends the w...
asked on 18.02.2018 / 04:43
2
answers

Java Split excluding rank

I receive a String in java with a value format and range [x,y,z] so that the input String is valor[x,y,z] (example 20[4Y,2W,4H] ). I can have values with a condition or (represented with a ',') so that the...
asked on 13.02.2018 / 11:47
1
answer

The best way to consult a large amount of data with MongoDB

I have a 1.6GB collection that basically have 2 data: nombre and documento . The document has this structure: { "_id": ObjectId("5a6ba42850c4631898754a06"), "nombre": "Jorge", "documento": "4918273627" } I look for th...
asked on 07.02.2018 / 22:58
2
answers

I can not get images in Laravel

You see, I have a view that shows a list of plants. Before this, I show a picture of a fern with this code: <img src="helecho.jpg" style="width: 200px; height: 200px; border: 2px solid red"> I have placed the photo in the same directo...
asked on 14.02.2018 / 17:57
1
answer

Empty argument. .Net and SQL

The following function gives me the following error: System.ArgumentNullException: 'El valor no puede ser nulo. Nombre del parĂ¡metro: dataTable' I executed the Query, directly in SQL and I had an answer. So I do not understand why it does n...
asked on 05.12.2017 / 14:29
1
answer

Laravel delete in CRUD

I am creating a CRUD of products. In the index I have the grid with the registers. In each record there are two buttons (edit and delete). Editing works fine for me, but not editing. I need to press that button to show me a view (delete.blade.ph...
asked on 15.02.2018 / 11:40
2
answers

Comparison List of lists and list python

I am looking to make a comparison of a list with a list of lists. With this code I can do it between 2 lists but the problem happens when it is a list with a list of lists. I am looking to edit my code to be corrected. lista1=["paco","pepe"...
asked on 11.12.2017 / 20:29