Interesting questions
-
11
votes2
answers2940
viewsDraw path on the map
How do I draw a particular path using the Google Maps V2 API? What I want is something more or less like this: I inform the street A and the street B and get the drawing of the path between these…
-
-1
votes1
answer64
viewsOnly get snippets between brackets
In third-party software, a log record is generated with separate information through words that comes within a bracket. Example: [informação1] [informação2] [informação3] The problem is that the…
-
4
votes2
answers10690
viewsDisplay a Loader while processing ajax
It can show a message like: "Loading..." while my ajax does the operation? AJAX $.ajax({ url: url, type: 'GET', dataType: 'json', success: function(data) { console.log("sucesso"); }, error:…
-
0
votes1
answer419
views.Net c# Webrequest Post
People I’m studying Webrequest, I’m trying to make a query on the site of the post office and so I read it should look like this: WebRequest request =…
-
1
votes2
answers1967
viewsHow to send current screen resolution to PHP (on first load)?
I know there are several ways to get the screen size by javascript, etc, but I haven’t found a satisfactory way to get communicate this size to PHP BEFORE screen loading. For example, I would like…
-
5
votes2
answers113
viewsHow to make a link presentable
How do I "index" a link on a website to display it in a more presentable way? Example of sites/app that do this is Whatsapp, facebook, gmail. For example, in Whatsapp just paste a link and wait a…
-
-1
votes1
answer28
viewsMemory allocation problem, with large values
Well I’m in trouble on one issue Enunciation Given an integer vector, your task is to find the k-th occurrence (left to right) of an integer v in the vector. To make the problem more difficult (and…
-
2
votes2
answers76
viewsHow to prevent a div with flex display shrinks the child elements?
I made the following example code: .container { width: 200px; height: 50px; background-color: #f00; display: flex; flex-direction: row; overflow-x: scroll; } .div1 { width: 150px; background-color:…
-
4
votes1
answer50
viewsWhy does the dropEffect property not work?
I’m wanting to switch between cursors copy, move or link when a draggable element is dragged using the property dropEffect or when the event dragstart occur, but it changes nothing visually:…
javascriptasked 6 years, 7 months ago marquinho 489 -
0
votes1
answer68
viewsDELETE statement does not delete by php but by phpmyadmin the instruction works
I have the following code where I am trying to delete a column from the comic through php : session_start(); $dbh = new PDO('mysql:host=localhost;dbname=samsic', 'root', ''); $sql =…
-
3
votes1
answer582
viewsGoogle Images Chrome and IE
I’m making an HTML site. When opening the image, in PNG format, in Google Chrome (below) it appears correctly and when opening in IE 11 (above) it appears with pixels <td id="Autorizado"…
-
-3
votes1
answer36
viewsHow to keep all html within a 100% div height?
Hello How do I keep my html inside the background image without creating that white background and so that the Divs - yellow and black - also respect the 50% height within that height of the…
-
0
votes1
answer27
viewsAJAX request not working
I have a function that calls an ajax to save in the bank. All my other POST requests I did this way and it worked. Now I don’t know what happened. If anyone can help me. $.ajax({ type: "GET",…
-
-2
votes1
answer17
viewsERROR C++ IVALID OPERANDS TYPES 'FLOAT' and 'FLOAT' to Binary 'Operator+'
#include <iostream> #include<stdio.h> #include <stdlib.h> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */…
c++asked 5 years, 1 month ago Henrique Ianni Silva 1 -
1
votes0
answers28
viewsslideshow with different weather while increasing amount of images
I have the jQuery down it is working very well. Except for one detail: lógica do for is not correct: To ideia is that the tempo de transição amid one imagem and another be the same independent of…
-
-1
votes1
answer117
viewsProperty Hasrows in C#
I’m making a SELECT mysql with inner join within my application C# MySqlCommand _comandoDados = new MySqlCommand(String.Format( "select EMGroot.id, EMGroot.lbs_net, EMGroot.lbs_gross_aai,…
-
3
votes1
answer79
viewsWhat is the difference between calling a function and returning a function?
I have, for example, a function myFunction() to be called in the element <body> when the event onbeforeunload occur: <!doctype html> <html lang="en"> <head> <meta…
javascriptasked 6 years, 8 months ago user178466 71 -
-2
votes1
answer42
viewsWhy does the code return error dumped core?
I came across the following errors: floating point Exception and dumped core for the same code. I did not understand very well why this error occurred. I put the code in a Bugger and from what I saw…
-
6
votes2
answers598
viewsCreate HTML Blocks in Wordpress and call them in the Post or Page
We have a real estate website where we use ACF (Advanced Custom Fields) to better manage real estate pages. One of the fields is the Price Chart. A price list of a condominium serves for several…
-
0
votes1
answer174
viewsHow to consume a Multipart form-data method with void method
How to consume a method Multipart/form-date of a web service made in java, by ajax or jquery? Below I leave as this the method: JAVA: @POST @Path("/aprovarCompra") @Consumes("multipart/form-data")…