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/bash | |
FOLDER_IN="" | |
FOLDER_OUT="" | |
FOLDER_JS_IN="./js" | |
FOLDER_JS_OUT="./js" | |
FOLDER_CSS_IN="./css" | |
FOLDER_CSS_OUT="./css" |
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 | |
/** | |
* Implementação de adapter de autenticação de dica do Erick Tedescki http://www.slideshare.net/erickt86/tdc-2012-php | |
* | |
* @example Uso normal | |
* $auth = Zend_Auth::getInstance(); | |
* $dbAdapter = Zend_Db_Table::getDefaultAdapter(); | |
* $authAdapter = new CORE_Auth_64KLoop($dbAdapter); | |
* $authAdapter->setTableName('usuarios') |
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
// | |
// Uso: | |
// $('#campo').typeahead({ | |
// ajax: { | |
// url: 'url', | |
// triggerLength: 1 | |
// }, | |
// mode: 'multiple', | |
// val: 'codigo', | |
// field_put_input: 'value' // value OR text |
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 | |
/** | |
* @todo Por validacao de igualdade para validar se é >= ou so > | |
* @example | |
* $this->getElement('rdm_emissao') | |
* ->addValidator(new CORE_Validate_DataMaxima(array( | |
* 'data_maxima' => $data['rdm_data_entrada'], | |
* 'formato' => 'YYYY-MM-dd' | |
* ))); |
NewerOlder