All Questions

2
answers

What is the difference between the following ways of using the ON and OFF methods of jQuery

1 - Used to use this way: $(document).off('evento', 'elemento', nomeFuncao); $(document).on('evento', 'elemento', nomeFuncao); 2 - But recently I used it that way and it worked the same way. $(document).off().on('evento', 'elemento', func...
asked on 01.08.2016 / 19:32
1
answer

Composer - What is it and what is it for?

I have seen several times in projects the file composer.json ! Would you like to know what it is and what it is used for?     
asked on 04.03.2016 / 01:49
1
answer

Generate and download pdf file

Is there any specific configuration to generate pdf file on the server? The problem is that locally in my local project works perfectly and when I upload to the server the file is not generated, the page is rendered forever until it reaches the...
asked on 09.04.2016 / 00:15
2
answers

How ViewModel works in ASP.NET MVC

I have a situation similar to this question where I need to save multiple models at once and relate each one. I would need to kind of cascade save to first save one entity and then go save the others, because of relationships. Following t...
asked on 27.05.2016 / 03:43
3
answers

Because there are two uses in delphi

Why are there two uses in Delphi units? One logo under interface and another logo in implementation , what is the purpose?     
asked on 18.07.2016 / 21:18
3
answers

GIT, showing the branches on the bitbucket tree

Hello! I've been searching for days and found no information that helps me. My problem is with displaying the tree of commits and branchs on bitbucket. I create a branch from the master git checkout -b develop I am doing the commits...
asked on 28.06.2016 / 09:07
2
answers

Is it possible to instantiate a class without calling the constructor in PHP?

Is it possible to instantiate a class in PHP without the class calling the method __construct ? Example: class Test { public $chamado = false; public function __construct() { $this->chamado = true; } }...
asked on 04.12.2015 / 12:37
1
answer

How to create a function equal to Array.Copy from C # in C ++

I would like to create a function similar to the Array.Copy of C # in C ++. This function has the prototype like this: public static void Copy( Array sourceArray, int sourceIndex, Array destinationArray, int destinati...
asked on 28.01.2016 / 17:47
1
answer

Client Threads Server

In the following class SocketServidor I send a single thread with the out and the in , but the class is supposed to be able to send two threads when it runs. You're supposed to do this:    The server should work in mult...
asked on 15.12.2015 / 15:37
1
answer

Call Modal and Tooltip on the same data-toggle

I have a button that calls a modal like this: <button type="button" data-toggle="modal" data-target="#revisao>Revisao</button> To call a Tooltip, use: <button type="button" class="btn btn-default" data-toggle="tooltip" data...
asked on 11.12.2015 / 11:52