Skip to content

Instantly share code, notes, and snippets.

View nicolascarrascob's full-sized avatar
💻

Nicolas Carrasco Barrera nicolascarrascob

💻
View GitHub Profile
/* Estructura y Datos de las Regiones, Provincias */
/* y Comunas de Chile. */
/* */
/* Fecha: Julio 2010 */
/* Autor: Juan Pablo Aqueveque - juque.cl */
--
-- Comunas
--
DROP TABLE IF EXISTS `comunas`;
@nicolascarrascob
nicolascarrascob / LICENSE
Created November 12, 2020 20:34 — forked from noelbundick/LICENSE
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@nicolascarrascob
nicolascarrascob / tile_cacher.py
Created November 11, 2020 06:20
Script for request map tiles based on a BBOX, for seeding caches.
#!/usr/bin/env python
#
# Make requests to a tile server to seed the cache
# Created by Jesse Crocker, 6/30/2014
#
# This file is public-domain
#-------------------------------------------------------
from math import *
from optparse import OptionParser
@nicolascarrascob
nicolascarrascob / tolerance_per_zoom.md
Created November 11, 2020 04:42 — forked from lukasmartinelli/tolerance_per_zoom.md
ST_Simplify tolerance per zoom level
zoom_level tolerance
      0 |  78271.516953125
      1 | 39135.7584765625
      2 | 19567.8792382812
      3 | 9783.93961914062
      4 | 4891.96980957031
      5 | 2445.98490478516
      6 | 1222.99245239258

7 | 611.496226196289

@nicolascarrascob
nicolascarrascob / composer_path.json
Created May 6, 2020 18:35 — forked from ralder/composer_path.json
Composer Using Local Repositories and Branches
{
"repositories": [
{
"type": "path",
"url": "../relative/project/path"
}
],
"require": {
"${project}": "dev-${branch}"
}