Skip to content

Instantly share code, notes, and snippets.

@ecordoba24
ecordoba24 / Panama.json
Created October 11, 2020 21:20 — forked from kurai021/Panama.json
Provincias, distritos, comarcas y corregimientos de Panamá
"province": [
{
"id": "0",
"name": "Bocas del Toro",
"district": {
"Almirante": {
"corregimientos": [
"Puerto Almirante", "Barriada Guaymí", "Barrio Francés", "Nance de Riscó", "Valle de Aguas Arriba", "Valle de Riscó"
]
},
@ecordoba24
ecordoba24 / web-servers.md
Created January 29, 2019 00:55 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div id="container"></div>
<script src="https://fb.me/react-15.1.0.js"></script>
@ecordoba24
ecordoba24 / countries.sql
Last active August 29, 2015 14:27 — forked from adhipg/countries.sql
Sql dump of all the Countries, Country Codes, Phone codes.
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
module.exports = function (grunt) {
grunt.initConfig({
uglify: {
suma: {
src: 'js/suma.js',
dest: 'dist/suma.min.js'
},
resta: {
src: 'js/resta.js',
dest:'dist.resta.min.js'