Most voted questions
150,413 questions
Sort by count of
-
4
votes2
answers1152
viewsHow to redirect Css to only one Div
I’m creating a website where I need to use a unique css file for the div responsible to display the services performed on it. The problem is that this css file is downloaded from somewhere else, and…
-
4
votes2
answers206
viewsScatter charts fixing a response variable
Suppose I have an interest in the dataset iris, already present in the memory of R: head(iris) Sepal.Length Sepal.Width Petal.Length Petal.Width Species 1 5.1 3.5 1.4 0.2 setosa 2 4.9 3.0 1.4 0.2…
-
4
votes3
answers1052
viewsHow to filter a list type Ienumerable<> through another Ienumerable<>?
How to filter a type list IEnumerable<> passing a parameter of type IEnumerable<> preferably via expression lambda or linq? Based on the filter below I expect this result: {MundoId = 0,…
-
4
votes2
answers279
viewsIs there a difference in how polymorphism is applied in Java and C# ?
I’m studying the concepts of POO and generated me a doubt. In Java I believe I can access all methods and attributes declared as public in a subclass even when using a superclass type variable to…
-
4
votes1
answer291
viewsPDO shows no errors
My connection code shows no errors, what’s the problem, I searched several places and found nothing about it: class Connect { protected static $db; public function __construct() {} public static…
-
4
votes1
answer152
viewsBean and Annotations with Generics, how to do?
I am in a project with Spring 4 configuring the Redis and a construction like this has emerged: @Configuration @ComponentScan({"com.empresa.sistema.web.util"}) public class RedisConfig { @Bean…
-
4
votes1
answer1215
viewsHow to change the background of a button when clicked?
I need to change the background of a button when clicked. Here’s the code I tried: private Button btn; private int colorFlag = 0; @Override protected void onCreate(Bundle savedInstanceState) {…
-
4
votes1
answer1661
viewsRedirect HTTP to HTTPS on . htaccess with Let’s Encrypt
I cannot in any way test whether my address is in https when Let’s Encrypt is installed... Some charitable soul could help me redirect to https? I have installed in my hosting Uolhost (Platform:…
-
4
votes1
answer1394
viewsMany-To-Many Relationship Mapping - EF Core - C#
I’ve tried mapping a three-class relationship, but I’m getting it. I have a class Person who represents any Person, an Employee, a Customer, a Supplier, in short, any type of Person, be it physical…
-
4
votes1
answer746
viewsLoop in json that returns all records
I’m developing a system, in it I do a search with ajax and it returns a json with the bank records, but I couldn’t draw up a loop in the PHP so that the json could return all records. Below follows…
-
4
votes3
answers846
viewsStay in the same tab after Refresh
I am developing a website in jQuery. And so far I have created a simple menu with content to appear within Divs. Menu <ul class="menu" id="menu"> <li…
-
4
votes1
answer236
viewsWhat are the differences between Adodb and PDO?
What are the differences between Adodb and PDO? Which one has the best performance?
-
4
votes1
answer2601
viewsWhat is the difference between Show(), Showdialog() and Application.Run()?
I read something about modal but did not understand, someone could explain?
-
4
votes3
answers2418
viewsHow to make a rectangle of asterisks using for?
To solve this exercise: Write a program that prints a rectangle of n x m asterisks, in the which values of n and m are provided by the user. For example, for values of n = 5 and m = 7, the expected…
-
4
votes2
answers1256
viewshow to read the return variables using json Curl and php
My problem refers to integration with Cielo and I’ve reviewed everything, but without success. I read this post: /questions/54039/na-api-da-cielo-em-php "I understood" what I said in the post and I…
-
4
votes2
answers728
viewsField size takes total defined value?
If the maximum size of a field of type VARCHAR is 65535 (ocupa 65KB), it will always take up a space of 65KB in the database for each line even if I put less text in it? EXAMPLE: a field…
-
4
votes1
answer18492
viewsCannot read Property 'addeventlistener' of null
I’m trying to use in my project the scrollleft with the button, it works normal on jsfiddle But when I put in my project it returns me this error: Uncaught Typeerror: Cannot read Property…
javascriptasked 7 years, 5 months ago Mariana 2,512 -
4
votes2
answers249
viewsWhat’s the difference between Http Requests and Request App
What difference in Laravel, to use use App\Http\Requests for use Request?
-
4
votes1
answer270
viewsModifications in Jfreechart
I would like to know, how can I change the colors of the "slices" of the graph and the font where the content and percentage are written. Is it possible? at least the colors. package grafico; import…
-
4
votes2
answers2414
viewsPure Javascript add class function [can’t be left 2015/2016]
Good morning to all. I made an effect in which I click on a div and swap the image with css animation effect. In this case, I used jquery addClass/toggleClass (I used the 2). But I wanted to make a…
-
4
votes1
answer3003
viewsPrint contents of the HTML page
I would like to print a page of this format But when I print it is in this format I have a function in JS, but do not know how to solve this formatting problem CODE <!DOCTYPE html> <html…
-
4
votes1
answer1524
viewsWhat is seeder and Migration?
When it comes to database updating in a project, I always understand the term Migrations being used to keep the bank update among those involved in a particular project. I’ve also come across the…
-
4
votes1
answer2112
viewsApache how to redirect port?
How do I redirect my standard apache website which is at port 80 to a web service at port 8080? Utilizo Centos 7
apacheasked 7 years, 5 months ago Igor Santana 651 -
4
votes1
answer3070
viewsPass Jquery variable to PHP
I’m with this script that brings user geolocation: (function() { if(!!navigator.geolocation) { var map; var mapOptions = { }; map = new google.maps.Map(document.getElementById('google_canvas'),…
-
4
votes1
answer156
viewsWhat is the possibility of finding a particular 192-character string in 10 minutes?
I’m reinforcing an authentication system, where in the password recovery part, I implemented it as follows. The user informs the e-mail address. If it exists, the e-mail is sent (see example below).…
-
4
votes3
answers6177
viewsDate Mask in Edittext
How to put date mask on EditText android, so that stay dd/mm/aaaa ?
-
4
votes1
answer89
viewsSelect data from df according to data from a list
Dear(as) as given below: nr <- c(100:199) dt <- rep("data",100) x <- data.frame(nr,dt) y <- c(110:115) I need to get,the common numbers between the first column of the date.frame x and…
-
4
votes2
answers159
viewsWhat’s the point of continuing flow control?
I found this code explaining the flow control continue. string [] nomes = new string[] { "Macoratti", "Miriam", "Pedro"}; foreach (string nome in nomes) { if (nome == "Miriam") continue;…
-
4
votes1
answer58
viewsDifference in EF exclusion forms
I want to know, what is the difference (if any) in the form of exclusion using the RU db.Contexto.Remove(objeto); db.SaveChanges(); And using the EntityState.Deleted; Db.Entry(objeto).State =…
-
4
votes5
answers1088
viewsDigits in a java string
How do I find out how many digits a java string has ? For example, user entered with "exemplo123", the string has 3 digits. I’m using this function but it’s not working: private static int…
-
4
votes1
answer253
viewsDoes AJAX requests work on Webview?
I got the following WebView: WebView myWebView = (WebView) findViewById(R.id.webview); myWebView.getSettings().setJavaScriptEnabled(true); myWebView.getSettings().setBuiltInZoomControls(true);…
-
4
votes2
answers588
viewsHow to open the Mainpage.axml of a Xamarin Project in Designer mode?
So, I recently downloaded Visual Studio 2017 and came across the Cross-platform Application (Xamarim.Forms or Native), when I create it 4 projects are generated. The App1; App1.Droid; App1.IOS;…
-
4
votes1
answer2365
viewsHow to get tomorrow’s date with Javascript?
Hello. I have that code: var datas = new Date(); console.log(datas.toLocaleDateString()); He returns to me: 22/05/2017 Is there any way to make him always return with an extra day? like this:…
-
4
votes4
answers1488
viewsHow to do <li><div class="class" onclick="window.Location='link';"></div> open in new tab?
I’m trying to open a link in div in a new tab, but target="_blank" is not working. Eu queria abrir o link numa nova aba. <li> <div class="clientes" target="_blank"…
htmlasked 7 years, 5 months ago Daniel Barreleiro 41 -
4
votes1
answer539
viewsWhat’s the difference when you use Inary in the Where clause?
What is Binary and what he does? What is the difference generated when using the Binary in a query in the Mysql and when it does not use the Binary? SELECT email, senha from login WHERE usuario = ?…
-
4
votes1
answer836
viewsSQL Server Composite Key
I have the following situation: I have a table ItensVendas where I need to apply a composite key to the fields VendedorId and ProdutoId, however I have some duplicated data, ie I can not apply the…
-
4
votes2
answers2259
viewsFormat output Excel - Python
I turn a list into a Dataframe and send it to an Excel, it’s working fine. Follow the code: Df = pd.DataFrame(Lista, columns = colunas_geradas) writer = pd.ExcelWriter('Exemplo.xlsx', engine =…
-
4
votes3
answers2830
viewsLoop of repetition in Assembly
How can I do a repeat a certain number of times in Assembly (no MIPS)? Example in pseudocode, assuming the variable registrador be a registrar that I want to receive all numbers from 1 to 6 (one at…
-
4
votes1
answer1777
viewsConcept of Angular System
Well, I started studying Angular (2 and 4) and I was a little lost in a few moments, the "Component" so cited as something essential confuses me a lot. After all what the concept or what is a…
-
4
votes2
answers1349
viewsHow to convert a nullable int to common int
I have a method that gets an integer that can be null, if it happens some executions of methods, but when I will use the same variable in a place that uses int which cannot be null, it appears that…
-
4
votes1
answer1092
viewsDownload Javascript Array on a Combobox
I would like help in this small problem, I have to do a combobox shows 5 states being loaded by an array in javascript, my code is like this. HTML <select > <option…
-
4
votes1
answer866
viewsAutomatic Logon in SAP Bexanalyzer by Vbaproject
(UPDATED) In excel I have a supplement that gives access to the BI system, to access / stratify data in a query already specified / structured. In my Vbaproject I am referencing the Add-in to call…
-
4
votes1
answer106
viewsPython connection Webhook problem
I have a doubt in my code. I am using an example code and tried to apply to create a json template on the local machine. Follow what is working. It is located [at this link](…
-
4
votes2
answers57
viewsWhat function do I use to return or show all the equal numbers in a list of 20 numbers?
n = [] for i in range(20): n.append(int(input("Digite o número: ")))
-
4
votes0
answers44
viewsPart of my code doesn’t seem to pass through Babel before arriving at Uglify
I’m not managing to generate the production build of my application with Laravel Mix. When trying to generate the build npm tells me there was an error trying to run Uglifyjs: /js/app.js from…
-
4
votes3
answers1815
viewsHow to start a range from 1
I wish on the part of input("Put student’s note " + str(notes) + ":" ) the computer ask "Enter student’s grade 1: " and not starting from 0, how to do this with the range function? Code below.…
-
4
votes1
answer65
viewsHow to calculate the time of a LINQ query?
I have a table with +- 900mil records. I make some queries using clauses where and I want to see the time difference between them. How do I show time in one label at the end of the consultation?…
c#asked 7 years, 5 months ago Italo Rodrigo 4,344 -
4
votes1
answer5675
viewsWhat is "overlay" and what is its connection to memory?
My college professor was talking about the term overlay in relation to memory. I was confused about this term. I’d like to know what it is overlay and what connection it has with memory?…
-
4
votes1
answer2968
viewsSantander Boleto Registered via XML
I’m trying to migrate the system to the registered tickets of Santander. I finally got today to send me the manual 2017. 1 - When I try to access the link to generate ticket it warns "403 Forbidden"…
-
4
votes1
answer301
viewsHow to make an element disappear after used?
How to make an element disappear after used for example : When you click on a button it disappears and appears something like a Listbox? Ps1 : If the question is confused warn Ps2 : If you can tell…