All Questions

1
answer

VB6 always executes the 2nd function even the 1st being False

The if in VB6 always executes the 2nd function even if the 1st is False , C # does not execute the 2nd function if the 1st is already false. How can I put vb6 running the 2nd function, only if the 1st is true? C # code: if...
asked on 12.03.2018 / 10:50
1
answer

How to detect the cause of the error: 'The requested URL returned error: 503'?

I'm working on developing a web-site where I get back the following error that I can see through Firebug :    The requested URL returned error: 503 Is there any way to find out the source of this problem, perhaps through logs or somethin...
asked on 31.12.2013 / 17:16
1
answer

Preceded fold return

Kotlin allows returns for previously declared tags , including implicit tags. Documentation example: fun foo() { ints.forEach { if (it == 0) return@forEach print(it) } } In this spirit, I would like to make a lambda expressi...
asked on 01.01.2016 / 15:58
6
answers

Error installing Composer on Project in Laravel 4

I'm starting in the Laravel world and I'm having a problem running the composer install on the project. When running the command, it shows the following error: D:\htdocs\cpi2>composer install Loading composer repositories with packag...
asked on 09.01.2014 / 13:24
2
answers

How does the Laravel 4 Query Cache work?

I'm trying to cache my query, but I do not know how to recover the data later. Another question: when the number of rows in the database increases, does it automatically redo the query cache, or every time I enter the page does it cache the quer...
asked on 12.01.2014 / 07:22
3
answers

How to open an .php file that is in a subdirectory?

My index.php has this script inside it: <?php $pagina = empty($_GET['p']) ? 'home' : $_GET['p']; switch ($pagina): case 'contato': $titulo = 'Contato '; $keywords = ''; $descricao = ''; break; case 'privacidade': $tit...
asked on 29.08.2018 / 18:31
1
answer

The Horizontal ScrollView of a TextView slide automatically when inserting dynamic text

I have a simple layout as shown below that has a ScrollView horizontal when it exceeds the limit of TextView . But I would like when inserting text the focus of TextView always stays in the last value entered and do...
asked on 06.01.2016 / 22:15
2
answers

Count friends in common using LEFT JOIN

I have the following tables: users : id | usuario | pnome | snome | foto 1 | Igor | Igor | Souza | perfil.png 2 | Alex | Alex | Khal | foto.jpg 3 | Maria | Maria | Silva | foto.png Friendships : id | amigo1 | amigo2 | e...
asked on 03.05.2016 / 18:05
1
answer

Add grid data to the bank

I have a loan screen and I have a datagrid with a checkbox checkbox and I would like to add only the row selected by the user in the database, how can I do it? Loanscreencode:usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentM...
asked on 19.01.2016 / 17:10
1
answer

Why put the .jsp file in the WEB-INF directory?

Taking Maven as an example, when started a new web project, the structure is the same / similar to this: Meu Projeto |- src |- main |- java |- resources |- webapp |- WEB-INF W...
asked on 02.04.2016 / 00:14