Posts by Tiago Leite • 844 points
20 posts
-
1
votes0
answers73
viewsQ: Illegalargumentexception when deploying Spring Boot application in Weblogic
I am not being able to successfully deploy my Spring boot 2-based application to a server running Oracle Weblogic 12.1.3 due to this error: weblogic.application.ModuleException: null null at…
-
11
votes2
answers475
viewsA: Why in Python 0.03 % 0.01 = 0.009999999999998 and not 0?
Short answer: Precision problems in floating point operations. Decimal numbers are represented on the computer as decimal fractions. For example, 0.125(10) = 0.001(2). Nothing new - but if so, take…
-
3
votes3
answers3985
viewsA: Centralize div de class="Row" with bootstrap
Using the grid and properties of Bootstrap components correctly the behavior you want would be achieved as follows: <!doctype html> <html lang="pt"> <head>…
-
3
votes1
answer1050
viewsQ: Spring Security blocks POST requests despite settings
I am developing a REST API based on Spring Boot (spring-boot-starter-web) where I use Spring Security (spring-security-core and spring-security-config) to configure the protection of different…
-
0
votes3
answers745
viewsA: Error with Bootstrap 4 at Angular 5
I managed to get Bootstrap 4 up and running smoothly in my Angular 5 project. I don’t know if it solves your problem but these are the steps I took to incorporate Bootstrap into my project: I…
-
1
votes0
answers15
viewsQ: Load external file settings
I’m developing an Angular application that will connect to external services. However I have no guarantee that the paths of the services this application connects to remain the same and as such my…
-
2
votes2
answers104
viewsA: Turn the side bar menu into a fixed menu
They made a joke with the button where they added the class .toggled à div with ID #wrapper and thereby added margins and paddling in order to show the menu and to pull the contents of the page to…
-
3
votes1
answer94
viewsA: JSON Return to JAVA Class Conversion Error
The float in Java represents a floating point number with 32-bit precision for every time you write the number, unless you’re doing something like a Console.WriteLine() with a format string, he will…
-
3
votes1
answer887
viewsA: Disable VSCODE vertical indentation tabs
Open the preferences menu - to roda dentada in the lower left corner; Select Settings; Add in "editor.renderIndentGuides": false to its definitions. By the way, if your idea is to customize your VS…
-
3
votes1
answer588
viewsA: How to update the page automatically when saving the project?
I think what you’re looking for is Nodemon: Nodemon is a utility that monitors any changes to the source code and automatically restarts your server. Perfect for the development. [...] Just use…
-
1
votes1
answer1419
viewsA: Google Chrome Redirecting to HTTPS on localhost or virtual host
Chrome implements HTTS - HTTP Strict Transport Security - a policy that forces browsers to interact with websites only using the HTTPS protocol to ensure better security. HTTS works by default for…
-
5
votes4
answers174
viewsA: Comments weigh the code in C#?
Comments are ignored by compilers/transpilators at the time of lexical analysis by when code is compiled comments are always passed forward, not even in binary executable files. The reason why…
-
2
votes1
answer642
viewsA: How do you leave objects side-by-side coming from *ngFor?
Layout of Bootstrap The Boostrap works with a grid system composed of several lines (.row) which are then composed of columns of varying widths (ex.: .col-lg-8) each of which .row has 12 units wide.…
-
4
votes1
answer38
viewsA: Create title for two columns
To make a cell table occupy more than one column, you can use the attribute colspan. If you want to occupy more than one line, you can also use the rowspan, as shown in the example below. <table…
htmlanswered Tiago Leite 844 -
1
votes1
answer827
viewsA: Streaming video with C#
Without a context it is difficult to give a suggestion because you may be trying to make an application UWP, WPF or web. Assuming you are trying to make a WPF application I would recommend taking a…
c#answered Tiago Leite 844 -
5
votes1
answer49
viewsA: Maximum memory consumption on linux bash using openssl with aes
Maybe you can do what you want using the command time(1). According to the page of man of the command it supports format strings with specific features to report memory usage: Memory %M Maximum…
-
1
votes1
answer276
viewsA: How do I deploy an Angular app to Heroku using Gitlab?
The Heroku supports deploy with Git natively, just add a new remote to the repository for Heroku and push for this remote. I tried to make something similar with my Azure Web App - a SPA in Angular…
-
1
votes2
answers5430
viewsA: How is a multi-valued attribute represented?
Since your work is related to the Play Store, Género are "categories" of the store and these values are already stored in the database. If the answer is yes, there is a problem of "many to many" and…
-
4
votes2
answers3734
viewsA: Limit decimal places float c#
The method Console.WriteLine(String, Object) (see doc) has support for Format Strings which can indicate the output format by defining a. One of the examples in the official documentation trumps the…
-
3
votes2
answers1525
viewsA: Restful DELETE method
Short answer: yes. The RFC specifying the method DELETE describes it as follows: "In fact, this method is similar to the rm command on UNIX: it expresses an exclusion operation in the URI mapping of…