All Questions

4
answers

How to duplicate the elements of a list excluding extremes in python

I have the following lists in python lista_x = [2,3,4,5] lista_y = [6,7,8,9] I try to replicate the current element (excluding the extremes) to the next position. So get something similar to this: lista_x = [2,3,3,4,4,5] lista_y = [6,7,7,...
asked on 26.09.2016 / 00:48
1
answer

Structure on Threads in Java Swing

I make my first consultation available and in advance I appreciate the future answers. To start I have a form that contains 2 jcombobox : jcbSerie and jcbPartido . The form integrates Runnable() In the form varia...
asked on 24.05.2018 / 16:37
1
answer

AdMob changes the activity in android app

I would like to ask you the reason for my problem. I have many activities, 2 of them are: the main one and the activity of the game. I am using AdMob, it works well for me in other activities, the problem I have is that when I try to use it in a...
asked on 22.12.2015 / 01:02
3
answers

Is it safe to return?

Why is it safe to return string2? at the end of the function the stack frame would not be overwritten? I have seen that many compilers save the literal "hello" in a memory-only zone, which is why it is safe to return string2 without the stack fr...
asked on 08.05.2018 / 21:56
4
answers

Private methods in Javascript classes

My question is how to define private methods in javascript classes so that they can not be accessed directly. class User { constructor(name, password, email) { this.name = name; this.password = password; this.email = e...
asked on 08.02.2017 / 17:38
3
answers

How to join two html pages without using iframe

The idea is that if I have two HTML pages I can join them, and I can call their methods and the DOM between both pages, without using a controller like PHP Example: pagina1.html <!DOCTYPE html> <html> <head>...
asked on 27.04.2017 / 14:55
2
answers

Header error - Warning: Can not modify header information - headers already sent

This is the error:    Warning: Can not modify header information - headers already sent by (output started at C: \ xampp \ htdocs \ newop \ template \ header.php: 80) in C: \ xampp \ htdocs \ newop \ mainindex.php on line 16 Line 80 of th...
asked on 09.11.2016 / 10:42
3
answers

Delete an element from an array

Is there an easy way to remove an element from a PHP array, such that foreach ($array) does not include that element anymore? I thought that nullifying it would do it, but apparently not.     
asked on 02.04.2017 / 17:30
2
answers

Progress bar css

I'm making a simple progress bar using <progress> , but I have an error when I add animation, it's still long and it does not respect the width: 100px; progress { border: none; border-radius: 2rem; width: 100%; hei...
asked on 17.10.2018 / 06:23
2
answers

Remove TextBox C Cursor

When a textBox takes the focus A flickering bar appears ... How can I make it so that it does not show up?     
asked on 13.04.2017 / 18:36