Posts by Rebeca Nonato • 1,163 points
59 posts
-
0
votes0
answers224
viewsQ: Http Failure Response for (url): 0 Unknown Error?
I have a local code. The front (Angular 8) sends a POST request to the back (.net). On another computer it works normally. But in my current computer does not work. Returns: Http failure response…
-
0
votes1
answer72
viewsA: Angular how to use disabled in a matInput input?
According to this new version of Angular 8.0 Actually disabled input fields should stay in . ts HTML continued like this: <form class="needs-validation" novalidate [formGroup]="form"> <div…
angularanswered Rebeca Nonato 1,163 -
0
votes1
answer72
viewsQ: Angular how to use disabled in a matInput input?
I have my HTML: <form class="needs-validation" novalidate [formGroup]="form"> <div class="form-row"> <div class="col-md-4 mb-3"> <label for="nome">Nome</label>…
angularasked Rebeca Nonato 1,163 -
0
votes0
answers21
viewsQ: Return xml with 406, Net Core 2.2, with Formatfilter?
I’m trying to make a comeback in mine Controller with FormatFilter .xml, but I get the 406. Controller: [HttpGet("xml/loja/{id}/{format}"), FormatFilter] [Produces("application/xml")]…
-
4
votes2
answers1473
viewsA: What is the difference between % and % in C?
If you’re talking about printf or scanf. Here’s a table to help you better: printf ("Teste %% %%") // "Teste % %" printf ("%f",40.345) // "40.345" printf ("Um caractere %c e um inteiro %d",'D',120)…
-
0
votes1
answer33
viewsA: repeated number vector program
Look if it helps you, it’s cm Js. Easy convert to the language you need. var vetor = [5, 2, 5, 3, 2, 2, 5, 4, 3]; //vetor que precisa receber do usuário var n = 9; // numero de casas do vetor var…
c++answered Rebeca Nonato 1,163 -
1
votes1
answer682
viewsA: Connect Sqlserver Localhost to Dbeaver? Connection Error?
Got it right here, I have to change a configuration: Gets into C: Windows Syswow64 Sqlservermanager15.Msc Enabling the third service And on this screen will giving Restart in the services Now just…
-
0
votes1
answer682
viewsQ: Connect Sqlserver Localhost to Dbeaver? Connection Error?
I want to connect the Sqlserver Localhost in Dbeaver Manager. But trying it gives the error: The TCP/IP connection to the host mssql., port 1433 has failed. Error: "Este host não é conhecido…
-
3
votes1
answer81
viewsA: Error mounting a Json via code
Try something like that: Declares the Contact class. (maintain default of the nomenclature rules) public class Contato { public string sequencia { get; set; } public string codigo { get; set; } ...…
-
1
votes2
answers229
viewsQ: How to receive a character array in C with for?
Considering Mxn as 2x2, I need to receive in each Mxn position a character. for example: r d g h for(i=0; i<m; i++){ for(j=0; j<n; j++){ printf("Digite um caractere para a posicao %d x %d da…
-
0
votes3
answers342
viewsA: How to make a sum in a loop for or while?
The way to insert more values in a sum would be like this. the value X +(sum) e = the value 7. x+=7 var x; for (x = 4 + 1; x <= 31; x+=7){ console.log(x); };…
-
3
votes1
answer111
viewsQ: What is the difference between $Dirty vs $invalid in Angularjs? For form validations?
What is the difference between $Dirty vs $invalid in Angularjs? For form validations? For example, when the form comes empty, the $invalid is true, but $Dirty is not. What is their logic?…
angularjsasked Rebeca Nonato 1,163 -
2
votes1
answer39
viewsA: How do I display in columns instead of a grid ? preference inside the <div> tag
Follow an example of columns with css only. body { margin:0; padding:0; color:#000; background:#fff; } #geral { width:960px; margin:0 auto; background:#ddd; } #cabecalho { background:#fdd; } #…
-
0
votes1
answer23
viewsQ: How to insert multiple phones in a tag next to, from a enter or tab, or even a button? React
I want the phone input, when adding, and the user click enter or tab, (or even an add button or +), it inserts the phone in the side tags, (can be below or even within the input itself - just like…
reactasked Rebeca Nonato 1,163 -
3
votes2
answers107
viewsQ: How to decrease the tab opened in Visual Code and show navigation arrow between tabs?
How to decrease the tab opened in Visual Code and show navigation arrow between tabs? In case, I want to decrease the size of the tab of each open file, and/or when I open several files, be able to…
visual-studio-codeasked Rebeca Nonato 1,163 -
3
votes4
answers1039
viewsA: Google fonts in React Native
Consider that you should import the source, not simply use it. You can import either directly from the source site in index.html, or as the file in the CSS folder preferably the project’s global…
-
0
votes2
answers219
viewsA: Questions when returning data from an API to html?
Come on, to keep the default code, you should use async and Promise for the call that shows the result in html, "wait" the api work first and only after having the result it present on the screen.…
-
0
votes1
answer122
viewsA: How to pass ng-repeat {{$index}} as a mixin parameter? (Angularjs)
So you’re allocating it wrong. Come on. No ng-repeat use this way: td(ng-repeat='atendimento in cadastro.atendimento track by $index') +checkbox("{{cadastro.perfil[$index].nome}}",…
-
4
votes2
answers57
viewsA: Condition Se in Excel
What should be the action of the formula for when Else: =SE('Dados Pacientes'!N2="Sim";'Dados Pacientes'!A2;"Faz Alguma Coisa Quando For Não ou Não tiver Respostas") In the case: 'Dados…
excelanswered Rebeca Nonato 1,163 -
2
votes2
answers467
viewsA: How to Tab the Cursor in Vs Code?
TAB configuration in Vscode Log in to Json dos Settings or on the list of Shortcuts to see what is assigned to Tab. The option is to change the use of Tab in the VS Code settings. Go on File >…
visual-studio-codeanswered Rebeca Nonato 1,163 -
2
votes1
answer32
viewsA: Visual Correction Studio
Depending on the language you are using, you can download some Code Formatter plugin for the specific language you are going to use. Just look in the VS Code extension gallery: "Your Formatter…
-
1
votes1
answer729
viewsQ: How to call a Function from another file, within a Function from the main file?
I have in the file App.js And the first time it’s loaded, it calls the const response = await api.get('/searchDate');, and returns a list of dates. I want to take the first position on the list,…
reactasked Rebeca Nonato 1,163 -
0
votes1
answer47
viewsA: How do I convert integer and dot numbers into real currency e.g.: 10.00
Consider that your question already exists here and here and here Here are some ways to do it: var atual = 8.66; //Formato com R$ var f = atual.toLocaleString('pt-br',{style: 'currency', currency:…
javascriptanswered Rebeca Nonato 1,163 -
1
votes1
answer57
viewsA: List the names of all objects within the array
In case you need a repeat to go through all the objects. notice the Insert I made: <md-chips input-aria-label="Esportes favoritos" ng-repeat="chipText in ctrl.chipText"> The…
-
1
votes1
answer159
viewsA: VS Code formatting erroneously . ejs files while saving
Disable in the settings of vscode. FormatOnSave. or Inserts this item into your settings.json "editor.formatOnSave": false, or If you do not want to format only a certain file extension:…
visual-studio-codeanswered Rebeca Nonato 1,163 -
1
votes3
answers67
viewsA: I’m having trouble developing my code
I believe you need to better understand the question. What is the meaning of your code??? Let’s go there:: var listaDeGanhos = [10, 30, -10, -5, -1, 40] // Aqui você tem a variável que carrega os…
javascriptanswered Rebeca Nonato 1,163 -
0
votes4
answers261
viewsA: Generate 7 random dozens using javascript and loop for? How to do?
Follows the functional code. gerarDezenas(); function gerarDezenas() { var dezenas = ["d1","d2","d3","d4","d5","d6"]; for (var i = 0; i < dezenas.length; i++) { Math.random()*60 dezenas[i] =…
-
0
votes1
answer69
viewsA: Insert into database in C#
The insert of your table must contemplate the fields of the same. If Id is auto-increment, just leave the space for it. Look at this question that addresses this here: Question of Auto-increment…
-
0
votes1
answer72
viewsA: Calculation of quantity of products with error?
The code is in error when recovering the price value. Several points: Do not put variable with (ç) cedilla, accent or anything in that direction. Check the good variable naming rules. Check the…
-
1
votes3
answers308
viewsA: Parameterized functions - calculatValue
Consider the following. First: You’re multiplying the weightDaRoupaSuja by 3, but you’re not saving that new value. Second: You do not need to declare a variable you received as a parameter in the…
-
1
votes1
answer62
viewsA: How to display the highest number of decimals in javascript?
Hello, Understanding the question you can consider the following: JS uses a binary floating point-based numeric type and this means there will be no numerical accuracy. The maximum is…
-
9
votes2
answers1480
viewsA: How to add references in Visual Studio Code?
I found an extension that facilitates with the addition of Dlls. A .NET Core Add Reference is an extension that allows you to add a dll to your project. In the Extensions tab just search for this…
-
1
votes1
answer60
viewsA: Not returning HTML in React
Check on your call in Routes.js. <Route path="/dashboards" component={Dashboards} /> And in your Routes.js imports don’t need to point to index.js, only to the Folder in question. import Logon…
-
1
votes1
answer332
viewsQ: React with Hooks, useState, the value sends to each input and does not show on the screen.?
I’m doing a compound interest calculation. I receive the form data valores.js, called by function enviarValores() with the onSubmit={handleSubmit(enviarValores)} and I want to send the answers…
-
3
votes1
answer58
viewsA: How to update the screen as filter inserted as pure Javascript in the search?
I did, just by inserting a line to remove the content generated by the previous filter: filtro.onkeyup = function() { var nomeFiltro = filtro.value;…
javascriptanswered Rebeca Nonato 1,163 -
2
votes1
answer58
viewsQ: How to update the screen as filter inserted as pure Javascript in the search?
The data is arranged this way, but I want in the search field to insert an 'a', then only the fields containing letter 'a' appear. But if I put 'as' right away, the search should be updated. but it…
javascriptasked Rebeca Nonato 1,163 -
0
votes3
answers36
viewsA: How to make the <p> tag divide a text into 4 lines of few characters?
you can split the texts with <br />. (would be the most grotesque way). Other alternatives, is to put the <p> inside <div> and style with css at maximum width.…
htmlanswered Rebeca Nonato 1,163 -
1
votes1
answer112
viewsQ: Error while upgrading Github, pushing master
I can’t update the master or merge with the master. I can move the project up to other branchs, master-b. But updating the master (push) gives this error: NOTE: When trying to pull, this error…
githubasked Rebeca Nonato 1,163 -
1
votes2
answers1188
viewsA: Character counter typed in a textarea
https://docs.angularjs.org/api/ng/directive/ngKeyup <p>Typing in the input box below updates the key count</p> <input ng-keyup="count = count + 1" ng-init="count=0"> key up count:…
javascriptanswered Rebeca Nonato 1,163 -
-1
votes1
answer51
viewsQ: Variable this.variable does not load the information for search, but for listing uploaded
The code is available at:Github I got the Main Class: static void Main(string[] args) { ControleClienteService controleCliente = new ControleClienteService(); controleCliente.CarregarCliente();…
-
9
votes1
answer668
viewsQ: Can I accept a pull request locally? Via terminal or Github desktop?
I can accept pull request open locally, via terminal or Github desktop.
-
1
votes1
answer77
viewsQ: How to sort a vector (A) according to another vertor (B) (containing repeated numbers) in javascript?
problematic: I have a table with questions, For each type of Intervention I carry certain questions. I need to show these questions on a completion screen, for this type of specific intervention.…
-
1
votes1
answer112
viewsA: Phone field validation with js
There are several ways. I suggest you look for existing questions/answers. Validation Telephone Field How to validate jQuery Validator mobile and landline number? How to validate mobile and home…
javascriptanswered Rebeca Nonato 1,163 -
0
votes1
answer44
viewsQ: In the Google Crhome debugger for Javascript, can you Skip some files? Like "Angular.js"
Like, I need to debug with F10 or F11, but before a function to another, it already calls these files, like the image below. You have to mark that I want to jump them?…
-
0
votes1
answer59
viewsA: Insert Formula Matrix in Excel, via C#. ? (If you insert directly through excel, I have to give Crtl - Shift - Enter) - How to do this command with C#?
I managed to make. Answer obtained on Link: C# EPPLUS excel array formula workarounds Stayed that way: planilhaGrafico.Cells[i, j + 1].CreateArrayFormula("=SUM(LEN(" + nomePlanilha + "!" +…
-
0
votes1
answer59
viewsQ: Insert Formula Matrix in Excel, via C#. ? (If you insert directly through excel, I have to give Crtl - Shift - Enter) - How to do this command with C#?
The following Code inserts a Formula into a cell in Excel. Based on the Spreadsheet "DATA", AND According to the column beside. However, this formula is a Matrix Formula, which in Excel needs to be…
-
0
votes2
answers118
viewsA: Error inserting formula into a cell in Excel via C#? Worksheet?
I found the solution. Excel reads the formulas in English; However, Excel on the machine is Portuguese; So it was set that it should read in English:…
-
0
votes2
answers118
viewsQ: Error inserting formula into a cell in Excel via C#? Worksheet?
I have the following code: newWorksheet.Cells[1, 1] = "Status"; var var1 = newWorksheet.Cells[2, 1] as Excel.Range; var1.Formula = "=CONT.SE(Planilha1!B2:B7;'Ativo')"; newWorksheet.Cells[3, 1] =…
-
0
votes1
answer1891
viewsA: IIS with Asp.net core 2.0 - Error 502.5? IIS does not recognize Asp.net core 2.0
To correct this error the following steps have been done: Install the versions of: (https://dotnet.microsoft.com/download/dotnet-core) .NET Core 2.1 Build apps - SDK: dotnet-sdk-2.1.402-win-x64 Run…
-
0
votes1
answer1891
viewsQ: IIS with Asp.net core 2.0 - Error 502.5? IIS does not recognize Asp.net core 2.0
I have the project on the computer, and the same on the computer of the colleagues runs with the IIS. But on my pc, it does not run, gives the error HTTP Error 502.5 - Process Failure I generated…