Most voted questions
150,413 questions
Sort by count of
-
5
votes4
answers1585
viewsHow to make a "Generic Trigger" in SQL Server?
Hello I have in my database in all tables the following fields Datetime Criadoem | Datetime Modificadoem I wonder if you have a way to make a generic Rigger to control these fields, because when…
-
5
votes3
answers457
viewsLock the window zoom
How can I block the window rise QDialog and QWidget? For example, in the Skype login window you cannot enlarge the window.
-
5
votes2
answers178
viewsAbsolute ordering by data returned from DB
In PHP I am making a query to my database using Mysql. In my database I have the table fotos_album and inside I have the name of the photo. I want to sort the table by field nome. We imagine that…
-
5
votes2
answers2110
viewsHow to index and search for files in Lucene
I am trying to generate a Java file indexer with the help of Lucene. I followed this guide from iMasters and tried to adapt to the version 4.7.0, the problem is that at some point the search is not…
-
5
votes2
answers541
viewsProblem with LEFT JOIN using Pentaho Kettle
There is a behavior with respect to JOIN that I cannot understand. I have two tables in these formats Table Doente ID_Doente Doente 1 Pedro 2 Paulo 3 Rui Table query ID_Consulta ID_Doente Tipo 1 2…
-
5
votes1
answer372
viewsHow to resize thumbnails generated by Uploadfy? ASP.NET c# MVC 4
Hello, I would like to know how to resize the thumbnails generated by jQuery Uploadfy plugins. As shown in the print below, it generates the thumbnails according to the actual size of the images, it…
-
5
votes2
answers351
viewsHow to recover from an Exception and send data from it?
I wonder if there is any way for when my system launches some kind of Exception it recovers only and sends me an email stating where it occurred and which Exception was launched!
-
5
votes3
answers16413
viewsRun function after some time
Hello, I have the following code (just studying): $('#test').hover(function(){ $('.box-one, .box-two, .box-three').hide();…
-
5
votes2
answers259
viewsRemoval of repeated values
I have two Vectors, each with coordinates (x,y). I need to reverse the second vector, getting with (y, x) and merging with the first, but I can’t get repeat in the first field, so I thought I’d use…
-
5
votes1
answer1421
viewsSimulation of TV Remote Control
I am developing a system where there should be the possibility of the user to interact with the program, pressing one or more numeric keys to change the display of multimedia contents (text, audio,…
javaasked 10 years, 7 months ago Augusto Cesar de Sá Nunes 83 -
5
votes3
answers5368
viewsHow to add an onBlur event without overwriting the original?
I have a code that’s basically like this: <input type="text" value="" onfocus="myFunction(this);" onblur="alert('1');"> <script> function myFunction(obj) { obj.onblur = function() {…
javascriptasked 10 years, 7 months ago Júlio Pradera 275 -
5
votes1
answer1988
viewsMultiple layouts in one Activity - how to use?
As in this passage: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.addcontact); imageButton01 = (ImageButton)…
-
5
votes4
answers3446
viewsJavascript function for zeros on the left with MVC 5
I have a loop inside my cshtml file. This loop has a variable i and I use it to compose a name according to her position in the loop, like txtNome1, txtNome2, txtNome3 and so on. I need to make the…
-
5
votes3
answers4187
views -
5
votes4
answers5885
viewsHow to smooth the font with CSS in Chrome?
I have a "crackle" font problem in Chrome, IE, it seems that the tips are pixelated. To help, I’m posting two images IE: Chrome: My CSS calling the source: @font-face { font-family: "Helvetica-nw";…
-
5
votes1
answer436
viewsProblem with ajax loading with Cakephp 2.x
My pages are uploaded via ajax and uploaded within div content. Where I take the url by the onclick event from the link, and then upload it. Calls made directly from the menu work normally, but when…
-
5
votes2
answers3379
viewsHow to avoid sending PHP requests in a row?
Well, the situation is that there are some forms on my website. These forms are programmed to trigger emails using the Phpmailer class. What happens is the following, if the page takes a little time…
-
5
votes2
answers473
viewsHow do I use echo in a query with Prepared statement?
I would like to know how to use echo in a query with Prepared statement, to be able to visualize how it was mounted by php before it was executed, thus facilitating the visualization of the error at…
-
5
votes2
answers16023
viewsHow to Update PHP Version on Wampserver?
Does anyone know how to upgrade the latest version of PHP to Wampserver?
-
5
votes1
answer933
viewsHow to override variable defined in POM with specific value at the time of mvn execution?
In an environment with multiple configurations of Web Container sometimes we need to correctly point the deploy directory of the application that may be in different directories depending on the…
-
5
votes2
answers21088
viewsHow to make these Divs responsive?
I am creating "informative" to put on the home page of my site and I need a light. I wanted him to stay that way: And when the visitor’s screen resolution was decreasing, the title and description…
-
5
votes1
answer473
viewshttps Redirect Problem
I’m having a bit of a weird problem here. We have two sites on the same server running with Nginx; a holds certificate HTTPS and the other not. The problem is that if a customer enters the site…
-
5
votes3
answers593
viewsFind string in more than one SQL table
I would like to search for a certain string using LIKE in more than 1 table. Here is an example of how I did, which will probably spend a lot of time or will not search in all tables: string SQL1 =…
-
5
votes3
answers844
viewsComparison of >= and <= with strings
I have a field in the database which is in the following format: YYYYMM Using the past I can normally search these fields: WHERE I.DT_INCL >= @inicio AND I.DT_INCL <= @final When trying to…
-
5
votes2
answers97
viewsRemove banner depending on window size
I’m using a template with the Responsive layout. I have a banner on the right side of a website. What I’m doing is scrolling the page and the banner goes with the page. When I scroll down, the…
-
5
votes2
answers5867
viewsCommunication between applications using socket through UDP making Multicast
I’m trying to communicate between applications where one of them transmits a certain message and the others just receive, I don’t know the IP address of the ones that will receive and even if they…
-
5
votes1
answer67
viewsIs there any way to get visual studio 2012 to support windows mobile 5.0
I have a project on visual studio 2008 for windows mobile 5.0 and would like to migrate it to the visual studio 2012, but I read that this new version of visual studio does not support windows…
visual-studio visual-studio-2012 windows-mobile windows-mobile-5asked 10 years, 8 months ago Selma 216 -
5
votes1
answer1334
viewsGit accuses that ignored directory has modified content
I have the directory contents in my file .gitignore, as follows: app/dir/* But when I give a git status, git accuses the following: # On branch master # Changes not staged for commit: # (use "git…
gitasked 10 years, 8 months ago bfavaretto 64,705 -
5
votes1
answer1015
viewsScrolling Effect with Parallax Using Video
I’m studying effects with Parallax and I’m trying to display a video in the background instead of an image. So I was able to create a good effect using image as background. Here is my code jQuery:…
-
5
votes2
answers1352
viewsAlways presents an error when I try to use the mysqli expression
I know the expression mysql was discontinued, so I’m trying to use the expression mysqli, but every time I try to show myself on the screen a syntax error! example: $buscaDados =…
-
5
votes1
answer235
viewsCreation of Table of Games
I wrote this code to organize the teams that will face each other in the Cup: <script> var dados = { "grupo1" : [ {"selecao" : [{"nome":"brasil"},{"resultado" : [{"a":0},{"a":4},{"a":2}]}]},…
-
5
votes1
answer298
viewsProblem setting CSS within style
I am facing a problem. I want to put all my CSS inside the Style tag as it shows my code below: <style> input[data-column="1"] { display: none; } input[data-column="2"] { display: none; }…
-
5
votes2
answers1901
viewsEvent click Jquery in selector . class
I created several div by using jQuery to assign them the CSS class numero: for(...) textoHTML += "<div class='numero par'>"+sorteado+"</div> <!-- numero par-->\n"; ... textoHTML +=…
-
5
votes1
answer2226
viewsSave multiple figures in a loop - Python
I’m using python for experimental data analysis. I have in a folder several data files that, in the script, are grouped according to some criteria. I use a loop to read all the files in the folder…
-
5
votes2
answers332
viewsDifferent orientations on smartphone and tablet
Hello, I am developing an app and I need the screen to be in Portrait for smartphones and Portrait/Landscape for tablets. The customer does not want to accept different applications and does not…
-
5
votes3
answers693
viewsHow to know the amount of NA in each variable?
Suppose I’m working with the following database: df=data.frame(v=c(1,2,NA,4,NA,6,7,8,9,10),v2=c(11,NA,NA,14,NA,16,NA,NA,19,NA), v3=c(21,22,23,24,25,26,27,28,29,30), v4=c("a","b","c", NA,…
-
5
votes2
answers903
viewsIs it possible to upload files without using php, just with jquery?
I’ve searched a lot of sites but I’ve never been able to figure out if it’s even possible, someone can help me?
-
5
votes3
answers2713
viewsASP.NET MVC5 - Asynchronous Methods in Controller
I’m developing an MVC layer for an ASP.NET system written initially in Webforms. It does not use Entityframework, so a good part of the system I had to elaborate a home solution. In order to use the…
-
5
votes1
answer648
viewsHow to read a table missing or poorly configured elements?
Suppose a text table like the following: texto <- "a b c e f g h i" When I use the read.table command, the following error occurs:: tabela <- read.table(text=texto) Error in scan(file, what,…
-
5
votes1
answer190
views -
5
votes4
answers1363
viewsHow to change an element within a Less file?
@fundo:#fff; //como alterar isso, externamente com javascript @texto:rgb(94, 135, 176); //preciso mudar essa propriedade dinamicamente. .wrapper{ …
-
5
votes3
answers150
viewsCrash after reading value with scanf
First, I am "Noob" in programming. I started college today, and the subject was already rolling (third call has its consequences =P). The code is simple, the third I created, however, after…
-
5
votes5
answers727
viewsReturn all CSS classes with Regular Expression
I need to return all the classes found within a CSS string, so that when the expression conflicts with: div.classe1{/*...*/} .classe2 div a{/*...*/} .classe3.classe4{/*...*/} .classe5{/*...*/}…
-
5
votes1
answer436
viewsProblems with @font-face from the same family
I’m having a problem regarding CSS3 Font module. I got a source with three guys: Bold, normal and Italic and insert them into the CSS with the same name but with the attributes referring to the…
-
5
votes2
answers999
viewsHow to wait for the result of a Restful API in Nodejs
I work with an Amazon JSON API, in which I research products and handle information according to their results, but within Nodejs the API information is written on the console, but it is not written…
-
5
votes1
answer3767
viewsdynamic path out of context in Servlet
To get the dynamic path within the project is easy, just run the code : String path = this.getServletContext().getRealPath(""); Here is returned:…
-
5
votes1
answer469
viewsAm I loading this Song correctly with Bass.dll?
Based on documentation from Bass, i am trying to upload a common ogg file, with the following code: var FFile : string; Music: HSAMPLE; ch: HCHANNEL; OpenDialog1 : TOpenDialog; begin…
-
5
votes1
answer15650
viewsWhat is an RTMP server and how to connect to it with Flash Sharedobject?
I need to create a file SharedObject Flash on an internet server for communication between several .SWFs. This communication needs to be fast and if possible in real-time. After some searches on the…
-
5
votes2
answers262
viewsHow to use fadein() in addClass()?
I have ten "Id" class elements, minus the first. By clicking a button I remove the next Hide and add the class "show", but when adding it I want to put a fadein effect(). It is possible?
-
5
votes3
answers2440
viewsHow to call scripts in a child Wordpress theme?
I’m trying to build a Wordpress template. What I can’t do yet is call the script in the child theme I created. CSS worked, but the scripts didn’t. There are several, and I got lost in how to put…