All Questions

1
answer

Using LISP Functional Programming, answer the exercises?

Suppose you have defined: (defun xxx (x) (+ 1 x)) (setf xxx 5) What is the value of the following expressions? (xxx 2) (xxx (+ (xxx 5) 3)) (+ 4 xxx) (xxx xxx)
asked on 13.10.2017 / 01:52
2
answers

When I put input inside some div the javascript does not work

I want to apply the css in a form but when I put the inputs inside some div the javascript does not work See the code: In case when I type the email and the password was for the blue button to be activated. <style> .btnDisabled{...
asked on 28.10.2017 / 19:09
1
answer

Change button color at runtime

I asked for help on how to paint a button with 3 different colors: can put 3 colors on a button? But I'm trying to change its color at runtime and I can not. Same instantiating a new one and replacing it. The button class is this: cla...
asked on 08.10.2017 / 20:31
1
answer

My php system is running on Windows but it is giving UBUNTU error

I'm using PSR-4 auto-load. The error is as follows:    Fatal error: Uncaught Error: Class 'App \ Models \ Bll \ Professor' not   found in /var/www/html/unaprojetos/App/Controllers/Professor.php:12   Stack trace: # 0 /var/www/html/unaprojetos/...
asked on 26.10.2017 / 05:47
1
answer

How do I prevent the child element from activating the parent element's event?

The click event set for the optgroup element is also enabled when a option is clicked. How can this behavior be avoided? $("optgroup").on("click", function() { console.log($(this)); $(this).children().prop("selec...
asked on 10.10.2017 / 16:10
2
answers

Count how many months have they "turned" from two dates?

I need to count the number of months that turned from two dates using PHP , I have the following code to calculate the difference of months between 2 dates. $data1 = '2017-01-01'; $data2 = '2017-03-01'; $date = new DateTime($data1);...
asked on 05.09.2017 / 21:03
1
answer

How to see all modules installed on nodejs?

I'm giving a spin on nodejs and would like to know how to list all the modules I've installed. How can I do this?     
asked on 05.12.2015 / 18:06
1
answer

How to use Atlassian Connect to get Jira data and generate a JSON?

I need to make a script that gets some data from Jira and I believe you have to use the Atlassian Connect API that uses a server in Node.js. However, I do not want to manipulate the data using the API and rather just get them and manipula...
asked on 15.09.2017 / 13:09
1
answer

Refresh page when user is away and there are no videos on page

I need to refresh the page of my site when the user is inactive for 15 minutes and when there are no videos embedded in it. If the user is left inactive on a site page for 15 minutes, the page should be updated, but can not update if the page...
asked on 12.09.2017 / 18:28
1
answer

How to pass values by reference in Java?

Gentlemen, one of the methods of class Array has method sort . The sort method works like this: Arrays.sort(vetor); The vector itself is changed, I searched in many places and by what I understood this is passing valu...
asked on 06.10.2017 / 23:16