Interesting questions
-
3
votes2
answers397
viewsIncrease an index to a certain number and then decrease until reset with jquery
How can I make a script in jquery to increase an index to a certain number and then decrease one by one until zero. I’m doing it the following way to increase but I would like that when it reached…
-
-1
votes2
answers365
viewsfilter_input GET
I need to recover the value of GET to perform an insertion in the bank through the post method, but when calling the function through Submit, "Call Stack". Code <?php session_start();…
-
1
votes2
answers638
viewsjQuery Mask does not work on elements created dynamically
I’m using the jQuery Mask to format currency in a form, and in this form it is possible to add several values dynamically and for this I duplicate the div that contains the input, only when…
-
0
votes1
answer38
viewsIt is possible to request a specific file for the user
I want to get a special file from the user. It has how to put the name of this file as type in Intent? For an image for example, use: Intent intent = new Intent(Intent.ACTION_PICK)…
-
0
votes1
answer135
viewsHow to prevent a link from working on a child element? (jQuery)
Imagine the following code below: <a id="link" href="/nova_pagina.php"> <div id="abrir-nova-pagina" >Linha_1</div> <div id="nao-abrir-nova-pagina" >Linha_2</div>…
-
0
votes0
answers133
viewsOptimize code with prime numbers
I have the following problem: I need a program that receives an even positive number and forms a "training wheel" with these numbers, so that: All numbers from 1 to n are used in the circle only…
-
0
votes1
answer175
viewsPython only reads the last word of my Wordlist
I’m starting in python and I picked up an educational script from bruteforce. However, when the script reads the Wordlist passwords and users, it only takes the last record and ignores all the…
pythonasked 6 years, 8 months ago Daniel de Aguiar 11 -
0
votes2
answers761
viewsFirebird - Select to join two or more lines
I have a table with the following structure: Cliente_id | credito | debito | pedido 1 100 1 1 150 1 1 30 1 2 200 2 2 180 2 How to make a Select that the result is similar to the below? Cliente_id |…
-
1
votes1
answer102
viewsThe images do not appear in the Mail inbox. Laravel 5.4
There is a contact form where the user sends a message to the system and the system automatically sends a message thanking his contact and along with the message I send the most viewed articles.…
-
1
votes1
answer1034
viewsHow to delete records automatically with postgresql?
Recently manage to catch a project that is a blog, the user will perform the posts of various news, however I am using the server Heroku with the free account that entitles there are only 512 Megas…
-
0
votes1
answer314
viewsAvoiding dump for Mysql users
For a specific Mysql user, there is a way to block it from doing the Data Export (DUMP) of a specific table, or of the entire database? I couldn’t find a solution... How you handle it? Thank you!…
-
0
votes2
answers440
viewsI don’t appear as a collaborator on a project I’m part of in Git
I’m doing a job for a discipline with my colleagues. I can pull and commit, however, I don’t show up as a contributor to the project, not showing my chart.My colleagues can only see that I did…
-
1
votes0
answers73
viewsWhat’s wrong with the CSS that makes the two Sos act weird?
I’m trying to solve a layout misalignment problem, which in Windows 10, with the latest Chrome it changes the padding from the height of a button. This button looks right on Mac OS Mojave, using the…
-
3
votes2
answers1697
viewsRemove element from a chained list
I am implementing a chained list of type "with head". It follows struct referring to the list and its creation in main() struct lista{ int info; struct lista *prox; }; typedef struct lista Lista;…
-
33
votes2
answers29427
viewsGit warning: LF will be replaced by CRLF
I created a file called tests.html inside a folder. After typing: git add tests.html Message appeared: Warning: LF will be replaced by CRLF in testes.html The file will have its original line…
gitasked 11 years, 11 months ago Van Ribeiro 1,482 -
1
votes1
answer732
viewsSend angular form
Good I’m sending a form via angular, but the data is not getting updated in the backend? <form [formGroup]="categoriaForm" (ngSubmit)="salvarCategoria()"> <tr *ngFor="let data of config;…
-
3
votes1
answer202
viewsWp_query, How to sort the meta_query in the order of an array?
I’m developing a system where I have a Deck presentation. I have a field that picks up the post by the suit of the type copas being within the array specification meta_value, and would like it to be…
-
-3
votes1
answer75
viewsIs there any way to improve the performance of this code?
I have already found the resolution of this issue and all the results are in line with what the question asks, but I think the solution is a little slow, because it is giving Time limit exceeded…
casked 8 years, 10 months ago rafael marques 939 -
0
votes2
answers823
viewsExtracting Data with Beautiful Python Soup
I made a Python script to access the TJ-SP website to do a certain search and make a Web Scraping with the search result. this is the HTML: i want to pick up the text that is contained in that tag:…
-
0
votes0
answers23
viewsAuthentication with jwt
I have a function to protect the route. Use as follows const authMiddleware = async (req, res, next) => { const token = req.header('Authorization')?.replace('Bearer ', '') if(!token) return…