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
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); |
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
@echo off | |
cls | |
SETLOCAL ENABLEDELAYEDEXPANSION | |
:: the two blank lines are required! | |
set NLM=^ | |
set NL=^^^%NLM%%NLM%^%NLM%%NLM% | |
:: Example Usage: |
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> | |
<body> | |
<h1>Título</h1> | |
<ol id="menu"> | |
<li><a href="#cafe">Café</a></li> | |
<li><a href="#verde">Limão</a></li> | |
<li><a href="#laran">Orange</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
CREATE OR REPLACE VIEW `projetostb` AS | |
select | |
n.id AS id, | |
n.coordenador AS coordenador, | |
n.titulo AS titulo, | |
n.campus AS campus, | |
n.ano AS ano, | |
n.arq_projeto AS arq_projeto, | |
n.arq_relatorio AS arq_relatorio, | |
n.versao AS versao |
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 lang="en"> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> |
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> | |
<body> | |
<?php | |
$total = 6; | |
class Blocos { | |
public $pos; | |
public $cor; |
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
CREATE OR REPLACE PACKAGE PKG_KAF24F is | |
-- Author : Roberto Gomes | |
-- Created : 25/01/2019 | |
-- Purpose : Package para exportar dados para envio a KAF24h | |
-- http://kaf24h.com.br/ | |
Procedure Cria_Registros; | |
Procedure Apagar_Registros(V_Id in out number); | |
Procedure MarcarComoEnviado(idReg in out number); |
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
class Pessoa { | |
String nome; | |
int idade; | |
double altura; | |
void dormir(){ | |
print("$nome está dormindo!"); | |
} | |
void aniver(){ |
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 | |
'.config' doc, | |
case when af.dtliberacao >= t.tp_prms then 1 else 0 end Imprime | |
from tb_prms_glob t, | |
assistfinanc af | |
where | |
t.nm_prms = 'KIT_IMPRESSAO' | |
and af.numcontratoemp = :NUMCONTRATO | |
union |
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 | |
$conn = new mysqli("localhost","root","20gmtel14","Dashboards"); | |
if ($conn->connect_error) { | |
die("Connection failed: " . $conn->connect_error); | |
} | |
$sql= "select DATE_FORMAT(dt, '%k:%i') as dt, n1, n2, n3, n4, n5, n6, n51, n52 from graf_log_trunks_sft order by id"; | |
$result = $conn->query($sql); |
NewerOlder