Skip to content

Instantly share code, notes, and snippets.

Avatar

Walney Moreira Klein walney

View GitHub Profile
View pokemon.csv
# Name Type 1 Type 2 Total HP Attack Defense Sp. Atk Sp. Def Speed Generation Legendary
1 Bulbasaur Grass Poison 318 45 49 49 65 65 45 1 False
2 Ivysaur Grass Poison 405 60 62 63 80 80 60 1 False
3 Venusaur Grass Poison 525 80 82 83 100 100 80 1 False
3 VenusaurMega Venusaur Grass Poison 625 80 100 123 122 120 80 1 False
4 Charmander Fire 309 39 52 43 60 50 65 1 False
5 Charmeleon Fire 405 58 64 58 80 65 80 1 False
6 Charizard Fire Flying 534 78 84 78 109 85 100 1 False
6 CharizardMega Charizard X Fire Dragon 634 78 130 111 130 85 100 1 False
6 CharizardMega Charizard Y Fire Flying 634 78 104 78 159 115 100 1 False
@walney
walney / pdo.class.php
Created Sep 10, 2016 — forked from felladrin/Database.class.php
Classe de conexão ao banco de dados usando PDO no padrão Singleton.
View pdo.class.php
<?php
/**
* Classe de conexão ao banco de dados usando PDO no padrão Singleton.
* Modo de Usar:
* require_once './Database.class.php';
* $db = Database::conexao();
* E agora use as funções do PDO (prepare, query, exec) em cima da variável $db.
*/
class Database
{