Posts by Thiago Cunha • 1,356 points
108 posts
-
1
votes3
answers910
viewsA: Encoding without configuration: Eclipse (JSP) and Vscode
I managed to isolate the problem and ended up discovering that this problem is inherited from the eclipse. For such a test, I did the following procedures: I created files in Vscode and Notepad with…
-
1
votes3
answers910
viewsQ: Encoding without configuration: Eclipse (JSP) and Vscode
I have some problems related to encoding. Both in eclipse and Visual Studio Code are aimed at UTF-8. When I repair and save using the eclipse, it goes fine. But when I save in Vscode, the encoding…
-
1
votes2
answers3029
viewsQ: Modal Bootstrap 4: How to call another within a modal
Guys... I have a registration modal. Since I would like to call another modal, being still inside it. I mean... It would be superimposed on my registration modal. I’m using the code to call my modal…
-
1
votes1
answer206
viewsQ: Select only ONE checkbox with vanilla javascript and bootstrap 4
I have the following code that generates the printable form in the image... <div class="form-check form-group" id="areaTermosCondicoes"> <input type="checkbox" id="accept-term"…
-
1
votes2
answers215
viewsQ: Get the value of a radio type button with Vanilla Javascript?
How to select a radio button using pure JS and pick the value set by the user? Follow my HTML code: <div class="form-check form-check-inline"> <input class="form-check-input" type="radio"…
-
1
votes1
answer542
viewsQ: How to popular a postgres table with JSON?
I would like to popular my tables with Json. But I’m not getting it. Does anyone have any solution? Follows JSON: https://gist.github.com/letanure/3012978…
-
1
votes4
answers82
viewsA: How do I limit a text box?
I prefer to separate the responsibilities to avoid command-inline. I think you better get used to it that way too, but the two ways above are not wrong. textarea { width: 100%; height: 150px;…
htmlanswered Thiago Cunha 1,356 -
2
votes1
answer30
viewsQ: Query to catch a student’s mistakes and successes
I would like a query to catch mistakes and hits from a particular student of the following table below:…
-
0
votes1
answer152
viewsA: Connect MS SQL in PGADMIN
The Spoon (Data Integration) will help you in this direction. It’s more DW-oriented, but you can create this kind of quiet service. It is an incredible tool of the company Pentaho.…
-
0
votes1
answer43
viewsQ: Postgresql: Catch amount of errors and hits
I need a query to get amount of errors and hits from this table.…
-
2
votes2
answers876
viewsQ: Query SQL to select student and student name
I have this simple relational model, and I need a query that selects the student and the student’s name.…
-
0
votes1
answer146
viewsQ: Retrieve JSON user data by jquery
I have a json that I am running through the json-server and this in the address: http://localhost:3000/ Inside it, there is a scope of "users", which I would like to take. I have the following…
-
2
votes2
answers113
viewsQ: How to use before in CSS?
The image below shows my expected result. In fact, I would like every time I instantiate the tags H1, H2, H3 in html, to come up with this outline below the title. I was researching something…
-
0
votes3
answers68
viewsA: Doubt of HTML5
Let’s go from the basics: If you’re learning to program, don’t use the var. Use let or const to declare a variable in Javascript. One of the biggest problems you will encounter with var is the scope…
-
1
votes0
answers39
viewsQ: How to increase the level of image optimization using Gulp?
I have a task and would like to know how to improve image optimization? Follow my script below: gulp.task( 'build-img', () => gulp.src('assets/img/**/*') .pipe(imagemin( { interlaced: true,…
-
1
votes2
answers1079
viewsQ: How to disable Trigger for all tables in Postgresql?
How to disable Trigger from all my tables in postgresql?
-
0
votes1
answer1582
viewsQ: How popular in database to perform tests?
I am needing to popular this bank to perform consultation tests for didactic imprint. I already have about 5 students, 2 teachers, but the problem is to popular the exercises manually. There is some…
-
0
votes1
answer377
viewsQ: How to organize my models in an Angular Cli project?
I wonder if it is possible and also if it is a good practice to organize my templates outside of a component directory. For example: I would like to keep my templates inside a directory called…
-
-1
votes3
answers745
viewsQ: Error with Bootstrap 4 at Angular 5
I hit with the following problem in Angular while trying to install Bootstrap in its version 4: ERROR in…
-
-1
votes3
answers745
viewsA: Error with Bootstrap 4 at Angular 5
This is because there is a bug between the new version of angular-cli and the newer bootstrap. To fix the bug, you should: Delete the node_modules directory Remove the accent on the front of the…
-
0
votes2
answers950
viewsQ: Is there any method for me to create translations of pages with Javascript or Typescript?
I wonder if there is any method for me to create my own translations of static pages with Javascript.
-
0
votes1
answer571
viewsQ: How to use Base64 image in Angular 2?
I am consuming the service of a json through Angular 2. And within an ngFor with my let professor of professores, has a line where I consume this image of type Base64: <div class="foto-card"…
-
0
votes1
answer6059
viewsQ: Angular 2: Please add a @Ngmodule Annotation
I’m having an error asking to add the @Ngmodule annotation. But I believe this ok. follows error: Uncaught Error: Unexpected value 'Http' imported by the module 'AppModule'. Please add a @NgModule…
-
1
votes0
answers81
viewsQ: JSF and JPA with Eclipselink: Inserting element twice in the database
I’m working on software and I’m having a certain headache to insert some related objects. It is inserting this object twice and the error is not viewable. To see the whole project, follow github…
-
0
votes1
answer33
viewsQ: Error loading JSF project: URL changing alone
When running my project in netbeans, my project is being uploaded to the URL http://localhost:8080/loogix// when you should actually carry http://localhost:8080/loogix/faces/index.xhtml. The log…
-
0
votes0
answers642
viewsQ: How to fix in my code: Null Pointer Exception
my database has those responsible with values of "Supervisor" and "Manager". However, I do a search to get the Employees responsible and no return. See my getResponsaveis method in my class "Maid.":…
-
1
votes1
answer1662
viewsQ: JSF error: javax.el.Propertynotwritableexception
I have an error that I can not solve and do not know the reason Follow error and my classes and view below. type Exception report messageInternal Server Error descriptionThe server encountered an…
-
0
votes0
answers53
viewsQ: Error while running JSF
I have a JSF error that I can’t figure out. It looks like it’s with my DAO product or Product. This was happening when I was recording a product, now the project doesn’t even open anymore.…
-
6
votes3
answers31875
viewsQ: How to know the version of Angular installed by Angular CLI?
I wonder how I can find out the version of Angular I’m using?
-
0
votes2
answers226
viewsA: Theme that is used in the Atom IDE Landing
I checked directly in the application Forum, and unfortunately the theme owner no longer works in the company. The company eagerly awaits the return, and soon after that, for projects like this…
-
0
votes1
answer1813
viewsQ: How to import my CSS styles and my JS scripts to an Ângular project?
I have an Angular 2 project, and would like to import the scripts and style sheets to my project. When I go to encapsulate my project in sessions, the ângular does not properly interpret the files…
-
1
votes2
answers687
viewsQ: Angular 2: My component does not work on index
I would like to interpret my component within my index.html, about.html, contact.html, and other pages. I created the component using Angular cli. My structure is as follows: The code inside my file…
-
0
votes0
answers210
viewsQ: Function fecth: The CORS header 'Access-Control-Allow-Origin' is not present
I am trying to simulate an application I am running on a local Glassfish server. The IDE I am using is: Intellij. I built a method that consumes an API service from an address:…
-
1
votes0
answers73
viewsQ: Error [Cannot GET] when simulating my application with lite-server with typescript
I am error when simulating my application in typescript, the generated error is: Cannot GET / My tsconfig.json file from my application is simple, it only contains the following settings: {…
-
1
votes1
answer339
viewsQ: How to check the size of a div and adjust it by jquery?
How can I check the size of a div with jquery? The timing of that div is automatic, but I’d like to limit your endurance. I am assigning a class to this element, because it is inside a loop of my…
-
1
votes3
answers236
viewsA: char print returns random character
Your distribution does not interfere, I also use linux and the same problem. Your code didn’t test on a Windows OS, so I don’t know if whatever you developed will work. But about String, your code…
-
1
votes2
answers226
viewsQ: Theme that is used in the Atom IDE Landing
As Atom support staff takes a long time to respond, I would like to know if the @Stackoverflow community knows the theme that is used on the Landing page of the Atom IDE? https://ide.atom.io/…
-
1
votes1
answer2414
viewsA: Is it possible to change the theme or colors of the Workbench?
A theme with this implementation is a low-level issue of the tool, namely the development team that should implement this type of feature. There are already several people making this request uncle,…
-
4
votes2
answers52
viewsA: Doubt for an activity
For you to select an HTML element in Javascript, seven your field with an ID, if use once, as was done in your code: <input type="text" id="myText" value="Mudar aqui"> In this case, your ID is…
javascriptanswered Thiago Cunha 1,356 -
5
votes1
answer144
viewsQ: Extension to improve Atom productivity
I wonder if anyone knows any tool that provides these functions in the Atom editor or Atom IDE? These functions help me in day-to-day productivity!…
-
0
votes1
answer305
viewsQ: DAO files in PHP required?
I wonder if DAO classes are required in PHP? Ex: Productodao I see many people programming without putting same DAO files on a MVC platform. I am learning Object-Oriented programming at my college,…
-
-1
votes4
answers581
viewsA: What is the most appropriate method to "connect" a CSS code to an HTML?
There are several ways to treat a CSS. By Javascript is a way, and you can work more in depth with the style sheet, because you will work as low as possible within a browser. There is also the…
-
3
votes1
answer484
viewsA: Eclipse error
As you know, Java 9 still needs a lot of tweaking, and the development environments also need to be prepared to receive these tweaks. When I installed Java 9 on my Ubuntu I also encountered several…
-
1
votes1
answer1616
viewsA: Circular List Double chained in C/C++
I was able to solve the removal problem of the last element. List* removeFinish(List* list) { if (isEmpty(list)) { return NULL; } if ( (list->previous == list) && (list->next == list)…
-
1
votes1
answer1564
viewsA: How to export settings of a Wordpress theme?
Of course there is! I’ll give you the step-by-step solution of an example... Export your database to Mysql via phpmyadmin or the terminal. For this, go to your main database, and select the one you…
-
2
votes1
answer37
viewsA: Doubt about Wordpress
Hello! It is possible yes! But if you are a beginner, try to buy some theme and manipulate to earn your change. I started like this, and I was buying time to learn how to master the main features of…
-
2
votes2
answers529
viewsA: Atom text-editor - When clicking the function go to code
Now the Atom has turned Atom IDE thanks to Nuclide, a very active and powerful community adopted by Facebook. Now what was just an editor, has turned into a true IDE. I managed to do what you are…
-
0
votes2
answers687
viewsA: Atom text-editor, How to show line errors
Linter PHP would be a good solution, but it was a temporary gambiarra. Thanks to Nuclide, a very active and powerful community adopted by Facebook, now what was just an editor, has turned into a…
-
1
votes2
answers1735
viewsA: Install PHP plugin for Atom editor
Linter PHP would be a good solution, but it was a temporary gambiarra. Thanks to Nuclide, a very active and powerful community adopted by Facebook, now what was only an editor, has turned into a…
-
1
votes2
answers516
viewsA: Show PHP error in Atom
Linter PHP would be a good solution, but it was a temporary gambiarra. Thanks to Nuclide, a very active and powerful community adopted by Facebook, now what was only an editor, has turned into a…