Most voted questions
150,413 questions
Sort by count of
-
5
votes1
answer1324
viewsjava.lang.Classnotfoundexception error: "Caused by: java.lang.Classnotfoundexception: com.fasterxml.Jackson.core.type.Typereference
I am developing a Java, FX, Hibernate application and using log4j2 for my logs. When I run the application through the IDE (Eclipse) everything works normally, but when creating the . application…
-
5
votes1
answer70
viewsThe difference between * and *|*
Using * I will find all elements using CSS but recently found in some codes the use of *|* what the difference between them?
cssasked 8 years, 9 months ago Guilherme Lima 3,129 -
5
votes1
answer1654
viewsmacro to copy and paste
I have data in column "M", which are entered automatically, on an average of 70 rows per month, only it has empty cell ranges (the 12 months of the year are in column "M"). So I wanted to copy this…
-
5
votes1
answer842
viewsHow to Upload Multiple Files with Ajax?
I am trying to upload multiple files using ajax and came across the following problem, the beginning when I uploaded only one file it returned me in php the array $_FILES with the name of my file,…
-
5
votes3
answers2757
viewsDetect if a particular page opens within an IFRAME
I would like to know whether it is possible to detect the following situation: We have an intranet (from a board) that is loaded through a given address: http:Intr.abcdabcd.abc.br We have a global…
-
5
votes1
answer212
viewsHow to reset Progressbar without using effect?
I’m performing various imports, and when I perform upload of a new file I need to reset the progress, this I can set the width with 0px, however it Zera with an effect in which I would not like to…
-
5
votes1
answer188
viewsSend date by $_GET
I need to send a date by $_GET but I am not succeeding, what is the method to make this passage ? The shipment is like this:…
-
5
votes1
answer986
viewsIs loading PHP into JS a good practice?
I see quite often in some questions here Sopt some codes that have PHP variables within scripts in JS. Let’s assume the file below is index.php. <?php $var = "Me mostre"; ?> <script>…
-
5
votes2
answers764
viewsGraphic in Bars Char.js
Well personal I have a database query that returns an array of data. and wanted to put the values to be displayed on the chart in Bars. I tried this but with values coming from vector the graph does…
-
5
votes3
answers1803
viewsTables/Temporary content in the database?
Situation I am wanting to manage a process using the resources that database offer, as INSERT, UPDATE, DELETE. However all this process is temporary, that is, I have to generate tables and data that…
-
5
votes1
answer436
viewsHow do I make tables smaller from a data.frame in R?
I have a table in data frame, with 100 animals, but with 500 observations of various characteristics. as I do to have subtabels, with only the animals and the characteristic x, where q should show…
-
5
votes1
answer8292
viewsHow to discover the original encoding of a filename (or any string)?
I have a number of files that seem to have been generated on different operating systems, because the character encoding of their names seems to vary between them. There are names whose accents…
character-encodingasked 8 years, 9 months ago bfavaretto 64,705 -
5
votes1
answer2818
viewsHow to make a payment system via boleto?
I’m developing an online store and I’m having a lot of questions, but the main one is: How to make a payment system via boleto? It is nothing more than a system that generates a valid ticket, as the…
-
5
votes2
answers1020
viewsHow does the pagination with PHP + AJAX occur?
I was browsing the site looking for a functional example of paging with AJAX + PHP, when I found this example Excuse my ignorance, but the 'asynchronous loading' of AJAX causes me doubts.. However,…
-
5
votes2
answers6432
viewsHow to enable and disable links successively?
I have five links, and initially only the first link is enabled. When this first link is clicked, I want it to auto-disable and enable the next, that is, the second link, and when the second is…
-
5
votes1
answer5487
viewsModal occupy full screen
I have the following Modal and I want it to occupy the whole screen / or most of the screen: <div class="modal fade" id="treinamentos" tabindex="-1" role="dialog" aria-labelledby="alterarLabel"…
-
5
votes3
answers5900
viewsHow do I make a program written in python open with two click’s made one executable?
An example: #!/usr/bin/python3 # coding: utf-8 # window.py from gi.repository import Gtk class App(Gtk.Window): def __init__(self): super(Gtk.Window, self).__init__(title='Hello World')…
-
5
votes1
answer4125
viewsLatex - Quote from natbib without brackets
I wish that, in some places, the command " citep{XX}" makes the reference in the format [XX] and in others appears only XX. XX is the reference number (1, 2, 3, ....). Package definition:…
-
5
votes2
answers388
viewsWill Websql really be discontinued?
I’m having a lot of problems trying to run a program developed in HTML 5, Javascript, Ajax, JSON, Indexeddb, Mysql, PHP, along with the Intel XDK IDE. The program is quite simple it captures…
-
5
votes1
answer426
viewsWarning compared between floats how to proceed
In an exercise I did, you are asked to make a compound interest calculation with for for the values of 5%, 6%, 7%, 8%, 9%, and 10%. As I could not use a check per counter being the counter a type…
-
5
votes1
answer776
viewsHow to keep the url fixed?
I’m using the mod_rewrite to rewrite the url, but I would like to leave it fixed, example: www.meusite.com.br/index.html www.meusite.com.br/produtos.html www.meusite.com.br/contato.html Ficar…
-
5
votes1
answer186
viewsPerform random SELECT
I have a table where I always want to show a single record randomly. I’m doing like this: SELECT `id` FROM `tabela` ORDER BY RAND() LIMIT 1 I see that in this way the same records repeat a lot,…
-
5
votes2
answers731
viewsSQL - Double UPDATE with double Where
Next, it is possible to make two update-where together in the same consultation? I will explain, what I wanted to do is the following: UPDATE usuarios SET nome = "Matheus Silva" WHERE id = 1 AND…
-
5
votes1
answer305
viewsMonetize Unity 5 games on Windows Phone 8.X
How do I display ads in my game made on Unity 5 to the platform of Windows Phone 8.X?
-
5
votes2
answers3726
viewsHow to overload method in javascript?
Personal how to manage to emulate overload of methods in javascript? I know that some programmers can, for example, I will use Gulp. Gulp has the method .task: var gulp = require('gulp');…
javascriptasked 8 years, 9 months ago user155542 141 -
5
votes1
answer286
viewsSQL Injection with PHP + Sqlserver
How can I prevent SQL Injection from input via POST using PHP + Sqlserver. (Using Microsoft SQL Server => mmsql) I’m doing the data abstraction of a comic that runs MYSQLI and in this case is…
-
5
votes2
answers64
viewsSELECT returning data not seen by a particular user
I’m having a hard time putting together Query I have 2 tables: video_visualizacoes with the fields visualizacao_id, video_id, conta_id (This field refers to the user who viewed the video)". videos…
-
5
votes1
answer86
viewsIn what situations use each prototype type in HTML elements?
In "prototypes" I have used several times the Element.prototype and the HTMLElement.prototype. I wanted to know what is each and what is the difference between them in example, if possible. Because…
-
5
votes2
answers168
viewsClause similar to Mysql LIMIT in MSSQL
I need to run the query below in PHP with SQL Server, however I cannot use the clause LIMIT absent in darlings microsoft. $SqlTabelaAtual="SELECT * FROM BusinessCadTabPreco RIGHT JOIN…
-
5
votes4
answers2494
viewsHow to join observations of tables that have a different set of variables in R?
In the case below id corresponds to observations contained in two different data frames, in df1 the observations have the variable x and in df2 the observations have x and z In these cases how to…
-
5
votes3
answers3107
viewsHow to send strings in the URL via JS or jQuery?
How do I turn a string, ex: minha string in minha+string to send to the URL? Can be in JS or jQuery
-
5
votes3
answers1304
viewsDownload HTML link from the bank
I am recording an address in the bank and with ajax I search it for display to the user. Provisionally, I am recording it in the input below: <tr> <td>Download:</td>…
-
5
votes4
answers9539
viewsHow to convert a string to date or date?
I have here the statements I need to convert from string to date, can help me? ObjAl.setDataEmissao(TxtDataEmissao.getText()); ObjAl.setDataNascimento(TxtDataNascimento.getText());…
-
5
votes4
answers334
viewsAdvantages of Inner Class
Since I started programming for Android (I believe due to Google examples), I have a habit of creating internal classes for functionalities related to Activity. Example: If the Activity connect to…
-
5
votes1
answer58870
viewsHow to know if a port is open or not on Linux
I have a PHP script that acts as a chat server (websocket) that I have on a given system. I realize that sometimes unexpectedly this service stops running. It runs through the command nohup. I am…
-
5
votes1
answer3875
viewsHow do I save an image to the database in Sqlite?
How do I save an image to Sqlite? I ask you to be as specific as possible because I don’t have much experience. In case I want to include a table row to save the image. import br.gestaoBd.Login;…
-
5
votes1
answer2133
viewsIdentify what is in the USB port
When a device is connected to a USB port, the operating system identifies the device. For example, on Windows, you can see which devices are connected to USB ports in Device Manager. I need to…
delphiasked 8 years, 9 months ago Oralista de Sistemas 23,115 -
5
votes5
answers10050
viewsRun script js when trying to close the window
I have a form that is a popup (overlapping div) <div class="bloco-newsletter" style="background-image: url(http://bhpump.izap.ws/plus/imggen/imageChangeColor/005873/bg-newsletter.png)">…
-
5
votes1
answer278
viewsThemes, Styles and support android Library
Hello since I started working with Android development, I have always had a hard time understanding how the part of Themes, styles and libs of support Android, I always have a lot of difficulty for…
-
5
votes1
answer537
viewsHow to open a password protected Word document?
I can normally open a file .docx in Word using the desktop.open java, but there is a case where I need to open the document that is password protected and Word opens asking for it. Is there any way…
-
5
votes1
answer741
viewsSprite cut diagonally in Unity 5
I created a game in Unity 5 (directly for Android) (following the following tutorial) but when I run it on Android the Sprites are cut diagonally as the photo below: OBS: Unity 5 Environment Testing…
-
5
votes1
answer68
viewsComplex type can have Entity Type property?
I have a class Address that is Complex Type. She can own a state property that’s a Entity Type? Class code: public class Endereco { ... public string Logradouro { get; set; } public Estado Estado {…
-
5
votes2
answers604
viewsRelationship on-to-one in auxiliary table using Laravel
In the application I am working the database is built on the part of users, as follows: user 1 -------> 1 user_address 1 <-------- 1 address In the user table there is no column referencing…
-
5
votes1
answer137
viewsRemove zero column from an array
I have a three-dimensional array and within that array there is another array of zeros and I want to remove it from the larger array. For example, set.seed(1) a = rnorm(60) b = array(a, dim = c(10,…
rasked 8 years, 10 months ago Wagner Jorge 1,377 -
5
votes2
answers351
viewsUpdate data using LINQ
I read that LINQ should be used for queries, but in the context below, the best way I found to update was by using the let. var produtos = from o in orcItens join p in Produtos on o.Id equals p.Id…
-
5
votes1
answer1532
viewsHow to calculate months of a year from a decimal number?
#include <stdio.h> #include <stdlib.h> int main() { printf("\tPrograma para saber quanto demora a tornar-se génio!\n\n"); float tempo(int horas); float converter(float x); int num_horas;…
-
5
votes3
answers825
viewsMake the page refresh and the message appear next
Hello, How do I send a contact form for example, refresh the page and display the sending message? Code: Javascript: function showAlert(type, message) { if (message !== '') { if (type === '') { type…
-
5
votes3
answers2208
viewsAligns navbar bootstrap text vertically
I’m using in my project two navbar and I’m having a problem aligning the text of the first menu vertically, I tried to create a structure to change but did not succeed, what I have is this: First…
cssasked 8 years, 10 months ago adventistapr 5,498 -
5
votes3
answers7208
viewsHow to select Digital User Certificate in Web Applications?
I am developing a project in ASP.NET MVC5 to make manifestation of electronic invoices. During the process of searching notes, manifestation or download, I access the Internal Revenue Service and…
-
5
votes1
answer6047
viewsWhat causes the 'System.Nullreferenceexception'?
Time or other the execution of my systems are interrupted by this error, when it happens, a if(atributo != null) It usually does, but it pollutes the code, "Oh, but this variable needs to have a…