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
| #include <cstdlib> | |
| #include <iostream> | |
| #include <GL/glut.h> | |
| using namespace std; | |
| void desenha(){ | |
| glClearColor(0.0,0.0,0.0,0.0); | |
| glClear(GL_COLOR_BUFFER_BIT); |
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 | |
| /** | |
| * Created by PhpStorm. | |
| * User: Ricardo Fiorani | |
| * Date: 01/10/2015 | |
| * Time: 18:23 | |
| */ | |
| namespace Dificiometro\Application\Form; |
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
| string(27) "Var Dumping Gallery : 0kydF" | |
| object(Imgur\Api\Model\GalleryAlbum)#61 (18) { | |
| ["ups":"Imgur\Api\Model\GalleryAlbum":private]=> | |
| int(3774) | |
| ["downs":"Imgur\Api\Model\GalleryAlbum":private]=> | |
| int(222) | |
| ["score":"Imgur\Api\Model\GalleryAlbum":private]=> | |
| int(3555) | |
| ["isAlbum":"Imgur\Api\Model\GalleryAlbum":private]=> | |
| bool(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
| <script> | |
| function main(){ | |
| var error = false; | |
| var tela=""; | |
| var v = $("#in").val(); | |
| v = v.replace(/v/g, 'f'); | |
| v = v.replace(/s /g, '#@#'); | |
| v = v.replace(/#@#/g, 's '); | |
| v = v.replace(/s/g, 'f'); |
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
| public function exibirDataDiaMes($time) { | |
| $data = DateTime::createFromFormat('Y-m-d', $time); | |
| return $data->format('d/m/Y'); | |
| } |
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
| public function exibirDataDiaMes($time) { | |
| $mes_extenso = array( | |
| 'Jan' => 'Janeiro', | |
| 'Feb' => 'Fevereiro', | |
| 'Mar' => 'Marco', | |
| 'Apr' => 'Abril', | |
| 'May' => 'Maio', | |
| 'Jun' => 'Junho', | |
| 'Jul' => 'Julho', | |
| 'Aug' => 'Agosto', |
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 id="form:meiMB_solicitacao_ocupacaoPrincipal" name="form:meiMB_solicitacao_ocupacaoPrincipal" class="inputText" size="1" onchange="A4J.AJAX.Submit('_viewRoot','form',event,{'control':this,'similarityGroupingId':'form:j_id82','parameters':{'ajaxSingle':'form:meiMB_solicitacao_ocupacaoPrincipal','form:j_id82':'form:j_id82'} ,'actionUrl':'/inscricaomei/private/pages/solicitacao.jsf'} )" onkeypress="return desabilitaTecla(event, TECLA_BACKSPACE);" style="width:800px;" tabindex="8"> | |
| <option value="">-- Selecione a Ocupação Principal --</option> | |
| <option value="1">Abatedor(a) de aves</option> | |
| <option value="2">Abatedor(a) de aves com comercialização do produto</option> | |
| <option value="3">Acabador(a) de calçados</option> | |
| <option value="5">Adestrador(a) de animais</option> | |
| <option value="6">Adestrador(a) de cães de guarda</option> | |
| <option value="7">Agente de correio franqueado e permissionário</option> | |
| <option value="8">Agente de viagens</option> | |
| <option value="9">Agente funerário</option> |
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
| public function control_contato() { | |
| $this->titulo = 'Contato'; | |
| if ($_POST) { | |
| if ($this->mailer->enviaEmail($_POST)) { | |
| return $this->redirect('contato-sucesso'); | |
| } else { | |
| return $this->redirect('contato-erro'); | |
| } | |
| } | |
| return $this->renderizar('contato'); |
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
| <li> | |
| <a href="<?= $this->url(array('servicos-interna')) ?>#ancora-conteudo" title="Importação e Exportação" | |
| class="<?= ($this->paginaAtual == 'servicos-interna') ? 'active' : '' ?>"> | |
| Importação e Exportação | |
| </a> | |
| </li> |
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 | |
| public function control_eventos_anteriores($req, $parametro) { | |
| $tabela = 'tbl_eventos'; | |
| $where = ' where ativo = "Sim" and DATE(data) < DATE(NOW()) '; | |
| $order = ' data DESC'; | |
| $urlPaginacao = $this->url(array('eventos-anterioes', 'pagina')); | |
| $qtdExibir = 6; | |
| $pagina = 1; //Página padrão caso não seja definida | |
| switch ($req) { |