All Questions

4
answers

Google Maps Android is displayed blank in Release

I have an app that uses google maps, in debug everything works fine, but when you move to release, the map is not displayed the file google_maps.api.xml I created it outside of debug, that is to say I have it in main/res/values/goog...
asked on 20.09.2017 / 22:17
1
answer

right click to edit div

I try to make the div editable but the first attempt does not work, then if it works, what is the error?    try it out by clicking on the phrase var app = angular.module('plunker', []); app.directive('rightClick', function(...
asked on 23.08.2017 / 03:48
1
answer

Json Web Token (JWT) in Node.js with express

I am working with the Javascript Json Web Token library, where I create the token with the function: var token = jwt.sign({data: 'foobar', 'secret', { expiresIn: 60 * 60 }); To verify my usage token, the function: jwt.verify(token, 'shh...
asked on 13.07.2018 / 21:15
1
answer

center form vertically

I need to center that form (That the form is in the center of the page) and I do not know how, I leave code: <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn53...
asked on 26.03.2018 / 20:13
1
answer

Get the value of an entry Select

I want to get the value of a select without having to choose an option and with this value fill an input, what I mean is that if the select comes with first option texto1 and value is 1 , that when doing the refresh I automa...
asked on 19.04.2018 / 14:07
2
answers

How does CSS opacity work?

Why does it work when the Padre has opacity: 1 and the Hijo-1 have opacity: 0 and NO when the Padre has opacity: 0 and Son-1 has opacity: 1 ? The following code: .Caja { width: 100px;...
asked on 09.03.2018 / 19:29
1
answer

Render a string with HTML elements?

My concern is that I have a string in my database in the following way: '<a href="#" id="Manuel">@Manuel</a>&nbsp;hola' When I have it in my model, it appears in the same way, and when I want to render the view it is shown t...
asked on 11.11.2016 / 19:07
2
answers

how to pass data from a controller to a view that is not yours?

For example I have the DeleteUsers driver whose view is DeleteUsers.cshtml and another where the driver is Users and the view is Users.cshtml what I want is to pass the value of ViewBag.Error in DeleteUsers (controller) to Users (Vista) for ther...
asked on 18.08.2016 / 19:16
2
answers

fgets () returns NULL when reading text file

When I try to read my FILE fpTextFixed ( fgets(line,sizeof(line),fpTextFixed) ), it returned me NULL , but it was corroborating and my file was opened and written correctly. What I'm trying to do is write a binary file from re...
asked on 23.09.2016 / 03:00
1
answer

How can I return the value of a method that is within another method

I am making a request with Okhttp and in the onResponse() method I am storing in variable myResponse the result of that request, my question is, how can I make the method peticion() return the value of the Variable...
asked on 27.04.2018 / 12:41