Interesting questions
-
0
votes1
answer15
views.htaccess select file and not folder
I have at the root of the site the files . html "index, services, gallery and contact". I also have a folder called "services". i am trying to use this code to let the url’s friendly: RewriteEngine…
-
0
votes1
answer28
viewsMysql - Select the most inserted records in a given period
I am needing to select all most recurring records (top 5) within a time interval but am not getting. Basically when I do this: SELECT assunto, count(*) AS total FROM tabMsgs WHERE dtCriacao >…
-
0
votes1
answer76
viewsChartjs to Kendo-ui
I’m changing from the Chartjs to the Kendo-ui. (My company has the license) I’m having some trouble customizing the Radar Chart I’m trying to use. 1) Remove lines that divide the graph. The cross…
-
1
votes1
answer68
viewsJava does not compile. java
Java does not compile error return, it is not possible to locate or load main class with.sun.tools.javac.Main.
-
1
votes0
answers102
viewsHow to search using Google Maps Geocode
I would like to use the google api to click on the map and get the latitude and longitude <!DOCTYPE html> <html> <head> <title>Geocoding Service</title> <meta…
-
1
votes2
answers373
viewsList POSTS in Wordpress by views
I need to make sure: <?php while ( have_posts() ) : the_post(); ?> list according to the amount of views (post_views_count), it’s like to list popular posts only it will enter the table…
-
0
votes1
answer284
viewsRunning audio in php
How is it possible to upload an audio tag with the file outside of my server <audio controls> <source src="../../spool/teste.mp3" type="audio/mp3"> </audio> On the same level as my…
-
0
votes1
answer145
viewsPass url parameters
I’m a little layman on the subject, but I’m putting together a sales page for a product and I’m having a hard time. I want to go over the utms who come via url, for some link contained on the page,…
javascriptasked 8 years ago Ednardo Menezes 1 -
0
votes0
answers66
viewsAssign CSS in jquery
I have the following code, how do I assign a display: block inside jquery ? because I want the fields to appear without having to click on "add", it will appear automatically the quantity, as I…
-
0
votes0
answers317
viewsDoubt on "continue" (Syntaxerror: 'continue' not properly in loop)
I’m starting in python and I can’t figure out why the error below, could help me? def SecretNumber(): GotIt = False while GotIt == False: One = int(input("Type a number between 1 and 10: ")) Two =…
python-3.xasked 7 years, 3 months ago Osvaldo Oliveira 1 -
1
votes1
answer34
viewsBring values from a select with AJAX automatically
I started using AJAX for a while and I have a question. I own a <select> and I am trying to bring the value of it on the same page (without giving refresh), however, it is only displayed the…
-
2
votes1
answer791
viewsI need to change the border color of a datatable cell
I need each cell in the first datatable column to change color as the table is scaled. The color will be defined as the table data is generated in the back-end. Below is an example of how accurate:…
-
2
votes1
answer388
viewsDynamic Memory Allocation in Cobol
How to allocate dynamic memory in Cobol without using external C libraries? I have no interest in using some kind of *alloc() from C. In any flavor of Cobol exists? It must exist, because if some…
-
-1
votes2
answers66
viewsReceive items from an ordered list in a variable - Python
Good afternoon, you guys! I started studying Python recently, and I have a question that may seem basic but it’s complicating me. I wanted to receive the items of a list in an ordered form variable.…
-
3
votes2
answers35
viewsHow to select rows that have text searching in all columns of a data frame
I want to select only the lines that have the text "Try", similar to grep in Linux. Follow the example: my.data <- data.frame( A = c("prot trypsina catalic", "7", "123", NA, "1419", "ab", "ab",…
-
0
votes3
answers108
viewsProblems with a C program
I’m having trouble developing a program that solves the problem below: Write a program that reads two integers M and N and calculate the average arithmetic of the prime numbers of the range [M, N].…
casked 7 years, 1 month ago Paulo Sérgio 13 -
-3
votes1
answer81
viewsProblem with PHP and wordpress version
I am trying to learn wordpress and I came across the following problem: I have two notebooks with Windows 7 and in the oldest the most current version of wordpress gave incompatibility with PHP…
-
0
votes1
answer49
viewsQuery returning unwanted result
In my sql statement: SELECT DISTINCT C.TABLE_NAME,C.CONSTRAINT_NAME,C.COLUMN_NAME FROM INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE C INNER JOIN INFORMATION_SCHEMA.TABLE_CONSTRAINTS T ON T.TABLE_NAME…
-
12
votes2
answers1794
viewsHow to Thread a class method
I need to perform a parallel process using php, I installed the extension pthreads and I looked at some examples but didn’t see how I could implement it. Class: <?php class Negociacao{ /* Retorna…
-
3
votes1
answer66
viewsHttpclient reuse and an Apicontroller lifecycle
Based on that website and also in some answers from Stackoverflow [en] I came to the conclusion that I shouldn’t use the class HttpClient in a block using despite the same implement IDisposable.…