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 | |
| $debug = 'Y'; | |
| $dt_venc = '2022-03'; | |
| $qnt_parcelas = 6 | |
| //Prepara as parcelas por mês | |
| for($i=0;$i <= $qnt_parcelas; $i++): | |
| $dt_venc_mes = strtotime ( "+$i month" , strtotime ( $dt_venc ) ) ; | |
| $dt_venc_mes = date ( 'Y-m' , $dt_venc_mes ); | |
| $timestamp = strtotime($dt_venc_mes); |
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
| .table-header-rotated th.row-header{ | |
| width: auto; | |
| } | |
| .table-header-rotated td{ | |
| width: 40px; | |
| border-top: 1px solid #dddddd; | |
| border-left: 1px solid #dddddd; | |
| border-right: 1px solid #dddddd; | |
| vertical-align: middle; |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| /* | |
| | ------------------------------------------------------------------------- | |
| | Site Helper | |
| | ------------------------------------------------------------------------- | |
| | Desenvolvido por Bruno Almeida | |
| | | |
| */ |
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 | |
| $css = array( | |
| "assets/bootstrap/css/bootstrap.min.css", | |
| "assets/js/select2/select2.css", | |
| ); | |
| $js = array( | |
| "assets/js/jquery-1.11.3.min.js", | |
| "assets/bootstrap/js/bootstrap.min.js", | |
| "assets/js/select2/select2.js", |
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 | |
| ob_start(); | |
| $increment = 100; | |
| $quantos_voltas = 5; | |
| $registro_inicial = 2200000; | |
| $ate_o_registro = $registro_inicial; | |
| for($posicao1 = 1; $posicao1 <= $quantos_voltas; $posicao1++) { |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script type="text/javascript"> | |
| //Armazena dados no banco de dados do navegador | |
| //Pega uma referência de localStorage (no objeto window) | |
| var db = window.localStorage; |
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 | |
| //@author: Tiago Davi | |
| //@blog: tiagodavi.blogspot.com | |
| //fonte : somatematica.com.br | |
| //CÁLCULO DO M.D.C. PELO PROCESSO DAS DIVISÕES SUCESSIVAS | |
| //Regra prática: | |
| // 1º) dividimos o número maior pelo número menor; | |
| // 48 / 30 = 1 (com resto 18) | |
| // 2º) dividimos o divisor 30, que é divisor da divisão anterior, por 18, que é o resto da divisão anterior, e assim sucessivamente; |
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 | |
| //Don't waste your time trying to pass recipient's name with code like this: | |
| $this->email->to('John Smith <john@example.com>'); | |
| //because to() function clean all parameters passed with clean_email() | |
| public function to($to) | |
| { | |
| $to = $this->_str_to_array($to); |
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 | |
| /** | |
| * | |
| * Formula desenvolvida por Rodrigo Corrêa e Castro | |
| * para fins de estudo de conversões de correntes para LED's | |
| * | |
| * Melhorias será sempre bem vinda | |
| * | |
| * Fonte que usei como base de calculos das formulas | |
| * http://www.comofazerascoisas.com.br/como-calcular-o-resistor-adequado-para-um-led.html |
OlderNewer