- Brackets-Git: manejo de git
- Beautify: formateo automático de HTML, JS y CSS
- Indent Guides: como guía visual para seguir la apertura-cierre de secciones
- Minimap: guía del documento en pequeño, para desplazarse por él
- Newline: para controlar el uso de CRLF <-> LF como fin de línea (windows / linux)
- WordCount: nº de palabras
- Brackets Css Color Preview: mostrar el color escrito en un CSS
- EMMET: agilizar la escritura de HTML
- Markdown Preview: para visualizar ficheros .md
- Brackets Tree Icons: para otorgar un icono a cada fichero según su tipo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fuentes: | |
# * http://yoember.com/nodejs/the-best-way-to-install-node-js/ | |
# * http://www.mithunvp.com/asp-net-core-visual-studio-code-yeoman/ | |
# ------------------------- | |
# 1. Instalación de aspnet | |
# Installing ASP.NET 5 On Linux: https://docs.asp.net/en/latest/getting-started/installing-on-linux.html | |
# dnvm | |
sudo apt-get install unzip curl | |
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# QGIS >= 2.12 | |
import time | |
def refrescar(): | |
layer = iface.activeLayer() #estando la capa activa... | |
#layer = QgsMapLayerRegistry.instance().mapLayersByName("nombreDeCapa")[0] #por nombre | |
layer.dataProvider().forceReload() | |
layer.triggerRepaint() | |
#print("Refresco") | |
time.sleep(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Poligonos en el tiempo | CartoDB.js</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | |
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
<style> | |
html, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = "http://urlToProtectedResource/xxxxxx_2016102600.nc?service=WMS&version=1.3.0&request=GetCapabilities"; | |
var username = "user"; | |
var password = "password"; | |
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); | |
request.AllowAutoRedirect = false; | |
HttpWebResponse response = (HttpWebResponse)request.GetResponse(); | |
while (response.StatusCode == HttpStatusCode.RedirectKeepVerb) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 es el índice de banda (empieza en 1) | |
gdal_translate -b 1 rasterMultibanda.tiff nuevoRaster.tif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# instalar | |
C:\Python27>python -m pip install numpy | |
# upgrade de versión | |
C:\Python27>python -m pip install --upgrade numpy |
Simple dimple.js chart
Mini.Project 2
- This is an exercise for the course: https://www.udacity.com/course/data-visualization-and-d3js--ud507
- It is a simple reinterpretation of this graphic: http://static4.businessinsider.com/image/51cb1cfc69bedd2536000022-1200/theres-a-lot-going-on-with-this-bloomberg-chart-that-doesnt-seem-like-an-evenly-cut-lamb-chop-and-while-im-not-a-biologist-i-have-a-strong-feeling-an-onion-is-not-a-melon.jpg
The original viz lacks of a clear objective. It seems that it justs wants to show some pretty photos and random numbers. The viz doesn't allow an easy comparison between different food magnitudes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -m SimpleHTTPServer 9001 | google-chrome http://localhost:9001 |