Skip to content

Instantly share code, notes, and snippets.

View fxi's full-sized avatar
🚀
Learning new things.

F.Moser fxi

🚀
Learning new things.
View GitHub Profile
@fxi
fxi / index.html
Last active February 1, 2019 11:27
Experimental travel time surface without server
<!DOCTYPE html>
<html>
<head>
<style>
* {
font-family: helvetica, sans;
}
</style>
</head>
<body>
@fxi
fxi / index.html
Last active July 12, 2018 13:46
Test MapX
<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,
@fxi
fxi / docker-cluster-create.sh
Last active June 14, 2020 02:47
Create a "simple" docker swarm cluster : 1 data node, 1 master node, 2 workers
#!/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
@fxi
fxi / test.svg
Created September 27, 2017 09:10
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fxi
fxi / test.svg
Created September 21, 2017 08:46
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fxi
fxi / index.html
Last active February 10, 2020 18:06
Update highcharts with data from mapbox gl
<!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>
@fxi
fxi / index.html
Created June 27, 2017 08:27 — forked from diethardsteiner/index.html
Simple D3JS Dashboard
<!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">
@fxi
fxi / .block
Last active May 10, 2017 09:47
fresh block
license: mit
@fxi
fxi / README.md
Last active April 18, 2019 15:48
Experimental work on forked computation in shiny app using the package "parallel".

Shiny asynchronous jobs

Experiemental work on forked computation in shiny app using the package "parallel".

Does not work on windows.

Example

@fxi
fxi / index.html
Last active September 13, 2016 10:33
search list js
<!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>