Skip to content

Instantly share code, notes, and snippets.

View javierarce's full-sized avatar

Javier Arce javierarce

View GitHub Profile
# Download file from URL + Upload to your server + Copy short URL to your clipboard
# Use it like this:
# gi http://25.media.tumblr.com/tumblr_md2j4a4Eot1rddgbmo1_1280.png
# And get something like this:
# tumblr_md2j4a4Eot1rddgbmo1_1280.png 100% 41KB 41.4KB/s 00:00
# Copied to the clipboard: http://goo.gl/ITEIG

cavort
chutzpah
sobriquet

--

cav·ort

/kəˈvôrt/

  • Jump or dance around excitedly: "monkeys leap and cavort in the branches".
<iframe width='400' height='400' frameborder='0' src='http://arce.cartodb.com/tables/github_users/embed_map?title=true&description=true&search=false&shareable=false&cartodb_logo=true&sql=&zoom=3&center_lat=77.85905520333469&center_lon=-34.64069842070311'></iframe>
<iframe frameborder="0" height="550" src="http://osm2.cartodb.com/tables/meteoritessize/embed_map?title=true&amp;description=true&amp;search=false&amp;shareable=false&amp;cartodb_logo=true&amp;sql=&amp;zoom=2&amp;center_lat=20.3034175184893&amp;center_lon=26.71875" width="639"></iframe>
@javierarce
javierarce / gist:5301260
Last active June 20, 2019 23:30
¿Cómo insertar una imagen en Ilustres?

¿Cómo insertar una imagen en Ilustres?

  1. Sube la imagen a tu servidor, a una carpeta pública de Dropbox, etc.

  2. Pega el siguiente código, reemplazando URL_DE_LA_IMAGEN por la URL en cuestión.

<img src="URL_DE_LA_IMAGEN" />

  1. Puntos extras (con link a la propia imagen para verla a tamaño completo):
SELECT
ST_ConvexHull(
ST_Collect(the_geom_webmercator)
) as the_geom_webmercator
FROM checkins
WHERE city <> 'undefined'
GROUP BY city
<a href="http://development.localhost.lan:3000/viz/ac13632a-fa92-11e2-8ebf-003ee1fffe8b/embed_map?title=true&description=true&search=false&shareable=false&cartodb_logo=true&layer_selector=true&legends=true&scrollwheel=true&sublayer_options=1|1&sql=&zoom=2&center_lat=4.039617826768437&center_lon=37.6171875">test</a>
@javierarce
javierarce / gist:6379588
Last active December 21, 2015 22:59
Dark Roadmap style.
var darkRoadmapStyle = [{
featureType:"landscape.natural",
stylers:[
{
gamma:0.01
},
{
weight:0.1
}
]
http://development.localhost.lan:3000/viz/c642e27a-488a-11e3-8e71-003ee1fffe8b/embed_map?title=true&description=true&search=false&shareable=false&cartodb_logo=true&layer_selector=true&legends=true&scrollwheel=true&sublayer_options=1&sql=&zoom=0&center_lat=25.799891182053805&center_lon=79.453125