Skip to content

Instantly share code, notes, and snippets.

@tsamaya
tsamaya / Challenge Earthquakes
Last active August 29, 2015 14:15
MapTime-Alpes - Leaftlet Getting started with LeafletJS - Challenge Earthquakes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Getting started with LeafletJS - Challenge Earthquakes" />
<link href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/MarkerCluster.css">
<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/MarkerCluster.Default.css">
<title>MapTime-Alpes - Leaftlet</title>
<style id="jsbin-css">
@tsamaya
tsamaya / index.html
Last active November 26, 2015 16:33
D3js Pie Chart
<!DOCTYPE html>
<html>
<!-- Available at http://jsbin.com/giweyiwoga -->
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Testing Pie Chart</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.min.js"></script>
<style type="text/css">
.slice text {
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Base64;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class CipherAES128 {
@tsamaya
tsamaya / coworktoocallaghan.geojson
Last active November 30, 2015 14:03
Cowork to O'Callaghan
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.
@tsamaya
tsamaya / index.html
Last active November 30, 2015 14:38
leaflet introduction - demo 1
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<style type="text/css">
body {
padding: 0;
margin: 0;
}
@tsamaya
tsamaya / index.html
Created November 30, 2015 14:41
leaflet introduction - demo 2
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<style type="text/css">
body {
padding: 0;
margin: 0;
}
@tsamaya
tsamaya / index.html
Last active December 15, 2015 23:38
Leaflet intro - Template
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<style type="text/css">
body {
padding: 0;
margin: 0;
}
@tsamaya
tsamaya / index.html
Created December 2, 2015 20:27
esri vector tiles sample
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
<title>ESRI VectorTileLayer sample</title>
<link rel="stylesheet" href="https://js.arcgis.com/3.15/esri/css/esri.css">
<style>
html,
body,
@tsamaya
tsamaya / index.html
Created December 2, 2015 23:24
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" />
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.5/mapbox-gl.css" rel="stylesheet" />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }