All Questions

1
answer

JQuery code to pure JS

Good day yesterday I asked a question to which I responded successfully, only that when implementing it in my project, I worked with custom templates of Blogger I wanted to add the JQuery code and it does not detect the function. $('.custom-pl...
asked on 24.03.2018 / 20:32
1
answer

Empty graphic in Jupyter

I am replicating this code to plot a line and a point but when I try to visualize the graphic it is empty. %matplotlib inline from matplotlib import pyplot from shapely.geometry import LineString, Point, LinearRing # Datos de entrada Line =...
asked on 20.03.2018 / 15:38
1
answer

It is safe to save a jwt token in LocalStorage

I have a react-app and I store the token jwt in localStorage. I have been researching and some recommend using sessions. My question is what risks I run. Anyone could use the token and generate calls to my Apis.     
asked on 21.03.2018 / 17:08
2
answers

Using Extends in Java

If in a project I want to call a method with another method inside, is it necessary to use extends ? I have done some exercise with extends and this but I do not understand the difference well, in this case that I explain, co...
asked on 01.04.2016 / 19:56
1
answer

Single Responsibility Principle

According to SOLID, Single Responsibility Principle says, It is of sole responsibility and says that each class must deal with only one task and that applies to its methods. I have a Save method which updates a record and also saves a record, it...
asked on 14.04.2016 / 22:38
2
answers

Name of the files when saving in C # MVC (BodyPart)

I am programming an input file with angularJS and c # MVC. At the time of reviewing the folder where you keep the files shows them to me in the following way So I have my code on the controller public class SubirHvController : ApiC...
asked on 22.03.2018 / 14:39
1
answer

Change color the title of the AppBar

please I need help I can not change the color of the title of the appBar, in mine it turns black and I would like to change it white .. in this case I am using a toolbar try it with everything I put <item name="colorAccent">#FFFFFF</...
asked on 30.03.2016 / 13:48
1
answer

Error with SQL statement prepared using PHP

So far I have never used the prepared statements but from what I have read they are necessary when avoiding SQL injection as it could happen, for example, from a web form. To test them I wrote the following code: A function to connect to the...
asked on 20.05.2016 / 10:22
2
answers

how to use attributes within a javascript function

I have a javascript function to which I pass a parameter, and within that function I want to modify an attribute of that parameter, but I do not get it. My code is as follows: This is the code from which I call my function (which is a dialog...
asked on 11.04.2016 / 11:45
2
answers

Loss of Focus of a jTextField

I need to convert from inches to centimeters and vice versa. The idea is to have a single button "convert" and that according to the field that has just lost focus, I will see the conversion in the other JtextField the result. Example:...
asked on 17.04.2016 / 22:01