Interesting questions
-
-1
votes2
answers3178
viewsFormat float in Python
How should I show only two decimal places using the "float" in Python print('The average weight of these people is: {}'. format(media))
python-3.xasked 6 years, 4 months ago Sergio Campos 13 -
1
votes0
answers69
viewsProperty 'utm' does not exist on type 'typeof
Greetings, I am beginner in both Angular and Typescript I come from java. I’m doing the front-end of a project using Angular 10, in it use leaflet to display maps but a need to install dependency…
-
2
votes0
answers148
viewsGradle build error in Secure Paging API - Java
I’m trying to implement the Secure Pag API on my system, I was looking at the step by step that it asks to download the repository on Github, then access the folder source and then execute the…
-
0
votes0
answers25
viewsAngular I cannot create a component with ng g c
Ola I’m trying to use the command to create component called sidebar in the angular o ng g c sidebar but when I press enter the terminal looks like in the photo.…
-
0
votes0
answers8
views.NET Core - Addhttpclient returning null
In an ASP.NET Webapi project I am trying to register a typed http client in the DI container. But when trying to configure using the service Provider ends up returning null in the service. Ambiente…
-
0
votes0
answers24
viewsWhat is the best way to display an item rating without overloading the system?
Hello The site I am currently working on was developed using Laravel, using MYSQL as the database. The base currently has 500,000 registered players. Each player has a score. Currently the system…
-
-1
votes2
answers228
viewsHow to pass a search parameter in the retrofit with Kotlin?
I am trying to use the Retrofit library to make HTTP requests for the API: API Star War, with the Kotlin language, however I don’t know how to correctly pass a search parameter to an API function.…
-
1
votes2
answers80
viewsGenerate model-based Migration (Entity Framework)
I’m trying to generate a model-based Migration: [Key] public int Id { get; set; } [MaxLength(100)] public string NomeInstituicao_Fundamental { get; set; } public string AnoInicio_Fundamental { get;…
-
0
votes1
answer90
viewsA page with a list of other pages
I would like to know how I do, for example, page that will list the other pages:APP,SITE,etc: import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular';…
-
2
votes1
answer328
viewsWeb API does not accept parameters in the constructor with Autofac
I created an API to query client, this is my configuration: public static class AutofacWebapiConfig { public static IContainer Container; public static void Initialize(HttpConfiguration config) {…
-
0
votes0
answers33
viewsPass icon and name in ng-options
If anyone can help me, but I appreciate it! This is my code: $scope.Moedas =[ { id: 0, nome: "REAL", icon:"fas fa-dollar-sign" ,ativo: false }, { id: 1, nome: "DOLAR", icon: "fas fa-dollar-sign",…
-
6
votes2
answers1225
viewsMaven + Spring MVC + JSP project, how to share view files?
I’m trying to adjust a file structure to start a big project, an ERP to be more exact. Today, there is a good part of it made in PHP in a disorderly way. Let’s adopt Java Web (Maven + Spring MVC +…
-
-1
votes1
answer315
viewsHow to generate the jar file by Maven?
I need to generate a file jar in the project folder as shown in the image below; I don’t want to be depending on the bash command mvn clean install, i would love to put the settings in the pom.xml…
-
3
votes4
answers425
viewsQuery BD and show all results except the first
I have the table tbl_galeria, what happens is that I want to make a consultation, but the consultation cannot show the first result. That is, the query will return all values except the one with the…
-
2
votes1
answer95
viewsPosition text before and after a hyphen aligned to the center
I have two information, an email and a number ( phone ), between the two put a hyphen. I want to center the hyphen in the middle of the screen and put the email on the left side of that hyphen and…
-
0
votes2
answers434
viewsHow to recover documents from a Firestore(Firebase) collection in the right way?
I want to recover all documents from an internal collection of a document in the Firestore for an array, in case this collection has 2 documents, however after running the code below the…
-
-1
votes1
answer34
viewsInterrupt the POST Django
I am developing a customer registration project/ addresses/ products, and now I am doing the inventory part (list which products certain clients hired), and I put to send the customer ID and…
-
4
votes1
answer3424
viewsHow to rank with PHP
Well, I have a problem, I know how to pull the ranking and all. My question is I’m gonna pull the 6 with the highest score, and I wanted the first 3 to have a different background, like: Whatever…
-
3
votes3
answers1380
viewsSwitch page time transition
I have an HTML code and I need to make a transition (fade) when I enter another page through the HTML menu I have. The problem is that I’m not able to make this transition. I need to do something…
-
2
votes0
answers75
viewsSet width of Jdialog according to the size of the sums of the columns of a table
I have the column width sum and I need to set this value so that it does not hide parts of the columns and decrease the window. Any suggestions? I created a method that returns the sum of column…