Posts by Everson Souza de Araujo • 359 points
24 posts
-
-1
votes1
answer41
viewsQ: I want to click on a little face and just leave it, if I click on another uncheck and leave the new one marked
I want to click on a little face and just leave it, if I click on another uncheck and leave the new one marked <style> .img1{border:4px solid #c2c2c2; filter: grayscale(60%) !important;…
javascriptasked Everson Souza de Araujo 359 -
0
votes1
answer60
viewsA: Softaculous with Mysql connection error
I was able to resolve this error by updating Cpanel /scripts/upcp --force
mysqlanswered Everson Souza de Araujo 359 -
0
votes2
answers559
viewsQ: Algorithm that reads three numbers and displays the result of the sum of the first two and multiplied by the third
Follow my code below, however does not return correct the result, if I put as input 2, 2, 3 was to appear 12, but appears 6 public class Exercicio2 { @SuppressWarnings("unused") public static void…
-
1
votes2
answers62
viewsA: censor a registered word in a database
Depending on your application it is best to do this on the client side with JS, or in the server, because on the server will be very complex and use a lot of resource of your machine because that…
-
0
votes1
answer184
viewsA: Is it possible to use Node.js in Cpanel?
Yes, but Cvoce needs to ask them to install Node.js, because the mariaDB by default comes, here is a company that does this, already used in it https://www.argohost.net/…
-
9
votes1
answer207
viewsQ: What is the difference between String name = "test" and String S4 = new String("Peter");
What’s the difference of assigning a value to a variable by creating an object and assigning Unboxing at a direct value? String s4 = new String("nome"); String nome = "nome";…
-
2
votes2
answers50
viewsQ: doubt with query in sql
I have a table with 5 fields: id name office salary date ...and wanted to make a query that returns the name of the people with the highest salary, of each position, and I have for example 3…
-
0
votes1
answer105
viewsQ: php database modeling doubt
I’ll make a system for a colleague so I’m doubtful how I model the database I have a table with tbl_leituraAtual tbl_leituraAnterior tbl_consumo tbl_factorCorrecao = tbl_total how do I make this…
-
2
votes1
answer512
viewsQ: Program that read 3 numbers with repeating structure with scanner class!
How do I make a Java algorithm that reads 3 numbers and averages? I know how to do it without repeating structure, but how to do it with repeating structure? Follow my code below, but do not have…
-
0
votes2
answers1497
viewsA: How to remove decimal point
It worked I was doing the cast the wrong way, obg to all! public void calcularVotosTotal(){ System.out.println( "votos validos " + (int)(this.getNumeroEleitores() * 0.8) + "% " + " Votos Brancos " +…
javaanswered Everson Souza de Araujo 359 -
0
votes2
answers1497
viewsQ: How to remove decimal point
I have this method public void calcularVotosTotal(){ System.out.println("votos valiudos " + this.getNumeroEleitores() * 0.8 + "% " + " Votos Brancos " + this.getNumeroEleitores() * 0.06 + "% " + "…
javaasked Everson Souza de Araujo 359 -
0
votes2
answers61
viewsQ: Could you help me because you won’t remove it from the list?
My interface public interface RepositoryProdutos { public void Listartodos(Produtos produtos); public void Salvar(Produtos produtos); public void remover(Produtos produtos); } Class implementing…
javaasked Everson Souza de Araujo 359 -
3
votes1
answer341
viewsQ: Design versioning Standard 5.1
I do a project in Laravel 5.1 and use the XAMPP and all settings as database this site,(home computer) etc. Only I went up (push) for Github this project only when I go on the work PC I clone the…
-
1
votes1
answer1150
viewsQ: Column not found: 1054
My code returns this error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'postagens.id' in 'where clause' (SQL: select * from `postagens` where `postagens`.`id` = 1 limit 1) follow my code…
-
1
votes1
answer133
viewsQ: Route Error Accessing Site
When I add this route to the file Routes.php: Routes.php Route::get('postagem', function (){ return "teste"; }); Route::get('/', function(){ return View::make('hello'); }); Presents this error:…
-
0
votes0
answers32
viewsQ: configure breakpoint in eclipse Luna
I already searched the net and Youtube and I did not find a way to configure the breakpoint in eclipse Luna with PDT I use windows and with server I use wamp and on other machines XAMPP, someone…
-
-4
votes1
answer1226
viewsQ: Update does not give error but does not update in the database
Why don’t you do UPDATE in the database? The code does not give error but does not update. <?php elseif ($op === "atualizar") { //Atualizar arquivos $id = $_POST["id"]; $nome =…
-
1
votes1
answer219
viewsQ: How to create a Christmas tree algorithm in PHP
I am making the following code, but PHP does not add and assign zero: <?php $linha = "*"; for($i = 0; $i < 6; $i++){ echo($linha)."<br>"; $linha += "*"; //aqui o php nao soma } ?> The…
-
0
votes1
answer134
viewsQ: Implicit type conversion error
Error 1 Cannot implicitly Convert type 'Cursocavancado.Client' to 'string' C: course Cursocavancado Cursocavancado Form1.Cs 47 31 Cursocavancado Follows the class namespace CursoCAvancado { public…
-
1
votes3
answers4918
viewsA: Create table html and zebrar the same
An Alternative and use jquery in your Voce project can use this way function zebrar() { $('table th').css('background-color', 'green'); $('table tbody tr:even').css('background-color', '#efe3e');…
-
3
votes4
answers9242
viewsA: Datetime field error message
I had a problem like this recently with the Chrome browser and I decided to put this code: $.validator.addMethod('date', function (value, element, params) { if (this.optional(element)) { return…
-
0
votes3
answers12809
viewsA: Error while running my MVC application
It is very simple to solve this problem: you need to rename the field Inherits, because he is trying to inherit from a class that does not exist or that has been renamed the namespace, or that this…
-
-2
votes1
answer82
viewsQ: Error message about something that does not exist in the application
While running my application is showing this message, but there is no such parameter. Here is the error message: <%@ Application Codebehind="Global.asax.cs"…
-
-1
votes1
answer88
viewsQ: This error message appears when running my program
When running my program the following error arises: >Error 1 'AgendaMVC.Models.AgendaDBContext' does not contain a definition for 'Agenda' and no extension method 'Agenda' accepting a first…