This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install vim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->FilterResults->addFilters( | |
array( | |
'OR' => array( | |
'filter1' => array( | |
'TABELA.CAMPO'=> array('operator' => '=') | |
) | |
'filter2' => array( | |
'TABELA.CAMPO'=> array('operator' => '=') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script> | |
<script> | |
var qtd_total; | |
$("#somar").live('click', function(){ | |
qtd_total = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$exemplo1 = $this->Article->User->find('list', array('fields' => array('User.username'))); | |
/** | |
$exemplo1 = Array | |
( | |
//[id] => 'username', | |
[213] => 'AD7six', | |
[25] => '_psychic_', | |
[1] => 'PHPNut', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
try{ | |
$webservice = new novw_webservice(); | |
$result = $webservice->LerCadastro(array('cpf' => '346.099.268-90')); | |
unset($webservice); | |
} catch (exception $e) { | |
echo $e->faultstring; | |
exit(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tb = ActiveDocument.GetSheetObject("CH01") | |
tb.ServerSideExportEx "C:\test.jpg" , " " ,2 '0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tabela1_Concatenate: | |
LOAD * RESIDENT Tabela1; | |
CONCATENATE LOAD * RESIDENT Tabela2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tabela1_Keep: | |
LOAD * Resident Tabela1; | |
Tabela2_Keep: | |
Inner Keep LOAD * Resident Tabela2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tabela1_Keep: | |
LOAD * Resident Tabela1; | |
Tabela2_Keep: | |
Right Keep LOAD * Resident Tabela2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tabela1_Keep: | |
LOAD * Resident Tabela1; | |
Tabela2_Keep: | |
Left Keep LOAD * Resident Tabela2; |