All Questions

4
answers

How to pass javascript variables to ruby on rails?

What I want to achieve is that when a user clicks on my menu that is on a part of my page this same one appears but on another part of my website. Function of my menu title <div id="TituloMenu" > <%= image_tag "menu2.png" , :cl...
asked on 19.12.2016 / 21:26
5
answers

Warning in Equals supposedly null

I have the following Warning:    Method invocation 'equals' may produce   'java.lang.NullPointerException' My line of code is as follows: if(menu.getItem(2).getIcon().getConstantState().equals(ContextCompat.getDrawable(fragmentActiv...
asked on 15.12.2016 / 20:36
1
answer

Where EBP records EDI ESI are used

I know that the EAX works as an accumulator and to call interruptions The ESP is used by push and pop instructions The ECX is used as a counter for loop But EBP, EDI, ESI do not know how they work, if they interact with an instruction l...
asked on 17.12.2016 / 01:20
3
answers

Links with Iframes

Good, I need through iframes, show information from a blog, I built 3 iframes that are showing the latest news, The problem is that I had to do so, because the page is totally different to the blog, because the blog is of Wordpress, and I do not...
asked on 18.12.2016 / 17:22
1
answer

How can I use "let" out of a block in javascript?

I'm experimenting with JavaScript and I came across this variable scope in JavaScript, mainly with let , which is integrated in ECMAscript 6. The problem is this: I have a prompt that asks the user for their age and compares it in a...
asked on 01.12.2016 / 03:52
2
answers

How to add columns from values in a row?

I need to make an application that allows me to keep track of the results of Fishing and Hunting Competitions. For this problem I designed the following database: I must generate the following table: it is not possible to distingui...
asked on 05.01.2018 / 19:35
1
answer

List nearby points sorted by distance in Mysql Spatial

I have georeferenced points of interest in a table CREATE TABLE 'poi' ( 'poiID' INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, 'name' VARCHAR(50) NULL DEFAULT NULL, 'location' POINT NOT NULL, PRIMARY KEY ('poiID'), SPATIAL INDEX...
asked on 01.12.2017 / 19:05
1
answer

TypeError: integer argument expected, got 'str'

The error occurs in the login of a program, I have been reading and I found a solution with the open, but it does not work for someone to help me, thanks in advance. def login(): user2=str(input("Nombre de usuario:")) user__file2=open...
asked on 04.01.2018 / 14:16
1
answer

How to avoid double spaces in html input?

I want to avoid those annoying double spaces in some inputs, do you have any idea how I can do it? I do not think I have a problem with doing it completely on the client's side. Here is an example of one of my input: <div class="form-gr...
asked on 10.11.2017 / 20:04
1
answer

Change href of multiple labels to with document.getElementsByClassName

I need to change the href with JavaScript (without Jquery) in the following code: <div class="set"> <a href="https://snapwidget.com/embed/4972t07">link a</a> </div> <div class="set"> <a href="https://sn...
asked on 20.01.2018 / 01:01