All Questions

3
answers

Problem with Css FlexBox the content does not cover 100%

Good afternoon I hope you can help me. I'm doing a simple layout with Flexbox but I can not get the "content" to cover 100% of the available space, the structure is simple: Menu Content Pie It is important to emphasize that the "Menu"...
asked on 09.02.2017 / 19:26
2
answers

Separate text with commas, except in quotes, with regular expressions

I have a string, which I need to separate by comma, except that the comma is in quotes. In my code, it separates me by a comma, but it also separates the comma that is inside the quote. package testSplit; import java.util.StringTokenizer;...
asked on 26.04.2017 / 04:15
2
answers

Can I prevent my app from taking the font of the operating system in android studio?

What happens is that if the user changes the source of his device, he also changes the source of my app. Can you avoid this? This is the textview that I want to put, but when I simulate it in my phone, the font appears different, and this is...
asked on 25.10.2018 / 19:17
2
answers

Difference of putting two classes in css together or separately in a statement

I'm a graphic designer, and I've spent some time studying html and css and then jump to js . When studying css classes I was assaulted by a doubt: .prueba.grande { font-size: 30px; } .cuerpo .mayusculas { text-trans...
asked on 04.04.2017 / 18:42
4
answers

Event onclick does not respond

I'm trying to execute this code: <style type="text/css"> #boton{ width: 50px; height: 30px; display: block; margin:30px; } img{ width: 300px;...
asked on 24.04.2017 / 17:03
1
answer

RegExp option to not enter special characters

I want to create a function which does not allow updating a record if it has special characters. This is the way I'm doing it. I use a RexExp and I enter the characters: onItemUpdating: function(args) { var grupo_promocion; v...
asked on 18.04.2017 / 23:16
1
answer

(Overloading) - Overload Operators in Python

How can I overload the (+, -, *, /, ... , //) operators on an object in python. Example: a = Vector(3, 5) b = Vector(2, 7) print(a + b) # Output: <Vector (5.000000, 12.000000)> print(b - a) # Output: <Vector (-1.000000,...
asked on 12.08.2018 / 02:38
1
answer

JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 13 of the JSON data

I have a problem with receiving a JSON file from a PHP to a Jquery:    SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 13 of the JSON data In my PHP I have: <?php if(isset($_POST['id_part...
asked on 09.08.2018 / 11:23
2
answers

How can I add hours and minutes?

What I'm looking for is a button that when I click on it, I add the hours and minutes of each record and its total appears in a field, this script is only doing the query of the hours but I do not know how to add them. <?php echo "<b...
asked on 28.05.2018 / 15:06
1
answer

what does a ratio of 1 to many mean? [closed]

I have a question. in the design of a database, in the entity-relation part, which means or for what it is worth saying that it is a relation of 1: M M: 1 N: M     
asked on 27.05.2018 / 05:43