All Questions

2
answers

How to randomly select in python itertools.product

I would like to be able to do the following: Combinaciones = itertols.product('abcd',repeat=5) Here is where I would like you to select at random and go eliminating each time you choose not to step on it again: for i in combinaciones   ...
asked on 16.05.2017 / 14:46
1
answer

Make DataGridView Auto-Height according to the Rows

I need to be able to accommodate the height of FORM or DataGridView based on the amount of data / rows that were filled in DataGrid . This taking into account what cases there are four rows, and others that there are o...
asked on 16.05.2017 / 15:49
1
answer

chrome.windows.create

I try to create a popup window from an addon, but the Google documentation seems insufficient. Code: var opciones ={ 'url': url, 'width':400, 'height':300, 'type': 'popup' }; chrome.windows.create(opciones, function(windo...
asked on 11.05.2017 / 15:18
3
answers

Equivalent in C # ClassT of java

In Java, I can declare a generic T and that a method receives as an argument the class to which the generic belongs. For example: protected static <T> T hacerAccion (Class<T> respuesta) { //implementación... } What wo...
asked on 11.05.2017 / 21:15
1
answer

Error: unknown type name

The error would give in the use as a parameter in the two methods of the character. They use the Flag Type, saying that they do not know that type. #ifndef __PERSONAJE_H #define __PERSONAJE_H #include <stdlib.h> #include...
asked on 13.05.2017 / 12:51
1
answer

Libraries in Android Studio

I have a problem when I want to start a project from another computer. And the two PC's have the same version of ANDROID 2.2 RC just in case, but it only happens with my pc, try another and without problems. And I have the same version. Erro...
asked on 05.09.2016 / 03:10
2
answers

How to fill an array from another activity?

Good to all, I want to know how I can fill an array of objects from another activity send the information, and see it in another activity when it is executed. The idea is like a product selection, I have created a producer class, an adapter e...
asked on 11.05.2017 / 17:46
1
answer

How can I occupy JavaScript collapse repeatedly?

I have a problem with this function since it does not allow me to use it more than twice, that is to say the button if it appears in all my options but when pressing another button only the information of the first one is moved, I am very new pr...
asked on 17.05.2017 / 16:38
1
answer

Problems with passing parameters with GET in Volley [closed]

Who knows in the case of a GET request include the HasMap () of the paramenters? Well with the overwrite of getParams () it works for POST but not for GET. Any suggestions are appreciated. Greetings     
asked on 04.07.2016 / 23:30
1
answer

Slider with text in JavaFX

I have a Slider with the months of the year: and I want it to be shown with text: What do I have to do?     
asked on 03.07.2016 / 20:39