Posts by Eduardo Gonçalves • 155 points
20 posts
-
2
votes1
answer248
viewsA: Where are the log-in routes in the Laravel?
Inside your Routes/web.php file has a "Auth::Routes();", that’s where the routes are, it’s auth’s default
-
2
votes3
answers96
viewsA: Generate HTML using Javascript
Create a clone of the element with id Divtelefone: Let clone = Document.querySelector('#divTelefone'). cloneNode( true ); Changes the id of the cloned html: clone.setAttribute( 'id', newId ); Attach…
-
4
votes3
answers180
viewsA: Mysql - Create an alias by concatenating multiple fields
SELECT u.nome + ' ' + u.sobrenome AS nome_completo FROM usuarios u or SELECT CONCAT(u.nome + " " + u.sobrenome) AS nome_completo FROM usuarios u;…
-
-1
votes1
answer120
viewsA: Error of CORS Ionic 3
If you have access to your application backend, configure the CORS in your application Windows, if you do not have and are performing localhost access, configure the proxy of your frontend, but when…
-
1
votes1
answer45
viewsA: Put 24hrs format in ngx-material-timepicker
Following documentation only required format implementation: ngx-material-timepicker [format]="24"
-
0
votes2
answers47
viewsA: Pass a constructor variable to another method
Locally instantiated variables that serve the class all must be called with $this->variable that_wish In your case $this->Conn
-
1
votes1
answer27
viewsA: Search commands in Ubuntu 18.04 applications
Using command ls ${PATH//:/ } This will list all commands in your $PATH environment variable. To store the result in a file, you can redirect the output to a file. ls ${PATH//:/ } >…
-
1
votes1
answer2430
viewsA: Error Response from daemon: failed driver External Connectivity on endpoint
The address you are trying to direct port 5432 is already in use by another application if you are using Docker-Compose, use the tag port: - 5431:5432
-
0
votes1
answer125
viewsA: Docker-Compose Tomcat - mapping external directory
No need to save outside the Docker container, this happens because you don’t have a volume for your application, try to mount a volume by following the documentation…
-
0
votes0
answers35
viewsQ: Automatic Drag and Drop after image capture
I’m making a registration form in which users can register dragging and dropping or take a photo with your webcam, but when taking a photo via webcam (already implemented this feature), the idea…
-
0
votes1
answer203
viewsA: Error accessing mysql Workbench using Docker-Compose
phpmyadmin: image: phpmyadmin/phpmyadmin:latest container_name: phpmyadmin depends_on: - mysql links: - mysql ports: - 80:80 environment: - MYSQL_ROOT_PASSWORD=root - MYSQL_USER=root -…
-
0
votes2
answers1326
viewsA: Error when connecting mysql instance with nodejs
Use the name of your Docker container as a host in case I understand that Voce named your container with "mysql-Docker", if you have any doubts about the name execute "Docker ps -a" and check the…
-
0
votes1
answer250
viewsA: Use of Foreign Keys Laravel 5.6
Foreign key (Foreign key) is the field that establishes the relationship between two tables. Thus, a column corresponds to the same column as the primary key of another table. Thus, it should be…
-
0
votes1
answer1430
viewsA: Difficulty with belongsto Laravel 5.6
If the student can have several situations then "hasMany student (has many) situation", and "belongsTo(belongs to) student", remembering that it is necessary to perform the mapping of both sides so…
-
-1
votes2
answers329
viewsA: Laravel architecture for Saas systems
I have a similar scenario, but in my case, I have a "club" database, where you have your login data and the database access data of each, soon when you login, I perform the search inside the club…
-
1
votes1
answer77
viewsA: Error uninstalling Laravel Passport
You can remove the Passport manually by deleting the line "Laravel / Passport":"...." in your Composer.json file, then run the Composer update, using Composer update. Be sure to remove references in…
-
0
votes2
answers111
viewsA: Laravel does not install
Basically you need the PATH configuration as explained in the comment above and also in the documentation of the Laravel, macOS: $HOME/. Composer/vendor/bin GNU / Linux Distributions: $HOME/.…
-
-1
votes1
answer605
viewsQ: Typescript, dot and comma or no?
I am recently entering the angular world, and came across some tutorials where not even imports and also the codes are without completion followed by ; The use really becomes necessary? And what’s…
-
-1
votes2
answers940
viewsA: Status Exited (0) after a Docker-Compose up command
Have you tried adding the tty tag? Below is an example: version: '3' services: app: build: . ports: - "8081:80" networks: - backend tty: true Worked for me when using a Nginx and mysql db server…
-
0
votes1
answer231
viewsA: Problem installing Docker image
Already tried to execute command: docker pull mcr.microsoft.com/windowsservercore-insider:latest Source: https://hub.docker.com/r/microsoft/windowsservercore-insider/ Remembering that Docker should…