All Questions

1
answer

How to create an endless process?

Simple question, how do I make my application process "unstoppable" by the system? I want when a user tries to close the application the message "Access is denied" appears, and when it forces the kernel to terminate the CRITICAL_PROCESS_DIED ker...
asked on 07.02.2016 / 00:50
1
answer

How to create a simulator using SESSION

Hello, I'm trying to create a simulator using SESSION, but since I'm a beginner and a lot of lay people, I'm asking the help of friends. Next I created the page where the user can change the logo, it simply selects the image and changes it with...
asked on 08.02.2016 / 20:49
1
answer

Recover most viewed videos from youtube channel

How can I recover the 5 most watched videos from my Youtube channel to put on my site?     
asked on 13.05.2015 / 14:58
1
answer

find_package failed to generate project (in Qt) with CMake

I'm trying to generate the build configuration from a simple example in Qt using CMake. The example code is this: #include <QApplication> #include <QTextEdit> int main(int argc, char** argv) { QApplication app(argc, argv);...
asked on 24.02.2016 / 15:28
1
answer

Efficiency of PHP Query Execution PHP

Is there any performance difference in the codes below? $result = $pdo->query($sql); foreach($result as $reg){ ... } and ... foreach($pdo->query($sql) as $reg){ ... } I did some testing, but the behavior of the runs does not seem...
asked on 29.01.2016 / 18:40
2
answers

How to use @Delete annotation in Vraptor + AJAX?

In my Vraptor project I'm trying to delete a record from a list without the page being reloaded. From the book I'm following, AJAX is used so that the removed record "adds" without the whole page being loaded. The error below occurs when I try t...
asked on 11.05.2015 / 22:05
2
answers

Check closed flap

I found the following code on the internet: <script type="text/javascript"> var popup = null; function Abrir() { if (popup!=null && popup.closed) alert("A Janela foi fechada.n Abrindo novamente."); if (popup!=null &...
asked on 12.05.2015 / 00:10
1
answer

Install PagSeguro / PHP in Laravel

No composer.php I'm putting it like this: "require": { "laravel/framework": "4.2.*", "pagseguro/php": "dev-master", #"pagseguro/php": "2.5.0", "cagartner/correios-consulta": "0.1.*", "intervention/image": "2.*" }, But...
asked on 12.05.2015 / 22:20
1
answer

How to prevent AlertDialog from being closed when any button is clicked?

Problem I'm trying to validate certain data contained in a% custom View in the event of clicking the Save button. So after the validation I save the data and close the AlertDialog, and in case the data is not valid I would show the e...
asked on 08.05.2015 / 22:49
3
answers

Why is Vagrant not synchronizing folders?

I'm using: Windows 8 64 bits Vagrant 1.7.2 Virtual box 4.3.28 GitBash 1.9.4 para conexão SSH Box Ubuntu 14.04.02 Trusty 32 bits Box Ubuntu 14.04.02 Trusty 64 bits I'm developing with Ruby on Rails, but I can not edit the generated files...
asked on 13.05.2015 / 21:56