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 | |
namespace Absolute; | |
class Auth{ | |
use Singleton; | |
} |
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
function validaForm(){ | |
var emptyElement = $(":input:visible[value='']").get(0); | |
if( undefined != emptyElement ) { | |
alert("Todos os campos devem ser preenchidos!"); | |
emptyElement.focus(); | |
return false; | |
} | |
return true; |
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
var validNavigation = false; | |
function wireUpEvents() { | |
console.log('a'); | |
/** | |
* For a list of events that triggers onbeforeunload on IE | |
* check http://msdn.microsoft.com/en-us/library/ms536907(VS.85).aspx | |
* | |
* onbeforeunload for IE and chrome |
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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: mongodb | |
# Required-Sart: | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: mongodb | |
# Description: mongo db server |
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 | |
namespace MDN\Domain\Entity\Customer\Access; | |
/** | |
* | |
* @Table(name="chat") | |
* @Entity(repositoryClass="MDN\Domain\Entity\Customer\Access\ChatRepository") | |
* @author Vinicius de Sa [[email protected]] | |
*/ |
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 | |
// head | |
session_start(); | |
require(dirname(__FILE__)."/../fpdf/fpdf.php"); | |
require(dirname(__FILE__)."/../includes/funcoes.inc.php"); | |
include(dirname(__FILE__)."/../includes/global.php"); | |
require(dirname(__FILE__)."/../includes/geral.class.php"); | |
require(dirname(__FILE__)."/includes/relatorios.inc.php"); | |
require(dirname(__FILE__)."/includes/gestao_estoque.inc.php"); | |
require(dirname(__FILE__)."/../produtos/includes/produtos.inc.php"); |
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
SELECT tabela1.* | |
FROM ( | |
SELECT | |
IFNULL(( | |
SELECT qtty | |
FROM sqlsi.stkchk a | |
WHERE 1=1 | |
AND a.storeno = store.no | |
AND a.ym = '201303' |
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 | |
use GestaoEstoque_Expedicao as Expedicao; | |
use GestaoEstoque_Expedicao_Pedido as ExpPedido; | |
interface GestaoEstoque_Expedicao_Integracao_Integracao { | |
/** | |
* Envia os dados de uma expedicao | |
* @param GestaoEstoque_Expedicao $expedicao |
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
git clone https://github.com/git/git.git | |
cd git | |
git checkout v.1.8.0 | |
./configure --prefix=/usr/local | |
make |
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
SELECT nfd.cnpj_cpf, nfd.xNome, nfd.xFant, nfd.IE | |
FROM webpdv.nota_fiscal nf | |
LEFT JOIN webpdv.nota_fiscal_dest nfd ON | |
(nfd.nota_fiscal_id = nf.id) | |
WHERE nf.dEmi BETWEEN '2012-01-01' AND '2013-05-28' | |
AND nfd.IE != 'ISENTO' | |
AND EXISTS( | |
SELECT 'X' | |
FROM webpdv.nota_fiscal_prod nfp | |
LEFT JOIN webpdv.produto_caracteristica p ON |
OlderNewer