Most voted questions
150,413 questions
Sort by count of
-
5
votes1
answer111
viewsMoneymask Does Not Work on Device
The Jquery Plugin does not work on device, someone would know how to fix it? The point is, I researched about why the plugin Moneymask not work within the device and found that the plugins mask use…
-
5
votes1
answer209
viewsGet Rows that are not from the logged-in user
I have a table with columns para and de where I enter different Ids in each one, but I need to get the ID of the user who SENT the request to me, ie the ID that is not the same as the logged in…
-
5
votes1
answer363
viewsHow to compile C/C++ for Linux/Mac OS on a Windows?
The title says it all. I have code that can be compiled on the two (three?) platforms and I want to do it straight from Windows only using GCC (Mingw in this case). Would that be possible in…
-
5
votes1
answer379
viewsAnimation on Android, circle emitting waves
I need to do an effect similar to that of ZenUI in call, that the photo with circle emits waves (zoon from below) as can be seen in the video http://youtu.be/niWK2U71t28?t=1m38s Does that help a lot…
-
5
votes3
answers909
viewsDropdown-menu Bootstrap with PHP
I’m trying to send a data to a PHP page with AJAX, but I can’t figure out how to make it work, I’ll explain what I have so far! The dropdown menu has the following code: <div…
-
5
votes1
answer238
viewsWhat does this definition of resource really mean?
I’m studying about web API’s and REST and the book I’m reading says the following: The Web is built around three main concepts: resources, URI’s, and representations. A resource is anything that has…
-
5
votes1
answer1262
viewsWhat are the limitations of the free Visual Studio Online license?
On the Visual Studio Online website there is a free account option. It says that this account offers the following benefits: 5 basic user licenses FREE Unlimited participants Unlimited qualified…
-
5
votes1
answer995
viewsIn R, create a function to change some levels of a variable
I want to create a function that facilitates my life when treating some variables I want a function that receives as input a database, a column or variable u of that database, a vector c specifying…
-
5
votes1
answer1921
viewsHow to Convert RTF to HTML
I’m working on a web system that pulls a bulletin board from a system made in Delphi, which uses the format RTF to format the text. With this I need to use some Server-Side class in PHP to transform…
-
5
votes1
answer1427
viewsPerformance of the Eloquent of the Laravel relationship
I realize that in the Laravel 4 Framework, when we have a relationship, rather than using a JOIN of Mysql in the source code of Eloquent, he uses a select. For example. I have these two models.…
-
5
votes1
answer1390
viewsHow to insert into a database with special characters?
Here’s what I’m doing INSERT: $result = mysql_query("INSERT INTO tbl_livro VALUES (NULL, '$titulo', '$autor_livro')"); What happens is that there are authors who have names with special characters,…
-
5
votes2
answers1801
viewsAvoid duplicate data by applying use log counter
In a simple form that saves the following data: ID, IP, Date/Time, Name, Email, State/City. When a person fills in the form, this data is recorded in the database. But if the same user fills in the…
-
5
votes1
answer77
viewsIntegration by the Simpson method into the R
I have the electric field data in a matrix, from this data I need to use the method of Simpson in this And. At MATLAB, I already get. Does anyone know any package or built in R function that does…
-
5
votes1
answer259
viewsSelect first lines depending on group efficiently
Suppose I have the following database set.seed(100) base <- expand.grid(grupo = c("a", "b", "c", "d"), score = runif(100)) And that I want to select the lines with smaller score depending on the…
-
5
votes1
answer475
viewsText Overlay with Doubt Bootstrap
I’m trying to make a text overlay on an image with bootstrap, but I’m not getting it. Someone would know how to do and help me? My code is: <section class="container"> <div class="row…
-
5
votes2
answers180
viewsUse Static Closures or Closures in PHP?
As of PHP 5.4, the Closures (Or funções anônimas), when declared within the context of a class method (other than static methods), automatically inherit to "within" the $this as a reference to the…
-
5
votes2
answers55591
viewsLimit html input
I want to put an input in html and I want to limit only to 2 numbers. <input type="text" name="Dia" maxlength="2" size="2" > I tried this but still letters appear.…
-
5
votes2
answers3052
viewsTry and Catch continue running (after Exception)?
How I put a block try and catch p/ continue the loop for, even if it does arrayindexofbounds and among other Exception? I put and it runs but the output of "m" does not print anything after! for…
-
5
votes3
answers7043
viewsHow to make a left Join using a Where condition?
I have two tables: category -------- id | nome | imagem user_follow_category -------------------- id | from | to | date Note: the relationship of the two tables is given by category.id and by…
-
5
votes1
answer174
viewsScraping with python
How to capture one or more phrases from a website with Python and/or regular expressions? I want everything that starts with <p>“ e acabe com ”</p> Example:…
-
5
votes1
answer680
viewsLua print(table) in string (taking all its values)
I created a system quickly to test a new variable, but I do not know how to print the users inserted in the table, and when I give print he shows it: table: 0035AE18 My code: Conta = {balance = 0}…
-
5
votes1
answer1837
viewsWhat are the differences between a Datatable and a Datareader for Mysql queries in C#?
I am creating a C# project with Mysql, my connector follows the standard Singleton and use Mysqldatareader to recover the table data and popular a List so far ok. My problem started when I had to…
-
5
votes1
answer90
viewsAdd properties to the [Node] element
Is there a problem with adding custom properties directly to the [Node] element? For example: document.getElementById('minhaDiv').minhaPropriedade = 'teste'; I’m using Firefox and I haven’t had…
-
5
votes1
answer248
viewsGood practice with XHR requests
I have the following doubt: When I make a request via AJAX and I wish to "ride" the HTML based on data from a banco, is wrong (in terms of "good practice") to already return the HTML in the request…
-
5
votes1
answer1178
viewsHow to filter a SELECT with n:m and bring all characteristics?
I’m using n:m to create a system of attributes/characteristics for certain products, so I can reuse the same attributes for more than one product, the table is something like: When I run a SELECT…
-
5
votes3
answers141
viewsPhoto on the web with Windows 8.1 tablet
What I need I want to make a page where the user can click a button, take a picture with the camera of tablet, view it and click on button to save it. What I’ve already tried I have tried to use the…
-
5
votes2
answers200
views$(Document). height() does not return the correct value
I’m trying to get the size $(document).height() of my site, but the value shown sometimes is different than the HTML size (in inspect element) shows. I’ve tried calling directly $("html").height(),…
jqueryasked 9 years, 9 months ago Luna Laura 189 -
5
votes2
answers1104
viewsFile Upload Multiple via ajax - PHP
I am trying to upload files via ajax and PHP with the following codes below and it is not working. I can’t identify what I’m doing wrong. Page <div id="bsUpload"> <form action=""…
-
5
votes1
answer731
viewsWhat is the best AVD for an app developed preferably for g motorcycle?
I have a bike g appliance and I intend to use it through the usb interface to test a developing app. But for now, I will use the emulator. Which emulator model should I use to be more like the g…
-
5
votes4
answers24064
viewsSend HTML form without the Submit button
It is possible to create a form HTML to automatically upload data from form? Ex: I have one form only with radiobutton and for aesthetic reason I do not want to put the send button, it would be…
-
5
votes1
answer403
viewsProblem summing column values and displaying in highcharts
I have the table: numitens | data | email 1 | 01/01/15 | [email protected] 1 | 01/01/15 | [email protected] 2 | 01/01/15 | [email protected] 1 | 02/01/15 | [email protected] The format you…
-
5
votes1
answer148
viewsImport is not working
Imports System.DirectoryServices ERROR MESSAGE: "Warning 1 Namespace or type specified in the Imports 'System.Directory.Services' doesn’t contain any public Member or cannot be found. Make sure the…
-
5
votes1
answer1236
viewsHelp - C# how to update combobox? type autocomplete
First I am developing a C# system and using Sql Server as a database. I would like to accomplish the following task: When something is typed in the combobox I update the itself, by means of a search…
-
5
votes4
answers9489
viewsHow to call a new terminal from a shell script?
I would like to know how to call a new terminal/xterm from within a command in the shell script, so that the shell script that called the other script keeps running non-stop. Does anyone have any…
-
5
votes1
answer202
viewsInterference of effects Hover
I’m facing a strange problem. I have some links to social networks with a border-radius and with the effect of hover edge rotation, as in the image below: When I give hover on these social media…
-
5
votes1
answer136
viewsGenerate a random value in a range, excluding a range
Using Javascript how to make an interval with random values with an internal interval deleted? Exemplifying: min | | | | |x|x|x|x|x|x| | | | | max | | = accepted value |x| = denied value Code used:…
-
5
votes4
answers1991
viewsDifference between span img and div img
I’ve seen it in some source code: <span> <img="../imagens/1.jpg"></span> and in others: <div> <img="../imagens/1.jpg"></div> Is that wrong? I always thought…
-
5
votes2
answers552
viewsDividing 1/2 in C#
In some videos on numberphile about the Zeno’s Paradox the teacher of the video tried to explain how this paradox worked using hands to hit Palamas (I do not know how to explain this but I will…
-
5
votes1
answer2967
viewsHow to Recover Facebook Friends List
People I need to return to facebook friends list using facebook API 4 for PHP. I can log in, get the account information but the list only comes the following result for me: Array ( [data] =>…
-
5
votes2
answers1286
viewsMultiple Persistence Units with Spring Data
You can create multiple Units persistences by connecting to separate databases in the same JPA application using Spring Data? For example. I have an application that will run in Mysql normally.…
-
5
votes1
answer2187
viewsRemote REST webservice in PHP receiving JSON via POST with problems
I have the following situation... A purely javascript client application that runs with Node.js, where you post a JSON, as follows: doLoad = function (livrosList){ var xmlhttp = new…
-
5
votes2
answers6436
viewsHow to call a function of another JS file keeping the context of the current function?
I have the following scenario: HTML: <script src="JS1.js"> <script src="JS2.js"> In JS1 I have the following: $(document).ready(function(){ var pagina = "site1"; iniciarSite(); }); In…
-
5
votes1
answer261
viewsReverse results of while
Is there a function in PHP that allows me to reverse the order of a result while? For example, I have the following code that checks whether a URL. <?php function url_exists($url) { $ch =…
-
5
votes1
answer95
viewsI cannot remove an item copied from one list to another (drag and drop)
I have the following code http://jsfiddle.net/6hLsfqtn/. My problem occurs as follows: Add a Double Steppe to the list on the right. I add a Simple Steppe to the list on the right. Add a second…
-
5
votes3
answers10221
viewsIdentify browser and its version
I did several searches on different sites but I have not found a definitive solution and that for sure for all browsers I wonder how I can identify the browser and its version using PHP. For…
-
5
votes1
answer239
viewsToupper() with accents
I own a string, where I wish to capitalize it, to standardize the information. I am using the ToUpper(). But when that string has accents the text gets shuffled. How to receive text with normal…
asp.net-mvcasked 9 years, 9 months ago Randrade 21,612 -
5
votes2
answers1319
viewsError generating files/classes from a Netbeans Web Service
I am trying to generate files/class from a Web Service and bring it to my Java project. For this I am using Netbeans IDE 8.0.2 At first I’m getting the message "Uma classe/interface com o mesmo nome…
-
5
votes1
answer309
viewsRetrieve information about which Tables/Procedures/Views are most accessed in SQL SERVER
select db_name(database_id) as banco, object_name(object_id) as objeto, stats.user_seeks, stats.user_scans, stats.user_lookups, stats.user_updates from sys.dm_db_index_usage_stats as stats I have…
-
5
votes1
answer2476
viewsPhoto taken by camera returns reversed
Is there any way not to invert the photo after updating it in an Imageview? For example, the application I’m developing accesses the device’s camera and after taking the photo, updates Imageview…
-
5
votes2
answers518
viewsData Structure - C Double Chained List
I’m doing an activity proposed by a teacher, who asks to remove an element from the end of a double chained list. Except the function I set up to solve the problem is locking the program. In the…