I have the following HTML structure below. However, by clicking on one of the "items" the class (editing) is displayed for both elements. What should I do to make this happen only on the clicked item?
Editing:
Note: ng-click , is w...
I am doing scraping to extract .pdf files, and I need these files as an organized text, since for each line of text of the file there are 3 different columns.
For example in this file, you can see the 3 columns in question.
I can read...
I'm making a system where I can receive an image upload.
To check on the server if the file type is image, I thought of this code:
if (strpos($upload->getClientMimeType(), 'image') !== 0) {
throw new UploadException(
sprintf...
I'm trying to make a program, in Python, that returns a list with elements not common between two other lists. I made the following code:
def indice(a,b):
ind = []
for i in range (len(a)):
for w in range (len(b)):
i...
Good morning.
I have the CliTelCel char(10) column in the Clientes table, I need to change char(10) to char(11) . But this column already exists data, what would be the best way to proceed in this case, without losi...
I was optimizing a client site that insists on wanting to get a high score on PageSpeed Insights, and I'm having trouble "removing JavaScript and CSS blocking rendering in content above the edge."
Even after I'm minifying CSS, I'm still charg...
Assuming I have an array
let arr1 = [
{nome: 'Fulano', idade: 19},
{nome: 'Ciclano',idade: 20},
{nome: 'João', idade: 20},
{nome: 'Maria', idade: 30},
{nome: 'Teste', idade: 52}
]
I have another
let arr2 =...
In Vue.js we can pass descendants to a component as follows:
<meu-componente>
<div>Um descendente</div>
<div>Outro descendente</div>
</meu-componente>
How does this work and what is the relationsh...
On a performance verification site I received the "Use CDN for all static assets" message for my JavaScript files.
What are CDNs and how to implement them?