All Questions

1
answer

How to decrypt javascript string hidden content?

In Google Chrome there is a wide variety of extensions to download background videos or at the same time use the developer tools and sources you can visualize the links with the website. But for some reason there is a string encoding with...
asked on 28.06.2017 / 03:15
1
answer

Load animate.css animations several times

I have this button that, when it loads, I set it to "animated flash" as a class to make the animation "flash" of animate.css. The problem I have is to put the class back to it by clicking the button, which does not catch the animation. Any way t...
asked on 10.07.2017 / 21:35
1
answer

Protect config.ini file gives usare error for mysqli connection

Based on this question: link I found the following way to protect the config.ini file for a connection with mysqli: ;<?php ;die(); // For further security ;/* [database] driver=mysql host=localhost port=3306 schema=...
asked on 07.03.2017 / 12:39
1
answer

Problem if a function of a Javascript function

   Good, I have a problem and it only works for me the first time I give it, that is, the first if (what I hide it), but when I give it back it does not show it and it stays hidden the elements function funcion_ocultar_mostrar () {...
asked on 14.10.2018 / 14:26
4
answers

Problem Variable range in JavaScript

I have a very strange variable scope problem, I am using the setInterval () function and there is a variable that has no scope in this function. this is my code: cantidad = 14; nItemCart= 14; interval=[]; restarCantidad(cantidad, nIte...
asked on 07.07.2017 / 16:57
2
answers

Handle date and time with Ruby on Rails

At this moment I am developing my web application, which has competitions. These competitions have, among others, these two fields: -deadline, datetime -finished, booblean First of all, I need to know how I can do so that the user can c...
asked on 15.07.2017 / 10:36
2
answers

What is the difference between dependencies and development dependencies in node?

When I initialize npm init and install the dependencies, I would like to know what is the difference between dependencias de desarrollo and dependencias ?     
asked on 05.07.2017 / 20:43
1
answer

Error in notifications android studio does not raise activity

My problem is as follows The notifications arrive well when the app is open, but when it is in the background they do not arrive well, it does not raise the activity in the notification. The project is in Pie the sdk and compilation This the...
asked on 27.10.2018 / 16:10
4
answers

Encrypt sensitive data locally

I have to keep a username and password in local. I know it is not recommended and that it can be dangerous but there is another validation data that comes from the user. After the user and password use them to make a call to an API-REST to ge...
asked on 14.07.2017 / 10:25
1
answer

show the last data db laravel

Hi I have this problem with laravel this is my code $last = DB::table('nombre_votos')->select('id') ->orderby('created_at','DESC')->first(); return view('user/votos/index',compact('last')); The idea is to show...
asked on 05.10.2018 / 19:54