All Questions

1
answer

Problem with regexp when using. * "

I am using the re module to extract data from a web. Specifically: link But I have a problem, if I do: re.findall('<a href="(.*)"', data) It returns me from the beginning of the href to the end of data. If I do: re.findall('<a...
asked on 08.07.2017 / 06:31
1
answer

Thousand separator in php or mysql

I have a query where it shows the numerical values with thousand separator (1,500) and I have two problems: When I open the modal window to edit the values it shows me the values with the thousand separator, but if I edit the value of one f...
asked on 10.07.2017 / 02:03
2
answers

Share ID but it only works in the first

Only recognizes the attributes and values of the first ID, does not respect the following. I show my code below: index.php <button type="button" id="boton_uno" class="boton-estado">Boton 1</button>&nbsp;&nbsp;&nbsp...
asked on 23.11.2016 / 14:14
1
answer

Create Lists with BindingList C #

code to create a bindingList: using System; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Windows.Forms; using System.Data.SqlClient; using System.IO; using Negocio; using Entidades; usin...
asked on 06.07.2017 / 12:29
1
answer

Error: duplicate entry '0' for key 'primary' mysql

Good evening Update phpMyAdmin and when I export the database and import it into another server it sends me the following message:    duplicate entry '0' for key 'primary' mysql I know what it means and what causes it. But my questi...
asked on 21.11.2016 / 01:13
1
answer

Doubt to create a ModelFactory Laravel 5.3

Knowing that I have 3 tables: people (id, name, surname) $factory->define(SIMante\Personas::class, function ($faker) { return [ 'nombres' => $faker->firstName, 'apellidos' => $faker->lastName, ]; });...
asked on 22.11.2016 / 04:03
1
answer

Save and Actulize document arrays created dynamically

Good morning, I am working with mongodb and mongoose, and I have the following problem. I have a collection that is made up of a field, which must be an array ( yearsData that will be seen below) that will keep a record of other years, so...
asked on 16.11.2016 / 14:07
1
answer

Inconsistency with Calendar.dateComponents in swift

I have the variable fecha that when doing print shows per console: 2016-11-20 23:00:00 +0000 The problem is that when you do this: let auxCalendar = calendar.dateComponents([.weekday, .day, .weekdayOrdinal, .month], fro...
asked on 21.11.2016 / 10:21
1
answer

Problem when doing massive load of events in the calendar ios

I'm trying to make a massive load of events in a calendar ios either locally or in gmail (The calendar is chosen by the user in the manner I describe in the following answer ) using objective-c . Adding an event with the functions I hav...
asked on 17.11.2016 / 17:05
1
answer

Get image of an external Url with Html2canvas

Dear: I do not know much canvas , but I tried to make a screnshoot of a web page through the URL . Is this possible with html2canvas ? since I have done it with other functions, but they do not allow me to capture the entire...
asked on 20.12.2016 / 22:27