Interesting questions
-
0
votes1
answer23935
viewsWidth/size Bootstrap buttons
Hello, to you all! How could I put all buttons on a group of Bootstrap buttons of the same width independent of content and still remain responsive. For example I have a group of buttons: A B NA,…
-
0
votes0
answers39
viewsI would like to iterate on a Beautiful Soup object, but at the end it gives an error in find() because it is a list. How could I solve this error?
import requests from bs4 import BeautifulSoup import pandas as pd def get_object(url): soup = BeautifulSoup(requests.get(url).content,'html.parser') return…
-
0
votes1
answer65
viewsLimit google Translate API - Javascript
I put the Google Translation Api on my website, I would like to know how to force it to translate specific elements, or to force it not to translate some element, because on the website it contains…
javascriptasked 6 years, 1 month ago Gustavo Lopes 3 -
0
votes1
answer91
viewsI set the WPS Hide login wrong. How to resolve?
I installed the plugin wps Hide login and after installed I just activated it, did not change any configuration, opened a new tab and tried to enter the default url of wordpress which is wp-admin,…
wordpressasked 6 years, 1 month ago Leandro Batista 3 -
3
votes3
answers117
viewsHow to identify output status in a bash program?
I have a bash that runs a series of scripts in other languages. When I step from one script to another I use the first form of conditional (&&) which I understand as "run the next script if…
-
2
votes0
answers32
viewsRecoding factors from the relative frequency of levels and the mean value of a continuous variable
I have a dataframe with several variables of the type factors that I need to recode. An example of my data is the following: structure(list(ID = 1:100, faixa_etaria = structure(c(2L, 7L, 3L, 4L, 5L,…
-
0
votes1
answer325
viewsSort a list of objects by a string list
I’d like to serve Getall already brought the list of posts in order according to the list of Ids passed by the parameter module. Higlights List<Post> posts = new List<Post>(); var posts…
-
0
votes1
answer193
viewsLink does not work after <div> load
I’m making a login, using Ajax to send the data to a PHP page, which returns with the answer if the login has been validated or not. If it is ok, I update a <div> with the user data logged in…
-
1
votes1
answer179
viewsTransform Sql command into LAMBDA
I’m learning a little about LAMBDA and tried to convert this query into LAMBDA, but I stopped. I have 2 classes: public class Voo { public string idVoo {get;set;} public DateTime dtVoo {get;set;}…
-
1
votes1
answer20
viewsWhy declare the timeout ID outside the callback of the mocking function?
This is a function that prints in the console what I type in the input. I would like to understand why, when I declare the ID of the setTimeout (in that case called time) outside the function, it…
-
-1
votes1
answer24
viewsReport display by customer input value
I want it to show me the amount the customer enters in the quantity field. HTML code: <style> header form input { display: block; margin-top:10px; } </style> <header> <form…
phpasked 7 years, 5 months ago EuSou Noob 7 -
-2
votes3
answers43
viewsHow to Cast Another Class in PHP
good afternoon, I am starting now to develop in POO in PHP, and I came across a problem, I need to make a variable of one class is the type of other, how can I do? Below is the model, I’m trying to…
-
1
votes0
answers68
viewsHow to calculate the values of a function in an entire range when only the values in the integers are known?
someone can help me, please? I’m trying to write a function in Python (I use 3) that implements the following code that is in Mathematica:…
-
0
votes1
answer16
viewsSend data from one Activity to another
Good afternoon, I’ve been trying to pass an Edittext from one Activity to another, but I’m not getting it. Activity A. listaViewLivros.setOnItemClickListener(new AdapterView.OnItemClickListener() {…
-
1
votes1
answer954
viewsArchive *.CSV with UTF-8
I created a process that takes the content of a given web page filters what is needed and generates a file *.csv of this content, you work correctly but words that have some accentuation end up…
-
0
votes1
answer38
viewsError 404 while running jersey on apache tom-cat
I’m using jersey more every time I run error: 404 in apache tom-cat. package br.com.gomes.LojaDeVendas.util; import javax.ws.rs.ApplicationPath; // chamando o pacote do service import…
-
0
votes0
answers40
viewsDraggable in jquery with multiple elements
I am developing an accordion that each item will receive a list of accordion. To dynamically sort the items of each accordion, I’m using jquery draggable. For the first accordion list jquery works…
jqueryasked 11 years, 4 months ago user3202066 1 -
0
votes0
answers49
viewsError when trying to insert data from a mixed table
I’m starting an MVC project and I’m having a problem that I can’t fix. [Table("InfoGeralEmpresa")] public class InfoGeralEmpresa { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage",…
-
0
votes1
answer25
viewserror with Insert and mysql
I have the following method: public byte[] CarregarArquivoImagem( Int64 idVenda,string nomeArquivo, string caminhoArquivo, int ImagemTamanhoMaximo) { string query = null; MySqlDataReader reader;…
-
-1
votes2
answers147
viewsPass values to 99 fields in a loop
I would like to pass values to 99 fields in one loop; For example: for(int i=1; i<= 99 ; i++) { nomedocampo + "i" = "valorqualquer"; }