Interesting questions
-
8
votes4
answers814
viewsWhy can’t we return a void call in a void return waiting method?
I was doing some C# tests to find out how the return issue works void. I did the following test below and realized that tests 1 and 3 work perfectly, however 2 no. Behold: public class Program {…
-
-1
votes1
answer43
viewsListing after select from an autocomplete
Hello, my question is: By making a select in some of the options of autocomplete, should show the content on the page. When clearing the entered data on input, page back to previous state. That is,…
-
-1
votes1
answer66
viewsMargin does not push content to the center
I recently asked a question because my margin top did not push my div down, following the example in the previous question I was able to solve, but now, using the same explanation of the previous…
cssasked 7 years, 4 months ago Fernando Munhoz 163 -
0
votes0
answers25
viewsHow can I change an HTML page dynamically?
Good morning! I am creating an html page, which will serve to make feedback, that is to say to report specific situations or under certain conditions ask for help. It turns out that this page…
-
3
votes2
answers284
viewsSchedule Crontab task by script.sh
I want to schedule the crontab through a script.sh. I tried to add the following line inside the script.sh: echo "00 01 * * * retag /retag/licenca.sh" >> /etc/crontab It worked, but he adds a…
-
1
votes1
answer520
viewsLayout does not appear in "_layout.cshtml"
I’m editing the _layout.cshtml file so it can be replicated on the other pages. However, when I run my program it’s like I haven’t made any changes to the layout. What can it be? By the way I’m…
-
4
votes3
answers315
viewsHow to access a pointer within a structure?
I need to know how to access the first position of the pointer vector *c_parte_real, as shown below: typedef struct{ struct char_vector{ char *c_parte_real[2], *c_parte_imag[2]; }c_vector; struct…
-
1
votes2
answers3954
viewsTwo actions in the same form
Hello! I need to have two actions in the same form. I researched some solutions and did as follows: <form id="formnewsletter" name="formnewsletter" method="POST"> <input type="text"…
-
-1
votes1
answer26
viewsFluent API Modulated System
Good afternoon! I am developing a modular system. Where in this system I have the registration module, the sales module, financial ... The structure of my project is like this. I have a solution, in…
fluent-apiasked 7 years, 6 months ago Mario Antonio Andrade Pagnozzi 1 -
-3
votes1
answer792
viewsVery slow MYSQL query, more than 25 seconds, how to improve?
I have a query in mysql that is very slow , more than 25 seconds. The base is quite large, around 1,000 records of real estate (table osrs_properties) and 16,000 photo records (table osrs_photos).…
-
-2
votes1
answer265
viewsError in include when uploading site
Hello! I’ll be brief. I’m having problems on the server 000webhost.com. Upload my website test to check how the login on facebook would look on the air. That is the mistake: Warning:…
-
0
votes2
answers67
viewsjQuery bring value from Mysql table
I’m setting up a music list register for a karaoke site. It works like this: Search for pre-registered music Take this song from input and insert it into a li list I have the following: <input…
-
1
votes1
answer50
viewsCan anyone help me find what is causing a build error in the code?
I went to solve exercise 1022 of Urionlinejudge and received a Compilation error, but the code works perfectly in Code::Blocks. Please inform me of the error. Link to the problem. #include…
-
-3
votes1
answer46
viewsfix the menu at the top of the page
I have a header with my logo on top and just below the menu. I would like the scrolling page, the menu to go to the top, and the header to disappear. html header: <header class="cabecalho">…
-
2
votes1
answer269
viewsWeb Forms for MVC 5
I joined a company, where we have an application running in Web Forms, and we are developing new applications with Asp.Net MVC. However, I was asked to complement an application with Web Forms,…
-
0
votes0
answers56
viewsReverse git checkout -f
By giving a git checkout -f in a modified file is it possible to recover the lost changes? Some way to reverse git checkout -f
gitasked 6 years, 10 months ago Lucas Marinzeck 318 -
8
votes3
answers8112
viewsIs there any way to pass methods as a parameter?
In Java, I can pass methods as parameters? Example: public class Teste { public String metodoA(){ //faz alguma coisa } public void metodoB(double numero){ //faz alguma coisa } public void…
-
0
votes1
answer143
viewsIs there something wrong with that code?
Function Check() Dim valorA, valorB, valorG, valor2 As String Dim rng As Range valorG = Cells(ActiveCell.Row, "G").Value valor2 = Cells("2", ActiveCell.Column).Value For Each rng In Range("A3:A321")…
-
2
votes2
answers574
viewsItem limit in "foreach"
I have a code that picks up the images from the folder images/FotosdoWhatsAPP, but is displaying all images, would like to display only a quantity X (ex: 5 images). <?php $dirname =…
-
3
votes1
answer1339
views<Input type="number"> with time mask
How to make a <input type="number"> with mask in the format of hours, which accepts 00:00. Put type="text" just use a mask, but and with the type="number"?…