Skip to content

Instantly share code, notes, and snippets.

Avatar

Erick de Azevedo Lima erickcomp

  • Fundação CECIERJ
  • Niterói, RJ - Brazil
View GitHub Profile
@mlocati
mlocati / exceptions-tree.php
Created Mar 9, 2017
Throwable and Exceptions tree
View exceptions-tree.php
<?php
if (!function_exists('interface_exists')) {
die('PHP version too old');
}
$throwables = listThrowableClasses();
$throwablesPerParent = splitInParents($throwables);
printTree($throwablesPerParent);
if (count($throwablesPerParent) !== 0) {
die('ERROR!!!');
@MacDada
MacDada / ShowBlogPostsController.php
Last active Apr 9, 2022
PHP: Use Case architecture example
View ShowBlogPostsController.php
<?php
class ShowBlogPostsController
{
/**
* @param ShowBlogPostUseCase
**/
private $useCase;
/**
@manuholiveira
manuholiveira / CID10.SQL
Last active Aug 3, 2022
Carga para inserir todos os registro do CID10
View CID10.SQL
This file has been truncated, but you can view the full file.
INSERT INTO CID10 VALUES ('A00.0','Cólera devida a Vibrio 01, biótipo ');
INSERT INTO CID10 VALUES ('A00.1','Cólera devida a Vibrio 01, biótipo El Tor');
INSERT INTO CID10 VALUES ('A00.9','Cólera não especificada');
INSERT INTO CID10 VALUES ('A01.0','Febre tifóide');
INSERT INTO CID10 VALUES ('A01.1','Febre paratifóide A');
INSERT INTO CID10 VALUES ('A01.2','Febre paratifóide B');
INSERT INTO CID10 VALUES ('A01.3','Febre paratifóide C');
INSERT INTO CID10 VALUES ('A01.4','Febre paratifóide não especificada');
INSERT INTO CID10 VALUES ('A02.0','Enterite por salmonela');
View example.md

Some HTML:

<html>
<head>
  <title>Book-O-Rama - New Book Entry</title>
</head>

<body>