Skip to content

Instantly share code, notes, and snippets.

View aaizemberg's full-sized avatar

Ariel Aizemberg aaizemberg

View GitHub Profile
@aaizemberg
aaizemberg / geocoding.php
Last active May 13, 2021 17:47
Geocodificando un archivo de texto, usando GoogleMaps desde PHP. Ejecutar "php -f geocoding.php"
<?php
function clean($string)
{
$string = strtr($string,"áéíóúÁÉÍÓÚñÑ.","aeiouAEIOUnN ");
// Remove all remaining other unknown characters
// $string = preg_replace('/[^a-zA-Z0-9\-]/', ' ', $string);
// $string = preg_replace('/^[\-]+/', '', $string);
// $string = preg_replace('/[\-]+$/', '', $string);
// $string = preg_replace('/[\-]{2,}/', ' ', $string);
@aaizemberg
aaizemberg / foss4gBA 2013
Last active December 16, 2015 16:59
foss4gBA 2013
------------------------------------------------------------------------------------------------------------
Introducción
Ariel Aizemberg / twitter: @aaizemberg
SIIA ( http://www.siia.gov.ar/ ) & Ministerio de Agricultura ( http://www.minagri.gob.ar/ )
El proyecto RIDES esta parcialmente financiado por el SIIA @ MinAgri
En esta charla vamos ver como se hacen las aplicaciones interactivas en RIDES Tucumán.
@aaizemberg
aaizemberg / mapfile.map
Last active December 16, 2015 17:08
mapfile
##
# FOSS4G Conference
#
# Data Access Workshop
#
# Authors: Jeff McKenna - @mapserving
# Ariel Aizemberg - @aaizemberg
##############################################################
#
@aaizemberg
aaizemberg / d3.js para principiantes
Last active March 22, 2023 19:49
d3.js para principiantes
Ariel Aizemberg
@aaizemberg ( https://twitter.com/aaizemberg )
http://www.linkedin.com/in/arielaizemberg
Introducción
Que es D3
Quién creó esta librería
Mirar algunos ejemplos de la galería
https://github.com/mbostock/d3/wiki/Gallery
@aaizemberg
aaizemberg / GeoNode
Last active December 23, 2015 20:49
instalando un GeoNode 2.x en una maquina virtual con ubuntu 12.04 LTS
http://geonode.org/
google --> "foss4g 2013 geonode"
W7: GeoNode, A complete SDI
http://2013.foss4g.org/conf/programme/workshops/7/
W10: GeoNode Developers Workshop
http://2013.foss4g.org/conf/programme/workshops/6/
@aaizemberg
aaizemberg / data visualization @ CISL 2013
Last active December 25, 2015 18:59
data visualization @ CISL 2013
topics
data scraping (http://cippec.org/data/ --> view source --> ...)
open data / okfn-ar (indec / registro para bajar los datos)
data mining
reducción de dimensiones
clustering (kmeans)
data visualization
thematic maps --> http://en.wikipedia.org/wiki/Thematic_map
@aaizemberg
aaizemberg / Taller práctico para las Jornadas de data mining 2013 (UBA)
Last active December 26, 2015 10:18
Taller práctico para las Jornadas de data mining 2013 (UBA)
Herramientas/Links que vamos a utilizar durante el taller:
* R
* Processing & Processing.js
* D3.js (?) --> https://gist.github.com/aaizemberg/6153101
* QGIS ó QuantumGIS
* Tableau Public
...
* http://www.w3schools.com/
* http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
* JSBIN --> http://jsbin.com/
@aaizemberg
aaizemberg / index.html
Last active April 6, 2020 18:52
cuarteto de Anscombe
<!DOCTYPE html>
<html>
<head>
<title>Cuarteto de Anscombe</title>
<meta charset=utf-8 />
<script src="//d3js.org/d3.v5.min.js"></script>
</head>
<body>
<p>
<button id="i" type="button">I</button>
@aaizemberg
aaizemberg / index.html
Last active January 2, 2016 03:49
simulando tabs (con botones) usando d3.js
<!DOCTYPE html>
<html>
<head>
<script src="http://d3js.org/d3.v3.min.js"></script>
<meta charset=utf-8 />
<title>tabs</title>
</head>
<body>
<button type="button" id="b1">tab 1</button>
<button type="button" id="b2">tab 2</button>
@aaizemberg
aaizemberg / index.html
Last active January 3, 2016 03:39
puntos
<!DOCTYPE html>
<html>
<head>
<script src="http://d3js.org/d3.v3.min.js"></script>
<meta charset=utf-8 />
<title>puntos</title>
</head>
<body>
<button id="up" type="button">Up</button>
<button id="down" type="button">Down</button>