Interesting questions
-
1
votes1
answer282
viewsdraw rectangle with hastags and ask again
Hello, I’m trying to make this code work as follows: you say the width and height and then it completes with the proper "#" and then it would ask again and continue like this until the person closes…
pythonasked 5 years, 10 months ago Kal Arruda 21 -
0
votes1
answer120
viewsTransform query result into Json
I’m trying to convert a result of a database query to json yet every time I make a resquest to get the value of the same the server goes always below and I believe it is because it is a lot of…
-
2
votes0
answers77
viewsOrange adding code with CRSF_TOKEN at the bottom of the page
I know a little bit about how the @csrf_token from Laravel, but I’m facing a problem. The code below is being added at the end of all my Views and this happens without me having implemented…
-
14
votes2
answers2384
viewschar[] or *char malloc?
What difference in C between char text[10] or char *char = (char *)malloc(10*sizeof(char)); What advantage of using malloc on a pointer?…
-
0
votes1
answer27
viewsProblems with encoding on static page
I have an html file sent from a Node.js server that can be accessed here who is having trouble with accentuation. It was working normally, however, after a small update, it got this problem. When I…
-
19
votes2
answers982
viewsSelectonemenu is not loaded when selecting object for editing
I have a component SelectOneMenu (Primefaces) of cities, which is loaded according to the selected state. My component is with following behavior, right after saving the object and then selecting it…
-
0
votes1
answer398
viewsUpdate input with data from an iframe automatically
I have the following code: mudarfoto.php <div class="box-body"> <center><h4 style="padding:5%">Vamos trocar a imagem da seção projetos?</h4></center> <?php $hostdb =…
javascriptasked 7 years, 11 months ago Hebert Richard Masseno Dias 291 -
0
votes1
answer35
viewsecho within $.ajax
HTML: <ul class='border ulHRelatorios'> <li style='text-align: left; width:79.05%'>Houve SUPERVISÃO?</li> <li class='centralizado' style='width:10%; border-left: .1px solid…
-
-1
votes1
answer124
viewsI cannot perform a Redirecttoaction for an Area
Print of what I’ve accomplished, but it didn’t work, this is my Logincontroller. My structure, and I’m trying to point to the Patientecontroller/Index: One of the other options I tried was to add…
-
-1
votes1
answer17
viewsPHP Selenium chromedriver logs out after logging in with no apparent error;
When finishing the login data input via Selenium the robot clicks login, the session is dropped at different points, sometimes before entering the registration screen, sometimes after login and…
-
3
votes2
answers2612
viewsJavascript mask for input hours
Someone knows some javascript mask for hours input where the format is not HH:mm. I will use to set the time in project hours and some of them may have more than 24 hours. Example 120:00 hours,…
javascriptasked 11 years, 9 months ago Douglas Cristhian 247 -
0
votes0
answers14
viewsTDD with Jest and sequelize - POSTGRES Migration error for SQLITE
I am implementing TDD with Jest in a Node with express application, my database is POSTGRES and I have several sequelize Migrations already configured, and for my test scenarios I am running these…
-
8
votes2
answers3674
viewsHow to create a 404 error screen
I’ve seen a lot of tutorial teaching to customize 404 error screen, but only in CMS as Wordpress, I wanted to know how I do to style a 404 error page*(not found)*, so that the user sees a beautiful…
-
-4
votes1
answer49
viewsWhy doesn’t my button line up at the center?
I want to know why my "button" with the class="botaoHpr" is not aligned with the h3 and in the middle of the page. (NOTE: is a simple site and this HPR is a group of my and my friends) button {…
-
1
votes0
answers66
viewsPHP to receive data from a CSV file via POST with Ajax
I need to upload a CSV file via a form, pass to PHP using Ajax, parse the file and receive a return. I was able to send the file, but I can’t get the data from the file to analyze. My CSV file:…
-
2
votes1
answer128
viewsWhat is it for and where should I use "strictfp"
I was reading the Java 9 specification and came across the keyword strictfp, What good is only that it is not clear. What good is that and where I should apply it? Why is it not so used in the…
-
0
votes1
answer299
viewsHow to select multiple data from related tables
I created three tables in the student database, book and loan, I would like to list all the books that were loaned to each student, however, when the student borrows more than one book the command I…
-
1
votes2
answers164
viewsPostgresql pg_hba.conf
I have a server with a Servlet + a postgresql database. I would like only Servlet to connect to the database. When I set up pg_hba.conf with local all md5 Servlet cannot connect to the database.…
postgresqlasked 9 years, 3 months ago Edson Santos 416 -
2
votes1
answer249
viewsColorize a region of the graph
I would like to color only the region within the circle, but I’m not getting it. The program and the image are: theta <- seq(0, 2 * pi, length = 200) r = exp(1i*theta) fx=function(r) { x = r-1…
-
1
votes3
answers386
viewsBackground image, without using background-image
In the code below you will see the solution of @hugocsl to another question my. What I am wanting to do now is to put in this element, a background image without using background-image but with…