Posts by Junior Vilas Boas • 353 points
30 posts
-
1
votes1
answer36
viewsA: Query to retrieve information from a foreign key
Can only get information from fk_user_2 without been duplicate the data with that QUERY: SELECT users.username, users.name, users.user_id FROM friendship AS f INNER JOIN users WHERE fk_user_1 = 1…
-
0
votes1
answer36
viewsQ: Query to retrieve information from a foreign key
I own a table that makes relationship between two foreign keys I would like to do a query where I would check the fk_user_1 and get the information from fk_user_2 I did that QUERY: SELECT…
-
0
votes1
answer151
viewsQ: Mysqli not found in Docker image
I uploaded a PHP application with mysql through docker-compose.yml: version: '3' volumes: data: services: db: image: mysql:5.6 restart: always ports: - '3306:3306' volumes: - data:/var/lib/mysql…
-
0
votes2
answers16
viewsQ: How to select most used foreign key?
I’d like to make one SELECT where to select foreign key(idTema) most used Example: That in the example above would be 1 What would that be like SELECT?…
-
1
votes1
answer143
viewsQ: Error in Vue.js filterBy
I’m using vue.js in my application and would like to filter information with the filterBy HTML <html> <head> <title>Vue Application</title> <link rel="stylesheet"…
vue.jsasked Junior Vilas Boas 353 -
1
votes1
answer305
viewsA: Error while running dockerfile
After much trying to fix that mistake The error actually it is quite simple. By doing the COPY . $HOME/library and rotate the docker build . us we send the node_modules along. This makes the…
-
1
votes1
answer305
viewsQ: Error while running dockerfile
I own one dockerfile which runs an application in Node.js FROM node RUN npm install mongoose RUN useradd --user-group --create-home --shell /bin/false app &&\ npm install --global [email protected]…
-
0
votes1
answer218
viewsQ: How to set $GOPATH to existing folder?
I want install one bundle in a project in go go get -u github.com/gorilla/mux But to the type that commando in the terminal of Ubuntu package github.com/gorilla/mux: cannot download, $GOPATH not…
golangasked Junior Vilas Boas 353 -
0
votes1
answer245
viewsQ: How to edit an attribute in the database?
I’m developing one API where I want to edit information of users after the login. I already have catch the user information after logging as you can see in the function: memberinfo…
-
2
votes1
answer1339
viewsQ: How to relate two "models" to Mongoosis?
I have two models in my comic book user js. var mongoose = require('mongoose'); var Schema = mongoose.Schema; var bcrypt = require('bcrypt'); // User Model var UserSchema = new Schema({ name: {…
-
1
votes2
answers765
viewsQ: What does if(variavél){ /*action*/}mean?
When placing only to variable within the if, for example if( variavél ){ /*ação*/} What does that mean if? And to the contrary if( !variavél ){ /*ação*/}…
-
1
votes0
answers44
viewsQ: Organizing tests on Github, good practice?
I’m currently doing a research for automate and organize the software testing. Amid the researches found some tools, but I believe that a new tool would not be so productive because the developers…
-
1
votes2
answers63
viewsQ: How to run server with loopback?
I have access to a project backend and would like to know how I do to rotate this project. It uses loopback and when reading the documentation of loopback, in instruction 4 says: Start the web…
-
1
votes1
answer224
viewsQ: Gitkraken error to push
Man Gitkraken was working properly, however, since yesterday nay can do the push and at all times that mistake happens: Any idea what it is?…
gitasked Junior Vilas Boas 353 -
4
votes1
answer71
viewsQ: Email invitation is not enough - Gitlab
I need to add another developer in the gitlab but I invite you and no email invitation reaches his e-mail. Is there any way add one member other than by email?…
gitlabasked Junior Vilas Boas 353 -
2
votes0
answers100
viewsQ: Auto Complete Google
The input: <div class="input-group" style="width:50%;margin-left:auto;margin-right:auto;"> <input class="form-control" vs-google-autocomplete="autoCompleteOptions" ng-model="address"…
-
1
votes1
answer25
viewsQ: Change class when changing view
I’m using bootstrap and angular I have a Nav: <ul class="nav nav-tabs nav-justified" ng-model="activeVar" style="margin-top:50px;"> <li role="presentation"><a value="overview"…
-
0
votes1
answer45
viewsQ: Scroll up after changing view
I’m using angular in my system I’m changing the views with the command $state.go('main.shops.cart.success'); But the problem is when mute to view the scroll continues down. I would like when it…
-
0
votes1
answer284
viewsQ: How to make machine translations?
I have a page HTMLand would like to have it at various tongues However nay wanted to make a page for each tongue and edit out in HTML. There is a some way I make a external document, a JSON, I don’t…
-
0
votes2
answers3282
viewsQ: Fix menu with bootstrap after scrolling down
I’m using bootstrap in my code Has a class in the nav of bootstrap fixing the nav in the top navbar-Fixed-top But I want the nav just stay fixed when the scroll goes through it. How do I do that? An…
-
1
votes1
answer594
viewsQ: How to put a CSS inside the html tag with URL?
I have this CSS I’d like to put in my form <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> But when I put in <head> the CSS of every page is changed (obviously…
-
1
votes3
answers15107
viewsQ: How to change the color of the text typed in the input?
I have a input and when I type something into it the text gets the same background color(white). Does anyone know how to edit this? I would like to put the color of text black.…
-
0
votes1
answer3375
viewsQ: Wordpress - defined limit
I installed wordpress following these steps: Steps to Install Wordpress in Ubuntu 16.04 Step 1: Update the System #apt-get update Step 2: Install LAMP Server #apt-get install lamp-server^ Step 3:…
-
0
votes2
answers4092
viewsA: Icon inside the input
I managed using bootstrap form-group, putting the has-feedback and form-control-feedback Follows the code: <div class="form-group has-feedback"> <label…
-
1
votes2
answers4092
viewsQ: Icon inside the input
How do I put one icon inside of input? input: <input id="password2" class="form-control" placeholder="Enter password" name="Password" type="password" value="" ng-model="user.Password"…
-
2
votes1
answer1128
viewsQ: Running a package.json file
Well, I have a project that has the package json. { "name": "designimpl", "version": "1.0.0", "description": "", "main": "gulpfile.js", "dependencies": { "browser-sync": "^2.18.8", "del": "^2.2.2",…
-
1
votes0
answers86
viewsQ: Error to open application
Good afternoon, I cloned a repository that uses Angularjs and Node.js. I would like to rotate it, but by clicking on "index.html" the site appears incomplete. In the terminal, inside the repository…
-
0
votes3
answers1516
viewsQ: Angular installation 2
I have a website ready, it is static. I would like to install Angular 2 on it. I installed the angle from the command npm install @angular/cli and tried to put the html, css, jquery files in it but…
angularasked Junior Vilas Boas 353 -
0
votes1
answer173
viewsQ: Error using a view for two controllers
I have a controller to add an object and it uses the view. addObject.html I have another controller that is to edit this object, and when accessing it it fills the whole view addObject.html. What…
-
7
votes1
answer8172
viewsQ: How to catch setar/catch object in localstorage?
I’m sending a JSON object to localStorage: window.localStorage.setItem('tarefa',aux); And I try to get this object in another controller like this:…