Experimental work with mapbox gl js, web workers and geojsonhint to create new layers by drag and dropping geojson data.
This file contains hidden or 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
| mxConfig$class = list( | |
| "Development" = "dev", | |
| "Environment" = "env", | |
| "Extractives" = "ext", | |
| "Stresses" = "str" | |
| ) | |
| mxConfig$subclass = list( | |
| "dev" = list( | |
| "Unemployment" = "unemployment", |
This file contains hidden or 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
| if [[ ! -e $dirReceipts/postfix ]] | |
| then | |
| # doc found on | |
| # https://www.linode.com/docs/email/postfix/postfix-smtp-debian7 | |
| # https://www.howtoforge.com/postfix_relaying_through_another_mailserver | |
| export DEBIAN_FRONTEND=noninteractive | |
| apt-get -qy purge mailutils postfix | |
| apt-get install -qy postfix mailutils | |
| # var | |
| mailadmin="[email protected]" |
This file contains hidden or 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
| library(raster) | |
| library(XML) | |
| # get raster file | |
| # e.g. read from file: | |
| r <- raster("dat.tif") | |
| # create sample values | |
| r <- raster(ncol=10, nrow=10) | |
| r[] <- as.integer(runif(length(r))*255) |
This file contains hidden or 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
| # demonstration de tryCatch | |
| # exemple minimal | |
| tryCatch(stop("yo"),error=function(cond){print(cond$message)}) | |
| # exemple en téléchargeant un fichier | |
| superTest <- function(){ |
This file contains hidden or 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> | |
| <meta charset='utf-8' /> | |
| <title>Search js list</title> | |
| <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
| <meta http-equiv="cache-control" content="Public"> | |
| <link href="js_search.css" type="text/css" rel="stylesheet"> | |
| </head> | |
| <body> |
This file contains hidden or 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
| license: mit |
This file contains hidden or 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> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
| <title>Testing Pie Chart</title> | |
| <!--<script type="text/javascript" src="d3/d3.v2.js"></script>--> | |
| <script src="https://d3js.org/d3.v2.js"></script> | |
| <!-- Note: I made good use of the sample code provided by the D3JS community and extended it to fit my needs to create this simple dashboard --> | |
| <style type="text/css"> |
This file contains hidden or 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> | |
| <meta charset='utf-8' /> | |
| <title></title> | |
| <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
| <script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.js'></script> | |
| <link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.css' rel='stylesheet' /> | |
| <link href='style.css' rel='stylesheet' /> | |
| <script src="https://code.highcharts.com/highcharts.src.js"></script> |