All Questions

2
answers

Why does it mark me list index out of range?

Can someone tell me what error I have in my code if it is not too much trouble. def CreaLista(k): L = [] for i in range(k+1): L.append(0) return L def CountingSort(A,k): C=CreaLista(k) B=CreaLista(len(A)-1) for...
asked on 27.02.2017 / 08:01
2
answers

Laravel, Form is sent double

Good morning, I'm starting with laravel and I've created a login / registration system using Auth but I have a problem, I try to put the login and registration form on the same page and when I give "Logear" they send both the data of the first f...
asked on 29.07.2017 / 16:22
1
answer

Replace a comma with a comma in single quotes in a string [duplicate]

In a nutshell, what I need is to substitute a comma with a comma with a comma between two single quotes. The result you give me does not include single quotes so far. This is the JS code: var Cadena = "23,54,N21,98,BIT"; var inp...
asked on 31.03.2017 / 12:20
2
answers

Change a text using CSS

I need to change a text within a tag using CSS. I already try to do this: .course-media .quick-view .btn:before { display:true; content: ' Registrate ahora '; } But this nothing else adds a text before. Also try with after but add a...
asked on 16.08.2017 / 21:39
3
answers

Remove elements from an array with "filter" in javascript

I've done the following freeCodeCamp exercise. It involves eliminating elements of a array according to numbers received in parameter. In the call to the function destroyer a array appears and, as second and third paramet...
asked on 08.02.2017 / 12:56
2
answers

Error inserting in Mysql. There is already an open DataReader associated with this Connection which must be closed first

What I want is to make a simple INSERT in C #, but I get this error:    There is already an open DataReader associated with this Connection   which must be closed first. Code to be inserted: string QueryCon = "SELECT Id_Categoria...
asked on 23.03.2017 / 18:17
1
answer

Delete the last two characters of a sql server string

I use SQL Server 2000 and I have a table with a field rut of type VARCHAR (eg: '17045782-8' I need: '17045782') to which I have to remove the check digit and the hyphen. And I do not find it with substring(rut,0,x) since the...
asked on 24.03.2017 / 13:55
4
answers

Error java.lang.ArrayIndexOutOfBoundsException

It's something simple that I'm doing, I just try to ask for a size of a vector and then fill it in java. I wanted to do it as practice however at the time of running the program I showed error. I would like to know if someone could help me. This...
asked on 10.03.2018 / 02:58
2
answers

Styles Bootstrap

I'm doing a web app to which I want to incorporate bootstrap as well as custom styles. The problem is that I take the default bootstrap styles but not the custom ones I apply. For example: in the index.php I have a jumbotron, which I want to cus...
asked on 19.02.2018 / 14:07
1
answer

Remove blank spaces [duplicated]

I need the menu to occupy the entire width so that those edges are not visible in white and also at the top. What simple solution exists? .menu { display: flex; background: #333; } ul { margin-top: 0; margin-bottom: 0;...
asked on 21.03.2018 / 19:03