Skip to content

Instantly share code, notes, and snippets.

Avatar

Patrick patrickegp

View GitHub Profile
View Bootstrap cI_pagination.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Pagination Config
*
* Just applying codeigniter's standard pagination config with twitter
* bootstrap stylings
*
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @author Mike Funk
* @link http://codeigniter.com/user_guide/libraries/pagination.html
@patrickegp
patrickegp / list.js
Created Apr 18, 2017
JSON provincias República Dominicana
View list.js
var provinces = [
{id:1, name: 'Azua'},
{id:2, name: 'Bahoruco'},
{id:3, name: 'Barahona'},
{id:4, name: 'Dajabón'},
{id:5, name: 'Distrito Nacional'},
{id:6, name: 'Duarte'},
{id:7, name: 'Elías Piña'},
{id:8, name: 'El Seibo'},
{id:9, name: 'Espallat'},