Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #!/bin/bash | |
| set -e | |
| # | |
| # Create a cluster of workers on exoscale, sharing a common data folder using a NFS exports. | |
| # (not battle tested) | |
| # | |
| # BASED ON THE ENTIRE WEB and those sources | |
| # https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-16-04 |
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
| <html><head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <title>MapX tests</title> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <meta name="robots" content="noindex, nofollow"> | |
| <meta name="googlebot" content="noindex, nofollow"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style type="text/css"> | |
| 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| * { | |
| font-family: helvetica, sans; | |
| } | |
| </style> | |
| </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
| /** | |
| * Custom method for custom view in map-x | |
| * Parameters for onInit and onClose function ; | |
| * @param {Object} o Options | |
| * @param {Object} o.view Map-x view object | |
| * @param {Object} o.map mapbox-gl map object | |
| * @param {String} o.idView If of the view | |
| * @param {String} o.idSource Id of the source | |
| * @param {Element} o.elLegend Element containing the legend | |
| * |
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
| /** | |
| * Custom method for custom view in map-x | |
| * Parameters for onInit and onClose function ; | |
| * @param {Object} o Options | |
| * @param {Object} o.view Map-x view object | |
| * @param {Object} o.map mapbox-gl map object | |
| * @param {String} o.idView If of the view | |
| * @param {String} o.idSource Id of the source | |
| * @param {Element} o.elLegend Element containing the legend | |
| * |
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
| { | |
| "text": { | |
| "title": { | |
| "en": "Artisanal Mines Sites 2015", | |
| "fr": "", | |
| "es": "", | |
| "ru": "", | |
| "zh": "", | |
| "de": "", | |
| "bn": "", |
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
| /** | |
| * Custom method for custom view in MapX | |
| * Parameters for onInit and onClose function ; | |
| * @param {Object} o Options | |
| * @param {Object} o.view Map-x view object | |
| * @param {Object} o.map mapbox-gl map object | |
| * @param {String} o.idView If of the view | |
| * @param {String} o.idSource Id of the source | |
| * @param {Element} o.elLegend Element containing the legend | |
| * |
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(shiny) | |
| source('helper.R') | |
| ui = fluidPage( | |
| plotOutput("i"), | |
| sliderInput( | |
| "s", | |
| "range", | |
| min = 0, | |
| max = 1000, |