Skip to content

Instantly share code, notes, and snippets.

@fpilee
fpilee / canada.two.letter.provinces.txt
Created February 23, 2024 17:40
Canada province list json
$arr = array (
'AB' => 'Alberta',
'BC' => 'British Columbia',
'MB' => 'Manitoba',
'NB' => 'New Brunswick',
'NL' => 'Newfoundland and Labrador',
'NT' => 'Northwest Territories',
'NS' => 'Nova Scotia',
'NU' => 'Nunavut',
'ON' => 'Ontario',
@fpilee
fpilee / map.geojson
Last active September 22, 2018 23:40
ZONIFICACIÓN SÍSMICA Argentina geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fpilee
fpilee / generator.php
Created February 6, 2018 16:20 — forked from tawfekov/generator.php
Doctrine2 Generate Entities form Existing Database
<?php
include '../vendor/autoload.php';
$classLoader = new \Doctrine\Common\ClassLoader('Entities', __DIR__);
$classLoader->register();
$classLoader = new \Doctrine\Common\ClassLoader('Proxies', __DIR__);
$classLoader->register();
// config
$config = new \Doctrine\ORM\Configuration();